• Home
  • Raw
  • Download

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()
1550 struct mvpp2 *priv = port->priv; in mvpp22_gop_init_sgmii()
1570 struct mvpp2 *priv = port->priv; in mvpp22_gop_init_10gkr()
1593 struct mvpp2 *priv = port->priv; in mvpp22_gop_fca_enable_periodic()
1606 struct mvpp2 *priv = port->priv; in mvpp22_gop_fca_set_timer()
1636 struct mvpp2 *priv = port->priv; in mvpp22_gop_init()
1887 static u32 mvpp2_read_index(struct mvpp2 *priv, u32 index, u32 reg) in mvpp2_read_index()
2183 struct mvpp2 *priv = port->priv; in mvpp22_pcs_reset_assert()
2205 struct mvpp2 *priv = port->priv; in mvpp22_pcs_reset_deassert()
2517 struct mvpp2 *priv = port->priv; in mvpp2_txq_alloc_reserved_desc()
2909 unsigned int thread, struct mvpp2 *priv) in mvpp2_aggr_txq_init()
2946 struct mvpp2 *priv = port->priv; in mvpp2_rxq_init()
4772 struct mvpp2 *priv = port->priv; in mvpp2_open()
4994 static int mvpp2_bm_switch_buffers(struct mvpp2 *priv, bool percpu) in mvpp2_bm_switch_buffers()
5039 struct mvpp2 *priv = port->priv; in mvpp2_change_mtu()
5103 struct mvpp2 *priv = port->priv; in mvpp2_check_pagepool_dma()
5813 struct mvpp2 *priv = port->priv; in mvpp2_multi_queue_vectors_init()
5894 struct mvpp2 *priv = port->priv; in mvpp2_rx_irqs_setup()
5925 struct mvpp2 *priv = port->priv; in mvpp2_port_init()
6087 static bool mvpp2_port_has_irqs(struct mvpp2 *priv, in mvpp2_port_has_irqs()
6114 static void mvpp2_port_copy_mac_addr(struct net_device *dev, struct mvpp2 *priv, in mvpp2_port_copy_mac_addr()
6687 struct mvpp2 *priv) in mvpp2_port_probe()
7047 struct mvpp2 *priv) in mvpp2_conf_mbus_windows()
7079 static void mvpp2_rx_fifo_init(struct mvpp2 *priv) in mvpp2_rx_fifo_init()
7095 static void mvpp22_rx_fifo_set_hw(struct mvpp2 *priv, int port, int data_size) in mvpp22_rx_fifo_set_hw()
7109 static void mvpp22_rx_fifo_init(struct mvpp2 *priv) in mvpp22_rx_fifo_init()
7153 static void mvpp23_rx_fifo_fc_set_tresh(struct mvpp2 *priv) in mvpp23_rx_fifo_fc_set_tresh()
7187 void mvpp23_rx_fifo_fc_en(struct mvpp2 *priv, int port, bool en) in mvpp23_rx_fifo_fc_en()
7201 static void mvpp22_tx_fifo_set_hw(struct mvpp2 *priv, int port, int size) in mvpp22_tx_fifo_set_hw()
7215 static void mvpp22_tx_fifo_init(struct mvpp2 *priv) in mvpp22_tx_fifo_init()
7251 static void mvpp2_axi_init(struct mvpp2 *priv) in mvpp2_axi_init()
7306 static int mvpp2_init(struct platform_device *pdev, struct mvpp2 *priv) in mvpp2_init()
7380 struct mvpp2 *priv) in mvpp2_get_sram()
7406 struct mvpp2 *priv; in mvpp2_probe()
7663 struct mvpp2 *priv = platform_get_drvdata(pdev); in mvpp2_remove()