Home
last modified time | relevance | path

Searched refs:ds_to_priv (Results 1 – 7 of 7) sorted by relevance

/linux-4.1.27/drivers/net/dsa/
Dmv88e6xxx.c99 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6xxx_reg_read()
158 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6xxx_reg_write()
302 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6xxx_ppu_access_get()
329 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6xxx_ppu_access_put()
338 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6xxx_ppu_state_init()
439 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6xxx_6352_family()
554 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in have_sw_in_discards()
586 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in _mv88e6xxx_get_ethtool_stats()
691 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6xxx_get_temp()
824 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6xxx_get_eee()
[all …]
Dbcm_sf2.c104 struct bcm_sf2_priv *priv = ds_to_priv(ds); in bcm_sf2_sw_get_ethtool_stats()
141 struct bcm_sf2_priv *priv = ds_to_priv(ds); in bcm_sf2_imp_vlan_setup()
161 struct bcm_sf2_priv *priv = ds_to_priv(ds); in bcm_sf2_imp_setup()
226 struct bcm_sf2_priv *priv = ds_to_priv(ds); in bcm_sf2_eee_enable_set()
239 struct bcm_sf2_priv *priv = ds_to_priv(ds); in bcm_sf2_gphy_enable_set()
269 struct bcm_sf2_priv *priv = ds_to_priv(ds); in bcm_sf2_port_setup()
325 struct bcm_sf2_priv *priv = ds_to_priv(ds); in bcm_sf2_port_disable()
359 struct bcm_sf2_priv *priv = ds_to_priv(ds); in bcm_sf2_eee_init()
377 struct bcm_sf2_priv *priv = ds_to_priv(ds); in bcm_sf2_sw_get_eee()
392 struct bcm_sf2_priv *priv = ds_to_priv(ds); in bcm_sf2_sw_set_eee()
[all …]
Dmv88e6171.c41 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6171_setup_global()
229 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6171_setup()
264 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6171_get_eee()
275 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6171_set_eee()
Dmv88e6131.c128 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6131_setup_port()
225 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6131_setup()
271 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6131_port_to_phy_addr()
Dmv88e6352.c50 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6352_setup_global()
293 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6352_setup()
326 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6352_read_eeprom_word()
426 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6352_write_eeprom_word()
Dmv88e6123_61_65.c241 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6123_61_65_setup()
/linux-4.1.27/include/net/
Ddsa.h311 static inline void *ds_to_priv(struct dsa_switch *ds) in ds_to_priv() function