Lines Matching refs:ps
50 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6352_setup_global() local
121 for (i = 0; i < ps->num_ports; i++) in mv88e6352_setup_global()
293 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6352_setup() local
301 ps->num_ports = 7; in mv88e6352_setup()
303 mutex_init(&ps->eeprom_mutex); in mv88e6352_setup()
315 for (i = 0; i < ps->num_ports; i++) { in mv88e6352_setup()
326 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6352_read_eeprom_word() local
329 mutex_lock(&ps->eeprom_mutex); in mv88e6352_read_eeprom_word()
342 mutex_unlock(&ps->eeprom_mutex); in mv88e6352_read_eeprom_word()
426 struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); in mv88e6352_write_eeprom_word() local
429 mutex_lock(&ps->eeprom_mutex); in mv88e6352_write_eeprom_word()
442 mutex_unlock(&ps->eeprom_mutex); in mv88e6352_write_eeprom_word()