| /linux/drivers/net/ethernet/marvell/mvpp2/ |
| H A D | mvpp2_debugfs.c | 18 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 …]
|
| H A D | mvpp2_prs.c | 22 static int mvpp2_prs_hw_write(struct mvpp2 *priv, struct mvpp2_prs_entry *pe) in mvpp2_prs_hw_write() 48 static int __mvpp2_prs_init_from_hw(struct mvpp2 *priv, in __mvpp2_prs_init_from_hw() 80 int mvpp2_prs_init_from_hw(struct mvpp2 *priv, struct mvpp2_prs_entry *pe, in mvpp2_prs_init_from_hw() 93 static void mvpp2_prs_hw_inv(struct mvpp2 *priv, int index) in mvpp2_prs_hw_inv() 102 static void mvpp2_prs_shadow_set(struct mvpp2 *priv, int index, int lu) in mvpp2_prs_shadow_set() 109 static void mvpp2_prs_shadow_ri_set(struct mvpp2 *priv, int index, in mvpp2_prs_shadow_ri_set() 380 static int mvpp2_prs_flow_find(struct mvpp2 *priv, int flow) in mvpp2_prs_flow_find() 405 static int mvpp2_prs_tcam_first_free(struct mvpp2 *priv, unsigned char start, in mvpp2_prs_tcam_first_free() 422 static void mvpp2_prs_drop_fc(struct mvpp2 *priv) in mvpp2_prs_drop_fc() 454 static void mvpp2_prs_mac_drop_all_set(struct mvpp2 *priv, int port, bool add) in mvpp2_prs_mac_drop_all_set() [all …]
|
| H A D | mvpp2_cls.h | 280 void mvpp2_cls_init(struct mvpp2 *priv); 292 u32 mvpp2_cls_flow_hits(struct mvpp2 *priv, int index); 294 void mvpp2_cls_flow_read(struct mvpp2 *priv, int index, 297 u32 mvpp2_cls_lookup_hits(struct mvpp2 *priv, int index); 299 void mvpp2_cls_lookup_read(struct mvpp2 *priv, int lkpid, int way, 302 u32 mvpp2_cls_c2_hit_count(struct mvpp2 *priv, int c2_index); 304 void mvpp2_cls_c2_read(struct mvpp2 *priv, int index,
|
| H A D | Makefile | 5 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
|
| H A D | mvpp2_prs.h | 297 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);
|
| H A D | mvpp2_cls.c | 331 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 …]
|
| H A D | mvpp2_main.c | 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() [all …]
|
| H A D | mvpp2.h | 1033 struct mvpp2 { struct 1203 struct mvpp2 *priv; 1535 void mvpp2_write(struct mvpp2 *priv, u32 offset, u32 data); 1536 u32 mvpp2_read(struct mvpp2 *priv, u32 offset); 1538 void mvpp2_dbgfs_init(struct mvpp2 *priv, const char *name); 1540 void mvpp2_dbgfs_cleanup(struct mvpp2 *priv); 1543 void mvpp23_rx_fifo_fc_en(struct mvpp2 *priv, int port, bool en); 1546 int mvpp22_tai_probe(struct device *dev, struct mvpp2 *priv); 1553 static inline int mvpp22_tai_probe(struct device *dev, struct mvpp2 *priv) in mvpp22_tai_probe()
|
| H A D | mvpp2_tai.c | 393 int mvpp22_tai_probe(struct device *dev, struct mvpp2 *priv) in mvpp22_tai_probe()
|
| /linux/drivers/net/ethernet/marvell/ |
| H A D | Makefile | 10 obj-$(CONFIG_MVPP2) += mvpp2/
|
| /linux/ |
| H A D | MAINTAINERS | 15422 F: drivers/net/ethernet/marvell/mvpp2/
|