bcm_sf2_priv 36 drivers/net/dsa/bcm_sf2.c struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); bcm_sf2_priv 89 drivers/net/dsa/bcm_sf2.c struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); bcm_sf2_priv 116 drivers/net/dsa/bcm_sf2.c static inline void bcm_sf2_port_intr_enable(struct bcm_sf2_priv *priv, bcm_sf2_priv 137 drivers/net/dsa/bcm_sf2.c static inline void bcm_sf2_port_intr_disable(struct bcm_sf2_priv *priv, bcm_sf2_priv 163 drivers/net/dsa/bcm_sf2.c struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); bcm_sf2_priv 232 drivers/net/dsa/bcm_sf2.c struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); bcm_sf2_priv 258 drivers/net/dsa/bcm_sf2.c static int bcm_sf2_sw_indir_rw(struct bcm_sf2_priv *priv, int op, int addr, bcm_sf2_priv 291 drivers/net/dsa/bcm_sf2.c struct bcm_sf2_priv *priv = bus->priv; bcm_sf2_priv 305 drivers/net/dsa/bcm_sf2.c struct bcm_sf2_priv *priv = bus->priv; bcm_sf2_priv 320 drivers/net/dsa/bcm_sf2.c struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); bcm_sf2_priv 332 drivers/net/dsa/bcm_sf2.c struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); bcm_sf2_priv 350 drivers/net/dsa/bcm_sf2.c static int bcm_sf2_sw_rst(struct bcm_sf2_priv *priv) bcm_sf2_priv 373 drivers/net/dsa/bcm_sf2.c static void bcm_sf2_intr_disable(struct bcm_sf2_priv *priv) bcm_sf2_priv 381 drivers/net/dsa/bcm_sf2.c static void bcm_sf2_identify_ports(struct bcm_sf2_priv *priv, bcm_sf2_priv 416 drivers/net/dsa/bcm_sf2.c struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); bcm_sf2_priv 469 drivers/net/dsa/bcm_sf2.c static void bcm_sf2_mdio_unregister(struct bcm_sf2_priv *priv) bcm_sf2_priv 477 drivers/net/dsa/bcm_sf2.c struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); bcm_sf2_priv 491 drivers/net/dsa/bcm_sf2.c struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); bcm_sf2_priv 538 drivers/net/dsa/bcm_sf2.c struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); bcm_sf2_priv 611 drivers/net/dsa/bcm_sf2.c struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); bcm_sf2_priv 640 drivers/net/dsa/bcm_sf2.c struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); bcm_sf2_priv 652 drivers/net/dsa/bcm_sf2.c struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); bcm_sf2_priv 681 drivers/net/dsa/bcm_sf2.c struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); bcm_sf2_priv 695 drivers/net/dsa/bcm_sf2.c struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); bcm_sf2_priv 714 drivers/net/dsa/bcm_sf2.c struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); bcm_sf2_priv 739 drivers/net/dsa/bcm_sf2.c struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); bcm_sf2_priv 763 drivers/net/dsa/bcm_sf2.c struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); bcm_sf2_priv 791 drivers/net/dsa/bcm_sf2.c struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); bcm_sf2_priv 820 drivers/net/dsa/bcm_sf2.c struct bcm_sf2_priv *priv = dev->priv; bcm_sf2_priv 830 drivers/net/dsa/bcm_sf2.c struct bcm_sf2_priv *priv = dev->priv; bcm_sf2_priv 840 drivers/net/dsa/bcm_sf2.c struct bcm_sf2_priv *priv = dev->priv; bcm_sf2_priv 850 drivers/net/dsa/bcm_sf2.c struct bcm_sf2_priv *priv = dev->priv; bcm_sf2_priv 860 drivers/net/dsa/bcm_sf2.c struct bcm_sf2_priv *priv = dev->priv; bcm_sf2_priv 870 drivers/net/dsa/bcm_sf2.c struct bcm_sf2_priv *priv = dev->priv; bcm_sf2_priv 880 drivers/net/dsa/bcm_sf2.c struct bcm_sf2_priv *priv = dev->priv; bcm_sf2_priv 890 drivers/net/dsa/bcm_sf2.c struct bcm_sf2_priv *priv = dev->priv; bcm_sf2_priv 1057 drivers/net/dsa/bcm_sf2.c struct bcm_sf2_priv *priv; bcm_sf2_priv 1221 drivers/net/dsa/bcm_sf2.c struct bcm_sf2_priv *priv = platform_get_drvdata(pdev); bcm_sf2_priv 1235 drivers/net/dsa/bcm_sf2.c struct bcm_sf2_priv *priv = platform_get_drvdata(pdev); bcm_sf2_priv 1250 drivers/net/dsa/bcm_sf2.c struct bcm_sf2_priv *priv = dev_get_drvdata(dev); bcm_sf2_priv 1257 drivers/net/dsa/bcm_sf2.c struct bcm_sf2_priv *priv = dev_get_drvdata(dev); bcm_sf2_priv 112 drivers/net/dsa/bcm_sf2.h static inline struct bcm_sf2_priv *bcm_sf2_to_priv(struct dsa_switch *ds) bcm_sf2_priv 119 drivers/net/dsa/bcm_sf2.h static inline u32 bcm_sf2_mangle_addr(struct bcm_sf2_priv *priv, u32 off) bcm_sf2_priv 125 drivers/net/dsa/bcm_sf2.h static inline u32 name##_readl(struct bcm_sf2_priv *priv, u32 off) \ bcm_sf2_priv 129 drivers/net/dsa/bcm_sf2.h static inline void name##_writel(struct bcm_sf2_priv *priv, \ bcm_sf2_priv 141 drivers/net/dsa/bcm_sf2.h static inline u64 name##_readq(struct bcm_sf2_priv *priv, u32 off) \ bcm_sf2_priv 150 drivers/net/dsa/bcm_sf2.h static inline void name##_writeq(struct bcm_sf2_priv *priv, u64 val, \ bcm_sf2_priv 160 drivers/net/dsa/bcm_sf2.h static inline void intrl2_##which##_mask_clear(struct bcm_sf2_priv *priv, \ bcm_sf2_priv 166 drivers/net/dsa/bcm_sf2.h static inline void intrl2_##which##_mask_set(struct bcm_sf2_priv *priv, \ bcm_sf2_priv 173 drivers/net/dsa/bcm_sf2.h static inline u32 core_readl(struct bcm_sf2_priv *priv, u32 off) bcm_sf2_priv 179 drivers/net/dsa/bcm_sf2.h static inline void core_writel(struct bcm_sf2_priv *priv, u32 val, u32 off) bcm_sf2_priv 185 drivers/net/dsa/bcm_sf2.h static inline u32 reg_readl(struct bcm_sf2_priv *priv, u16 off) bcm_sf2_priv 190 drivers/net/dsa/bcm_sf2.h static inline void reg_writel(struct bcm_sf2_priv *priv, u32 val, u16 off) bcm_sf2_priv 209 drivers/net/dsa/bcm_sf2.h int bcm_sf2_cfp_rst(struct bcm_sf2_priv *priv); bcm_sf2_priv 155 drivers/net/dsa/bcm_sf2_cfp.c static void bcm_sf2_cfp_udf_set(struct bcm_sf2_priv *priv, bcm_sf2_priv 167 drivers/net/dsa/bcm_sf2_cfp.c static int bcm_sf2_cfp_op(struct bcm_sf2_priv *priv, unsigned int op) bcm_sf2_priv 191 drivers/net/dsa/bcm_sf2_cfp.c static inline void bcm_sf2_cfp_rule_addr_set(struct bcm_sf2_priv *priv, bcm_sf2_priv 204 drivers/net/dsa/bcm_sf2_cfp.c static inline unsigned int bcm_sf2_cfp_rule_size(struct bcm_sf2_priv *priv) bcm_sf2_priv 210 drivers/net/dsa/bcm_sf2_cfp.c static int bcm_sf2_cfp_act_pol_set(struct bcm_sf2_priv *priv, bcm_sf2_priv 261 drivers/net/dsa/bcm_sf2_cfp.c static void bcm_sf2_cfp_slice_ipv4(struct bcm_sf2_priv *priv, bcm_sf2_priv 333 drivers/net/dsa/bcm_sf2_cfp.c static int bcm_sf2_cfp_ipv4_rule_set(struct bcm_sf2_priv *priv, int port, bcm_sf2_priv 469 drivers/net/dsa/bcm_sf2_cfp.c static void bcm_sf2_cfp_slice_ipv6(struct bcm_sf2_priv *priv, bcm_sf2_priv 542 drivers/net/dsa/bcm_sf2_cfp.c static struct cfp_rule *bcm_sf2_cfp_rule_find(struct bcm_sf2_priv *priv, bcm_sf2_priv 555 drivers/net/dsa/bcm_sf2_cfp.c static int bcm_sf2_cfp_rule_cmp(struct bcm_sf2_priv *priv, int port, bcm_sf2_priv 597 drivers/net/dsa/bcm_sf2_cfp.c static int bcm_sf2_cfp_ipv6_rule_set(struct bcm_sf2_priv *priv, int port, bcm_sf2_priv 823 drivers/net/dsa/bcm_sf2_cfp.c struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); bcm_sf2_priv 876 drivers/net/dsa/bcm_sf2_cfp.c struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); bcm_sf2_priv 914 drivers/net/dsa/bcm_sf2_cfp.c static int bcm_sf2_cfp_rule_del_one(struct bcm_sf2_priv *priv, int port, bcm_sf2_priv 951 drivers/net/dsa/bcm_sf2_cfp.c static int bcm_sf2_cfp_rule_remove(struct bcm_sf2_priv *priv, int port, bcm_sf2_priv 968 drivers/net/dsa/bcm_sf2_cfp.c static int bcm_sf2_cfp_rule_del(struct bcm_sf2_priv *priv, int port, u32 loc) bcm_sf2_priv 1008 drivers/net/dsa/bcm_sf2_cfp.c static int bcm_sf2_cfp_rule_get(struct bcm_sf2_priv *priv, int port, bcm_sf2_priv 1028 drivers/net/dsa/bcm_sf2_cfp.c static int bcm_sf2_cfp_rule_get_all(struct bcm_sf2_priv *priv, bcm_sf2_priv 1050 drivers/net/dsa/bcm_sf2_cfp.c struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); bcm_sf2_priv 1093 drivers/net/dsa/bcm_sf2_cfp.c struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); bcm_sf2_priv 1133 drivers/net/dsa/bcm_sf2_cfp.c int bcm_sf2_cfp_rst(struct bcm_sf2_priv *priv) bcm_sf2_priv 1158 drivers/net/dsa/bcm_sf2_cfp.c struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); bcm_sf2_priv 1170 drivers/net/dsa/bcm_sf2_cfp.c struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); bcm_sf2_priv 1229 drivers/net/dsa/bcm_sf2_cfp.c struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); bcm_sf2_priv 1252 drivers/net/dsa/bcm_sf2_cfp.c struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); bcm_sf2_priv 1283 drivers/net/dsa/bcm_sf2_cfp.c struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds);