Home
last modified time | relevance | path

Searched refs:mvpp2 (Results 1 – 11 of 11) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/marvell/mvpp2/ !
Dmvpp2_debugfs.c18 struct mvpp2 *priv;
23 struct mvpp2 *priv;
28 struct mvpp2 *priv;
33 struct mvpp2 *priv;
247 struct mvpp2 *priv = port->priv; in mvpp2_dbgfs_port_vid_show()
281 struct mvpp2 *priv = port->priv; in mvpp2_dbgfs_port_parser_show()
302 struct mvpp2 *priv = port->priv; in mvpp2_dbgfs_filter_show()
340 struct mvpp2 *priv = entry->priv; in mvpp2_dbgfs_prs_lu_show()
437 struct mvpp2 *priv = entry->priv; in mvpp2_dbgfs_prs_valid_show()
471 struct mvpp2 *priv, int flow) in mvpp2_dbgfs_flow_entry_init()
[all …]
DMakefile5 obj-$(CONFIG_MVPP2) := mvpp2.o
7 mvpp2-y := mvpp2_main.o mvpp2_prs.o mvpp2_cls.o mvpp2_debugfs.o
8 mvpp2-$(CONFIG_MVPP2_PTP) += mvpp2_tai.o
Dmvpp2_cls.h278 void mvpp2_cls_init(struct mvpp2 *priv);
290 u32 mvpp2_cls_flow_hits(struct mvpp2 *priv, int index);
292 void mvpp2_cls_flow_read(struct mvpp2 *priv, int index,
295 u32 mvpp2_cls_lookup_hits(struct mvpp2 *priv, int index);
297 void mvpp2_cls_lookup_read(struct mvpp2 *priv, int lkpid, int way,
300 u32 mvpp2_cls_c2_hit_count(struct mvpp2 *priv, int c2_index);
302 void mvpp2_cls_c2_read(struct mvpp2 *priv, int index,
Dmvpp2_prs.c22 static int mvpp2_prs_hw_write(struct mvpp2 *priv, struct mvpp2_prs_entry *pe) in mvpp2_prs_hw_write()
46 int mvpp2_prs_init_from_hw(struct mvpp2 *priv, struct mvpp2_prs_entry *pe, in mvpp2_prs_init_from_hw()
77 static void mvpp2_prs_hw_inv(struct mvpp2 *priv, int index) in mvpp2_prs_hw_inv()
86 static void mvpp2_prs_shadow_set(struct mvpp2 *priv, int index, int lu) in mvpp2_prs_shadow_set()
93 static void mvpp2_prs_shadow_ri_set(struct mvpp2 *priv, int index, in mvpp2_prs_shadow_ri_set()
364 static int mvpp2_prs_flow_find(struct mvpp2 *priv, int flow) in mvpp2_prs_flow_find()
389 static int mvpp2_prs_tcam_first_free(struct mvpp2 *priv, unsigned char start, in mvpp2_prs_tcam_first_free()
406 static void mvpp2_prs_drop_fc(struct mvpp2 *priv) in mvpp2_prs_drop_fc()
438 static void mvpp2_prs_mac_drop_all_set(struct mvpp2 *priv, int port, bool add) in mvpp2_prs_mac_drop_all_set()
472 void mvpp2_prs_mac_promisc_set(struct mvpp2 *priv, int port, in mvpp2_prs_mac_promisc_set()
[all …]
Dmvpp2_prs.h297 int mvpp2_prs_default_init(struct platform_device *pdev, struct mvpp2 *priv);
299 int mvpp2_prs_init_from_hw(struct mvpp2 *priv, struct mvpp2_prs_entry *pe,
310 int mvpp2_prs_tag_mode_set(struct mvpp2 *priv, int port, int type);
312 int mvpp2_prs_add_flow(struct mvpp2 *priv, int flow, u32 ri, u32 ri_mask);
326 void mvpp2_prs_mac_promisc_set(struct mvpp2 *priv, int port,
333 int mvpp2_prs_hits(struct mvpp2 *priv, int index);
Dmvpp2_cls.c331 u32 mvpp2_cls_flow_hits(struct mvpp2 *priv, int index) in mvpp2_cls_flow_hits()
338 void mvpp2_cls_flow_read(struct mvpp2 *priv, int index, in mvpp2_cls_flow_read()
349 static void mvpp2_cls_flow_write(struct mvpp2 *priv, in mvpp2_cls_flow_write()
358 u32 mvpp2_cls_lookup_hits(struct mvpp2 *priv, int index) in mvpp2_cls_lookup_hits()
365 void mvpp2_cls_lookup_read(struct mvpp2 *priv, int lkpid, int way, in mvpp2_cls_lookup_read()
378 static void mvpp2_cls_lookup_write(struct mvpp2 *priv, in mvpp2_cls_lookup_write()
471 static void mvpp2_cls_flow_prs_init(struct mvpp2 *priv, in mvpp2_cls_flow_prs_init()
479 static void mvpp2_cls_flow_lkp_init(struct mvpp2 *priv, in mvpp2_cls_flow_lkp_init()
501 static void mvpp2_cls_c2_write(struct mvpp2 *priv, in mvpp2_cls_c2_write()
529 void mvpp2_cls_c2_read(struct mvpp2 *priv, int index, in mvpp2_cls_c2_read()
[all …]
Dmvpp2.h1028 struct mvpp2 { struct
1195 struct mvpp2 *priv;
1527 void mvpp2_write(struct mvpp2 *priv, u32 offset, u32 data);
1528 u32 mvpp2_read(struct mvpp2 *priv, u32 offset);
1530 void mvpp2_dbgfs_init(struct mvpp2 *priv, const char *name);
1532 void mvpp2_dbgfs_cleanup(struct mvpp2 *priv);
1535 void mvpp23_rx_fifo_fc_en(struct mvpp2 *priv, int port, bool en);
1538 int mvpp22_tai_probe(struct device *dev, struct mvpp2 *priv);
1545 static inline int mvpp22_tai_probe(struct device *dev, struct mvpp2 *priv) in mvpp22_tai_probe()
Dmvpp2_main.c74 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()
[all …]
Dmvpp2_tai.c393 int mvpp22_tai_probe(struct device *dev, struct mvpp2 *priv) in mvpp22_tai_probe()
/linux-6.12.1/drivers/net/ethernet/marvell/ !
DMakefile10 obj-$(CONFIG_MVPP2) += mvpp2/
/linux-6.12.1/ !
DMAINTAINERS13761 F: drivers/net/ethernet/marvell/mvpp2/