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()
94 static void mvpp2_cm3_write(struct mvpp2 *priv, u32 offset, u32 data) in mvpp2_cm3_write()
99 static u32 mvpp2_cm3_read(struct mvpp2 *priv, u32 offset) in mvpp2_cm3_read()
158 static void mvpp2_thread_write(struct mvpp2 *priv, unsigned int thread, in mvpp2_thread_write()
164 static u32 mvpp2_thread_read(struct mvpp2 *priv, unsigned int thread, in mvpp2_thread_read()
170 static void mvpp2_thread_write_relaxed(struct mvpp2 *priv, unsigned int thread, in mvpp2_thread_write_relaxed()
176 static u32 mvpp2_thread_read_relaxed(struct mvpp2 *priv, unsigned int thread, in mvpp2_thread_read_relaxed()
328 static int mvpp2_get_nrxqs(struct mvpp2 *priv) in mvpp2_get_nrxqs()
386 static int mvpp2_bm_pool_create(struct device *dev, struct mvpp2 *priv, in mvpp2_bm_pool_create()
449 static void mvpp2_bm_pool_bufsize_set(struct mvpp2 *priv, in mvpp2_bm_pool_bufsize_set()
461 static void mvpp2_bm_bufs_get_addrs(struct device *dev, struct mvpp2 *priv, in mvpp2_bm_bufs_get_addrs()
492 static void mvpp2_bm_bufs_free(struct device *dev, struct mvpp2 *priv, in mvpp2_bm_bufs_free()
531 static int mvpp2_check_hw_buf_num(struct mvpp2 *priv, struct mvpp2_bm_pool *bm_pool) in mvpp2_check_hw_buf_num()
548 static int mvpp2_bm_pool_destroy(struct device *dev, struct mvpp2 *priv, in mvpp2_bm_pool_destroy()
580 static int mvpp2_bm_pools_init(struct device *dev, struct mvpp2 *priv) in mvpp2_bm_pools_init()
608 static void mvpp23_bm_set_8pool_mode(struct mvpp2 *priv) in mvpp23_bm_set_8pool_mode()
618 static void mvpp2_bm_pool_cleanup(struct mvpp2 *priv, int pool_id) in mvpp2_bm_pool_cleanup()
636 static int mvpp2_bm_init(struct device *dev, struct mvpp2 *priv) in mvpp2_bm_init()
953 static void mvpp2_bm_pool_update_priv_fc(struct mvpp2 *priv, bool en) in mvpp2_bm_pool_update_priv_fc()
971 static int mvpp2_enable_global_fc(struct mvpp2 *priv) in mvpp2_enable_global_fc()
1533 struct mvpp2 *priv = port->priv; in mvpp22_gop_init_rgmii()
1561 struct mvpp2 *priv = port->priv; in mvpp22_gop_init_sgmii()
1581 struct mvpp2 *priv = port->priv; in mvpp22_gop_init_10gkr()
1604 struct mvpp2 *priv = port->priv; in mvpp22_gop_fca_enable_periodic()
1617 struct mvpp2 *priv = port->priv; in mvpp22_gop_fca_set_timer()
1647 struct mvpp2 *priv = port->priv; in mvpp22_gop_init()
1899 static u32 mvpp2_read_index(struct mvpp2 *priv, u32 index, u32 reg) in mvpp2_read_index()
2195 struct mvpp2 *priv = port->priv; in mvpp22_pcs_reset_assert()
2217 struct mvpp2 *priv = port->priv; in mvpp22_pcs_reset_deassert()
2529 struct mvpp2 *priv = port->priv; in mvpp2_txq_alloc_reserved_desc()
2921 unsigned int thread, struct mvpp2 *priv) in mvpp2_aggr_txq_init()
2958 struct mvpp2 *priv = port->priv; in mvpp2_rxq_init()
4788 struct mvpp2 *priv = port->priv; in mvpp2_open()
5010 static int mvpp2_bm_switch_buffers(struct mvpp2 *priv, bool percpu) in mvpp2_bm_switch_buffers()
5063 struct mvpp2 *priv = port->priv; in mvpp2_change_mtu()
5127 struct mvpp2 *priv = port->priv; in mvpp2_check_pagepool_dma()
5847 struct mvpp2 *priv = port->priv; in mvpp2_multi_queue_vectors_init()
5928 struct mvpp2 *priv = port->priv; in mvpp2_rx_irqs_setup()
5959 struct mvpp2 *priv = port->priv; in mvpp2_port_init()
6121 static bool mvpp2_port_has_irqs(struct mvpp2 *priv, in mvpp2_port_has_irqs()
6148 static int mvpp2_port_copy_mac_addr(struct net_device *dev, struct mvpp2 *priv, in mvpp2_port_copy_mac_addr()
6733 struct mvpp2 *priv) in mvpp2_port_probe()
7106 struct mvpp2 *priv) in mvpp2_conf_mbus_windows()
7138 static void mvpp2_rx_fifo_init(struct mvpp2 *priv) in mvpp2_rx_fifo_init()
7154 static void mvpp22_rx_fifo_set_hw(struct mvpp2 *priv, int port, int data_size) in mvpp22_rx_fifo_set_hw()
7168 static void mvpp22_rx_fifo_init(struct mvpp2 *priv) in mvpp22_rx_fifo_init()
7212 static void mvpp23_rx_fifo_fc_set_tresh(struct mvpp2 *priv) in mvpp23_rx_fifo_fc_set_tresh()
7246 void mvpp23_rx_fifo_fc_en(struct mvpp2 *priv, int port, bool en) in mvpp23_rx_fifo_fc_en()
7260 static void mvpp22_tx_fifo_set_hw(struct mvpp2 *priv, int port, int size) in mvpp22_tx_fifo_set_hw()
7274 static void mvpp22_tx_fifo_init(struct mvpp2 *priv) in mvpp22_tx_fifo_init()
7310 static void mvpp2_axi_init(struct mvpp2 *priv) in mvpp2_axi_init()
7365 static int mvpp2_init(struct platform_device *pdev, struct mvpp2 *priv) in mvpp2_init()
7439 struct mvpp2 *priv) in mvpp2_get_sram()
7463 struct mvpp2 *priv; in mvpp2_probe()
7714 struct mvpp2 *priv = platform_get_drvdata(pdev); in mvpp2_remove()