Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/hisilicon/hns/
H A Dhns_dsaf_gmac.c66 if (mode == MAC_COMM_MODE_TX || mode == MAC_COMM_MODE_RX_AND_TX) in hns_gmac_enable()
69 if (mode == MAC_COMM_MODE_RX || mode == MAC_COMM_MODE_RX_AND_TX) { in hns_gmac_enable()
81 if (mode == MAC_COMM_MODE_TX || mode == MAC_COMM_MODE_RX_AND_TX) in hns_gmac_disable()
84 if (mode == MAC_COMM_MODE_RX || mode == MAC_COMM_MODE_RX_AND_TX) { in hns_gmac_disable()
345 hns_gmac_disable(mac_drv, MAC_COMM_MODE_RX_AND_TX); in hns_gmac_init()
H A Dhns_dsaf_xgmac.c147 } else if (mode == MAC_COMM_MODE_RX_AND_TX) { in hns_xgmac_enable()
168 } else if (mode == MAC_COMM_MODE_RX_AND_TX) { in hns_xgmac_disable()
223 hns_xgmac_disable(mac_drv, MAC_COMM_MODE_RX_AND_TX); in hns_xgmac_init()
H A Dhns_dsaf_mac.h127 MAC_COMM_MODE_RX_AND_TX = 3 /**< Both tx and rx communication */ enumerator
H A Dhns_dsaf_mac.c547 mac_drv->mac_enable(mac_cb->priv.mac, MAC_COMM_MODE_RX_AND_TX); in hns_mac_start()
565 MAC_COMM_MODE_RX_AND_TX); in hns_mac_stop()