/Linux-v4.19/drivers/thunderbolt/ |
D | switch.c | 47 static struct nvm_auth_status *__nvm_get_auth_status(const struct tb_switch *sw) in __nvm_get_auth_status() 59 static void nvm_get_auth_status(const struct tb_switch *sw, u32 *status) in nvm_get_auth_status() 70 static void nvm_set_auth_status(const struct tb_switch *sw, u32 status) in nvm_set_auth_status() 95 static void nvm_clear_auth_status(const struct tb_switch *sw) in nvm_clear_auth_status() 108 static int nvm_validate_and_write(struct tb_switch *sw) in nvm_validate_and_write() 170 static int nvm_authenticate_host(struct tb_switch *sw) in nvm_authenticate_host() 199 static int nvm_authenticate_device(struct tb_switch *sw) in nvm_authenticate_device() 239 struct tb_switch *sw = priv; in tb_switch_nvm_read() local 253 struct tb_switch *sw = priv; in tb_switch_nvm_write() local 282 static struct nvmem_device *register_nvmem(struct tb_switch *sw, int id, in register_nvmem() [all …]
|
D | eeprom.c | 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() [all …]
|
D | tb.c | 38 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
|
D | dma_port.c | 58 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 486 struct tb_switch *sw = dma->sw; in dma_port_flash_update_auth_status() local
|
D | tb.h | 131 struct tb_switch *sw; member 258 static inline struct tb_port *tb_upstream_port(struct tb_switch *sw) in tb_upstream_port() 263 static inline u64 tb_route(struct tb_switch *sw) in tb_route() 268 static inline struct tb_port *tb_port_at(u64 route, struct tb_switch *sw) in tb_port_at() 278 static inline int tb_sw_read(struct tb_switch *sw, void *buffer, in tb_sw_read() 290 static inline int tb_sw_write(struct tb_switch *sw, void *buffer, in tb_sw_write() 332 #define __TB_SW_PRINT(level, 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_warn(sw, fmt, arg...) __TB_SW_PRINT(tb_warn, sw, fmt, ##arg) argument 340 #define tb_sw_info(sw, fmt, arg...) __TB_SW_PRINT(tb_info, sw, fmt, ##arg) argument [all …]
|
D | icm.c | 258 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 505 static void update_switch(struct tb_switch *parent_sw, struct tb_switch *sw, in update_switch() 527 static void remove_switch(struct tb_switch *sw) in remove_switch() 536 static void add_xdomain(struct tb_switch *sw, u64 route, in add_xdomain() 569 struct tb_switch *sw; in remove_xdomain() local 582 struct tb_switch *sw, *parent_sw; in icm_fr_device_connected() local [all …]
|
D | cap.c | 64 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()
|
/Linux-v4.19/drivers/input/joystick/ |
D | sidewinder.c | 110 struct sw { struct 126 * sw_read_packet() is a function which reads either a data packet, or an argument 297 static int sw_parse(unsigned char *buf, struct sw *sw) in sw_parse() 421 static int sw_read(struct sw *sw) in sw_read() 498 struct sw *sw = gameport_get_drvdata(gameport); in sw_poll() local 507 struct sw *sw = input_get_drvdata(dev); in sw_open() local 515 struct sw *sw = input_get_drvdata(dev); in sw_close() local 584 struct sw *sw; in sw_connect() local 798 struct sw *sw = gameport_get_drvdata(gameport); in sw_disconnect() local
|
/Linux-v4.19/drivers/usb/common/ |
D | roles.c | 41 int usb_role_switch_set_role(struct usb_role_switch *sw, enum usb_role role) in usb_role_switch_set_role() 67 enum usb_role usb_role_switch_get_role(struct usb_role_switch *sw) in usb_role_switch_get_role() 112 struct usb_role_switch *sw; in usb_role_switch_get() local 130 void usb_role_switch_put(struct usb_role_switch *sw) in usb_role_switch_put() 143 struct usb_role_switch *sw = to_role_switch(dev); in usb_role_switch_is_visible() local 160 struct usb_role_switch *sw = to_role_switch(dev); in role_show() local 169 struct usb_role_switch *sw = to_role_switch(dev); in role_store() local 219 struct usb_role_switch *sw = to_role_switch(dev); in usb_role_switch_release() local 249 struct usb_role_switch *sw; in usb_role_switch_register() local 291 void usb_role_switch_unregister(struct usb_role_switch *sw) in usb_role_switch_unregister()
|
/Linux-v4.19/drivers/usb/typec/ |
D | mux.c | 24 struct typec_switch *sw; in typec_switch_match() local 48 struct typec_switch *sw; in typec_switch_get() local 69 void typec_switch_put(struct typec_switch *sw) in typec_switch_put() 87 int typec_switch_register(struct typec_switch *sw) in typec_switch_register() 103 void typec_switch_unregister(struct typec_switch *sw) in typec_switch_unregister()
|
/Linux-v4.19/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 | 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 | 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 | 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-v4.19/drivers/input/misc/ |
D | ad714x.c | 217 struct ad714x_button_drv *sw = &ad714x->sw->button[idx]; in ad714x_button_state_machine() local 270 struct ad714x_slider_drv *sw = &ad714x->sw->slider[idx]; in ad714x_slider_cal_highest_stage() local 295 struct ad714x_slider_drv *sw = &ad714x->sw->slider[idx]; in ad714x_slider_cal_abs_pos() local 316 struct ad714x_slider_drv *sw = &ad714x->sw->slider[idx]; in ad714x_slider_cal_flt_pos() local 342 struct ad714x_slider_drv *sw = &ad714x->sw->slider[idx]; in ad714x_slider_state_machine() local 411 struct ad714x_wheel_drv *sw = &ad714x->sw->wheel[idx]; in ad714x_wheel_cal_highest_stage() local 453 struct ad714x_wheel_drv *sw = &ad714x->sw->wheel[idx]; in ad714x_wheel_cal_abs_pos() local 484 struct ad714x_wheel_drv *sw = &ad714x->sw->wheel[idx]; in ad714x_wheel_cal_flt_pos() local 514 struct ad714x_wheel_drv *sw = &ad714x->sw->wheel[idx]; in ad714x_wheel_state_machine() local 598 struct ad714x_touchpad_drv *sw = &ad714x->sw->touchpad[idx]; in touchpad_cal_highest_stage() local [all …]
|
/Linux-v4.19/drivers/block/ |
D | swim3.c | 279 struct swim3 __iomem *sw = fs->swim3; in swim3_select() local 291 struct swim3 __iomem *sw = fs->swim3; in swim3_action() local 303 struct swim3 __iomem *sw = fs->swim3; in swim3_readbit() local 407 struct swim3 __iomem *sw = fs->swim3; in scan_track() local 420 struct swim3 __iomem *sw = fs->swim3; in seek_track() local 451 struct swim3 __iomem *sw = fs->swim3; in setup_transfer() local 574 struct swim3 __iomem *sw = fs->swim3; in scan_timeout() local 599 struct swim3 __iomem *sw = fs->swim3; in seek_timeout() local 619 struct swim3 __iomem *sw = fs->swim3; in settle_timeout() local 649 struct swim3 __iomem *sw = fs->swim3; in xfer_timeout() local [all …]
|
/Linux-v4.19/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-v4.19/arch/m68k/kernel/ |
D | signal.c | 653 struct switch_stack *sw = (struct switch_stack *)regs - 1; in mangle_kernel_stack() local 731 rt_restore_ucontext(struct pt_regs *regs, struct switch_stack *sw, in rt_restore_ucontext() 784 asmlinkage int do_sigreturn(struct pt_regs *regs, struct switch_stack *sw) in do_sigreturn() 809 asmlinkage int do_rt_sigreturn(struct pt_regs *regs, struct switch_stack *sw) in do_rt_sigreturn() 849 struct switch_stack *sw = (struct switch_stack *)regs - 1; in rt_setup_ucontext() local
|
/Linux-v4.19/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-v4.19/drivers/net/ethernet/intel/ice/ |
D | ice_switch.c | 700 struct ice_switch_info *sw = hw->switch_info; in ice_create_vsi_list_map() local 819 struct ice_switch_info *sw = hw->switch_info; in ice_create_pkt_fwd_rule() local 1054 struct ice_switch_info *sw = hw->switch_info; in ice_find_mac_entry() local 1187 struct ice_switch_info *sw = hw->switch_info; in ice_add_mac() local 1232 struct ice_switch_info *sw = hw->switch_info; in ice_find_vlan_entry() local 1379 struct ice_switch_info *sw = hw->switch_info; in ice_handle_rem_vsi_list_mgmt() local 1542 struct ice_switch_info *sw = hw->switch_info; in ice_remove_mac() local 1819 struct ice_switch_info *sw = hw->switch_info; in ice_remove_vsi_lkup_fltr() local
|
/Linux-v4.19/drivers/scsi/libsas/ |
D | sas_event.c | 30 int sas_queue_work(struct sas_ha_struct *ha, struct sas_work *sw) in sas_queue_work() 64 struct sas_work *sw, *_sw; in __sas_drain_work() local
|
/Linux-v4.19/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
|
/Linux-v4.19/arch/m68k/include/asm/ |
D | a.out-core.h | 26 struct switch_stack *sw; in aout_dump_thread() local
|
/Linux-v4.19/arch/alpha/include/asm/ |
D | a.out-core.h | 26 struct switch_stack * sw = ((struct switch_stack *) pt) - 1; in aout_dump_thread() local
|