Searched refs:bcm_sf2_priv (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/net/dsa/ |
H A D | bcm_sf2.h | 61 struct bcm_sf2_priv { struct 121 static inline struct bcm_sf2_priv *bcm_sf2_to_priv(struct dsa_switch *ds) in bcm_sf2_to_priv() argument 128 static inline u32 bcm_sf2_mangle_addr(struct bcm_sf2_priv *priv, u32 off) in bcm_sf2_mangle_addr() 134 static inline u32 name##_readl(struct bcm_sf2_priv *priv, u32 off) \ 138 static inline void name##_writel(struct bcm_sf2_priv *priv, \ 150 static inline u64 name##_readq(struct bcm_sf2_priv *priv, u32 off) \ 159 static inline void name##_writeq(struct bcm_sf2_priv *priv, u64 val, \ 175 static inline void intrl2_##which##_mask_set(struct bcm_sf2_priv *priv, \ 182 static inline u32 core_readl(struct bcm_sf2_priv *priv, u32 off) in core_readl() 194 static inline u32 reg_readl(struct bcm_sf2_priv *priv, u16 off) in reg_readl() [all …]
|
H A D | bcm_sf2.c | 414 struct bcm_sf2_priv *priv = bus->priv; in bcm_sf2_sw_mdio_read() 428 struct bcm_sf2_priv *priv = bus->priv; in bcm_sf2_sw_mdio_write() 1081 struct bcm_sf2_priv *priv = dev->priv; in bcm_sf2_core_read8() 1091 struct bcm_sf2_priv *priv = dev->priv; in bcm_sf2_core_read16() 1101 struct bcm_sf2_priv *priv = dev->priv; in bcm_sf2_core_read32() 1111 struct bcm_sf2_priv *priv = dev->priv; in bcm_sf2_core_read64() 1121 struct bcm_sf2_priv *priv = dev->priv; in bcm_sf2_core_write8() 1131 struct bcm_sf2_priv *priv = dev->priv; in bcm_sf2_core_write16() 1141 struct bcm_sf2_priv *priv = dev->priv; in bcm_sf2_core_write32() 1151 struct bcm_sf2_priv *priv = dev->priv; in bcm_sf2_core_write64() [all …]
|
H A D | bcm_sf2_cfp.c | 157 static void bcm_sf2_cfp_udf_set(struct bcm_sf2_priv *priv, in bcm_sf2_cfp_udf_set() 849 struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); in bcm_sf2_cfp_rule_insert() 929 struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); in bcm_sf2_cfp_rule_set() 1106 struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); in bcm_sf2_get_rxnfc() 1149 struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); in bcm_sf2_set_rxnfc() 1189 int bcm_sf2_cfp_rst(struct bcm_sf2_priv *priv) in bcm_sf2_cfp_rst() 1214 struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); in bcm_sf2_cfp_exit() 1226 struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); in bcm_sf2_cfp_resume() 1285 struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); in bcm_sf2_cfp_get_strings() 1308 struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); in bcm_sf2_cfp_get_ethtool_stats() [all …]
|