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