H A D | mvpp2.c | 631 struct mvpp2 { struct 679 struct mvpp2 *priv; 958 #define MVPP2_DRIVER_NAME "mvpp2" 963 static void mvpp2_write(struct mvpp2 *priv, u32 offset, u32 data) mvpp2_write() 968 static u32 mvpp2_read(struct mvpp2 *priv, u32 offset) mvpp2_read() 1008 static int mvpp2_prs_hw_write(struct mvpp2 *priv, struct mvpp2_prs_entry *pe) mvpp2_prs_hw_write() 1032 static int mvpp2_prs_hw_read(struct mvpp2 *priv, struct mvpp2_prs_entry *pe) mvpp2_prs_hw_read() 1059 static void mvpp2_prs_hw_inv(struct mvpp2 *priv, int index) mvpp2_prs_hw_inv() 1068 static void mvpp2_prs_shadow_set(struct mvpp2 *priv, int index, int lu) mvpp2_prs_shadow_set() 1075 static void mvpp2_prs_shadow_ri_set(struct mvpp2 *priv, int index, mvpp2_prs_shadow_ri_set() 1354 static struct mvpp2_prs_entry *mvpp2_prs_flow_find(struct mvpp2 *priv, int flow) mvpp2_prs_flow_find() 1386 static int mvpp2_prs_tcam_first_free(struct mvpp2 *priv, unsigned char start, mvpp2_prs_tcam_first_free() 1406 static void mvpp2_prs_mac_drop_all_set(struct mvpp2 *priv, int port, bool add) mvpp2_prs_mac_drop_all_set() 1441 static void mvpp2_prs_mac_promisc_set(struct mvpp2 *priv, int port, bool add) mvpp2_prs_mac_promisc_set() 1482 static void mvpp2_prs_mac_multi_set(struct mvpp2 *priv, int port, int index, mvpp2_prs_mac_multi_set() 1531 static void mvpp2_prs_dsa_tag_set(struct mvpp2 *priv, int port, bool add, mvpp2_prs_dsa_tag_set() 1590 static void mvpp2_prs_dsa_tag_ethertype_set(struct mvpp2 *priv, int port, mvpp2_prs_dsa_tag_ethertype_set() 1659 static struct mvpp2_prs_entry *mvpp2_prs_vlan_find(struct mvpp2 *priv, mvpp2_prs_vlan_find() 1709 static int mvpp2_prs_vlan_add(struct mvpp2 *priv, unsigned short tpid, int ai, mvpp2_prs_vlan_add() 1788 static int mvpp2_prs_double_vlan_ai_free_get(struct mvpp2 *priv) mvpp2_prs_double_vlan_ai_free_get() 1801 static struct mvpp2_prs_entry *mvpp2_prs_double_vlan_find(struct mvpp2 *priv, mvpp2_prs_double_vlan_find() 1842 static int mvpp2_prs_double_vlan_add(struct mvpp2 *priv, unsigned short tpid1, mvpp2_prs_double_vlan_add() 1923 static int mvpp2_prs_ip4_proto(struct mvpp2 *priv, unsigned short proto, mvpp2_prs_ip4_proto() 1987 static int mvpp2_prs_ip4_cast(struct mvpp2 *priv, unsigned short l3_cast) mvpp2_prs_ip4_cast() 2038 static int mvpp2_prs_ip6_proto(struct mvpp2 *priv, unsigned short proto, mvpp2_prs_ip6_proto() 2079 static int mvpp2_prs_ip6_cast(struct mvpp2 *priv, unsigned short l3_cast) mvpp2_prs_ip6_cast() 2119 static void mvpp2_prs_hw_port_init(struct mvpp2 *priv, int port, int lu_first, mvpp2_prs_hw_port_init() 2146 static void mvpp2_prs_def_flow_init(struct mvpp2 *priv) mvpp2_prs_def_flow_init() 2170 static void mvpp2_prs_mh_init(struct mvpp2 *priv) mvpp2_prs_mh_init() 2193 static void mvpp2_prs_mac_init(struct mvpp2 *priv) mvpp2_prs_mac_init() 2223 static void mvpp2_prs_dsa_init(struct mvpp2 *priv) mvpp2_prs_dsa_init() 2277 static int mvpp2_prs_etype_init(struct mvpp2 *priv) mvpp2_prs_etype_init() 2504 static int mvpp2_prs_vlan_init(struct platform_device *pdev, struct mvpp2 *priv) mvpp2_prs_vlan_init() 2579 static int mvpp2_prs_pppoe_init(struct mvpp2 *priv) mvpp2_prs_pppoe_init() 2690 static int mvpp2_prs_ip4_init(struct mvpp2 *priv) mvpp2_prs_ip4_init() 2773 static int mvpp2_prs_ip6_init(struct mvpp2 *priv) mvpp2_prs_ip6_init() 2909 struct mvpp2 *priv) mvpp2_prs_default_init() 2994 mvpp2_prs_mac_da_range_find(struct mvpp2 *priv, int pmap, const u8 *da, mvpp2_prs_mac_da_range_find() 3029 static int mvpp2_prs_mac_da_accept(struct mvpp2 *priv, int port, mvpp2_prs_mac_da_accept() 3146 static void mvpp2_prs_mcast_del_all(struct mvpp2 *priv, int port) mvpp2_prs_mcast_del_all() 3175 static int mvpp2_prs_tag_mode_set(struct mvpp2 *priv, int port, int type) mvpp2_prs_tag_mode_set() 3267 static void mvpp2_cls_flow_write(struct mvpp2 *priv, mvpp2_cls_flow_write() 3277 static void mvpp2_cls_lookup_write(struct mvpp2 *priv, mvpp2_cls_lookup_write() 3288 static void mvpp2_cls_init(struct mvpp2 *priv) mvpp2_cls_init() 3364 struct mvpp2 *priv, mvpp2_bm_pool_create() 3403 static void mvpp2_bm_pool_bufsize_set(struct mvpp2 *priv, mvpp2_bm_pool_bufsize_set() 3416 static void mvpp2_bm_bufs_free(struct device *dev, struct mvpp2 *priv, mvpp2_bm_bufs_free() 3444 struct mvpp2 *priv, mvpp2_bm_pool_destroy() 3466 struct mvpp2 *priv) mvpp2_bm_pools_init() 3490 static int mvpp2_bm_init(struct platform_device *pdev, struct mvpp2 *priv) mvpp2_bm_init() 4177 static int mvpp2_aggr_desc_num_check(struct mvpp2 *priv, mvpp2_aggr_desc_num_check() 4195 static int mvpp2_txq_alloc_reserved_desc(struct mvpp2 *priv, mvpp2_txq_alloc_reserved_desc() 4211 static int mvpp2_txq_reserved_desc_num_proc(struct mvpp2 *priv, mvpp2_txq_reserved_desc_num_proc() 4487 struct mvpp2 *priv) mvpp2_aggr_txq_init() 5664 struct mvpp2 *priv = port->priv; mvpp2_set_rx_mode() 6005 struct mvpp2 *priv = port->priv; mvpp2_port_init() 6115 struct mvpp2 *priv, mvpp2_port_probe() 6287 struct mvpp2 *priv) mvpp2_conf_mbus_windows() 6319 static void mvpp2_rx_fifo_init(struct mvpp2 *priv) mvpp2_rx_fifo_init() 6336 static int mvpp2_init(struct platform_device *pdev, struct mvpp2 *priv) mvpp2_init() 6408 struct mvpp2 *priv; mvpp2_probe() 6413 priv = devm_kzalloc(&pdev->dev, sizeof(struct mvpp2), GFP_KERNEL); mvpp2_probe() 6488 struct mvpp2 *priv = platform_get_drvdata(pdev); mvpp2_remove()
|