/dports/multimedia/libv4l/linux-5.13-rc2/drivers/thunderbolt/ |
H A D | tb.h | 144 struct tb_switch { struct 207 struct tb_switch *sw; 596 const struct tb_switch *__sw = (sw); \ 682 int tb_switch_add(struct tb_switch *sw); 685 int tb_switch_resume(struct tb_switch *sw); 686 int tb_switch_reset(struct tb_switch *sw); 706 static inline struct tb_switch *tb_switch_get(struct tb_switch *sw) in tb_switch_get() 730 static inline struct tb_switch *tb_switch_parent(struct tb_switch *sw) in tb_switch_parent() 907 int tb_drom_read(struct tb_switch *sw); 917 int tb_lc_set_sleep(struct tb_switch *sw); [all …]
|
H A D | switch.c | 830 const struct tb_switch *sw) in tb_switch_is_reachable() 1299 int tb_switch_reset(struct tb_switch *sw) in tb_switch_reset() 1363 struct tb_switch *sw = tb_to_switch(dev); in authorized_show() 1370 struct tb_switch *sw; in disapprove_switch() 1444 struct tb_switch *sw = tb_to_switch(dev); in authorized_store() 1466 struct tb_switch *sw = tb_to_switch(dev); in boot_show() 1475 struct tb_switch *sw = tb_to_switch(dev); in device_show() 1987 struct tb_switch *sw; in tb_switch_alloc() 2095 struct tb_switch * 2098 struct tb_switch *sw; in tb_switch_alloc_safe_mode() [all …]
|
H A D | lc.c | 16 int tb_lc_read_uuid(struct tb_switch *sw, u32 *uuid) in tb_lc_read_uuid() 23 static int read_lc_desc(struct tb_switch *sw, u32 *desc) in read_lc_desc() 32 struct tb_switch *sw = port->sw; in find_port_lc_cap() 51 struct tb_switch *sw = port->sw; in tb_lc_set_port_configured() 109 struct tb_switch *sw = port->sw; in tb_lc_set_xdomain_configured() 173 struct tb_switch *sw = port->sw; in tb_lc_start_lane_initialization() 231 int tb_lc_set_wake(struct tb_switch *sw, unsigned int flags) in tb_lc_set_wake() 270 int tb_lc_set_sleep(struct tb_switch *sw) in tb_lc_set_sleep() 314 bool tb_lc_lane_bonding_possible(struct tb_switch *sw) in tb_lc_lane_bonding_possible() 335 static int tb_lc_dp_sink_from_port(const struct tb_switch *sw, in tb_lc_dp_sink_from_port() [all …]
|
H A D | tmu.c | 14 static const char *tb_switch_tmu_mode_name(const struct tb_switch *sw) in tb_switch_tmu_mode_name() 40 static bool tb_switch_tmu_ucap_supported(struct tb_switch *sw) in tb_switch_tmu_ucap_supported() 53 static int tb_switch_tmu_rate_read(struct tb_switch *sw) in tb_switch_tmu_rate_read() 67 static int tb_switch_tmu_rate_write(struct tb_switch *sw, int rate) in tb_switch_tmu_rate_write() 158 int tb_switch_tmu_init(struct tb_switch *sw) in tb_switch_tmu_init() 208 int tb_switch_tmu_post_time(struct tb_switch *sw) in tb_switch_tmu_post_time() 211 struct tb_switch *root_switch = sw->tb->root_switch; in tb_switch_tmu_post_time() 298 int tb_switch_tmu_disable(struct tb_switch *sw) in tb_switch_tmu_disable() 310 struct tb_switch *parent = tb_switch_parent(sw); in tb_switch_tmu_disable() 339 int tb_switch_tmu_enable(struct tb_switch *sw) in tb_switch_tmu_enable() [all …]
|
H A D | eeprom.c | 42 static int tb_eeprom_active(struct tb_switch *sw, bool enable) in tb_eeprom_active() 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() 299 int tb_drom_read_uid_only(struct tb_switch *sw, u64 *uid) in tb_drom_read_uid_only() 321 static int tb_drom_parse_entry_generic(struct tb_switch *sw, in tb_drom_parse_entry_generic() 357 static int tb_drom_parse_entry_port(struct tb_switch *sw, in tb_drom_parse_entry_port() 404 static int tb_drom_parse_entries(struct tb_switch *sw) in tb_drom_parse_entries() 438 static int tb_drom_copy_efi(struct tb_switch *sw, u16 *size) in tb_drom_copy_efi() 544 static int tb_drom_parse(struct tb_switch *sw) in tb_drom_parse() 572 static int usb4_drom_parse(struct tb_switch *sw) in usb4_drom_parse() [all …]
|
H A D | usb4.c | 237 static void usb4_switch_check_wakes(struct tb_switch *sw) in usb4_switch_check_wakes() 302 int usb4_switch_setup(struct tb_switch *sw) in usb4_switch_setup() 305 struct tb_switch *parent; in usb4_switch_setup() 376 int usb4_switch_read_uid(struct tb_switch *sw, u64 *uid) in usb4_switch_read_uid() 385 struct tb_switch *sw = data; in usb4_switch_drom_read_block() 518 int usb4_switch_set_sleep(struct tb_switch *sw) in usb4_switch_set_sleep() 546 int usb4_switch_nvm_sector_size(struct tb_switch *sw) in usb4_switch_nvm_sector_size() 566 struct tb_switch *sw = data; in usb4_switch_nvm_read_block() 601 static int usb4_switch_nvm_set_offset(struct tb_switch *sw, in usb4_switch_nvm_set_offset() 623 struct tb_switch *sw = data; in usb4_switch_nvm_write_next_block() [all …]
|
H A D | tb.c | 137 struct tb_switch *parent = tunnel->dst_port->sw; in tb_discover_tunnels() 183 struct tb_switch *sw = port->sw; in tb_scan_xdomain() 207 static int tb_enable_tmu(struct tb_switch *sw) in tb_enable_tmu() 284 struct tb_switch *sw; in tb_find_first_usb3_tunnel() 551 static void tb_scan_switch(struct tb_switch *sw) in tb_scan_switch() 571 struct tb_switch *sw; in tb_scan_port() 1050 struct tb_switch *parent_sw; in tb_tunnel_pci() 1089 struct tb_switch *sw; in tb_approve_xdomain_paths() 1123 struct tb_switch *sw; in __tb_disconnect_xdomain_paths() 1167 struct tb_switch *sw; in tb_handle_hotplug() [all …]
|
H A D | quirks.c | 10 static void quirk_force_power_link(struct tb_switch *sw) in quirk_force_power_link() 18 void (*hook)(struct tb_switch *sw); 32 void tb_check_quirks(struct tb_switch *sw) in tb_check_quirks()
|
H A D | debugfs.c | 123 static ssize_t regs_write(struct tb_switch *sw, struct tb_port *port, in regs_write() 179 struct tb_switch *sw = s->private; in switch_regs_write() 212 struct tb_switch *sw = port->sw; in counters_write() 254 static void cap_show_by_dw(struct seq_file *s, struct tb_switch *sw, in cap_show_by_dw() 277 static void cap_show(struct seq_file *s, struct tb_switch *sw, in cap_show() 409 struct tb_switch *sw = port->sw; in port_regs_show() 513 struct tb_switch *sw = s->private; in switch_regs_show() 565 struct tb_switch *sw = port->sw; in path_show() 628 struct tb_switch *sw = port->sw; in counters_show() 663 void tb_switch_debugfs_init(struct tb_switch *sw) in tb_switch_debugfs_init() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/thunderbolt/ |
H A D | tb.h | 144 struct tb_switch { struct 207 struct tb_switch *sw; 596 const struct tb_switch *__sw = (sw); \ 682 int tb_switch_add(struct tb_switch *sw); 685 int tb_switch_resume(struct tb_switch *sw); 686 int tb_switch_reset(struct tb_switch *sw); 706 static inline struct tb_switch *tb_switch_get(struct tb_switch *sw) in tb_switch_get() 730 static inline struct tb_switch *tb_switch_parent(struct tb_switch *sw) in tb_switch_parent() 907 int tb_drom_read(struct tb_switch *sw); 917 int tb_lc_set_sleep(struct tb_switch *sw); [all …]
|
H A D | switch.c | 830 const struct tb_switch *sw) in tb_switch_is_reachable() 1299 int tb_switch_reset(struct tb_switch *sw) in tb_switch_reset() 1363 struct tb_switch *sw = tb_to_switch(dev); in authorized_show() 1370 struct tb_switch *sw; in disapprove_switch() 1444 struct tb_switch *sw = tb_to_switch(dev); in authorized_store() 1466 struct tb_switch *sw = tb_to_switch(dev); in boot_show() 1475 struct tb_switch *sw = tb_to_switch(dev); in device_show() 1987 struct tb_switch *sw; in tb_switch_alloc() 2095 struct tb_switch * 2098 struct tb_switch *sw; in tb_switch_alloc_safe_mode() [all …]
|
H A D | lc.c | 16 int tb_lc_read_uuid(struct tb_switch *sw, u32 *uuid) in tb_lc_read_uuid() 23 static int read_lc_desc(struct tb_switch *sw, u32 *desc) in read_lc_desc() 32 struct tb_switch *sw = port->sw; in find_port_lc_cap() 51 struct tb_switch *sw = port->sw; in tb_lc_set_port_configured() 109 struct tb_switch *sw = port->sw; in tb_lc_set_xdomain_configured() 173 struct tb_switch *sw = port->sw; in tb_lc_start_lane_initialization() 231 int tb_lc_set_wake(struct tb_switch *sw, unsigned int flags) in tb_lc_set_wake() 270 int tb_lc_set_sleep(struct tb_switch *sw) in tb_lc_set_sleep() 314 bool tb_lc_lane_bonding_possible(struct tb_switch *sw) in tb_lc_lane_bonding_possible() 335 static int tb_lc_dp_sink_from_port(const struct tb_switch *sw, in tb_lc_dp_sink_from_port() [all …]
|
H A D | tmu.c | 14 static const char *tb_switch_tmu_mode_name(const struct tb_switch *sw) in tb_switch_tmu_mode_name() 40 static bool tb_switch_tmu_ucap_supported(struct tb_switch *sw) in tb_switch_tmu_ucap_supported() 53 static int tb_switch_tmu_rate_read(struct tb_switch *sw) in tb_switch_tmu_rate_read() 67 static int tb_switch_tmu_rate_write(struct tb_switch *sw, int rate) in tb_switch_tmu_rate_write() 158 int tb_switch_tmu_init(struct tb_switch *sw) in tb_switch_tmu_init() 208 int tb_switch_tmu_post_time(struct tb_switch *sw) in tb_switch_tmu_post_time() 211 struct tb_switch *root_switch = sw->tb->root_switch; in tb_switch_tmu_post_time() 298 int tb_switch_tmu_disable(struct tb_switch *sw) in tb_switch_tmu_disable() 310 struct tb_switch *parent = tb_switch_parent(sw); in tb_switch_tmu_disable() 339 int tb_switch_tmu_enable(struct tb_switch *sw) in tb_switch_tmu_enable() [all …]
|
H A D | eeprom.c | 42 static int tb_eeprom_active(struct tb_switch *sw, bool enable) in tb_eeprom_active() 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() 299 int tb_drom_read_uid_only(struct tb_switch *sw, u64 *uid) in tb_drom_read_uid_only() 321 static int tb_drom_parse_entry_generic(struct tb_switch *sw, in tb_drom_parse_entry_generic() 357 static int tb_drom_parse_entry_port(struct tb_switch *sw, in tb_drom_parse_entry_port() 404 static int tb_drom_parse_entries(struct tb_switch *sw) in tb_drom_parse_entries() 438 static int tb_drom_copy_efi(struct tb_switch *sw, u16 *size) in tb_drom_copy_efi() 544 static int tb_drom_parse(struct tb_switch *sw) in tb_drom_parse() 572 static int usb4_drom_parse(struct tb_switch *sw) in usb4_drom_parse() [all …]
|
H A D | usb4.c | 237 static void usb4_switch_check_wakes(struct tb_switch *sw) in usb4_switch_check_wakes() 302 int usb4_switch_setup(struct tb_switch *sw) in usb4_switch_setup() 305 struct tb_switch *parent; in usb4_switch_setup() 376 int usb4_switch_read_uid(struct tb_switch *sw, u64 *uid) in usb4_switch_read_uid() 385 struct tb_switch *sw = data; in usb4_switch_drom_read_block() 518 int usb4_switch_set_sleep(struct tb_switch *sw) in usb4_switch_set_sleep() 546 int usb4_switch_nvm_sector_size(struct tb_switch *sw) in usb4_switch_nvm_sector_size() 566 struct tb_switch *sw = data; in usb4_switch_nvm_read_block() 601 static int usb4_switch_nvm_set_offset(struct tb_switch *sw, in usb4_switch_nvm_set_offset() 623 struct tb_switch *sw = data; in usb4_switch_nvm_write_next_block() [all …]
|
H A D | tb.c | 137 struct tb_switch *parent = tunnel->dst_port->sw; in tb_discover_tunnels() 183 struct tb_switch *sw = port->sw; in tb_scan_xdomain() 207 static int tb_enable_tmu(struct tb_switch *sw) in tb_enable_tmu() 284 struct tb_switch *sw; in tb_find_first_usb3_tunnel() 551 static void tb_scan_switch(struct tb_switch *sw) in tb_scan_switch() 571 struct tb_switch *sw; in tb_scan_port() 1050 struct tb_switch *parent_sw; in tb_tunnel_pci() 1089 struct tb_switch *sw; in tb_approve_xdomain_paths() 1123 struct tb_switch *sw; in __tb_disconnect_xdomain_paths() 1167 struct tb_switch *sw; in tb_handle_hotplug() [all …]
|
H A D | quirks.c | 10 static void quirk_force_power_link(struct tb_switch *sw) in quirk_force_power_link() 18 void (*hook)(struct tb_switch *sw); 32 void tb_check_quirks(struct tb_switch *sw) in tb_check_quirks()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/thunderbolt/ |
H A D | tb.h | 144 struct tb_switch { struct 207 struct tb_switch *sw; 596 const struct tb_switch *__sw = (sw); \ 682 int tb_switch_add(struct tb_switch *sw); 685 int tb_switch_resume(struct tb_switch *sw); 686 int tb_switch_reset(struct tb_switch *sw); 706 static inline struct tb_switch *tb_switch_get(struct tb_switch *sw) in tb_switch_get() 730 static inline struct tb_switch *tb_switch_parent(struct tb_switch *sw) in tb_switch_parent() 907 int tb_drom_read(struct tb_switch *sw); 917 int tb_lc_set_sleep(struct tb_switch *sw); [all …]
|
H A D | switch.c | 830 const struct tb_switch *sw) in tb_switch_is_reachable() 1299 int tb_switch_reset(struct tb_switch *sw) in tb_switch_reset() 1363 struct tb_switch *sw = tb_to_switch(dev); in authorized_show() 1370 struct tb_switch *sw; in disapprove_switch() 1444 struct tb_switch *sw = tb_to_switch(dev); in authorized_store() 1466 struct tb_switch *sw = tb_to_switch(dev); in boot_show() 1475 struct tb_switch *sw = tb_to_switch(dev); in device_show() 1987 struct tb_switch *sw; in tb_switch_alloc() 2095 struct tb_switch * 2098 struct tb_switch *sw; in tb_switch_alloc_safe_mode() [all …]
|
H A D | lc.c | 16 int tb_lc_read_uuid(struct tb_switch *sw, u32 *uuid) in tb_lc_read_uuid() 23 static int read_lc_desc(struct tb_switch *sw, u32 *desc) in read_lc_desc() 32 struct tb_switch *sw = port->sw; in find_port_lc_cap() 51 struct tb_switch *sw = port->sw; in tb_lc_set_port_configured() 109 struct tb_switch *sw = port->sw; in tb_lc_set_xdomain_configured() 173 struct tb_switch *sw = port->sw; in tb_lc_start_lane_initialization() 231 int tb_lc_set_wake(struct tb_switch *sw, unsigned int flags) in tb_lc_set_wake() 270 int tb_lc_set_sleep(struct tb_switch *sw) in tb_lc_set_sleep() 314 bool tb_lc_lane_bonding_possible(struct tb_switch *sw) in tb_lc_lane_bonding_possible() 335 static int tb_lc_dp_sink_from_port(const struct tb_switch *sw, in tb_lc_dp_sink_from_port() [all …]
|
H A D | tmu.c | 14 static const char *tb_switch_tmu_mode_name(const struct tb_switch *sw) in tb_switch_tmu_mode_name() 40 static bool tb_switch_tmu_ucap_supported(struct tb_switch *sw) in tb_switch_tmu_ucap_supported() 53 static int tb_switch_tmu_rate_read(struct tb_switch *sw) in tb_switch_tmu_rate_read() 67 static int tb_switch_tmu_rate_write(struct tb_switch *sw, int rate) in tb_switch_tmu_rate_write() 158 int tb_switch_tmu_init(struct tb_switch *sw) in tb_switch_tmu_init() 208 int tb_switch_tmu_post_time(struct tb_switch *sw) in tb_switch_tmu_post_time() 211 struct tb_switch *root_switch = sw->tb->root_switch; in tb_switch_tmu_post_time() 298 int tb_switch_tmu_disable(struct tb_switch *sw) in tb_switch_tmu_disable() 310 struct tb_switch *parent = tb_switch_parent(sw); in tb_switch_tmu_disable() 339 int tb_switch_tmu_enable(struct tb_switch *sw) in tb_switch_tmu_enable() [all …]
|
H A D | eeprom.c | 42 static int tb_eeprom_active(struct tb_switch *sw, bool enable) in tb_eeprom_active() 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() 299 int tb_drom_read_uid_only(struct tb_switch *sw, u64 *uid) in tb_drom_read_uid_only() 321 static int tb_drom_parse_entry_generic(struct tb_switch *sw, in tb_drom_parse_entry_generic() 357 static int tb_drom_parse_entry_port(struct tb_switch *sw, in tb_drom_parse_entry_port() 404 static int tb_drom_parse_entries(struct tb_switch *sw) in tb_drom_parse_entries() 438 static int tb_drom_copy_efi(struct tb_switch *sw, u16 *size) in tb_drom_copy_efi() 544 static int tb_drom_parse(struct tb_switch *sw) in tb_drom_parse() 572 static int usb4_drom_parse(struct tb_switch *sw) in usb4_drom_parse() [all …]
|
H A D | usb4.c | 237 static void usb4_switch_check_wakes(struct tb_switch *sw) in usb4_switch_check_wakes() 302 int usb4_switch_setup(struct tb_switch *sw) in usb4_switch_setup() 305 struct tb_switch *parent; in usb4_switch_setup() 376 int usb4_switch_read_uid(struct tb_switch *sw, u64 *uid) in usb4_switch_read_uid() 385 struct tb_switch *sw = data; in usb4_switch_drom_read_block() 518 int usb4_switch_set_sleep(struct tb_switch *sw) in usb4_switch_set_sleep() 546 int usb4_switch_nvm_sector_size(struct tb_switch *sw) in usb4_switch_nvm_sector_size() 566 struct tb_switch *sw = data; in usb4_switch_nvm_read_block() 601 static int usb4_switch_nvm_set_offset(struct tb_switch *sw, in usb4_switch_nvm_set_offset() 623 struct tb_switch *sw = data; in usb4_switch_nvm_write_next_block() [all …]
|
H A D | tb.c | 137 struct tb_switch *parent = tunnel->dst_port->sw; in tb_discover_tunnels() 183 struct tb_switch *sw = port->sw; in tb_scan_xdomain() 207 static int tb_enable_tmu(struct tb_switch *sw) in tb_enable_tmu() 284 struct tb_switch *sw; in tb_find_first_usb3_tunnel() 551 static void tb_scan_switch(struct tb_switch *sw) in tb_scan_switch() 571 struct tb_switch *sw; in tb_scan_port() 1050 struct tb_switch *parent_sw; in tb_tunnel_pci() 1089 struct tb_switch *sw; in tb_approve_xdomain_paths() 1123 struct tb_switch *sw; in __tb_disconnect_xdomain_paths() 1167 struct tb_switch *sw; in tb_handle_hotplug() [all …]
|
H A D | quirks.c | 10 static void quirk_force_power_link(struct tb_switch *sw) in quirk_force_power_link() 18 void (*hook)(struct tb_switch *sw); 32 void tb_check_quirks(struct tb_switch *sw) in tb_check_quirks()
|