Home
last modified time | relevance | path

Searched refs:MAC_COMM_MODE_RX_AND_TX (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_gmac.c70 if ((mode == MAC_COMM_MODE_TX) || (mode == MAC_COMM_MODE_RX_AND_TX)) in hns_gmac_enable()
73 if ((mode == MAC_COMM_MODE_RX) || (mode == MAC_COMM_MODE_RX_AND_TX)) in hns_gmac_enable()
82 if ((mode == MAC_COMM_MODE_TX) || (mode == MAC_COMM_MODE_RX_AND_TX)) in hns_gmac_disable()
85 if ((mode == MAC_COMM_MODE_RX) || (mode == MAC_COMM_MODE_RX_AND_TX)) in hns_gmac_disable()
306 hns_gmac_disable(mac_drv, MAC_COMM_MODE_RX_AND_TX); in hns_gmac_init()
Dhns_dsaf_xgmac.c130 } else if (mode == MAC_COMM_MODE_RX_AND_TX) { in hns_xgmac_enable()
154 } else if (mode == MAC_COMM_MODE_RX_AND_TX) { in hns_xgmac_disable()
210 hns_xgmac_disable(mac_drv, MAC_COMM_MODE_RX_AND_TX); in hns_xgmac_init()
Dhns_dsaf_mac.c501 mac_drv->mac_enable(mac_cb->priv.mac, MAC_COMM_MODE_RX_AND_TX); in hns_mac_start()
519 MAC_COMM_MODE_RX_AND_TX); in hns_mac_stop()
Dhns_dsaf_mac.h131 MAC_COMM_MODE_RX_AND_TX = 3 /**< Both tx and rx communication */ enumerator