Lines Matching refs:prueth_emac

54 #define prueth_napi_to_emac(napi) container_of(napi, struct prueth_emac, napi_rx)
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()
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()
441 static int prueth_dma_rx_push(struct prueth_emac *emac, in prueth_dma_rx_push()
493 static void emac_rx_timestamp(struct prueth_emac *emac, in emac_rx_timestamp()
509 static int emac_rx_packet(struct prueth_emac *emac, u32 flow_id) in emac_rx_packet()
601 static int emac_get_tx_ts(struct prueth_emac *emac, in emac_get_tx_ts()
621 static void tx_ts_work(struct prueth_emac *emac) in tx_ts_work()
666 static int prueth_tx_ts_cookie_get(struct prueth_emac *emac) in prueth_tx_ts_cookie_get()
696 struct prueth_emac *emac = netdev_priv(ndev); in emac_ndo_start_xmit()
870 struct prueth_emac *emac = dev_id; in prueth_tx_ts_irq()
880 struct prueth_emac *emac = dev_id; in prueth_rx_irq()
907 static int prueth_emac_start(struct prueth *prueth, struct prueth_emac *emac) in prueth_emac_start()
958 static void prueth_emac_stop(struct prueth_emac *emac) in prueth_emac_stop()
981 static void prueth_cleanup_tx_ts(struct prueth_emac *emac) in prueth_cleanup_tx_ts()
996 struct prueth_emac *emac = netdev_priv(ndev); in emac_adjust_link()
1060 struct prueth_emac *emac = prueth_napi_to_emac(napi_rx); in emac_napi_rx_poll()
1087 static int prueth_prepare_rx_chan(struct prueth_emac *emac, in prueth_prepare_rx_chan()
1112 static void prueth_reset_tx_chan(struct prueth_emac *emac, int ch_num, in prueth_reset_tx_chan()
1138 static int emac_phy_connect(struct prueth_emac *emac) in emac_phy_connect()
1168 struct prueth_emac *emac = clockops_data; in prueth_iep_gettime()
1205 struct prueth_emac *emac = clockops_data; in prueth_iep_settime()
1245 struct prueth_emac *emac = clockops_data; in prueth_perout_enable()
1308 struct prueth_emac *emac = netdev_priv(ndev); in emac_ndo_open()
1444 struct prueth_emac *emac = netdev_priv(ndev); in emac_ndo_stop()
1518 struct prueth_emac *emac = container_of(work, struct prueth_emac, rx_mode_work); in emac_ndo_set_rx_mode_work()
1556 struct prueth_emac *emac = netdev_priv(ndev); in emac_ndo_set_rx_mode()
1563 struct prueth_emac *emac = netdev_priv(ndev); in emac_set_ts_config()
1612 struct prueth_emac *emac = netdev_priv(ndev); in emac_get_ts_config()
1640 struct prueth_emac *emac = netdev_priv(ndev); in emac_ndo_get_stats64()
1710 struct prueth_emac *emac; in prueth_netdev_init()
1852 struct prueth_emac *emac; in prueth_netdev_exit()