Searched refs:mac_enable (Results 1 – 5 of 5) sorted by relevance
528 static int mac_enable(struct cmac *mac, int which) in mac_enable() function672 .enable = mac_enable,
546 if (mac_drv->mac_enable) { in hns_mac_start()547 mac_drv->mac_enable(mac_cb->priv.mac, MAC_COMM_MODE_RX_AND_TX); in hns_mac_start()1071 mac_ctrl_drv->mac_enable(mac_cb->priv.mac, mode); in hns_mac_enable()
347 void (*mac_enable)(void *mac_drv, enum mac_commom_mode mode); member
725 mac_drv->mac_enable = hns_gmac_enable; in hns_gmac_config()
804 mac_drv->mac_enable = hns_xgmac_enable; in hns_xgmac_config()