Lines Matching refs:fman_mac

276 struct fman_mac {  struct
422 static int check_init_parameters(struct fman_mac *memac) in check_init_parameters()
463 struct fman_mac *memac = (struct fman_mac *)handle; in memac_err_exception()
489 struct fman_mac *memac = (struct fman_mac *)handle; in memac_exception()
510 static void free_init_resources(struct fman_mac *memac) in free_init_resources()
527 static int memac_enable(struct fman_mac *memac) in memac_enable()
548 static void memac_disable(struct fman_mac *memac) in memac_disable()
554 static int memac_set_promiscuous(struct fman_mac *memac, bool new_val) in memac_set_promiscuous()
570 static int memac_set_tx_pause_frames(struct fman_mac *memac, u8 priority, in memac_set_tx_pause_frames()
605 static int memac_accept_rx_pause_frames(struct fman_mac *memac, bool en) in memac_accept_rx_pause_frames()
625 struct fman_mac *memac = fman_config_to_mac(config)->fman_mac; in memac_validate()
667 struct fman_mac *memac = fman_config_to_mac(config)->fman_mac; in memac_select_pcs()
685 struct fman_mac *memac = fman_config_to_mac(config)->fman_mac; in memac_prepare()
703 struct memac_regs __iomem *regs = mac_dev->fman_mac->regs; in memac_mac_config()
718 struct fman_mac *memac = mac_dev->fman_mac; in memac_link_up()
768 struct fman_mac *memac = fman_config_to_mac(config)->fman_mac; in memac_link_down()
787 static int memac_modify_mac_address(struct fman_mac *memac, in memac_modify_mac_address()
795 static int memac_add_hash_mac_address(struct fman_mac *memac, in memac_add_hash_mac_address()
826 static int memac_set_allmulti(struct fman_mac *memac, bool enable) in memac_set_allmulti()
846 static int memac_set_tstamp(struct fman_mac *memac, bool enable) in memac_set_tstamp()
851 static int memac_del_hash_mac_address(struct fman_mac *memac, in memac_del_hash_mac_address()
882 static int memac_set_exception(struct fman_mac *memac, in memac_set_exception()
902 static int memac_init(struct fman_mac *memac) in memac_init()
989 static int memac_free(struct fman_mac *memac) in memac_free()
1002 static struct fman_mac *memac_config(struct mac_device *mac_dev, in memac_config()
1005 struct fman_mac *memac; in memac_config()
1069 if (!mac_dev->fman_mac->serdes) in memac_supports()
1072 return !phy_validate(mac_dev->fman_mac->serdes, PHY_MODE_ETHERNET, in memac_supports()
1083 struct fman_mac *memac; in memac_initialization()
1099 mac_dev->fman_mac = memac_config(mac_dev, params); in memac_initialization()
1100 if (!mac_dev->fman_mac) in memac_initialization()
1103 memac = mac_dev->fman_mac; in memac_initialization()
1250 err = memac_init(mac_dev->fman_mac); in memac_initialization()
1259 memac_free(mac_dev->fman_mac); in memac_initialization()