Searched refs:mac_enable (Results 1 – 5 of 5) sorted by relevance
532 static int mac_enable(struct cmac *mac, int which) in mac_enable() function676 .enable = mac_enable,
500 if (mac_drv->mac_enable) { in hns_mac_start()501 mac_drv->mac_enable(mac_cb->priv.mac, MAC_COMM_MODE_RX_AND_TX); in hns_mac_start()
344 void (*mac_enable)(void *mac_drv, enum mac_commom_mode mode); member
671 mac_drv->mac_enable = hns_gmac_enable; in hns_gmac_config()
803 mac_drv->mac_enable = hns_xgmac_enable; in hns_xgmac_config()