Lines Matching defs:memac
514 static void setup_sgmii_internal_phy(struct fman_mac *memac, in setup_sgmii_internal_phy()
573 static void setup_sgmii_internal_phy_base_x(struct fman_mac *memac) in setup_sgmii_internal_phy_base_x()
601 static int check_init_parameters(struct fman_mac *memac) in check_init_parameters()
642 struct fman_mac *memac = (struct fman_mac *)handle; in memac_err_exception() local
668 struct fman_mac *memac = (struct fman_mac *)handle; in memac_exception() local
689 static void free_init_resources(struct fman_mac *memac) in free_init_resources()
715 int memac_enable(struct fman_mac *memac, enum comm_mode mode) in memac_enable()
734 int memac_disable(struct fman_mac *memac, enum comm_mode mode) in memac_disable()
753 int memac_set_promiscuous(struct fman_mac *memac, bool new_val) in memac_set_promiscuous()
772 int memac_adjust_link(struct fman_mac *memac, u16 speed) in memac_adjust_link()
812 int memac_cfg_max_frame_len(struct fman_mac *memac, u16 new_val) in memac_cfg_max_frame_len()
822 int memac_cfg_reset_on_init(struct fman_mac *memac, bool enable) in memac_cfg_reset_on_init()
832 int memac_cfg_fixed_link(struct fman_mac *memac, in memac_cfg_fixed_link()
843 int memac_set_tx_pause_frames(struct fman_mac *memac, u8 priority, in memac_set_tx_pause_frames()
881 int memac_accept_rx_pause_frames(struct fman_mac *memac, bool en) in memac_accept_rx_pause_frames()
900 int memac_modify_mac_address(struct fman_mac *memac, enet_addr_t *enet_addr) in memac_modify_mac_address()
910 int memac_add_hash_mac_address(struct fman_mac *memac, enet_addr_t *eth_addr) in memac_add_hash_mac_address()
943 int memac_set_allmulti(struct fman_mac *memac, bool enable) in memac_set_allmulti()
966 int memac_set_tstamp(struct fman_mac *memac, bool enable) in memac_set_tstamp()
971 int memac_del_hash_mac_address(struct fman_mac *memac, enet_addr_t *eth_addr) in memac_del_hash_mac_address()
1004 int memac_set_exception(struct fman_mac *memac, in memac_set_exception()
1027 int memac_init(struct fman_mac *memac) in memac_init()
1144 int memac_free(struct fman_mac *memac) in memac_free()
1159 struct fman_mac *memac; in memac_config() local