Lines Matching defs:emac
61 static void prueth_cleanup_rx_chns(struct prueth_emac *emac, in prueth_cleanup_rx_chns()
72 static void prueth_cleanup_tx_chns(struct prueth_emac *emac) in prueth_cleanup_tx_chns()
92 static void prueth_ndev_del_tx_napi(struct prueth_emac *emac, int num) in prueth_ndev_del_tx_napi()
141 static int emac_tx_complete_packets(struct prueth_emac *emac, int chn, in emac_tx_complete_packets()
207 struct prueth_emac *emac = tx_chn->emac; in emac_napi_tx_poll() local
231 static int prueth_ndev_add_tx_napi(struct prueth_emac *emac) in prueth_ndev_add_tx_napi()
257 static int prueth_init_tx_chns(struct prueth_emac *emac) in prueth_init_tx_chns()
337 static int prueth_init_rx_chns(struct prueth_emac *emac, in prueth_init_rx_chns()
439 static int prueth_dma_rx_push(struct prueth_emac *emac, in prueth_dma_rx_push()
491 static void emac_rx_timestamp(struct prueth_emac *emac, in emac_rx_timestamp()
507 static int emac_rx_packet(struct prueth_emac *emac, u32 flow_id) in emac_rx_packet()
599 static int emac_get_tx_ts(struct prueth_emac *emac, in emac_get_tx_ts()
619 static void tx_ts_work(struct prueth_emac *emac) in tx_ts_work()
664 static int prueth_tx_ts_cookie_get(struct prueth_emac *emac) in prueth_tx_ts_cookie_get()
694 struct prueth_emac *emac = netdev_priv(ndev); in emac_ndo_start_xmit() local
868 struct prueth_emac *emac = dev_id; in prueth_tx_ts_irq() local
878 struct prueth_emac *emac = dev_id; in prueth_rx_irq() local
905 static int prueth_emac_start(struct prueth *prueth, struct prueth_emac *emac) in prueth_emac_start()
956 static void prueth_emac_stop(struct prueth_emac *emac) in prueth_emac_stop()
979 static void prueth_cleanup_tx_ts(struct prueth_emac *emac) in prueth_cleanup_tx_ts()
994 struct prueth_emac *emac = netdev_priv(ndev); in emac_adjust_link() local
1058 struct prueth_emac *emac = prueth_napi_to_emac(napi_rx); in emac_napi_rx_poll() local
1085 static int prueth_prepare_rx_chan(struct prueth_emac *emac, in prueth_prepare_rx_chan()
1110 static void prueth_reset_tx_chan(struct prueth_emac *emac, int ch_num, in prueth_reset_tx_chan()
1136 static int emac_phy_connect(struct prueth_emac *emac) in emac_phy_connect()
1166 struct prueth_emac *emac = clockops_data; in prueth_iep_gettime() local
1203 struct prueth_emac *emac = clockops_data; in prueth_iep_settime() local
1243 struct prueth_emac *emac = clockops_data; in prueth_perout_enable() local
1306 struct prueth_emac *emac = netdev_priv(ndev); in emac_ndo_open() local
1442 struct prueth_emac *emac = netdev_priv(ndev); in emac_ndo_stop() local
1516 struct prueth_emac *emac = container_of(work, struct prueth_emac, rx_mode_work); in emac_ndo_set_rx_mode_work() local
1554 struct prueth_emac *emac = netdev_priv(ndev); in emac_ndo_set_rx_mode() local
1561 struct prueth_emac *emac = netdev_priv(ndev); in emac_set_ts_config() local
1610 struct prueth_emac *emac = netdev_priv(ndev); in emac_get_ts_config() local
1638 struct prueth_emac *emac = netdev_priv(ndev); in emac_ndo_get_stats64() local
1708 struct prueth_emac *emac; in prueth_netdev_init() local
1850 struct prueth_emac *emac; in prueth_netdev_exit() local