Lines Matching defs:sw
17 static int tb_eeprom_ctl_write(struct tb_switch *sw, struct tb_eeprom_ctl *ctl) in tb_eeprom_ctl_write()
25 static int tb_eeprom_ctl_read(struct tb_switch *sw, struct tb_eeprom_ctl *ctl) in tb_eeprom_ctl_read()
41 static int tb_eeprom_active(struct tb_switch *sw, bool enable) in tb_eeprom_active()
70 static int tb_eeprom_transfer(struct tb_switch *sw, struct tb_eeprom_ctl *ctl, in tb_eeprom_transfer()
95 static int tb_eeprom_out(struct tb_switch *sw, u8 val) in tb_eeprom_out()
115 static int tb_eeprom_in(struct tb_switch *sw, u8 *val) in tb_eeprom_in()
136 static int tb_eeprom_read_n(struct tb_switch *sw, u16 offset, u8 *val, in tb_eeprom_read_n()
244 static int tb_eeprom_get_drom_offset(struct tb_switch *sw, u16 *offset) in tb_eeprom_get_drom_offset()
277 int tb_drom_read_uid_only(struct tb_switch *sw, u64 *uid) in tb_drom_read_uid_only()
305 static int tb_drom_parse_entry_generic(struct tb_switch *sw, in tb_drom_parse_entry_generic()
331 static int tb_drom_parse_entry_port(struct tb_switch *sw, in tb_drom_parse_entry_port()
378 static int tb_drom_parse_entries(struct tb_switch *sw) in tb_drom_parse_entries()
412 static int tb_drom_copy_efi(struct tb_switch *sw, u16 *size) in tb_drom_copy_efi()
443 static int tb_drom_copy_nvm(struct tb_switch *sw, u16 *size) in tb_drom_copy_nvm()
490 int tb_drom_read(struct tb_switch *sw) in tb_drom_read()