Lines Matching defs:priv
25 static u32 owl_emac_reg_read(struct owl_emac_priv *priv, u32 reg) in owl_emac_reg_read()
30 static void owl_emac_reg_write(struct owl_emac_priv *priv, u32 reg, u32 data) in owl_emac_reg_write()
35 static u32 owl_emac_reg_update(struct owl_emac_priv *priv, in owl_emac_reg_update()
51 static void owl_emac_reg_set(struct owl_emac_priv *priv, u32 reg, u32 bits) in owl_emac_reg_set()
56 static void owl_emac_reg_clear(struct owl_emac_priv *priv, u32 reg, u32 bits) in owl_emac_reg_clear()
61 static struct device *owl_emac_get_dev(struct owl_emac_priv *priv) in owl_emac_get_dev()
66 static void owl_emac_irq_enable(struct owl_emac_priv *priv) in owl_emac_irq_enable()
79 static void owl_emac_irq_disable(struct owl_emac_priv *priv) in owl_emac_irq_disable()
92 static u32 owl_emac_irq_status(struct owl_emac_priv *priv) in owl_emac_irq_status()
97 static u32 owl_emac_irq_clear(struct owl_emac_priv *priv) in owl_emac_irq_clear()
106 static dma_addr_t owl_emac_dma_map_rx(struct owl_emac_priv *priv, in owl_emac_dma_map_rx()
116 static void owl_emac_dma_unmap_rx(struct owl_emac_priv *priv, in owl_emac_dma_unmap_rx()
124 static dma_addr_t owl_emac_dma_map_tx(struct owl_emac_priv *priv, in owl_emac_dma_map_tx()
132 static void owl_emac_dma_unmap_tx(struct owl_emac_priv *priv, in owl_emac_dma_unmap_tx()
179 static int owl_emac_ring_prepare_rx(struct owl_emac_priv *priv) in owl_emac_ring_prepare_rx()
218 static void owl_emac_ring_prepare_tx(struct owl_emac_priv *priv) in owl_emac_ring_prepare_tx()
241 static void owl_emac_ring_unprepare_rx(struct owl_emac_priv *priv) in owl_emac_ring_unprepare_rx()
260 static void owl_emac_ring_unprepare_tx(struct owl_emac_priv *priv) in owl_emac_ring_unprepare_tx()
303 static void owl_emac_dma_cmd_resume_rx(struct owl_emac_priv *priv) in owl_emac_dma_cmd_resume_rx()
309 static void owl_emac_dma_cmd_resume_tx(struct owl_emac_priv *priv) in owl_emac_dma_cmd_resume_tx()
315 static u32 owl_emac_dma_cmd_set_tx(struct owl_emac_priv *priv, u32 status) in owl_emac_dma_cmd_set_tx()
321 static u32 owl_emac_dma_cmd_start_tx(struct owl_emac_priv *priv) in owl_emac_dma_cmd_start_tx()
326 static u32 owl_emac_dma_cmd_set(struct owl_emac_priv *priv, u32 status) in owl_emac_dma_cmd_set()
332 static u32 owl_emac_dma_cmd_start(struct owl_emac_priv *priv) in owl_emac_dma_cmd_start()
337 static u32 owl_emac_dma_cmd_stop(struct owl_emac_priv *priv) in owl_emac_dma_cmd_stop()
344 struct owl_emac_priv *priv = netdev_priv(netdev); in owl_emac_set_hw_mac_addr() local
356 static void owl_emac_update_link_state(struct owl_emac_priv *priv) in owl_emac_update_link_state()
396 struct owl_emac_priv *priv = netdev_priv(netdev); in owl_emac_adjust_link() local
439 struct owl_emac_priv *priv = netdev_priv(netdev); in owl_emac_handle_irq() local
462 owl_emac_setup_frame_prepare(struct owl_emac_priv *priv, struct sk_buff *skb) in owl_emac_setup_frame_prepare()
490 static int owl_emac_setup_frame_xmit(struct owl_emac_priv *priv) in owl_emac_setup_frame_xmit()
568 struct owl_emac_priv *priv = netdev_priv(netdev); in owl_emac_ndo_start_xmit() local
631 static bool owl_emac_tx_complete_tail(struct owl_emac_priv *priv) in owl_emac_tx_complete_tail()
695 static void owl_emac_tx_complete(struct owl_emac_priv *priv) in owl_emac_tx_complete()
746 static int owl_emac_rx_process(struct owl_emac_priv *priv, int budget) in owl_emac_rx_process()
869 struct owl_emac_priv *priv; in owl_emac_poll() local
940 static void owl_emac_mdio_clock_enable(struct owl_emac_priv *priv) in owl_emac_mdio_clock_enable()
956 static void owl_emac_core_hw_reset(struct owl_emac_priv *priv) in owl_emac_core_hw_reset()
965 static int owl_emac_core_sw_reset(struct owl_emac_priv *priv) in owl_emac_core_sw_reset()
1034 struct owl_emac_priv *priv = netdev_priv(netdev); in owl_emac_enable() local
1077 struct owl_emac_priv *priv = netdev_priv(netdev); in owl_emac_disable() local
1106 struct owl_emac_priv *priv = netdev_priv(netdev); in owl_emac_set_multicast() local
1130 struct owl_emac_priv *priv = netdev_priv(netdev); in owl_emac_ndo_set_rx_mode() local
1194 struct owl_emac_priv *priv = netdev_priv(netdev); in owl_emac_ndo_tx_timeout() local
1201 struct owl_emac_priv *priv; in owl_emac_reset_task() local
1240 struct owl_emac_priv *priv = netdev_priv(netdev); in owl_emac_ethtool_get_msglevel() local
1247 struct owl_emac_priv *priv = netdev_priv(ndev); in owl_emac_ethtool_set_msglevel() local
1261 static int owl_emac_mdio_wait(struct owl_emac_priv *priv) in owl_emac_mdio_wait()
1274 struct owl_emac_priv *priv = bus->priv; in owl_emac_mdio_read() local
1302 struct owl_emac_priv *priv = bus->priv; in owl_emac_mdio_write() local
1323 struct owl_emac_priv *priv = netdev_priv(netdev); in owl_emac_mdio_init() local
1360 struct owl_emac_priv *priv = netdev_priv(netdev); in owl_emac_phy_init() local
1393 struct owl_emac_priv *priv = netdev_priv(netdev); in owl_emac_suspend() local
1410 struct owl_emac_priv *priv = netdev_priv(netdev); in owl_emac_resume() local
1437 struct owl_emac_priv *priv = data; in owl_emac_clk_disable_unprepare() local
1442 static int owl_emac_clk_set_rate(struct owl_emac_priv *priv) in owl_emac_clk_set_rate()
1474 struct owl_emac_priv *priv; in owl_emac_probe() local
1587 struct owl_emac_priv *priv = platform_get_drvdata(pdev); in owl_emac_remove() local