Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/dsa/
Dbcm_sf2.c108 struct bcm_sf2_priv *priv = ds_to_priv(ds); in bcm_sf2_sw_get_ethtool_stats()
145 struct bcm_sf2_priv *priv = ds_to_priv(ds); in bcm_sf2_imp_vlan_setup()
165 struct bcm_sf2_priv *priv = ds_to_priv(ds); in bcm_sf2_imp_setup()
230 struct bcm_sf2_priv *priv = ds_to_priv(ds); in bcm_sf2_eee_enable_set()
243 struct bcm_sf2_priv *priv = ds_to_priv(ds); in bcm_sf2_gphy_enable_set()
317 struct bcm_sf2_priv *priv = ds_to_priv(ds); in bcm_sf2_port_setup()
373 struct bcm_sf2_priv *priv = ds_to_priv(ds); in bcm_sf2_port_disable()
405 struct bcm_sf2_priv *priv = ds_to_priv(ds); in bcm_sf2_eee_init()
423 struct bcm_sf2_priv *priv = ds_to_priv(ds); in bcm_sf2_sw_get_eee()
438 struct bcm_sf2_priv *priv = ds_to_priv(ds); in bcm_sf2_sw_set_eee()
[all …]
Dmv88e6xxx.c29 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in assert_smi_lock()
116 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6xxx_reg_read()
176 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6xxx_reg_write()
300 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6xxx_ppu_access_get()
327 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6xxx_ppu_access_put()
336 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6xxx_ppu_state_init()
375 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6xxx_6065_family()
389 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6xxx_6095_family()
401 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6xxx_6097_family()
415 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6xxx_6165_family()
[all …]
Dmv88e6131.c91 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6131_setup()
129 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6131_port_to_phy_addr()
Dmv88e6352.c80 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6352_setup()
104 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6352_read_eeprom_word()
205 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6352_write_eeprom_word()
Dmv88e6123_61_65.c73 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6123_61_65_setup()
Dmv88e6171.c69 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6171_setup()
/linux-4.4.14/include/net/
Ddsa.h345 static inline void *ds_to_priv(struct dsa_switch *ds) in ds_to_priv() function