Searched refs:MAC_COMM_MODE_RX_AND_TX (Results 1 – 4 of 4) sorted by relevance
70 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()
130 } 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()
501 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()
131 MAC_COMM_MODE_RX_AND_TX = 3 /**< Both tx and rx communication */ enumerator