Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/input/joystick/
Dsidewinder.c114 struct sw { struct
130 * sw_read_packet() is a function which reads either a data packet, or an argument
301 static int sw_parse(unsigned char *buf, struct sw *sw) in sw_parse()
425 static int sw_read(struct sw *sw) in sw_read()
502 struct sw *sw = gameport_get_drvdata(gameport); in sw_poll() local
511 struct sw *sw = input_get_drvdata(dev); in sw_open() local
519 struct sw *sw = input_get_drvdata(dev); in sw_close() local
588 struct sw *sw; in sw_connect() local
802 struct sw *sw = gameport_get_drvdata(gameport); in sw_disconnect() local
/linux-4.4.14/drivers/thunderbolt/
Dswitch.c212 static void tb_dump_switch(struct tb *tb, struct tb_regs_switch_header *sw) in tb_dump_switch()
254 struct tb_switch *get_switch_at_route(struct tb_switch *sw, u64 route) in get_switch_at_route()
279 static int tb_plug_events_active(struct tb_switch *sw, bool active) in tb_plug_events_active()
314 void tb_switch_free(struct tb_switch *sw) in tb_switch_free()
343 struct tb_switch *sw; in tb_switch_alloc() local
430 void tb_sw_set_unpplugged(struct tb_switch *sw) in tb_sw_set_unpplugged()
448 int tb_switch_resume(struct tb_switch *sw) in tb_switch_resume()
492 void tb_switch_suspend(struct tb_switch *sw) in tb_switch_suspend()
Deeprom.c14 static int tb_eeprom_ctl_write(struct tb_switch *sw, struct tb_eeprom_ctl *ctl) in tb_eeprom_ctl_write()
22 static int tb_eeprom_ctl_read(struct tb_switch *sw, struct tb_eeprom_ctl *ctl) in tb_eeprom_ctl_read()
38 static int tb_eeprom_active(struct tb_switch *sw, bool enable) in tb_eeprom_active()
67 static int tb_eeprom_transfer(struct tb_switch *sw, struct tb_eeprom_ctl *ctl, in tb_eeprom_transfer()
92 static int tb_eeprom_out(struct tb_switch *sw, u8 val) in tb_eeprom_out()
112 static int tb_eeprom_in(struct tb_switch *sw, u8 *val) in tb_eeprom_in()
133 static int tb_eeprom_read_n(struct tb_switch *sw, u16 offset, u8 *val, in tb_eeprom_read_n()
236 static int tb_eeprom_get_drom_offset(struct tb_switch *sw, u16 *offset) in tb_eeprom_get_drom_offset()
269 int tb_drom_read_uid_only(struct tb_switch *sw, u64 *uid) in tb_drom_read_uid_only()
303 static int tb_drom_parse_entry(struct tb_switch *sw, in tb_drom_parse_entry()
[all …]
Dtb.c24 static void tb_scan_switch(struct tb_switch *sw) in tb_scan_switch()
36 struct tb_switch *sw; in tb_scan_port() local
79 static void tb_free_unplugged_children(struct tb_switch *sw) in tb_free_unplugged_children()
101 static struct tb_port *tb_find_pci_up_port(struct tb_switch *sw) in tb_find_pci_up_port()
113 static struct tb_port *tb_find_unused_down_port(struct tb_switch *sw) in tb_find_unused_down_port()
148 struct tb_switch *sw; in tb_activate_pcie_devices() local
220 struct tb_switch *sw; in tb_handle_hotplug() local
Dtb.h33 struct tb_switch *sw; member
130 static inline struct tb_port *tb_upstream_port(struct tb_switch *sw) in tb_upstream_port()
135 static inline u64 tb_route(struct tb_switch *sw) in tb_route()
140 static inline int tb_sw_read(struct tb_switch *sw, void *buffer, in tb_sw_read()
152 static inline int tb_sw_write(struct tb_switch *sw, void *buffer, in tb_sw_write()
194 #define __TB_SW_PRINT(level, sw, fmt, arg...) \ argument
200 #define tb_sw_WARN(sw, fmt, arg...) __TB_SW_PRINT(tb_WARN, sw, fmt, ##arg) argument
201 #define tb_sw_warn(sw, fmt, arg...) __TB_SW_PRINT(tb_warn, sw, fmt, ##arg) argument
202 #define tb_sw_info(sw, fmt, arg...) __TB_SW_PRINT(tb_info, sw, fmt, ##arg) argument
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/sw/
Dbase.c30 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
Dchan.c76 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()
Dgf100.c43 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()
Dnv50.c43 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()
Dnv10.c39 nv10_sw_chan_new(struct nvkm_sw *sw, struct nvkm_fifo_chan *fifo, in nv10_sw_chan_new()
Dchan.h10 struct nvkm_sw *sw; member
Dnv04.c108 nv04_sw_chan_new(struct nvkm_sw *sw, struct nvkm_fifo_chan *fifo, in nv04_sw_chan_new()
/linux-4.4.14/drivers/input/misc/
Dad714x.c217 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 …]
Dad714x.h33 struct ad714x_driver_data *sw; member
/linux-4.4.14/drivers/block/
Dswim3.c279 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
408 struct swim3 __iomem *sw = fs->swim3; in scan_track() local
421 struct swim3 __iomem *sw = fs->swim3; in seek_track() local
452 struct swim3 __iomem *sw = fs->swim3; in setup_transfer() local
575 struct swim3 __iomem *sw = fs->swim3; in scan_timeout() local
600 struct swim3 __iomem *sw = fs->swim3; in seek_timeout() local
620 struct swim3 __iomem *sw = fs->swim3; in settle_timeout() local
650 struct swim3 __iomem *sw = fs->swim3; in xfer_timeout() local
[all …]
/linux-4.4.14/arch/nios2/kernel/
Dsignal.c38 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
Dptrace.c27 const struct switch_stack *sw = (struct switch_stack *)regs - 1; in genregs_get() local
73 const struct switch_stack *sw = (struct switch_stack *)regs - 1; in genregs_set() local
/linux-4.4.14/arch/m32r/kernel/
Dmodule.c31 #define COPY_UNALIGNED_WORD(sw, tw, align) \ argument
54 #define COPY_UNALIGNED_HWORD(sw, tw, align) \ argument
/linux-4.4.14/drivers/scsi/libsas/
Dsas_event.c30 void sas_queue_work(struct sas_ha_struct *ha, struct sas_work *sw) in sas_queue_work()
60 struct sas_work *sw, *_sw; in __sas_drain_work() local
Dsas_discover.c530 static void sas_chain_work(struct sas_ha_struct *ha, struct sas_work *sw) in sas_chain_work()
541 struct sas_work *sw, in sas_chain_event()
/linux-4.4.14/arch/m68k/kernel/
Dprocess.c46 struct switch_stack *sw = (struct switch_stack *)tsk->thread.ksp; in thread_saved_pc() local
136 struct switch_stack sw; in copy_thread() member
Dsignal.c611 struct switch_stack *sw = (struct switch_stack *)regs - 1; in mangle_kernel_stack() local
687 rt_restore_ucontext(struct pt_regs *regs, struct switch_stack *sw, in rt_restore_ucontext()
742 struct switch_stack *sw = (struct switch_stack *) &__unused; in do_sigreturn() local
769 struct switch_stack *sw = (struct switch_stack *) &__unused; in do_rt_sigreturn() local
809 struct switch_stack *sw = (struct switch_stack *)regs - 1; in rt_setup_ucontext() local
/linux-4.4.14/arch/m68k/include/asm/
Da.out-core.h25 struct switch_stack *sw; in aout_dump_thread() local
/linux-4.4.14/arch/alpha/include/asm/
Da.out-core.h25 struct switch_stack * sw = ((struct switch_stack *) pt) - 1; in aout_dump_thread() local
/linux-4.4.14/arch/alpha/include/uapi/asm/
Dfpu.h92 ieee_swcr_to_fpcr(unsigned long sw) in ieee_swcr_to_fpcr()
110 unsigned long sw; in ieee_fpcr_to_swcr() local
/linux-4.4.14/drivers/s390/char/
Dctrlchar.c27 void schedule_sysrq_work(struct sysrq_work *sw) in schedule_sysrq_work()
/linux-4.4.14/arch/ia64/kernel/
Dunaligned.c307 struct switch_stack *sw = (struct switch_stack *) regs - 1; in set_rse_reg() local
380 struct switch_stack *sw = (struct switch_stack *) regs - 1; in get_rse_reg() local
453 struct switch_stack *sw = (struct switch_stack *) regs - 1; in setreg() local
519 struct switch_stack *sw = (struct switch_stack *)regs - 1; in setfpreg() local
580 struct switch_stack *sw = (struct switch_stack *) regs - 1; in getfpreg() local
627 struct switch_stack *sw = (struct switch_stack *) regs - 1; in getreg() local
Dptrace.c249 get_rnat (struct task_struct *task, struct switch_stack *sw, in get_rnat()
309 put_rnat (struct task_struct *task, struct switch_stack *sw, in put_rnat()
535 ia64_sync_user_rbs (struct task_struct *child, struct switch_stack *sw, in ia64_sync_user_rbs()
554 ia64_sync_kernel_rbs (struct task_struct *child, struct switch_stack *sw, in ia64_sync_kernel_rbs()
827 struct switch_stack *sw; in ptrace_getregs() local
970 struct switch_stack *sw; in ptrace_setregs() local
Dmca.c965 const struct switch_stack *sw, in ia64_mca_modify_original_stack()
1282 ia64_mca_handler(struct pt_regs *regs, struct switch_stack *sw, in ia64_mca_handler()
1664 ia64_init_handler(struct pt_regs *regs, struct switch_stack *sw, in ia64_init_handler()
Dunwind.c2001 struct switch_stack *sw, unsigned long stktop) in init_frame_info()
2051 unw_init_frame_info (struct unw_frame_info *info, struct task_struct *t, struct switch_stack *sw) in unw_init_frame_info()
2073 struct switch_stack *sw = (struct switch_stack *) (t->thread.ksp + 16); in unw_init_from_blocked_task() local
/linux-4.4.14/arch/arm/mach-imx/
Dgpc.c58 void imx_gpc_set_arm_power_up_timing(u32 sw2iso, u32 sw) in imx_gpc_set_arm_power_up_timing()
64 void imx_gpc_set_arm_power_down_timing(u32 sw2iso, u32 sw) in imx_gpc_set_arm_power_down_timing()
331 int i, ret, sw, sw2iso; in imx6q_pm_pu_power_on() local
/linux-4.4.14/arch/alpha/kernel/
Dprocess.c295 struct switch_stack * sw = ((struct switch_stack *) pt) - 1; in dump_elf_thread() local
348 struct switch_stack *sw = (struct switch_stack *)task_pt_regs(task) - 1; in dump_elf_task_fp() local
Dsignal.c150 struct switch_stack *sw = (struct switch_stack *)regs - 1; in restore_sigcontext() local
284 struct switch_stack *sw = (struct switch_stack *)regs - 1; in setup_sigcontext() local
/linux-4.4.14/include/linux/input/
Dsparse-keymap.h43 } sw; member
/linux-4.4.14/arch/powerpc/kernel/
Dalign.c354 int i, ret, sw = 0; in emulate_fp_pair() local
381 int i, ret, sw = 0; in emulate_lq_stq() local
652 int sw = 0; in emulate_vsx() local
/linux-4.4.14/drivers/net/wimax/i2400m/
Dop-rfkill.c170 enum i2400m_rf_switch_status hw, sw; in i2400m_report_tlv_rf_switches_status() local
/linux-4.4.14/arch/ia64/oprofile/
Dbacktrace.c73 struct switch_stack *sw; in do_ia64_backtrace() local
/linux-4.4.14/drivers/staging/vt6656/
Dint.h55 u8 sw[2]; member
/linux-4.4.14/arch/parisc/math-emu/
Ddriver.c84 unsigned int orig_sw, sw; in handle_fpe() local
/linux-4.4.14/include/linux/
Drfkill.h263 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.4.14/sound/pci/emu10k1/
Demufx.c1427 #define _A_SWITCH(icode, ptr, dst, src, sw) \ in _snd_emu10k1_audigy_init_efx() argument
1429 #define A_SWITCH(icode, ptr, dst, src, sw) \ in _snd_emu10k1_audigy_init_efx() argument
1800 #define _SWITCH(icode, ptr, dst, src, sw) \ argument
1802 #define SWITCH(icode, ptr, dst, src, sw) \ argument
1804 #define SWITCH_IN(icode, ptr, dst, src, sw) \ argument
Demumixer.c1663 unsigned int reg, val, sw; in snd_emu10k1_shared_spdif_put() local
/linux-4.4.14/drivers/edac/
Daltera_edac.c204 int len, sw, aw; in get_total_mem() local
Dcpc925_edac.c301 int len, sw, aw; in get_total_mem() local
/linux-4.4.14/arch/sh/boards/mach-se/7724/
Dsetup.c678 u16 sw = __raw_readw(SW4140); /* select camera, monitor */ in devices_setup() local
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dnv04.c110 struct nvkm_sw *sw = device->sw; in nv04_fifo_swmthd() local
/linux-4.4.14/arch/parisc/kernel/
Dtraps.c91 struct { u32 sw[2]; } s; in print_fr() member
/linux-4.4.14/drivers/video/fbdev/mb862xx/
Dmb862xxfb.h7 unsigned short sw; member
/linux-4.4.14/arch/powerpc/sysdev/
Dfsl_rio.c443 int paw, aw, sw; in fsl_rio_setup() local
/linux-4.4.14/drivers/net/ethernet/emulex/benet/
Dbe_hw.h315 u8 sw; /* dword 1 */ member
348 u8 sw; /* dword 1 */ member
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
Dnvm.c262 const __le16 *hw, *sw, *calib, *regulatory, *mac_override, *phy_sku; in iwl_parse_nvm_sections() local
/linux-4.4.14/arch/mips/alchemy/devboards/
Ddb1200.c820 unsigned short sw; in db1200_dev_setup() local
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvkm/core/
Ddevice.h139 struct nvkm_sw *sw; member
204 int (*sw )(struct nvkm_device *, int idx, struct nvkm_sw **); member
/linux-4.4.14/drivers/media/platform/exynos4-is/
Dfimc-core.c216 int fimc_check_scaler_ratio(struct fimc_ctx *ctx, int sw, int sh, in fimc_check_scaler_ratio()
/linux-4.4.14/arch/ia64/include/asm/
Dunwind.h68 struct switch_stack *sw; member
/linux-4.4.14/drivers/power/
Dlp8727_charger.c178 static inline void lp8727_ctrl_switch(struct lp8727_chg *pchg, u8 sw) in lp8727_ctrl_switch()
/linux-4.4.14/drivers/media/platform/exynos-gsc/
Dgsc-core.c608 int gsc_check_scaler_ratio(struct gsc_variant *var, int sw, int sh, int dw, in gsc_check_scaler_ratio()
/linux-4.4.14/drivers/s390/net/
Dctcm_mpc.h106 struct th_addon sw; member
Dctcm_mpc.c130 __u32 ct, sw, rm, dup; in ctcmpc_dumpit() local
/linux-4.4.14/drivers/net/ethernet/micrel/
Dksz884x.c988 struct ksz_sw_desc sw; member
2267 struct ksz_switch *sw = hw->ksz_switch; in sw_init_prio_rate() local
2588 struct ksz_switch *sw = hw->ksz_switch; in sw_init_prio() local
2650 struct ksz_switch *sw = hw->ksz_switch; in sw_init_vlan() local
5334 struct ksz_switch *sw = hw->ksz_switch; in bridge_change() local
5710 struct ksz_switch *sw = hw->ksz_switch; in dev_set_promiscuous() local
6898 struct ksz_switch *sw = hw->ksz_switch; in read_other_addr() local
6933 struct ksz_switch *sw = NULL; in pcidev_init() local
/linux-4.4.14/drivers/dma/
Dmmp_pdma.c758 struct mmp_pdma_desc_sw *sw; in mmp_pdma_residue() local
/linux-4.4.14/drivers/net/wireless/iwlwifi/pcie/
Dinternal.h79 u32 sw; member
/linux-4.4.14/drivers/media/pci/ttpci/
Dav7110_av.c368 int sw; in get_video_format() local
/linux-4.4.14/net/rfkill/
Dcore.c551 void rfkill_set_states(struct rfkill *rfkill, bool sw, bool hw) in rfkill_set_states()
/linux-4.4.14/arch/x86/include/uapi/asm/
Dsigcontext.h109 __u32 sw; member
/linux-4.4.14/sound/ppc/
Dtumbler.c958 struct snd_kcontrol *sw) in check_mute()
/linux-4.4.14/include/scsi/
Dlibsas.h234 static inline void INIT_SAS_WORK(struct sas_work *sw, void (*fn)(struct work_struct *)) in INIT_SAS_WORK()
/linux-4.4.14/sound/pci/
Dazt3328.c1189 const struct snd_kcontrol_new *sw; in snd_azf3328_mixer_new() local
Dcmipci.c2669 struct snd_kcontrol_new *sw; in snd_cmipci_mixer_new() local
/linux-4.4.14/sound/pci/hda/
Dhda_generic.c3738 int vol, sw; in create_capture_mixers() local
/linux-4.4.14/drivers/net/wireless/iwlegacy/
Dcommon.h1022 u32 sw; member
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Damdgpu.h1950 bool sw; member