/Linux-v5.4/drivers/thunderbolt/ |
D | switch.c | 46 static struct nvm_auth_status *__nvm_get_auth_status(const struct tb_switch *sw) in __nvm_get_auth_status() 58 static void nvm_get_auth_status(const struct tb_switch *sw, u32 *status) in nvm_get_auth_status() 69 static void nvm_set_auth_status(const struct tb_switch *sw, u32 status) in nvm_set_auth_status() 94 static void nvm_clear_auth_status(const struct tb_switch *sw) in nvm_clear_auth_status() 107 static int nvm_validate_and_write(struct tb_switch *sw) in nvm_validate_and_write() 169 static int nvm_authenticate_host(struct tb_switch *sw) in nvm_authenticate_host() 198 static int nvm_authenticate_device(struct tb_switch *sw) in nvm_authenticate_device() 238 struct tb_switch *sw = priv; in tb_switch_nvm_read() local 261 struct tb_switch *sw = priv; in tb_switch_nvm_write() local 290 static struct nvmem_device *register_nvmem(struct tb_switch *sw, int id, in register_nvmem() [all …]
|
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() local 51 struct tb_switch *sw = port->sw; in tb_lc_configure_lane() local 92 int tb_lc_configure_link(struct tb_switch *sw) in tb_lc_configure_link() 123 void tb_lc_unconfigure_link(struct tb_switch *sw) in tb_lc_unconfigure_link() 144 int tb_lc_set_sleep(struct tb_switch *sw) in tb_lc_set_sleep()
|
D | eeprom.c | 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() [all …]
|
D | tb.c | 59 static void tb_discover_tunnels(struct tb_switch *sw) in tb_discover_tunnels() 106 struct tb_switch *sw = port->sw; in tb_scan_xdomain() local 131 static void tb_scan_switch(struct tb_switch *sw) in tb_scan_switch() 145 struct tb_switch *sw; in tb_scan_port() local 264 static void tb_free_unplugged_children(struct tb_switch *sw) in tb_free_unplugged_children() 289 static struct tb_port *tb_find_port(struct tb_switch *sw, in tb_find_port() 304 static struct tb_port *tb_find_unused_port(struct tb_switch *sw, in tb_find_unused_port() 323 static struct tb_port *tb_find_pcie_down(struct tb_switch *sw, in tb_find_pcie_down() 364 struct tb_switch *sw = out->sw; in tb_tunnel_dp() local 399 static int tb_tunnel_pci(struct tb *tb, struct tb_switch *sw) in tb_tunnel_pci() [all …]
|
D | tb.h | 138 struct tb_switch *sw; member 312 static inline struct tb_port *tb_upstream_port(struct tb_switch *sw) in tb_upstream_port() 330 static inline u64 tb_route(const struct tb_switch *sw) in tb_route() 335 static inline struct tb_port *tb_port_at(u64 route, struct tb_switch *sw) in tb_port_at() 388 static inline int tb_sw_read(struct tb_switch *sw, void *buffer, in tb_sw_read() 402 static inline int tb_sw_write(struct tb_switch *sw, void *buffer, in tb_sw_write() 450 #define __TB_SW_PRINT(level, sw, fmt, arg...) \ argument 456 #define tb_sw_WARN(sw, fmt, arg...) __TB_SW_PRINT(tb_WARN, sw, fmt, ##arg) argument 457 #define tb_sw_warn(sw, fmt, arg...) __TB_SW_PRINT(tb_warn, sw, fmt, ##arg) argument 458 #define tb_sw_info(sw, fmt, arg...) __TB_SW_PRINT(tb_info, sw, fmt, ##arg) argument [all …]
|
D | dma_port.c | 55 struct tb_switch *sw; member 168 static int dma_find_port(struct tb_switch *sw) in dma_find_port() 201 struct tb_dma_port *dma_port_alloc(struct tb_switch *sw) in dma_port_alloc() 243 struct tb_switch *sw = dma->sw; in dma_port_wait_for_completion() local 281 struct tb_switch *sw = dma->sw; in dma_port_request() local 305 struct tb_switch *sw = dma->sw; in dma_port_flash_read_block() local 329 struct tb_switch *sw = dma->sw; in dma_port_flash_write_block() local 483 struct tb_switch *sw = dma->sw; in dma_port_flash_update_auth_status() local
|
D | icm.c | 360 struct icm_fr_pkg_get_topology_response *switches, *sw; in icm_fr_get_route() local 436 static int icm_fr_approve_switch(struct tb *tb, struct tb_switch *sw) in icm_fr_approve_switch() 463 static int icm_fr_add_switch_key(struct tb *tb, struct tb_switch *sw) in icm_fr_add_switch_key() 490 static int icm_fr_challenge_switch_key(struct tb *tb, struct tb_switch *sw, in icm_fr_challenge_switch_key() 573 struct tb_switch *sw; in add_switch() local 619 static void update_switch(struct tb_switch *parent_sw, struct tb_switch *sw, in update_switch() 644 static void remove_switch(struct tb_switch *sw) in remove_switch() 653 static void add_xdomain(struct tb_switch *sw, u64 route, in add_xdomain() 686 struct tb_switch *sw; in remove_xdomain() local 699 struct tb_switch *sw, *parent_sw; in icm_fr_device_connected() local [all …]
|
D | cap.c | 28 struct tb_switch *sw = port->sw; in tb_port_enable_tmu() local 116 static int tb_switch_find_cap(struct tb_switch *sw, enum tb_switch_cap cap) in tb_switch_find_cap() 147 int tb_switch_find_vse_cap(struct tb_switch *sw, enum tb_switch_vse_cap vsec) in tb_switch_find_vse_cap()
|
/Linux-v5.4/drivers/input/joystick/ |
D | sidewinder.c | 98 struct sw { struct 114 * sw_read_packet() is a function which reads either a data packet, or an argument 285 static int sw_parse(unsigned char *buf, struct sw *sw) in sw_parse() 409 static int sw_read(struct sw *sw) in sw_read() 486 struct sw *sw = gameport_get_drvdata(gameport); in sw_poll() local 495 struct sw *sw = input_get_drvdata(dev); in sw_open() local 503 struct sw *sw = input_get_drvdata(dev); in sw_close() local 572 struct sw *sw; in sw_connect() local 786 struct sw *sw = gameport_get_drvdata(gameport); in sw_disconnect() local
|
/Linux-v5.4/drivers/usb/roles/ |
D | class.c | 42 int usb_role_switch_set_role(struct usb_role_switch *sw, enum usb_role role) in usb_role_switch_set_role() 68 enum usb_role usb_role_switch_get_role(struct usb_role_switch *sw) in usb_role_switch_get_role() 127 struct usb_role_switch *sw; in usb_role_switch_get() local 150 struct usb_role_switch *sw; in fwnode_usb_role_switch_get() local 169 void usb_role_switch_put(struct usb_role_switch *sw) in usb_role_switch_put() 182 struct usb_role_switch *sw = to_role_switch(dev); in usb_role_switch_is_visible() local 199 struct usb_role_switch *sw = to_role_switch(dev); in role_show() local 208 struct usb_role_switch *sw = to_role_switch(dev); in role_store() local 258 struct usb_role_switch *sw = to_role_switch(dev); in usb_role_switch_release() local 288 struct usb_role_switch *sw; in usb_role_switch_register() local [all …]
|
/Linux-v5.4/drivers/usb/typec/ |
D | mux.c | 72 struct typec_switch *sw; in typec_switch_get() local 89 void typec_switch_put(struct typec_switch *sw) in typec_switch_put() 122 struct typec_switch *sw; in typec_switch_register() local 159 void typec_switch_unregister(struct typec_switch *sw) in typec_switch_unregister() 166 void typec_switch_set_drvdata(struct typec_switch *sw, void *data) in typec_switch_set_drvdata() 172 void *typec_switch_get_drvdata(struct typec_switch *sw) in typec_switch_get_drvdata()
|
/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/engine/sw/ |
D | base.c | 30 nvkm_sw_mthd(struct nvkm_sw *sw, int chid, int subc, u32 mthd, u32 data) in nvkm_sw_mthd() 61 struct nvkm_sw *sw = nvkm_sw(oclass->engine); in nvkm_sw_oclass_get() local 81 struct nvkm_sw *sw = nvkm_sw(oclass->engine); in nvkm_sw_cclass_get() local 102 struct nvkm_sw *sw; in nvkm_sw_new_() local
|
D | chan.c | 76 struct nvkm_sw *sw = chan->sw; in nvkm_sw_chan_dtor() local 96 nvkm_sw_chan_ctor(const struct nvkm_sw_chan_func *func, struct nvkm_sw *sw, in nvkm_sw_chan_ctor()
|
D | gf100.c | 43 struct nvkm_sw *sw = chan->base.sw; in gf100_sw_chan_vblsem_release() local 105 gf100_sw_chan_new(struct nvkm_sw *sw, struct nvkm_fifo_chan *fifoch, in gf100_sw_chan_new()
|
D | nv50.c | 43 struct nvkm_sw *sw = chan->base.sw; in nv50_sw_chan_vblsem_release() local 100 nv50_sw_chan_new(struct nvkm_sw *sw, struct nvkm_fifo_chan *fifoch, in nv50_sw_chan_new()
|
/Linux-v5.4/include/linux/usb/ |
D | role.h | 58 static inline int usb_role_switch_set_role(struct usb_role_switch *sw, in usb_role_switch_set_role() 64 static inline enum usb_role usb_role_switch_get_role(struct usb_role_switch *sw) in usb_role_switch_get_role() 80 static inline void usb_role_switch_put(struct usb_role_switch *sw) { } in usb_role_switch_put() 89 static inline void usb_role_switch_unregister(struct usb_role_switch *sw) { } in usb_role_switch_unregister()
|
/Linux-v5.4/drivers/block/ |
D | swim3.c | 275 struct swim3 __iomem *sw = fs->swim3; in swim3_select() local 287 struct swim3 __iomem *sw = fs->swim3; in swim3_action() local 299 struct swim3 __iomem *sw = fs->swim3; in swim3_readbit() local 375 struct swim3 __iomem *sw = fs->swim3; in scan_track() local 388 struct swim3 __iomem *sw = fs->swim3; in seek_track() local 419 struct swim3 __iomem *sw = fs->swim3; in setup_transfer() local 542 struct swim3 __iomem *sw = fs->swim3; in scan_timeout() local 566 struct swim3 __iomem *sw = fs->swim3; in seek_timeout() local 585 struct swim3 __iomem *sw = fs->swim3; in settle_timeout() local 614 struct swim3 __iomem *sw = fs->swim3; in xfer_timeout() local [all …]
|
/Linux-v5.4/drivers/input/misc/ |
D | ad714x.c | 216 struct ad714x_button_drv *sw = &ad714x->sw->button[idx]; in ad714x_button_state_machine() local 269 struct ad714x_slider_drv *sw = &ad714x->sw->slider[idx]; in ad714x_slider_cal_highest_stage() local 294 struct ad714x_slider_drv *sw = &ad714x->sw->slider[idx]; in ad714x_slider_cal_abs_pos() local 315 struct ad714x_slider_drv *sw = &ad714x->sw->slider[idx]; in ad714x_slider_cal_flt_pos() local 341 struct ad714x_slider_drv *sw = &ad714x->sw->slider[idx]; in ad714x_slider_state_machine() local 410 struct ad714x_wheel_drv *sw = &ad714x->sw->wheel[idx]; in ad714x_wheel_cal_highest_stage() local 452 struct ad714x_wheel_drv *sw = &ad714x->sw->wheel[idx]; in ad714x_wheel_cal_abs_pos() local 483 struct ad714x_wheel_drv *sw = &ad714x->sw->wheel[idx]; in ad714x_wheel_cal_flt_pos() local 513 struct ad714x_wheel_drv *sw = &ad714x->sw->wheel[idx]; in ad714x_wheel_state_machine() local 597 struct ad714x_touchpad_drv *sw = &ad714x->sw->touchpad[idx]; in touchpad_cal_highest_stage() local [all …]
|
/Linux-v5.4/arch/nios2/kernel/ |
D | signal.c | 38 struct switch_stack *sw, in rt_restore_ucontext() 101 asmlinkage int do_rt_sigreturn(struct switch_stack *sw) in do_rt_sigreturn() 129 struct switch_stack *sw = (struct switch_stack *)regs - 1; in rt_setup_ucontext() local
|
D | ptrace.c | 28 const struct switch_stack *sw = (struct switch_stack *)regs - 1; in genregs_get() local 74 const struct switch_stack *sw = (struct switch_stack *)regs - 1; in genregs_set() local
|
/Linux-v5.4/drivers/net/ethernet/intel/ice/ |
D | ice_switch.c | 960 struct ice_switch_info *sw = hw->switch_info; in ice_create_vsi_list_map() local 1172 struct ice_switch_info *sw = hw->switch_info; in ice_update_sw_rule_bridge_mode() local 1332 struct ice_switch_info *sw = hw->switch_info; in ice_find_rule_entry() local 1363 struct ice_switch_info *sw = hw->switch_info; in ice_find_vsi_list_entry() local 1392 struct ice_switch_info *sw = hw->switch_info; in ice_add_rule_internal() local 1560 struct ice_switch_info *sw = hw->switch_info; in ice_remove_rule_internal() local 1659 struct ice_switch_info *sw; in ice_add_mac() local 1803 struct ice_switch_info *sw = hw->switch_info; in ice_add_vlan_internal() local 2156 struct ice_switch_info *sw = hw->switch_info; in ice_find_ucast_rule_entry() local 2420 struct ice_switch_info *sw = hw->switch_info; in ice_clear_vsi_promisc() local [all …]
|
/Linux-v5.4/arch/m68k/kernel/ |
D | signal.c | 653 struct switch_stack *sw = (struct switch_stack *)regs - 1; in mangle_kernel_stack() local 732 rt_restore_ucontext(struct pt_regs *regs, struct switch_stack *sw, in rt_restore_ucontext() 785 asmlinkage int do_sigreturn(struct pt_regs *regs, struct switch_stack *sw) in do_sigreturn() 810 asmlinkage int do_rt_sigreturn(struct pt_regs *regs, struct switch_stack *sw) in do_rt_sigreturn() 850 struct switch_stack *sw = (struct switch_stack *)regs - 1; in rt_setup_ucontext() local
|
/Linux-v5.4/drivers/usb/typec/mux/ |
D | pi3usb30532.c | 26 struct typec_switch *sw; member 48 static int pi3usb30532_sw_set(struct typec_switch *sw, in pi3usb30532_sw_set()
|
/Linux-v5.4/drivers/scsi/libsas/ |
D | sas_event.c | 13 int sas_queue_work(struct sas_ha_struct *ha, struct sas_work *sw) in sas_queue_work() 47 struct sas_work *sw, *_sw; in __sas_drain_work() local
|
/Linux-v5.4/arch/alpha/include/uapi/asm/ |
D | fpu.h | 93 ieee_swcr_to_fpcr(unsigned long sw) in ieee_swcr_to_fpcr() 111 unsigned long sw; in ieee_fpcr_to_swcr() local
|