mvpp2 894 drivers/net/ethernet/marvell/mvpp2/mvpp2.h struct mvpp2 *priv; mvpp2 1199 drivers/net/ethernet/marvell/mvpp2/mvpp2.h void mvpp2_write(struct mvpp2 *priv, u32 offset, u32 data); mvpp2 1200 drivers/net/ethernet/marvell/mvpp2/mvpp2.h u32 mvpp2_read(struct mvpp2 *priv, u32 offset); mvpp2 1202 drivers/net/ethernet/marvell/mvpp2/mvpp2.h void mvpp2_dbgfs_init(struct mvpp2 *priv, const char *name); mvpp2 1204 drivers/net/ethernet/marvell/mvpp2/mvpp2.h void mvpp2_dbgfs_cleanup(struct mvpp2 *priv); mvpp2 325 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c u32 mvpp2_cls_flow_hits(struct mvpp2 *priv, int index) mvpp2 332 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c void mvpp2_cls_flow_read(struct mvpp2 *priv, int index, mvpp2 343 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c static void mvpp2_cls_flow_write(struct mvpp2 *priv, mvpp2 352 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c u32 mvpp2_cls_lookup_hits(struct mvpp2 *priv, int index) mvpp2 359 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c void mvpp2_cls_lookup_read(struct mvpp2 *priv, int lkpid, int way, mvpp2 372 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c static void mvpp2_cls_lookup_write(struct mvpp2 *priv, mvpp2 465 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c static void mvpp2_cls_flow_prs_init(struct mvpp2 *priv, mvpp2 473 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c static void mvpp2_cls_flow_lkp_init(struct mvpp2 *priv, mvpp2 495 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c static void mvpp2_cls_c2_write(struct mvpp2 *priv, mvpp2 523 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c void mvpp2_cls_c2_read(struct mvpp2 *priv, int index, mvpp2 576 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c static void mvpp2_cls_flow_init(struct mvpp2 *priv, mvpp2 845 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c static void mvpp2_cls_port_init_flows(struct mvpp2 *priv) mvpp2 902 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c void mvpp2_cls_init(struct mvpp2 *priv) mvpp2 977 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c u32 mvpp2_cls_c2_hit_count(struct mvpp2 *priv, int c2_index) mvpp2 1200 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c struct mvpp2 *priv = port->priv; mvpp2 1467 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c struct mvpp2 *priv = port->priv; mvpp2 1482 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c struct mvpp2 *priv = port->priv; mvpp2 1539 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c static struct mvpp2_rss_table *mvpp22_rss_table_get(struct mvpp2 *priv, mvpp2 1550 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c struct mvpp2 *priv = port->priv; mvpp2 278 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.h void mvpp2_cls_init(struct mvpp2 *priv); mvpp2 290 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.h u32 mvpp2_cls_flow_hits(struct mvpp2 *priv, int index); mvpp2 292 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.h void mvpp2_cls_flow_read(struct mvpp2 *priv, int index, mvpp2 295 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.h u32 mvpp2_cls_lookup_hits(struct mvpp2 *priv, int index); mvpp2 297 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.h void mvpp2_cls_lookup_read(struct mvpp2 *priv, int lkpid, int way, mvpp2 300 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.h u32 mvpp2_cls_c2_hit_count(struct mvpp2 *priv, int c2_index); mvpp2 302 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.h void mvpp2_cls_c2_read(struct mvpp2 *priv, int index, mvpp2 18 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c struct mvpp2 *priv; mvpp2 23 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c struct mvpp2 *priv; mvpp2 28 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c struct mvpp2 *priv; mvpp2 33 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c struct mvpp2 *priv; mvpp2 247 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c struct mvpp2 *priv = port->priv; mvpp2 281 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c struct mvpp2 *priv = port->priv; mvpp2 302 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c struct mvpp2 *priv = port->priv; mvpp2 340 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c struct mvpp2 *priv = entry->priv; mvpp2 437 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c struct mvpp2 *priv = entry->priv; mvpp2 471 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c struct mvpp2 *priv, int flow) mvpp2 507 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c static int mvpp2_dbgfs_flow_init(struct dentry *parent, struct mvpp2 *priv) mvpp2 524 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c struct mvpp2 *priv, int tid) mvpp2 567 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c static int mvpp2_dbgfs_prs_init(struct dentry *parent, struct mvpp2 *priv) mvpp2 584 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c struct mvpp2 *priv, int id) mvpp2 617 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c struct mvpp2 *priv, int id) mvpp2 643 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c static int mvpp2_dbgfs_cls_init(struct dentry *parent, struct mvpp2 *priv) mvpp2 694 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c void mvpp2_dbgfs_cleanup(struct mvpp2 *priv) mvpp2 701 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c void mvpp2_dbgfs_init(struct mvpp2 *priv, const char *name) mvpp2 75 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c void mvpp2_write(struct mvpp2 *priv, u32 offset, u32 data) mvpp2 80 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c u32 mvpp2_read(struct mvpp2 *priv, u32 offset) mvpp2 85 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c static u32 mvpp2_read_relaxed(struct mvpp2 *priv, u32 offset) mvpp2 90 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c static inline u32 mvpp2_cpu_to_thread(struct mvpp2 *priv, int cpu) mvpp2 131 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c static void mvpp2_thread_write(struct mvpp2 *priv, unsigned int thread, mvpp2 137 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c static u32 mvpp2_thread_read(struct mvpp2 *priv, unsigned int thread, mvpp2 143 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c static void mvpp2_thread_write_relaxed(struct mvpp2 *priv, unsigned int thread, mvpp2 149 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c static u32 mvpp2_thread_read_relaxed(struct mvpp2 *priv, unsigned int thread, mvpp2 296 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c static int mvpp2_get_nrxqs(struct mvpp2 *priv) mvpp2 346 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c static int mvpp2_bm_pool_create(struct device *dev, struct mvpp2 *priv, mvpp2 396 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c static void mvpp2_bm_pool_bufsize_set(struct mvpp2 *priv, mvpp2 408 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c static void mvpp2_bm_bufs_get_addrs(struct device *dev, struct mvpp2 *priv, mvpp2 439 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c static void mvpp2_bm_bufs_free(struct device *dev, struct mvpp2 *priv, mvpp2 473 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c static int mvpp2_check_hw_buf_num(struct mvpp2 *priv, struct mvpp2_bm_pool *bm_pool) mvpp2 490 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c static int mvpp2_bm_pool_destroy(struct device *dev, struct mvpp2 *priv, mvpp2 517 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c static int mvpp2_bm_pools_init(struct device *dev, struct mvpp2 *priv) mvpp2 544 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c static int mvpp2_bm_init(struct device *dev, struct mvpp2 *priv) mvpp2 1123 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c struct mvpp2 *priv = port->priv; mvpp2 1140 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c struct mvpp2 *priv = port->priv; mvpp2 1160 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c struct mvpp2 *priv = port->priv; mvpp2 1183 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c struct mvpp2 *priv = port->priv; mvpp2 1413 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c static u32 mvpp2_read_index(struct mvpp2 *priv, u32 index, u32 reg) mvpp2 1620 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c struct mvpp2 *priv = port->priv; mvpp2 1641 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c struct mvpp2 *priv = port->priv; mvpp2 1952 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c struct mvpp2 *priv = port->priv; mvpp2 2317 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c unsigned int thread, struct mvpp2 *priv) mvpp2 3619 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c struct mvpp2 *priv = port->priv; mvpp2 3840 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c static int mvpp2_bm_switch_buffers(struct mvpp2 *priv, bool percpu) mvpp2 3878 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c struct mvpp2 *priv = port->priv; mvpp2 4430 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c struct mvpp2 *priv = port->priv; mvpp2 4512 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c struct mvpp2 *priv = port->priv; mvpp2 4543 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c struct mvpp2 *priv = port->priv; mvpp2 4693 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c static bool mvpp2_port_has_irqs(struct mvpp2 *priv, mvpp2 4720 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c static void mvpp2_port_copy_mac_addr(struct net_device *dev, struct mvpp2 *priv, mvpp2 5195 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c struct mvpp2 *priv) mvpp2 5462 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c struct mvpp2 *priv) mvpp2 5494 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c static void mvpp2_rx_fifo_init(struct mvpp2 *priv) mvpp2 5510 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c static void mvpp22_rx_fifo_init(struct mvpp2 *priv) mvpp2 5547 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c static void mvpp22_tx_fifo_init(struct mvpp2 *priv) mvpp2 5564 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c static void mvpp2_axi_init(struct mvpp2 *priv) mvpp2 5619 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c static int mvpp2_init(struct platform_device *pdev, struct mvpp2 *priv) mvpp2 5695 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c struct mvpp2 *priv; mvpp2 5926 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c struct mvpp2 *priv = platform_get_drvdata(pdev); mvpp2 22 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c static int mvpp2_prs_hw_write(struct mvpp2 *priv, struct mvpp2_prs_entry *pe) mvpp2 46 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c int mvpp2_prs_init_from_hw(struct mvpp2 *priv, struct mvpp2_prs_entry *pe, mvpp2 77 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c static void mvpp2_prs_hw_inv(struct mvpp2 *priv, int index) mvpp2 86 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c static void mvpp2_prs_shadow_set(struct mvpp2 *priv, int index, int lu) mvpp2 93 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c static void mvpp2_prs_shadow_ri_set(struct mvpp2 *priv, int index, mvpp2 364 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c static int mvpp2_prs_flow_find(struct mvpp2 *priv, int flow) mvpp2 389 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c static int mvpp2_prs_tcam_first_free(struct mvpp2 *priv, unsigned char start, mvpp2 409 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c static void mvpp2_prs_mac_drop_all_set(struct mvpp2 *priv, int port, bool add) mvpp2 443 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c void mvpp2_prs_mac_promisc_set(struct mvpp2 *priv, int port, mvpp2 497 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c static void mvpp2_prs_dsa_tag_set(struct mvpp2 *priv, int port, bool add, mvpp2 564 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c static void mvpp2_prs_dsa_tag_ethertype_set(struct mvpp2 *priv, int port, mvpp2 632 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c static int mvpp2_prs_vlan_find(struct mvpp2 *priv, unsigned short tpid, int ai) mvpp2 673 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c static int mvpp2_prs_vlan_add(struct mvpp2 *priv, unsigned short tpid, int ai, mvpp2 745 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c static int mvpp2_prs_double_vlan_ai_free_get(struct mvpp2 *priv) mvpp2 758 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c static int mvpp2_prs_double_vlan_find(struct mvpp2 *priv, unsigned short tpid1, mvpp2 791 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c static int mvpp2_prs_double_vlan_add(struct mvpp2 *priv, unsigned short tpid1, mvpp2 865 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c static int mvpp2_prs_ip4_proto(struct mvpp2 *priv, unsigned short proto, mvpp2 936 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c static int mvpp2_prs_ip4_cast(struct mvpp2 *priv, unsigned short l3_cast) mvpp2 987 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c static int mvpp2_prs_ip6_proto(struct mvpp2 *priv, unsigned short proto, mvpp2 1028 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c static int mvpp2_prs_ip6_cast(struct mvpp2 *priv, unsigned short l3_cast) mvpp2 1068 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c static void mvpp2_prs_hw_port_init(struct mvpp2 *priv, int port, int lu_first, mvpp2 1095 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c static void mvpp2_prs_def_flow_init(struct mvpp2 *priv) mvpp2 1119 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c static void mvpp2_prs_mh_init(struct mvpp2 *priv) mvpp2 1142 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c static void mvpp2_prs_mac_init(struct mvpp2 *priv) mvpp2 1171 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c static void mvpp2_prs_dsa_init(struct mvpp2 *priv) mvpp2 1225 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c static void mvpp2_prs_vid_init(struct mvpp2 *priv) mvpp2 1281 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c static int mvpp2_prs_etype_init(struct mvpp2 *priv) mvpp2 1504 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c static int mvpp2_prs_vlan_init(struct platform_device *pdev, struct mvpp2 *priv) mvpp2 1580 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c static int mvpp2_prs_pppoe_init(struct mvpp2 *priv) mvpp2 1691 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c static int mvpp2_prs_ip4_init(struct mvpp2 *priv) mvpp2 1774 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c static int mvpp2_prs_ip6_init(struct mvpp2 *priv) mvpp2 1946 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c struct mvpp2 *priv = port->priv; mvpp2 2007 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c struct mvpp2 *priv = port->priv; mvpp2 2024 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c struct mvpp2 *priv = port->priv; mvpp2 2040 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c struct mvpp2 *priv = port->priv; mvpp2 2052 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c struct mvpp2 *priv = port->priv; mvpp2 2096 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c int mvpp2_prs_default_init(struct platform_device *pdev, struct mvpp2 *priv) mvpp2 2183 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_mac_da_range_find(struct mvpp2 *priv, int pmap, const u8 *da, mvpp2 2214 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c struct mvpp2 *priv = port->priv; mvpp2 2322 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c struct mvpp2 *priv = port->priv; mvpp2 2361 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c int mvpp2_prs_tag_mode_set(struct mvpp2 *priv, int port, int type) mvpp2 2411 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c int mvpp2_prs_add_flow(struct mvpp2 *priv, int flow, u32 ri, u32 ri_mask) mvpp2 2484 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c int mvpp2_prs_hits(struct mvpp2 *priv, int index) mvpp2 295 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.h int mvpp2_prs_default_init(struct platform_device *pdev, struct mvpp2 *priv); mvpp2 297 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.h int mvpp2_prs_init_from_hw(struct mvpp2 *priv, struct mvpp2_prs_entry *pe, mvpp2 308 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.h int mvpp2_prs_tag_mode_set(struct mvpp2 *priv, int port, int type); mvpp2 310 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.h int mvpp2_prs_add_flow(struct mvpp2 *priv, int flow, u32 ri, u32 ri_mask); mvpp2 324 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.h void mvpp2_prs_mac_promisc_set(struct mvpp2 *priv, int port, mvpp2 331 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.h int mvpp2_prs_hits(struct mvpp2 *priv, int index);