Lines Matching refs:tb_switch
16 static int tb_eeprom_ctl_write(struct tb_switch *sw, struct tb_eeprom_ctl *ctl) in tb_eeprom_ctl_write()
24 static int tb_eeprom_ctl_read(struct tb_switch *sw, struct tb_eeprom_ctl *ctl) in tb_eeprom_ctl_read()
40 static int tb_eeprom_active(struct tb_switch *sw, bool enable) in tb_eeprom_active()
69 static int tb_eeprom_transfer(struct tb_switch *sw, struct tb_eeprom_ctl *ctl, in tb_eeprom_transfer()
94 static int tb_eeprom_out(struct tb_switch *sw, u8 val) in tb_eeprom_out()
114 static int tb_eeprom_in(struct tb_switch *sw, u8 *val) in tb_eeprom_in()
135 static int tb_eeprom_read_n(struct tb_switch *sw, u16 offset, u8 *val, in tb_eeprom_read_n()
243 static int tb_eeprom_get_drom_offset(struct tb_switch *sw, u16 *offset) in tb_eeprom_get_drom_offset()
276 int tb_drom_read_uid_only(struct tb_switch *sw, u64 *uid) in tb_drom_read_uid_only()
304 static int tb_drom_parse_entry_generic(struct tb_switch *sw, in tb_drom_parse_entry_generic()
330 static int tb_drom_parse_entry_port(struct tb_switch *sw, in tb_drom_parse_entry_port()
377 static int tb_drom_parse_entries(struct tb_switch *sw) in tb_drom_parse_entries()
411 static int tb_drom_copy_efi(struct tb_switch *sw, u16 *size) in tb_drom_copy_efi()
442 static int tb_drom_copy_nvm(struct tb_switch *sw, u16 *size) in tb_drom_copy_nvm()
489 int tb_drom_read(struct tb_switch *sw) in tb_drom_read()