Lines Matching refs:mvpp2

74 void mvpp2_write(struct mvpp2 *priv, u32 offset, u32 data)  in mvpp2_write()
79 u32 mvpp2_read(struct mvpp2 *priv, u32 offset) in mvpp2_read()
84 static u32 mvpp2_read_relaxed(struct mvpp2 *priv, u32 offset) in mvpp2_read_relaxed()
89 static inline u32 mvpp2_cpu_to_thread(struct mvpp2 *priv, int cpu) in mvpp2_cpu_to_thread()
148 static void mvpp2_thread_write(struct mvpp2 *priv, unsigned int thread, in mvpp2_thread_write()
154 static u32 mvpp2_thread_read(struct mvpp2 *priv, unsigned int thread, in mvpp2_thread_read()
160 static void mvpp2_thread_write_relaxed(struct mvpp2 *priv, unsigned int thread, in mvpp2_thread_write_relaxed()
166 static u32 mvpp2_thread_read_relaxed(struct mvpp2 *priv, unsigned int thread, in mvpp2_thread_read_relaxed()
318 static int mvpp2_get_nrxqs(struct mvpp2 *priv) in mvpp2_get_nrxqs()
376 static int mvpp2_bm_pool_create(struct device *dev, struct mvpp2 *priv, in mvpp2_bm_pool_create()
426 static void mvpp2_bm_pool_bufsize_set(struct mvpp2 *priv, in mvpp2_bm_pool_bufsize_set()
438 static void mvpp2_bm_bufs_get_addrs(struct device *dev, struct mvpp2 *priv, in mvpp2_bm_bufs_get_addrs()
469 static void mvpp2_bm_bufs_free(struct device *dev, struct mvpp2 *priv, in mvpp2_bm_bufs_free()
508 static int mvpp2_check_hw_buf_num(struct mvpp2 *priv, struct mvpp2_bm_pool *bm_pool) in mvpp2_check_hw_buf_num()
525 static int mvpp2_bm_pool_destroy(struct device *dev, struct mvpp2 *priv, in mvpp2_bm_pool_destroy()
557 static int mvpp2_bm_pools_init(struct device *dev, struct mvpp2 *priv) in mvpp2_bm_pools_init()
584 static int mvpp2_bm_init(struct device *dev, struct mvpp2 *priv) in mvpp2_bm_init()
1225 struct mvpp2 *priv = port->priv; in mvpp22_gop_init_rgmii()
1242 struct mvpp2 *priv = port->priv; in mvpp22_gop_init_sgmii()
1262 struct mvpp2 *priv = port->priv; in mvpp22_gop_init_10gkr()
1285 struct mvpp2 *priv = port->priv; in mvpp22_gop_init()
1533 static u32 mvpp2_read_index(struct mvpp2 *priv, u32 index, u32 reg) in mvpp2_read_index()
1829 struct mvpp2 *priv = port->priv; in mvpp22_pcs_reset_assert()
1850 struct mvpp2 *priv = port->priv; in mvpp22_pcs_reset_deassert()
2161 struct mvpp2 *priv = port->priv; in mvpp2_txq_alloc_reserved_desc()
2530 unsigned int thread, struct mvpp2 *priv) in mvpp2_aggr_txq_init()
2567 struct mvpp2 *priv = port->priv; in mvpp2_rxq_init()
4348 struct mvpp2 *priv = port->priv; in mvpp2_open()
4571 static int mvpp2_bm_switch_buffers(struct mvpp2 *priv, bool percpu) in mvpp2_bm_switch_buffers()
4609 struct mvpp2 *priv = port->priv; in mvpp2_change_mtu()
4671 struct mvpp2 *priv = port->priv; in mvpp2_check_pagepool_dma()
5366 struct mvpp2 *priv = port->priv; in mvpp2_multi_queue_vectors_init()
5448 struct mvpp2 *priv = port->priv; in mvpp2_rx_irqs_setup()
5479 struct mvpp2 *priv = port->priv; in mvpp2_port_init()
5629 static bool mvpp2_port_has_irqs(struct mvpp2 *priv, in mvpp2_port_has_irqs()
5656 static void mvpp2_port_copy_mac_addr(struct net_device *dev, struct mvpp2 *priv, in mvpp2_port_copy_mac_addr()
6265 struct mvpp2 *priv) in mvpp2_port_probe()
6557 struct mvpp2 *priv) in mvpp2_conf_mbus_windows()
6589 static void mvpp2_rx_fifo_init(struct mvpp2 *priv) in mvpp2_rx_fifo_init()
6605 static void mvpp22_rx_fifo_init(struct mvpp2 *priv) in mvpp22_rx_fifo_init()
6642 static void mvpp22_tx_fifo_init(struct mvpp2 *priv) in mvpp22_tx_fifo_init()
6659 static void mvpp2_axi_init(struct mvpp2 *priv) in mvpp2_axi_init()
6714 static int mvpp2_init(struct platform_device *pdev, struct mvpp2 *priv) in mvpp2_init()
6790 struct mvpp2 *priv; in mvpp2_probe()
7025 struct mvpp2 *priv = platform_get_drvdata(pdev); in mvpp2_remove()