Lines Matching defs:sw
18 static int tb_eeprom_ctl_write(struct tb_switch *sw, struct tb_eeprom_ctl *ctl) in tb_eeprom_ctl_write()
26 static int tb_eeprom_ctl_read(struct tb_switch *sw, struct tb_eeprom_ctl *ctl) in tb_eeprom_ctl_read()
42 static int tb_eeprom_active(struct tb_switch *sw, bool enable) in tb_eeprom_active()
71 static int tb_eeprom_transfer(struct tb_switch *sw, struct tb_eeprom_ctl *ctl, in tb_eeprom_transfer()
96 static int tb_eeprom_out(struct tb_switch *sw, u8 val) in tb_eeprom_out()
116 static int tb_eeprom_in(struct tb_switch *sw, u8 *val) in tb_eeprom_in()
137 static int tb_eeprom_get_drom_offset(struct tb_switch *sw, u16 *offset) in tb_eeprom_get_drom_offset()
168 static int tb_eeprom_read_n(struct tb_switch *sw, u16 offset, u8 *val, in tb_eeprom_read_n()
302 int tb_drom_read_uid_only(struct tb_switch *sw, u64 *uid) in tb_drom_read_uid_only()
324 static int tb_drom_parse_entry_generic(struct tb_switch *sw, in tb_drom_parse_entry_generic()
360 static int tb_drom_parse_entry_port(struct tb_switch *sw, in tb_drom_parse_entry_port()
407 static int tb_drom_parse_entries(struct tb_switch *sw, size_t header_size) in tb_drom_parse_entries()
438 static int tb_switch_drom_alloc(struct tb_switch *sw, size_t size) in tb_switch_drom_alloc()
451 static void tb_switch_drom_free(struct tb_switch *sw) in tb_switch_drom_free()
464 static int tb_drom_copy_efi(struct tb_switch *sw, u16 *size) in tb_drom_copy_efi()
494 static int tb_drom_copy_nvm(struct tb_switch *sw, u16 *size) in tb_drom_copy_nvm()
534 static int usb4_copy_drom(struct tb_switch *sw, u16 *size) in usb4_copy_drom()
555 static int tb_drom_bit_bang(struct tb_switch *sw, u16 *size) in tb_drom_bit_bang()
583 static int tb_drom_parse_v1(struct tb_switch *sw) in tb_drom_parse_v1()
611 static int usb4_drom_parse(struct tb_switch *sw) in usb4_drom_parse()
627 static int tb_drom_parse(struct tb_switch *sw, u16 size) in tb_drom_parse()
665 static int tb_drom_host_read(struct tb_switch *sw) in tb_drom_host_read()
686 static int tb_drom_device_read(struct tb_switch *sw) in tb_drom_device_read()
714 int tb_drom_read(struct tb_switch *sw) in tb_drom_read()