Home
last modified time | relevance | path

Searched defs:sw (Results 1 – 19 of 19) sorted by relevance

/linux-4.19.296/drivers/thunderbolt/
Dswitch.c45 static struct nvm_auth_status *__nvm_get_auth_status(const struct tb_switch *sw) in __nvm_get_auth_status()
57 static void nvm_get_auth_status(const struct tb_switch *sw, u32 *status) in nvm_get_auth_status()
68 static void nvm_set_auth_status(const struct tb_switch *sw, u32 status) in nvm_set_auth_status()
93 static void nvm_clear_auth_status(const struct tb_switch *sw) in nvm_clear_auth_status()
106 static int nvm_validate_and_write(struct tb_switch *sw) in nvm_validate_and_write()
168 static int nvm_authenticate_host(struct tb_switch *sw) in nvm_authenticate_host()
208 static int nvm_authenticate_device(struct tb_switch *sw) in nvm_authenticate_device()
256 struct tb_switch *sw = priv; in tb_switch_nvm_read() local
276 struct tb_switch *sw = priv; in tb_switch_nvm_write() local
305 static struct nvmem_device *register_nvmem(struct tb_switch *sw, int id, in register_nvmem()
[all …]
Deeprom.c16 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()
[all …]
Dtb.c38 static void tb_scan_switch(struct tb_switch *sw) in tb_scan_switch()
50 struct tb_switch *sw; in tb_scan_port() local
109 static void tb_free_unplugged_children(struct tb_switch *sw) in tb_free_unplugged_children()
131 static struct tb_port *tb_find_pci_up_port(struct tb_switch *sw) in tb_find_pci_up_port()
143 static struct tb_port *tb_find_unused_down_port(struct tb_switch *sw) in tb_find_unused_down_port()
178 struct tb_switch *sw; in tb_activate_pcie_devices() local
255 struct tb_switch *sw; in tb_handle_hotplug() local
Ddma_port.c58 struct tb_switch *sw; member
171 static int dma_find_port(struct tb_switch *sw) in dma_find_port()
204 struct tb_dma_port *dma_port_alloc(struct tb_switch *sw) in dma_port_alloc()
246 struct tb_switch *sw = dma->sw; in dma_port_wait_for_completion() local
284 struct tb_switch *sw = dma->sw; in dma_port_request() local
308 struct tb_switch *sw = dma->sw; in dma_port_flash_read_block() local
332 struct tb_switch *sw = dma->sw; in dma_port_flash_write_block() local
487 struct tb_switch *sw = dma->sw; in dma_port_flash_update_auth_status() local
Dtb.h130 struct tb_switch *sw; member
257 static inline struct tb_port *tb_upstream_port(struct tb_switch *sw) in tb_upstream_port()
262 static inline u64 tb_route(struct tb_switch *sw) in tb_route()
267 static inline struct tb_port *tb_port_at(u64 route, struct tb_switch *sw) in tb_port_at()
277 static inline int tb_sw_read(struct tb_switch *sw, void *buffer, in tb_sw_read()
289 static inline int tb_sw_write(struct tb_switch *sw, void *buffer, in tb_sw_write()
331 #define __TB_SW_PRINT(level, sw, fmt, arg...) \ argument
337 #define tb_sw_WARN(sw, fmt, arg...) __TB_SW_PRINT(tb_WARN, sw, fmt, ##arg) argument
338 #define tb_sw_warn(sw, fmt, arg...) __TB_SW_PRINT(tb_warn, sw, fmt, ##arg) argument
339 #define tb_sw_info(sw, fmt, arg...) __TB_SW_PRINT(tb_info, sw, fmt, ##arg) argument
[all …]
Dicm.c258 struct icm_fr_pkg_get_topology_response *switches, *sw; in icm_fr_get_route() local
334 static int icm_fr_approve_switch(struct tb *tb, struct tb_switch *sw) in icm_fr_approve_switch()
361 static int icm_fr_add_switch_key(struct tb *tb, struct tb_switch *sw) in icm_fr_add_switch_key()
388 static int icm_fr_challenge_switch_key(struct tb *tb, struct tb_switch *sw, in icm_fr_challenge_switch_key()
470 struct tb_switch *sw; in add_switch() local
510 static void update_switch(struct tb_switch *parent_sw, struct tb_switch *sw, in update_switch()
532 static void remove_switch(struct tb_switch *sw) in remove_switch()
541 static void add_xdomain(struct tb_switch *sw, u64 route, in add_xdomain()
574 struct tb_switch *sw; in remove_xdomain() local
587 struct tb_switch *sw, *parent_sw; in icm_fr_device_connected() local
[all …]
Dcap.c64 static int tb_switch_find_cap(struct tb_switch *sw, enum tb_switch_cap cap) in tb_switch_find_cap()
95 int tb_switch_find_vse_cap(struct tb_switch *sw, enum tb_switch_vse_cap vsec) in tb_switch_find_vse_cap()
Ddomain.c570 int tb_domain_approve_switch(struct tb *tb, struct tb_switch *sw) in tb_domain_approve_switch()
596 int tb_domain_approve_switch_key(struct tb *tb, struct tb_switch *sw) in tb_domain_approve_switch_key()
628 int tb_domain_challenge_switch_key(struct tb *tb, struct tb_switch *sw) in tb_domain_challenge_switch_key()
Dxdomain.c1286 static struct tb_xdomain *switch_find_xdomain(struct tb_switch *sw, in switch_find_xdomain()
/linux-4.19.296/drivers/s390/char/
Dctrlchar.c28 void schedule_sysrq_work(struct sysrq_work *sw) in schedule_sysrq_work()
/linux-4.19.296/include/linux/input/
Dsparse-keymap.h43 } sw; member
/linux-4.19.296/include/linux/
Drfkill.h273 static inline void rfkill_set_states(struct rfkill *rfkill, bool sw, bool hw) in rfkill_set_states()
Dinput.h165 unsigned long sw[BITS_TO_LONGS(SW_CNT)]; member
/linux-4.19.296/include/linux/usb/
Dtypec.h198 struct typec_switch *sw; member
/linux-4.19.296/drivers/s390/net/
Dctcm_mpc.h107 struct th_addon sw; member
Dctcm_mpc.c131 __u32 ct, sw, rm, dup; in ctcmpc_dumpit() local
/linux-4.19.296/include/net/
Dtls.h230 struct tls_sw_context_rx sw; member
/linux-4.19.296/drivers/edac/
Dcpc925_edac.c300 int len, sw, aw; in get_total_mem() local
/linux-4.19.296/include/scsi/
Dlibsas.h227 static inline void INIT_SAS_WORK(struct sas_work *sw, void (*fn)(struct work_struct *)) in INIT_SAS_WORK()