Lines Matching refs:fman_mac
275 struct fman_mac { struct
421 static int check_init_parameters(struct fman_mac *memac) in check_init_parameters()
462 struct fman_mac *memac = (struct fman_mac *)handle; in memac_err_exception()
488 struct fman_mac *memac = (struct fman_mac *)handle; in memac_exception()
509 static void free_init_resources(struct fman_mac *memac) in free_init_resources()
526 static int memac_enable(struct fman_mac *memac) in memac_enable()
547 static void memac_disable(struct fman_mac *memac) in memac_disable()
553 static int memac_set_promiscuous(struct fman_mac *memac, bool new_val) in memac_set_promiscuous()
569 static int memac_set_tx_pause_frames(struct fman_mac *memac, u8 priority, in memac_set_tx_pause_frames()
604 static int memac_accept_rx_pause_frames(struct fman_mac *memac, bool en) in memac_accept_rx_pause_frames()
623 struct fman_mac *memac = fman_config_to_mac(config)->fman_mac; in memac_get_caps()
665 struct fman_mac *memac = fman_config_to_mac(config)->fman_mac; in memac_select_pcs()
683 struct fman_mac *memac = fman_config_to_mac(config)->fman_mac; in memac_prepare()
701 struct memac_regs __iomem *regs = mac_dev->fman_mac->regs; in memac_mac_config()
716 struct fman_mac *memac = mac_dev->fman_mac; in memac_link_up()
766 struct fman_mac *memac = fman_config_to_mac(config)->fman_mac; in memac_link_down()
785 static int memac_modify_mac_address(struct fman_mac *memac, in memac_modify_mac_address()
793 static int memac_add_hash_mac_address(struct fman_mac *memac, in memac_add_hash_mac_address()
824 static int memac_set_allmulti(struct fman_mac *memac, bool enable) in memac_set_allmulti()
844 static int memac_set_tstamp(struct fman_mac *memac, bool enable) in memac_set_tstamp()
849 static int memac_del_hash_mac_address(struct fman_mac *memac, in memac_del_hash_mac_address()
880 static int memac_set_exception(struct fman_mac *memac, in memac_set_exception()
900 static int memac_init(struct fman_mac *memac) in memac_init()
983 static int memac_free(struct fman_mac *memac) in memac_free()
996 static struct fman_mac *memac_config(struct mac_device *mac_dev, in memac_config()
999 struct fman_mac *memac; in memac_config()
1057 if (!mac_dev->fman_mac->serdes) in memac_supports()
1060 return !phy_validate(mac_dev->fman_mac->serdes, PHY_MODE_ETHERNET, in memac_supports()
1070 struct fman_mac *memac; in memac_initialization()
1094 mac_dev->fman_mac = memac_config(mac_dev, params); in memac_initialization()
1095 if (!mac_dev->fman_mac) in memac_initialization()
1098 memac = mac_dev->fman_mac; in memac_initialization()
1234 err = memac_init(mac_dev->fman_mac); in memac_initialization()
1243 memac_free(mac_dev->fman_mac); in memac_initialization()