H A D | fman_memac.c | 510 static void setup_sgmii_internal_phy(struct fman_mac *memac, in setup_sgmii_internal_phy() argument 515 if (WARN_ON(!memac->pcsphy)) in setup_sgmii_internal_phy() 539 phy_write(memac->pcsphy, MDIO_SGMII_IF_MODE, tmp_reg16); in setup_sgmii_internal_phy() 543 phy_write(memac->pcsphy, MDIO_SGMII_DEV_ABIL_SGMII, tmp_reg16); in setup_sgmii_internal_phy() 557 phy_write(memac->pcsphy, MDIO_SGMII_LINK_TMR_H, LINK_TMR_H); in setup_sgmii_internal_phy() 558 phy_write(memac->pcsphy, MDIO_SGMII_LINK_TMR_L, LINK_TMR_L); in setup_sgmii_internal_phy() 566 phy_write(memac->pcsphy, 0x0, tmp_reg16); in setup_sgmii_internal_phy() 569 static void setup_sgmii_internal_phy_base_x(struct fman_mac *memac) in setup_sgmii_internal_phy_base_x() argument 575 phy_write(memac->pcsphy, MDIO_SGMII_DEV_ABIL_SGMII, tmp_reg16); in setup_sgmii_internal_phy_base_x() 589 phy_write(memac in setup_sgmii_internal_phy_base_x() 597 check_init_parameters(struct fman_mac *memac) check_init_parameters() argument 638 struct fman_mac *memac = (struct fman_mac *)handle; memac_err_exception() local 664 struct fman_mac *memac = (struct fman_mac *)handle; memac_exception() local 685 free_init_resources(struct fman_mac *memac) free_init_resources() argument 711 memac_enable(struct fman_mac *memac, enum comm_mode mode) memac_enable() argument 730 memac_disable(struct fman_mac *memac, enum comm_mode mode) memac_disable() argument 749 memac_set_promiscuous(struct fman_mac *memac, bool new_val) memac_set_promiscuous() argument 768 memac_adjust_link(struct fman_mac *memac, u16 speed) memac_adjust_link() argument 808 memac_cfg_max_frame_len(struct fman_mac *memac, u16 new_val) memac_cfg_max_frame_len() argument 818 memac_cfg_reset_on_init(struct fman_mac *memac, bool enable) memac_cfg_reset_on_init() argument 828 memac_cfg_fixed_link(struct fman_mac *memac, struct fixed_phy_status *fixed_link) memac_cfg_fixed_link() argument 839 memac_set_tx_pause_frames(struct fman_mac *memac, u8 priority, u16 pause_time, u16 thresh_time) memac_set_tx_pause_frames() argument 877 memac_accept_rx_pause_frames(struct fman_mac *memac, bool en) memac_accept_rx_pause_frames() argument 896 memac_modify_mac_address(struct fman_mac *memac, enet_addr_t *enet_addr) memac_modify_mac_address() argument 906 memac_add_hash_mac_address(struct fman_mac *memac, enet_addr_t *eth_addr) memac_add_hash_mac_address() argument 939 memac_set_allmulti(struct fman_mac *memac, bool enable) memac_set_allmulti() argument 962 memac_set_tstamp(struct fman_mac *memac, bool enable) memac_set_tstamp() argument 967 memac_del_hash_mac_address(struct fman_mac *memac, enet_addr_t *eth_addr) memac_del_hash_mac_address() argument 1000 memac_set_exception(struct fman_mac *memac, enum fman_mac_exceptions exception, bool enable) memac_set_exception() argument 1023 memac_init(struct fman_mac *memac) memac_init() argument 1140 memac_free(struct fman_mac *memac) memac_free() argument 1155 struct fman_mac *memac; memac_config() local [all...] |