s16 543 arch/arc/kernel/unwind.c const s16 *p16s; s16 509 arch/arm/mach-davinci/board-da830-evm.c static const s16 da830_dma_rsv_chans[][2] = { s16 518 arch/arm/mach-davinci/board-da830-evm.c static const s16 da830_dma_rsv_slots[][2] = { s16 1155 arch/arm/mach-davinci/board-da850-evm.c static const s16 da850_dma0_rsv_chans[][2] = { s16 1163 arch/arm/mach-davinci/board-da850-evm.c static const s16 da850_dma0_rsv_slots[][2] = { s16 1171 arch/arm/mach-davinci/board-da850-evm.c static const s16 da850_dma1_rsv_chans[][2] = { s16 1178 arch/arm/mach-davinci/board-da850-evm.c static const s16 da850_dma1_rsv_slots[][2] = { s16 797 arch/arm/mach-davinci/board-dm646x-evm.c static const s16 dm646x_dma_rsv_chans[][2] = { s16 807 arch/arm/mach-davinci/board-dm646x-evm.c static const s16 dm646x_dma_rsv_slots[][2] = { s16 79 arch/arm/mach-davinci/board-omapl138-hawk.c static const s16 da850_dma0_rsv_chans[][2] = { s16 87 arch/arm/mach-davinci/board-omapl138-hawk.c static const s16 da850_dma0_rsv_slots[][2] = { s16 95 arch/arm/mach-davinci/board-omapl138-hawk.c static const s16 da850_dma1_rsv_chans[][2] = { s16 102 arch/arm/mach-davinci/board-omapl138-hawk.c static const s16 da850_dma1_rsv_slots[][2] = { s16 90 arch/arm/mach-omap2/clockdomain.h s16 wkdep_usecount; s16 91 arch/arm/mach-omap2/clockdomain.h s16 sleepdep_usecount; s16 55 arch/arm/mach-omap2/cm.h int (*split_idlest_reg)(struct clk_omap_reg *idlest_reg, s16 *prcm_inst, s16 57 arch/arm/mach-omap2/cm.h int (*wait_module_ready)(u8 part, s16 prcm_mod, u16 idlest_reg, s16 59 arch/arm/mach-omap2/cm.h int (*wait_module_idle)(u8 part, s16 prcm_mod, u16 idlest_reg, s16 66 arch/arm/mach-omap2/cm.h extern int cm_split_idlest_reg(struct clk_omap_reg *idlest_reg, s16 *prcm_inst, s16 68 arch/arm/mach-omap2/cm.h int omap_cm_wait_module_ready(u8 part, s16 prcm_mod, u16 idlest_reg, s16 70 arch/arm/mach-omap2/cm.h int omap_cm_wait_module_idle(u8 part, s16 prcm_mod, u16 idlest_reg, s16 43 arch/arm/mach-omap2/cm2xxx.c static void _write_clktrctrl(u8 c, s16 module, u32 mask) s16 53 arch/arm/mach-omap2/cm2xxx.c static bool omap2xxx_cm_is_clkdm_in_hwsup(s16 module, u32 mask) s16 64 arch/arm/mach-omap2/cm2xxx.c static void omap2xxx_cm_clkdm_enable_hwsup(s16 module, u32 mask) s16 69 arch/arm/mach-omap2/cm2xxx.c static void omap2xxx_cm_clkdm_disable_hwsup(s16 module, u32 mask) s16 205 arch/arm/mach-omap2/cm2xxx.c s16 *prcm_inst, s16 245 arch/arm/mach-omap2/cm2xxx.c int omap2xxx_cm_wait_module_ready(u8 part, s16 prcm_mod, u16 idlest_id, s16 54 arch/arm/mach-omap2/cm2xxx.h int omap2xxx_cm_wait_module_ready(u8 part, s16 prcm_mod, u16 idlest_id, s16 50 arch/arm/mach-omap2/cm2xxx_3xxx.h static inline u32 omap2_cm_read_mod_reg(s16 module, u16 idx) s16 55 arch/arm/mach-omap2/cm2xxx_3xxx.h static inline void omap2_cm_write_mod_reg(u32 val, s16 module, u16 idx) s16 61 arch/arm/mach-omap2/cm2xxx_3xxx.h static inline u32 omap2_cm_rmw_mod_reg_bits(u32 mask, u32 bits, s16 module, s16 62 arch/arm/mach-omap2/cm2xxx_3xxx.h s16 idx) s16 75 arch/arm/mach-omap2/cm2xxx_3xxx.h static inline u32 omap2_cm_read_mod_bits_shift(s16 domain, s16 idx, u32 mask) s16 86 arch/arm/mach-omap2/cm2xxx_3xxx.h static inline u32 omap2_cm_set_mod_reg_bits(u32 bits, s16 module, s16 idx) s16 91 arch/arm/mach-omap2/cm2xxx_3xxx.h static inline u32 omap2_cm_clear_mod_reg_bits(u32 bits, s16 module, s16 idx) s16 63 arch/arm/mach-omap2/cm33xx.c static inline u32 am33xx_cm_rmw_reg_bits(u32 mask, u32 bits, s16 inst, s16 idx) s16 75 arch/arm/mach-omap2/cm33xx.c static inline u32 am33xx_cm_read_reg_bits(u16 inst, s16 idx, u32 mask) s16 229 arch/arm/mach-omap2/cm33xx.c static int am33xx_cm_wait_module_ready(u8 part, s16 inst, u16 clkctrl_offs, s16 252 arch/arm/mach-omap2/cm33xx.c static int am33xx_cm_wait_module_idle(u8 part, s16 inst, u16 clkctrl_offs, s16 32 arch/arm/mach-omap2/cm3xxx.c static void _write_clktrctrl(u8 c, s16 module, u32 mask) s16 42 arch/arm/mach-omap2/cm3xxx.c static bool omap3xxx_cm_is_clkdm_in_hwsup(s16 module, u32 mask) s16 53 arch/arm/mach-omap2/cm3xxx.c static void omap3xxx_cm_clkdm_enable_hwsup(s16 module, u32 mask) s16 58 arch/arm/mach-omap2/cm3xxx.c static void omap3xxx_cm_clkdm_disable_hwsup(s16 module, u32 mask) s16 63 arch/arm/mach-omap2/cm3xxx.c static void omap3xxx_cm_clkdm_force_sleep(s16 module, u32 mask) s16 68 arch/arm/mach-omap2/cm3xxx.c static void omap3xxx_cm_clkdm_force_wakeup(s16 module, u32 mask) s16 88 arch/arm/mach-omap2/cm3xxx.c static int omap3xxx_cm_wait_module_ready(u8 part, s16 prcm_mod, u16 idlest_id, s16 119 arch/arm/mach-omap2/cm3xxx.c s16 *prcm_inst, s16 65 arch/arm/mach-omap2/cm_common.c int cm_split_idlest_reg(struct clk_omap_reg *idlest_reg, s16 *prcm_inst, s16 94 arch/arm/mach-omap2/cm_common.c int omap_cm_wait_module_ready(u8 part, s16 prcm_mod, u16 idlest_reg, s16 120 arch/arm/mach-omap2/cm_common.c int omap_cm_wait_module_idle(u8 part, s16 prcm_mod, u16 idlest_reg, s16 132 arch/arm/mach-omap2/cminst44xx.c s16 idx) s16 144 arch/arm/mach-omap2/cminst44xx.c static u32 omap4_cminst_set_inst_reg_bits(u32 bits, u8 part, u16 inst, s16 idx) s16 150 arch/arm/mach-omap2/cminst44xx.c s16 idx) s16 155 arch/arm/mach-omap2/cminst44xx.c static u32 omap4_cminst_read_inst_reg_bits(u8 part, u16 inst, s16 idx, u32 mask) s16 274 arch/arm/mach-omap2/cminst44xx.c static int omap4_cminst_wait_module_ready(u8 part, s16 inst, u16 clkctrl_offs, s16 297 arch/arm/mach-omap2/cminst44xx.c static int omap4_cminst_wait_module_idle(u8 part, s16 inst, u16 clkctrl_offs, s16 36 arch/arm/mach-omap2/control.c static s16 omap2_ctrl_offset; s16 729 arch/arm/mach-omap2/control.c s16 offset; s16 338 arch/arm/mach-omap2/omap_hwmod.h s16 module_offs; s16 115 arch/arm/mach-omap2/powerdomain.h const s16 prcm_offs; s16 528 arch/arm/mach-omap2/prcm-common.h s16 offset; s16 546 arch/arm/mach-omap2/prcm-common.h s16 offset; s16 28 arch/arm/mach-omap2/prcm_mpu44xx.c u32 omap4_prcm_mpu_read_inst_reg(s16 inst, u16 reg) s16 33 arch/arm/mach-omap2/prcm_mpu44xx.c void omap4_prcm_mpu_write_inst_reg(u32 val, s16 inst, u16 reg) s16 38 arch/arm/mach-omap2/prcm_mpu44xx.c u32 omap4_prcm_mpu_rmw_inst_reg_bits(u32 mask, u32 bits, s16 inst, s16 reg) s16 27 arch/arm/mach-omap2/prcm_mpu_44xx_54xx.h extern u32 omap4_prcm_mpu_read_inst_reg(s16 inst, u16 idx); s16 28 arch/arm/mach-omap2/prcm_mpu_44xx_54xx.h extern void omap4_prcm_mpu_write_inst_reg(u32 val, s16 inst, u16 idx); s16 29 arch/arm/mach-omap2/prcm_mpu_44xx_54xx.h extern u32 omap4_prcm_mpu_rmw_inst_reg_bits(u32 mask, u32 bits, s16 inst, s16 30 arch/arm/mach-omap2/prcm_mpu_44xx_54xx.h s16 idx); s16 138 arch/arm/mach-omap2/prm.h bool (*was_any_context_lost_old)(u8 part, s16 inst, u16 idx); s16 139 arch/arm/mach-omap2/prm.h void (*clear_context_loss_flags_old)(u8 part, s16 inst, u16 idx); s16 141 arch/arm/mach-omap2/prm.h int (*assert_hardreset)(u8 shift, u8 part, s16 prm_mod, u16 offset); s16 142 arch/arm/mach-omap2/prm.h int (*deassert_hardreset)(u8 shift, u8 st_shift, u8 part, s16 prm_mod, s16 144 arch/arm/mach-omap2/prm.h int (*is_hardreset_asserted)(u8 shift, u8 part, s16 prm_mod, s16 147 arch/arm/mach-omap2/prm.h int (*clear_mod_irqs)(s16 module, u8 regs, u32 wkst_mask); s16 155 arch/arm/mach-omap2/prm.h int omap_prm_assert_hardreset(u8 shift, u8 part, s16 prm_mod, u16 offset); s16 156 arch/arm/mach-omap2/prm.h int omap_prm_deassert_hardreset(u8 shift, u8 st_shift, u8 part, s16 prm_mod, s16 158 arch/arm/mach-omap2/prm.h int omap_prm_is_hardreset_asserted(u8 shift, u8 part, s16 prm_mod, u16 offset); s16 160 arch/arm/mach-omap2/prm.h extern bool prm_was_any_context_lost_old(u8 part, s16 inst, u16 idx); s16 161 arch/arm/mach-omap2/prm.h extern void prm_clear_context_loss_flags_old(u8 part, s16 inst, u16 idx); s16 165 arch/arm/mach-omap2/prm.h int omap_prm_clear_mod_irqs(s16 module, u8 regs, u32 wkst_mask); s16 123 arch/arm/mach-omap2/prm2xxx.c static int omap2xxx_prm_clear_mod_irqs(s16 module, u8 regs, u32 wkst_mask) s16 33 arch/arm/mach-omap2/prm2xxx_3xxx.c int omap2_prm_is_hardreset_asserted(u8 shift, u8 part, s16 prm_mod, u16 offset) s16 53 arch/arm/mach-omap2/prm2xxx_3xxx.c int omap2_prm_assert_hardreset(u8 shift, u8 part, s16 prm_mod, u16 offset) s16 83 arch/arm/mach-omap2/prm2xxx_3xxx.c s16 prm_mod, u16 rst_offset, u16 st_offset) s16 53 arch/arm/mach-omap2/prm2xxx_3xxx.h static inline u32 omap2_prm_read_mod_reg(s16 module, u16 idx) s16 58 arch/arm/mach-omap2/prm2xxx_3xxx.h static inline void omap2_prm_write_mod_reg(u32 val, s16 module, u16 idx) s16 64 arch/arm/mach-omap2/prm2xxx_3xxx.h static inline u32 omap2_prm_rmw_mod_reg_bits(u32 mask, u32 bits, s16 module, s16 65 arch/arm/mach-omap2/prm2xxx_3xxx.h s16 idx) s16 78 arch/arm/mach-omap2/prm2xxx_3xxx.h static inline u32 omap2_prm_read_mod_bits_shift(s16 domain, s16 idx, u32 mask) s16 89 arch/arm/mach-omap2/prm2xxx_3xxx.h static inline u32 omap2_prm_set_mod_reg_bits(u32 bits, s16 module, s16 idx) s16 94 arch/arm/mach-omap2/prm2xxx_3xxx.h static inline u32 omap2_prm_clear_mod_reg_bits(u32 bits, s16 module, s16 idx) s16 100 arch/arm/mach-omap2/prm2xxx_3xxx.h int omap2_prm_is_hardreset_asserted(u8 shift, u8 part, s16 prm_mod, u16 offset); s16 101 arch/arm/mach-omap2/prm2xxx_3xxx.h int omap2_prm_assert_hardreset(u8 shift, u8 part, s16 prm_mod, s16 104 arch/arm/mach-omap2/prm2xxx_3xxx.h s16 prm_mod, u16 reset_offset, s16 31 arch/arm/mach-omap2/prm33xx.c static u32 am33xx_prm_read_reg(s16 inst, u16 idx) s16 37 arch/arm/mach-omap2/prm33xx.c static void am33xx_prm_write_reg(u32 val, s16 inst, u16 idx) s16 43 arch/arm/mach-omap2/prm33xx.c static u32 am33xx_prm_rmw_reg_bits(u32 mask, u32 bits, s16 inst, s16 idx) s16 67 arch/arm/mach-omap2/prm33xx.c static int am33xx_prm_is_hardreset_asserted(u8 shift, u8 part, s16 inst, s16 93 arch/arm/mach-omap2/prm33xx.c static int am33xx_prm_assert_hardreset(u8 shift, u8 part, s16 inst, s16 123 arch/arm/mach-omap2/prm33xx.c s16 inst, u16 rstctrl_offs, s16 227 arch/arm/mach-omap2/prm3xxx.c static int omap3xxx_prm_clear_mod_irqs(s16 module, u8 regs, u32 wkst_mask) s16 96 arch/arm/mach-omap2/prm44xx.c static u32 omap4_prm_read_inst_reg(s16 inst, u16 reg) s16 102 arch/arm/mach-omap2/prm44xx.c static void omap4_prm_write_inst_reg(u32 val, s16 inst, u16 reg) s16 108 arch/arm/mach-omap2/prm44xx.c static u32 omap4_prm_rmw_inst_reg_bits(u32 mask, u32 bits, s16 inst, s16 reg) s16 404 arch/arm/mach-omap2/prm44xx.c static bool omap44xx_prm_was_any_context_lost_old(u8 part, s16 inst, u16 idx) s16 419 arch/arm/mach-omap2/prm44xx.c static void omap44xx_prm_clear_context_loss_flags_old(u8 part, s16 inst, s16 394 arch/arm/mach-omap2/prm_common.c bool prm_was_any_context_lost_old(u8 part, s16 inst, u16 idx) s16 418 arch/arm/mach-omap2/prm_common.c void prm_clear_context_loss_flags_old(u8 part, s16 inst, u16 idx) s16 436 arch/arm/mach-omap2/prm_common.c int omap_prm_assert_hardreset(u8 shift, u8 part, s16 prm_mod, u16 offset) s16 458 arch/arm/mach-omap2/prm_common.c int omap_prm_deassert_hardreset(u8 shift, u8 st_shift, u8 part, s16 prm_mod, s16 480 arch/arm/mach-omap2/prm_common.c int omap_prm_is_hardreset_asserted(u8 shift, u8 part, s16 prm_mod, u16 offset) s16 538 arch/arm/mach-omap2/prm_common.c int omap_prm_clear_mod_irqs(s16 module, u8 regs, u32 wkst_mask) s16 58 arch/arm/mach-omap2/prminst44xx.c u32 omap4_prminst_read_inst_reg(u8 part, s16 inst, u16 idx) s16 67 arch/arm/mach-omap2/prminst44xx.c void omap4_prminst_write_inst_reg(u32 val, u8 part, s16 inst, u16 idx) s16 76 arch/arm/mach-omap2/prminst44xx.c u32 omap4_prminst_rmw_inst_reg_bits(u32 mask, u32 bits, u8 part, s16 inst, s16 99 arch/arm/mach-omap2/prminst44xx.c int omap4_prminst_is_hardreset_asserted(u8 shift, u8 part, s16 inst, s16 123 arch/arm/mach-omap2/prminst44xx.c int omap4_prminst_assert_hardreset(u8 shift, u8 part, s16 inst, s16 152 arch/arm/mach-omap2/prminst44xx.c int omap4_prminst_deassert_hardreset(u8 shift, u8 st_shift, u8 part, s16 inst, s16 20 arch/arm/mach-omap2/prminst44xx.h extern u32 omap4_prminst_read_inst_reg(u8 part, s16 inst, u16 idx); s16 21 arch/arm/mach-omap2/prminst44xx.h extern void omap4_prminst_write_inst_reg(u32 val, u8 part, s16 inst, u16 idx); s16 23 arch/arm/mach-omap2/prminst44xx.h s16 inst, u16 idx); s16 27 arch/arm/mach-omap2/prminst44xx.h extern int omap4_prminst_is_hardreset_asserted(u8 shift, u8 part, s16 inst, s16 29 arch/arm/mach-omap2/prminst44xx.h extern int omap4_prminst_assert_hardreset(u8 shift, u8 part, s16 inst, s16 32 arch/arm/mach-omap2/prminst44xx.h s16 inst, u16 rstctrl_offs, s16 299 arch/arm/net/bpf_jit_32.c static u32 arm_bpf_ldst_imm12(u32 op, u8 rt, u8 rn, s16 imm12) s16 309 arch/arm/net/bpf_jit_32.c static u32 arm_bpf_ldst_imm8(u32 op, u8 rt, u8 rn, s16 imm8) s16 1003 arch/arm/net/bpf_jit_32.c static bool is_ldst_imm(s16 off, const u8 size) s16 1005 arch/arm/net/bpf_jit_32.c s16 off_max = 0; s16 1025 arch/arm/net/bpf_jit_32.c s16 off, struct jit_ctx *ctx, const u8 sz){ s16 1060 arch/arm/net/bpf_jit_32.c s16 off, struct jit_ctx *ctx, const u8 sz){ s16 1352 arch/arm/net/bpf_jit_32.c const s16 off = insn->off; s16 129 arch/arm/probes/kprobes/actions-thumb.c rtv = *(s16 *)addr; s16 150 arch/arm/vfp/vfp.h s16 exponent; s16 255 arch/arm/vfp/vfp.h s16 exponent; s16 106 arch/arm64/kernel/module.c *(s16 *)place = sval; s16 351 arch/arm64/net/bpf_jit_comp.c const s16 off = insn->off; s16 37 arch/m68k/include/asm/mcfqspi.h s16 bus_num; s16 65 arch/microblaze/kernel/unwind.c return abs((s16)(instr & 0xFFFF)); s16 88 arch/microblaze/kernel/unwind.c s16 frame_size; s16 1804 arch/mips/kvm/emulate.c s16 offset; s16 2606 arch/mips/kvm/emulate.c *gpr = *(s16 *) run->mmio.data; s16 1070 arch/mips/kvm/vz.c s16 offset; s16 414 arch/mips/net/ebpf_jit.c int lower = (s16)(insn->imm & 0xffff); s16 573 arch/mips/net/ebpf_jit.c emit_instr(ctx, lui, dst, (s32)(s16)(value >> 16)); s16 589 arch/mips/net/ebpf_jit.c emit_instr(ctx, lui, dst, (s32)(s16)part); s16 71 arch/nios2/kernel/misaligned.c s16 imm16; s16 24 arch/powerpc/boot/types.h typedef s16 int16_t; s16 138 arch/powerpc/include/asm/book3s/64/mmu.h s16 execute_only_pkey; /* key holding execute-only protection */ s16 26 arch/powerpc/include/asm/compat.h typedef s16 compat_nlink_t; s16 93 arch/powerpc/include/asm/paca.h s16 hw_cpu_id; /* Physical processor number */ s16 250 arch/powerpc/kernel/align.c data.w[0] = (s16)data.h[1]; s16 251 arch/powerpc/kernel/align.c data.w[1] = (s16)data.h[3]; s16 1056 arch/powerpc/kvm/book3s_emulate.c dar += (s32)((s16)inst); s16 1148 arch/powerpc/kvm/powerpc.c gpr = (s64)(s16)gpr; s16 184 arch/powerpc/mm/nohash/8xx.c s16 offset = (s16)(__pa(swapper_pg_dir)); s16 307 arch/powerpc/net/bpf_jit_comp64.c s16 off = insn[i].off; s16 257 arch/powerpc/platforms/44x/warp.c s16 temp = swab16(val); s16 994 arch/powerpc/sysdev/fsl_pci.c regs->gpr[ra] += (s16)d; s16 1003 arch/powerpc/sysdev/fsl_pci.c regs->gpr[ra] += (s16)d; s16 1012 arch/powerpc/sysdev/fsl_pci.c regs->gpr[ra] += (s16)d; s16 1021 arch/powerpc/sysdev/fsl_pci.c regs->gpr[ra] += (s16)d; s16 696 arch/riscv/net/bpf_jit_comp.c static int rv_offset_check(int *rvoff, s16 off, int insn, s16 743 arch/riscv/net/bpf_jit_comp.c s16 off = insn->off; s16 723 arch/s390/kernel/time.c return sprintf(buf, "%i\n", (int)(s16) stp_info.dsto); s16 734 arch/s390/kernel/time.c return sprintf(buf, "%i\n", (int)(s16) stp_info.leaps); s16 745 arch/s390/kernel/time.c return sprintf(buf, "%i\n", (int)(s16) stp_info.stratum); s16 767 arch/s390/kernel/time.c return sprintf(buf, "%i\n", (int)(s16) stp_info.tzo); s16 243 arch/s390/kernel/uprobes.c s16 s16[4]; s16 296 arch/s390/kernel/uprobes.c rc = emu_load_ril((s16 __user *)uptr, &rx->u64); s16 299 arch/s390/kernel/uprobes.c rc = emu_load_ril((s16 __user *)uptr, &rx->u32[1]); s16 334 arch/s390/kernel/uprobes.c rc = emu_cmp_ril(regs, (s16 __user *)uptr, &rx->s64); s16 337 arch/s390/kernel/uprobes.c rc = emu_cmp_ril(regs, (s16 __user *)uptr, &rx->s32[1]); s16 515 arch/s390/net/bpf_jit_comp.c s16 off = insn->off; s16 20 arch/sparc/include/asm/compat.h typedef s16 compat_nlink_t; s16 461 arch/sparc/kernel/visemul.c s16 s1, s2; s16 492 arch/sparc/kernel/visemul.c s16 src = (rs2 >> (byte * 16UL)) & 0xffffUL; s16 604 arch/sparc/kernel/visemul.c s16 src2 = (rs2 >> (byte * 16)) & 0xffff; s16 621 arch/sparc/kernel/visemul.c s16 src2; s16 654 arch/sparc/kernel/visemul.c s16 src2; s16 684 arch/sparc/kernel/visemul.c s16 src2; s16 718 arch/sparc/kernel/visemul.c s16 a = (rs1 >> (i * 16)) & 0xffff; s16 719 arch/sparc/kernel/visemul.c s16 b = (rs2 >> (i * 16)) & 0xffff; s16 738 arch/sparc/kernel/visemul.c s16 a = (rs1 >> (i * 16)) & 0xffff; s16 739 arch/sparc/kernel/visemul.c s16 b = (rs2 >> (i * 16)) & 0xffff; s16 758 arch/sparc/kernel/visemul.c s16 a = (rs1 >> (i * 16)) & 0xffff; s16 759 arch/sparc/kernel/visemul.c s16 b = (rs2 >> (i * 16)) & 0xffff; s16 778 arch/sparc/kernel/visemul.c s16 a = (rs1 >> (i * 16)) & 0xffff; s16 779 arch/sparc/kernel/visemul.c s16 b = (rs2 >> (i * 16)) & 0xffff; s16 901 arch/sparc/net/bpf_jit_comp_64.c const s16 off = insn->off; s16 51 arch/x86/include/asm/mmu.h s16 execute_only_pkey; s16 31 arch/x86/include/asm/numa.h extern s16 __apicid_to_node[MAX_LOCAL_APIC]; s16 37 arch/x86/include/asm/numa.h static inline void set_apicid_to_node(int apicid, s16 node) s16 45 arch/x86/include/asm/numa.h static inline void set_apicid_to_node(int apicid, s16 node) s16 74 arch/x86/include/asm/orc_types.h s16 sp_offset; s16 75 arch/x86/include/asm/orc_types.h s16 bp_offset; s16 90 arch/x86/include/asm/orc_types.h s16 sp_offset; s16 1428 arch/x86/kvm/emulate.c sv = (s16)ctxt->src.val & (s16)mask; s16 4991 arch/x86/kvm/emulate.c op->val = insn_fetch(s16, ctxt); s16 5738 arch/x86/kvm/emulate.c case 4: ctxt->dst.val = (s16)ctxt->dst.val; break; s16 5890 arch/x86/kvm/emulate.c (s16) ctxt->src.val; s16 50 arch/x86/kvm/lapic.h s16 isr_count; s16 58 arch/x86/mm/numa.c s16 __apicid_to_node[MAX_LOCAL_APIC] = { s16 64 drivers/acpi/acpi_tad.c s16 tz; /* -1440 to 1440 or 2047 (unspecified) */ s16 528 drivers/acpi/acpica/utprint.c number = (s16)number; s16 602 drivers/acpi/battery.c (s16)(battery->rate_now) < 0) { s16 603 drivers/acpi/battery.c battery->rate_now = abs((s16)battery->rate_now); s16 74 drivers/acpi/sbs.c s16 rate_now; s16 75 drivers/acpi/sbs.c s16 rate_avg; s16 36 drivers/char/applicom.h s16 stjb_status; /* offset 02 */ s16 287 drivers/clk/samsung/clk-pll.c s16 kdiv; s16 295 drivers/clk/samsung/clk-pll.c kdiv = (s16)(pll_con1 & PLL36XX_KDIV_MASK); s16 1083 drivers/clk/samsung/clk-pll.c s16 kdiv; s16 1091 drivers/clk/samsung/clk-pll.c kdiv = (s16)((pll_con1 >> PLL2650X_K_SHIFT) & PLL2650X_K_MASK); s16 1178 drivers/clk/samsung/clk-pll.c s16 kdiv; s16 1186 drivers/clk/samsung/clk-pll.c kdiv = (s16)(pll_con2 & PLL2650XX_KDIV_MASK); s16 265 drivers/clk/tegra/clk-pll.c #define sdin_data_to_din(dat) (((dat) == 0xFFFFU) ? 0 : (s16)dat) s16 263 drivers/clk/tegra/clk-tegra210.c #define sdin_data_to_din(dat) (((dat) == 0xFFFFU) ? 0 : (s16)dat) s16 97 drivers/clk/ti/clkt_dflt.c s16 prcm_mod; s16 258 drivers/cpufreq/intel_pstate.c s16 epp_powersave; s16 259 drivers/cpufreq/intel_pstate.c s16 epp_policy; s16 260 drivers/cpufreq/intel_pstate.c s16 epp_default; s16 261 drivers/cpufreq/intel_pstate.c s16 epp_saved; s16 522 drivers/cpufreq/intel_pstate.c static s16 intel_pstate_get_epb(struct cpudata *cpu_data) s16 532 drivers/cpufreq/intel_pstate.c return (s16)ret; s16 534 drivers/cpufreq/intel_pstate.c return (s16)(epb & 0x0f); s16 537 drivers/cpufreq/intel_pstate.c static s16 intel_pstate_get_epp(struct cpudata *cpu_data, u64 hwp_req_data) s16 539 drivers/cpufreq/intel_pstate.c s16 epp; s16 561 drivers/cpufreq/intel_pstate.c static int intel_pstate_set_epb(int cpu, s16 pref) s16 607 drivers/cpufreq/intel_pstate.c s16 epp; s16 772 drivers/cpufreq/intel_pstate.c s16 epp; s16 45 drivers/dma/bestcomm/ata.c s16 incr_bytes; s16 47 drivers/dma/bestcomm/ata.c s16 incr_dst; s16 49 drivers/dma/bestcomm/ata.c s16 incr_src; s16 109 drivers/dma/bestcomm/ata.c inc->incr_bytes = -(s16)sizeof(u32); s16 123 drivers/dma/bestcomm/ata.c inc->incr_bytes = -(s16)sizeof(u32); s16 45 drivers/dma/bestcomm/fec.c s16 incr_bytes; s16 47 drivers/dma/bestcomm/fec.c s16 incr_dst; s16 49 drivers/dma/bestcomm/fec.c s16 incr_dst_ma; s16 66 drivers/dma/bestcomm/fec.c s16 incr_bytes; s16 68 drivers/dma/bestcomm/fec.c s16 incr_src; s16 70 drivers/dma/bestcomm/fec.c s16 incr_src_ma; s16 135 drivers/dma/bestcomm/fec.c inc->incr_bytes = -(s16)sizeof(u32); /* These should be in the */ s16 236 drivers/dma/bestcomm/fec.c inc->incr_bytes = -(s16)sizeof(u32); /* These should be in the */ s16 46 drivers/dma/bestcomm/gen_bd.c s16 incr_bytes; s16 48 drivers/dma/bestcomm/gen_bd.c s16 incr_dst; s16 64 drivers/dma/bestcomm/gen_bd.c s16 incr_bytes; s16 66 drivers/dma/bestcomm/gen_bd.c s16 incr_src; s16 68 drivers/dma/bestcomm/gen_bd.c s16 incr_src_ma; s16 138 drivers/dma/bestcomm/gen_bd.c inc->incr_bytes = -(s16)sizeof(u32); s16 221 drivers/dma/bestcomm/gen_bd.c inc->incr_bytes = -(s16)sizeof(u32); s16 2059 drivers/dma/ti/edma.c s16 (*xbar_chans)[2]; s16 2060 drivers/dma/ti/edma.c size_t nelm = sz / sizeof(s16); s16 2064 drivers/dma/ti/edma.c xbar_chans = devm_kcalloc(dev, nelm + 2, sizeof(s16), GFP_KERNEL); s16 2095 drivers/dma/ti/edma.c pdata->xbar_chans = (const s16 (*)[2]) xbar_chans; s16 2147 drivers/dma/ti/edma.c s16 (*rsv_slots)[2]; s16 2187 drivers/dma/ti/edma.c info->rsv->rsv_slots = (const s16 (*)[2])rsv_slots; s16 2253 drivers/dma/ti/edma.c const s16 (*rsv_slots)[2]; s16 2254 drivers/dma/ti/edma.c const s16 (*xbar_chans)[2]; s16 506 drivers/gpu/drm/arm/malidp_hw.c const s16 *rgb2yuv_coeffs) s16 847 drivers/gpu/drm/arm/malidp_hw.c const s16 *rgb2yuv_coeffs) s16 66 drivers/gpu/drm/arm/malidp_hw.h s16 yuv2rgb_offset; /* offset to the YUV->RGB matrix entries */ s16 205 drivers/gpu/drm/arm/malidp_hw.h const s16 *rgb2yuv_coeffs); s16 31 drivers/gpu/drm/arm/malidp_mw.c const s16 *rgb2yuv_coeffs; s16 117 drivers/gpu/drm/arm/malidp_mw.c static const s16 rgb2yuv_coeffs_bt709_limited[MALIDP_COLORADJ_NUM_COEFFS] = { s16 642 drivers/gpu/drm/arm/malidp_planes.c static const s16 s16 194 drivers/gpu/drm/arm/malidp_regs.h #define MALIDP500_LV_YUV2RGB ((s16)(-0xB8)) s16 35 drivers/gpu/drm/armada/armada_overlay.c s16 brightness; s16 747 drivers/gpu/drm/i915/display/intel_sprite.c static const s16 csc_matrix[][9] = { s16 761 drivers/gpu/drm/i915/display/intel_sprite.c const s16 *csc = csc_matrix[plane_state->base.color_encoding]; s16 20 drivers/gpu/drm/mcde/mcde_drm.h s16 stride; s16 11 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/therm.h s16 slope_mult; s16 12 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/therm.h s16 slope_div; s16 13 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/therm.h s16 offset_num; s16 14 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/therm.h s16 offset_den; s16 19 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/volt.h s16 step; s16 84 drivers/gpu/drm/nouveau/nvkm/subdev/bios/therm.c s16 value = nvbios_rd16(bios, entry + 1); s16 166 drivers/gpu/drm/nouveau/nvkm/subdev/bios/therm.c s16 value = nvbios_rd16(bios, entry + 1); s16 224 drivers/gpu/drm/omapdrm/dss/omapdss.h s16 rr, rg, rb; s16 225 drivers/gpu/drm/omapdrm/dss/omapdss.h s16 gr, gg, gb; s16 226 drivers/gpu/drm/omapdrm/dss/omapdss.h s16 br, bg, bb; s16 87 drivers/gpu/drm/omapdrm/tcm-sita.c static int l2r_t2b(u16 w, u16 h, u16 a, s16 offset, s16 182 drivers/gpu/drm/omapdrm/tcm-sita.c s16 offset, u16 slot_bytes, s16 68 drivers/gpu/drm/omapdrm/tcm.h s16 offset, u16 slot_bytes, s16 132 drivers/gpu/drm/omapdrm/tcm.h u16 align, s16 offset, u16 slot_bytes, s16 71 drivers/gpu/drm/vboxvideo/vbox_main.c cmd_hdr.x = (s16)rects[i].x1; s16 72 drivers/gpu/drm/vboxvideo/vbox_main.c cmd_hdr.y = (s16)rects[i].y1; s16 57 drivers/gpu/drm/vboxvideo/vboxvideo.h s16 x; s16 58 drivers/gpu/drm/vboxvideo/vboxvideo.h s16 y; s16 34 drivers/gpu/drm/vmwgfx/device_include/svga_types.h typedef s16 int16; s16 10 drivers/gpu/drm/vmwgfx/device_include/vm_basic_types.h typedef s16 int16; s16 357 drivers/hid/hid-core.c case 2: return item->data.s16; s16 1685 drivers/hid/hid-logitech-hidpp.c s16 range; s16 329 drivers/hid/hid-sensor-hub.c ret_val = *(s16 *)hsdev->pending.raw_data; s16 317 drivers/hid/hid-steam.c s16 volts; s16 842 drivers/hid/hid-steam.c static inline s16 steam_le16(u8 *data) s16 844 drivers/hid/hid-steam.c s16 x = (s16) le16_to_cpup((__le16 *)data); s16 920 drivers/hid/hid-steam.c s16 x, y; s16 999 drivers/hid/hid-steam.c s16 volts = steam_le16(data + 12); s16 1816 drivers/hid/hid-wiimote-modules.c s16 x1, y1, x2, y2; s16 214 drivers/hid/usbhid/hid-pidff.c static void pidff_set_signed(struct pidff_usage *usage, s16 value) s16 60 drivers/hwmon/ad7314.c s16 data; s16 42 drivers/hwmon/ad7414.c s16 temp_input; /* Register values */ s16 47 drivers/hwmon/ad7414.c static inline int ad7414_temp_from_reg(s16 reg) s16 51 drivers/hwmon/ad7418.c s16 temp[3]; /* Register values */ s16 73 drivers/hwmon/adc128d818.c s16 temp[3]; /* Register value, normalized to 9 bit s16 137 drivers/hwmon/adm9240.c s16 temp; /* ro temp1_input, 9-bit sign-extended */ s16 64 drivers/hwmon/adt7x10.c s16 temp[4]; /* Register values, s16 198 drivers/hwmon/adt7x10.c static s16 ADT7X10_TEMP_TO_REG(long temp) s16 204 drivers/hwmon/adt7x10.c static int ADT7X10_REG_TO_TEMP(struct adt7x10_data *data, s16 reg) s16 138 drivers/hwmon/applesmc.c static s16 rest_x; s16 139 drivers/hwmon/applesmc.c static s16 rest_y; s16 461 drivers/hwmon/applesmc.c static int applesmc_read_s16(const char *key, s16 *value) s16 470 drivers/hwmon/applesmc.c *value = ((s16)buffer[0] << 8) | buffer[1]; s16 687 drivers/hwmon/applesmc.c s16 x, y; s16 712 drivers/hwmon/applesmc.c s16 x, y, z; s16 784 drivers/hwmon/applesmc.c s16 value; s16 220 drivers/hwmon/dme1737.c s16 temp[3]; s16 125 drivers/hwmon/ds1621.c return DIV_ROUND_CLOSEST(((s16)reg / 16) * 625, 10); s16 62 drivers/hwmon/ds620.c s16 temp[3]; /* Register values, word */ s16 177 drivers/hwmon/emc6w201.c static const s16 nominal_mv[6] = { 2500, 1500, 3300, 5000, 1500, 1500 }; s16 109 drivers/hwmon/f75375s.c s16 temp11[2]; s16 58 drivers/hwmon/ibmpex.c s16 values[PEX_NUM_SENSOR_FUNCS]; s16 117 drivers/hwmon/ina209.c return DIV_ROUND_CLOSEST((s16)val, 100); s16 146 drivers/hwmon/ina209.c return (s16)val; s16 262 drivers/hwmon/ina2xx.c val = DIV_ROUND_CLOSEST((s16)regval, data->config->shunt_div); s16 274 drivers/hwmon/ina2xx.c val = (s16)regval * data->current_lsb_uA; s16 233 drivers/hwmon/jc42.c static int jc42_temp_from_reg(s16 reg) s16 164 drivers/hwmon/lm63.c s16 temp11[4]; /* 0: remote input s16 52 drivers/hwmon/lm70.c s16 raw = 0; s16 94 drivers/hwmon/lm73.c temp = (((s16) err) * 250) / 32; s16 297 drivers/hwmon/lm75.c static inline long lm75_reg_to_mc(s16 temp, u8 resolution) s16 36 drivers/hwmon/lm75.h return ((s16)reg / 128) * 500; s16 72 drivers/hwmon/lm77.c static inline s16 LM77_TEMP_TO_REG(int temp) s16 77 drivers/hwmon/lm77.c static inline int LM77_TEMP_FROM_REG(s16 reg) s16 126 drivers/hwmon/lm80.c s16 temp[t_num_temp]; /* Register values, normalized to 16 bit */ s16 472 drivers/hwmon/lm90.c s16 temp11[TEMP11_REG_NUM]; s16 837 drivers/hwmon/lm90.c static inline int temp_from_s16(s16 val) s16 867 drivers/hwmon/lm90.c static s16 temp_to_s16(long val) s16 979 drivers/hwmon/lm90.c s16 temp11 = data->temp11[index]; s16 64 drivers/hwmon/lm92.c static inline int TEMP_FROM_REG(s16 reg) s16 69 drivers/hwmon/lm92.c static inline s16 TEMP_TO_REG(long val) s16 76 drivers/hwmon/lm92.c static inline u8 ALARMS_FROM_REG(s16 reg) s16 106 drivers/hwmon/lm92.c s16 temp[t_num_regs]; /* index with enum temp_index */ s16 104 drivers/hwmon/lm95234.c *t = (s16)temp; s16 90 drivers/hwmon/lm95241.c s16 val_hl = (val_h << 8) | val_l; s16 60 drivers/hwmon/max31722.c return sprintf(buf, "%d\n", (s16)le16_to_cpu(ret) * 125 / 32); s16 312 drivers/hwmon/nct6683.c s16 temp_in[NCT6683_NUM_REG_MON]; s16 1161 drivers/hwmon/nct6775.c s16 temp[5][NUM_TEMP]; /* 0=temp, 1=temp_over, 2=temp_hyst, s16 207 drivers/hwmon/nct7802.c *temp = (s16)t1 / 32 * 125; s16 64 drivers/hwmon/pc87427.c s16 temp[6]; /* register values */ s16 335 drivers/hwmon/pc87427.c static inline long temp_from_reg(s16 reg) s16 104 drivers/hwmon/pmbus/adm1275.c s16 m; s16 105 drivers/hwmon/pmbus/adm1275.c s16 b; s16 106 drivers/hwmon/pmbus/adm1275.c s16 R; s16 361 drivers/hwmon/pmbus/lm25066.c word = ((s16)word < 0) ? 0 : clamp_val(word, 0, data->rlimit); s16 366 drivers/hwmon/pmbus/lm25066.c word = ((s16)word < 0) ? 0 : clamp_val(word, 0, data->rlimit); s16 373 drivers/hwmon/pmbus/lm25066.c word = ((s16)word < 0) ? 0 : clamp_val(word, 0, data->rlimit); s16 382 drivers/hwmon/pmbus/lm25066.c word = ((s16)word < 0) ? 0 : clamp_val(word, 0, data->rlimit); s16 390 drivers/hwmon/pmbus/lm25066.c word = ((s16)word < 0) ? 0 : clamp_val(word, 0, data->rlimit); s16 189 drivers/hwmon/pmbus/ltc2978.c s16 e = ((s16)data) >> 11; s16 190 drivers/hwmon/pmbus/ltc2978.c s32 m = (((s16)(data << 5)) >> 5); s16 615 drivers/hwmon/pmbus/pmbus_core.c s16 exponent; s16 623 drivers/hwmon/pmbus/pmbus_core.c exponent = ((s16)sensor->data) >> 11; s16 624 drivers/hwmon/pmbus/pmbus_core.c mantissa = ((s16)((sensor->data & 0x7ff) << 5)) >> 5; s16 652 drivers/hwmon/pmbus/pmbus_core.c s64 b, val = (s16)sensor->data; s16 744 drivers/hwmon/pmbus/pmbus_core.c s16 exponent = 0, mantissa; s16 53 drivers/hwmon/pmbus/zl6100.c static long zl6100_l2d(s16 l) s16 55 drivers/hwmon/pmbus/zl6100.c s16 exponent; s16 60 drivers/hwmon/pmbus/zl6100.c mantissa = ((s16)((l & 0x7ff) << 5)) >> 5; s16 80 drivers/hwmon/pmbus/zl6100.c s16 exponent = 0, mantissa; s16 107 drivers/hwmon/stts751.c static int stts751_to_deg(s16 hw_val) s16 61 drivers/hwmon/tmp102.c static inline int tmp102_reg_to_mC(s16 val) s16 80 drivers/hwmon/tmp108.c static inline int tmp108_temp_reg_to_mC(s16 val) s16 100 drivers/hwmon/tmp421.c s16 temp[4]; s16 103 drivers/hwmon/tmp421.c static int temp_from_s16(s16 reg) s16 202 drivers/hwmon/via686a.c static const s16 temp_lut[] = { s16 463 drivers/hwmon/w83627ehf.c s16 temp[9]; s16 464 drivers/hwmon/w83627ehf.c s16 temp_max[9]; s16 465 drivers/hwmon/w83627ehf.c s16 temp_max_hyst[9]; s16 292 drivers/hwmon/w83791d.c s16 temp_add[2][3]; /* fixed point value. Top 8 bits are the s16 869 drivers/i3c/master/i3c-master-cdns.c s16 ibi; s16 57 drivers/ide/qd65xx.h s16 active; /* active time */ s16 58 drivers/ide/qd65xx.h s16 recovery; /* recovery time */ s16 109 drivers/iio/accel/adis16201.c s16 val16; s16 141 drivers/iio/accel/adis16209.c s16 val16; s16 678 drivers/iio/accel/bma180.c ((s16 *)data->buff)[i++] = ret; s16 191 drivers/iio/accel/bmc150-accel-core.c s16 buffer[8]; s16 38 drivers/iio/accel/cros_ec_accel_legacy.c unsigned long scan_mask, s16 *data) s16 75 drivers/iio/accel/cros_ec_accel_legacy.c s16 data = 0; s16 56 drivers/iio/accel/dmard09.c s16 accel; s16 134 drivers/iio/accel/kxcjk-1013.c s16 buffer[8]; s16 726 drivers/iio/accel/mma9551_core.c s16 raw_accel; s16 99 drivers/iio/accel/stk8ba50.c s16 buffer[8]; s16 187 drivers/iio/adc/ina2xx-adc.c *val = (s16) regval; s16 180 drivers/iio/adc/max1363.c s16 thresh_high[8]; s16 181 drivers/iio/adc/max1363.c s16 thresh_low[8]; s16 381 drivers/iio/adc/ti-ads1015.c s16 buf[8]; /* 1x s16 ADC val + 3x s16 padding + 4x s16 timestamp */ s16 235 drivers/iio/adc/twl4030-madc.c s16 numerator; s16 236 drivers/iio/adc/twl4030-madc.c s16 denominator; s16 24 drivers/iio/chemical/bme680_core.c s16 par_t2; s16 27 drivers/iio/chemical/bme680_core.c s16 par_p2; s16 29 drivers/iio/chemical/bme680_core.c s16 par_p4; s16 30 drivers/iio/chemical/bme680_core.c s16 par_p5; s16 33 drivers/iio/chemical/bme680_core.c s16 par_p8; s16 34 drivers/iio/chemical/bme680_core.c s16 par_p9; s16 44 drivers/iio/chemical/bme680_core.c s16 par_gh2; s16 326 drivers/iio/chemical/bme680_core.c static s16 bme680_compensate_temp(struct bme680_data *data, s16 331 drivers/iio/chemical/bme680_core.c s16 calc_temp; s16 610 drivers/iio/chemical/bme680_core.c s16 comp_temp; s16 309 drivers/iio/chemical/ccs811.c s16 buf[8]; /* s16 eCO2 + s16 TVOC + padding + 8 byte timestamp */ s16 51 drivers/iio/common/cros_ec_sensors/cros_ec_lid_angle.c unsigned long scan_mask, s16 *data) s16 72 drivers/iio/common/cros_ec_sensors/cros_ec_lid_angle.c s16 data; s16 41 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c s16 data = 0; s16 342 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c unsigned long scan_mask, s16 *data) s16 376 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c unsigned long scan_mask, s16 *data) s16 424 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c unsigned long scan_mask, s16 *data) s16 462 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c (s16 *)st->samples); s16 557 drivers/iio/common/st_sensors/st_sensors_core.c *data = (s16)get_unaligned_le16(outdata); s16 27 drivers/iio/dummy/iio_simple_dummy_buffer.c static const s16 fakedata[] = { s16 201 drivers/iio/gyro/adis16260.c s16 val16; s16 165 drivers/iio/gyro/adxrs450.c static int adxrs450_spi_sensor_data(struct iio_dev *indio_dev, s16 *val) s16 310 drivers/iio/gyro/adxrs450.c s16 t; s16 99 drivers/iio/gyro/bmg160_core.c s16 buffer[8]; s16 90 drivers/iio/gyro/fxas21002c_core.c s16 buffer[8] ____cacheline_aligned; s16 673 drivers/iio/gyro/fxas21002c_core.c data->buffer, CHANNEL_SCAN_MAX * sizeof(s16)); s16 36 drivers/iio/gyro/itg3200_buffer.c .len = ITG3200_SCAN_ELEMENTS * sizeof(s16), s16 59 drivers/iio/gyro/itg3200_core.c s16 out; s16 78 drivers/iio/gyro/mpu3050.h s16 calibration[3]; s16 36 drivers/iio/humidity/am2315.c s16 buffer[8]; /* 2x16-bit channels + 2x16 padding + 4x16 timestamp */ s16 40 drivers/iio/humidity/am2315.c s16 hum_data; s16 41 drivers/iio/humidity/am2315.c s16 temp_data; s16 322 drivers/iio/humidity/hdc100x.c s16 buf[8]; /* 2x s16 + padding + 8 byte timestamp */ s16 268 drivers/iio/humidity/hts221_core.c s16 cal_x0, cal_x1, cal_y0, cal_y1; s16 311 drivers/iio/humidity/hts221_core.c s16 cal_x0, cal_x1, cal_y0, cal_y1; s16 422 drivers/iio/humidity/hts221_core.c *val = (s16)le16_to_cpu(data); s16 1201 drivers/iio/imu/kmx61.c s16 buffer[8]; s16 1097 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c *val = (s16)le16_to_cpu(data); s16 456 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_shub.c *val = (s16)le16_to_cpu(*((__le16 *)data)); s16 55 drivers/iio/light/cros_ec_light_prox.c (s16 *)&data); s16 67 drivers/iio/light/cros_ec_light_prox.c (s16 *)&data); s16 211 drivers/iio/light/si1133.c s16 info; s16 108 drivers/iio/light/tsl2583.c s16 ch0; s16 109 drivers/iio/light/tsl2583.c s16 ch1; s16 110 drivers/iio/light/tsl2583.c s16 mean; s16 265 drivers/iio/light/tsl2772.c static const s16 tsl2772_als_gain[] = { s16 272 drivers/iio/light/tsl2772.c static const s16 tsl2772_prox_gain[] = { s16 567 drivers/iio/magnetometer/ak8974.c *val = (s16)le16_to_cpu(hw_values[chan->address]); s16 705 drivers/iio/magnetometer/ak8975.c *val = clamp_t(s16, buff, -def->range, def->range); s16 808 drivers/iio/magnetometer/ak8975.c s16 buff[8]; /* 3 x 16 bits axis values + 1 aligned 64 bits timestamp */ s16 831 drivers/iio/magnetometer/ak8975.c buff[0] = clamp_t(s16, le16_to_cpu(fval[0]), -def->range, def->range); s16 832 drivers/iio/magnetometer/ak8975.c buff[1] = clamp_t(s16, le16_to_cpu(fval[1]), -def->range, def->range); s16 833 drivers/iio/magnetometer/ak8975.c buff[2] = clamp_t(s16, le16_to_cpu(fval[2]), -def->range, def->range); s16 360 drivers/iio/magnetometer/bmc150_magn.c static s32 bmc150_magn_compensate_x(struct bmc150_magn_trim_regs *tregs, s16 x, s16 363 drivers/iio/magnetometer/bmc150_magn.c s16 val; s16 372 drivers/iio/magnetometer/bmc150_magn.c val = ((s16)(((u16)((((s32)xyz1) << 14) / rhall)) - ((u16)0x4000))); s16 373 drivers/iio/magnetometer/bmc150_magn.c val = ((s16)((((s32)x) * ((((((((s32)tregs->xy2) * ((((s32)val) * s16 375 drivers/iio/magnetometer/bmc150_magn.c ((s32)(((s16)tregs->xy1) << 7)))) >> 9) + ((s32)0x100000)) * s16 376 drivers/iio/magnetometer/bmc150_magn.c ((s32)(((s16)tregs->x2) + ((s16)0xA0)))) >> 12)) >> 13)) + s16 377 drivers/iio/magnetometer/bmc150_magn.c (((s16)tregs->x1) << 3); s16 382 drivers/iio/magnetometer/bmc150_magn.c static s32 bmc150_magn_compensate_y(struct bmc150_magn_trim_regs *tregs, s16 y, s16 385 drivers/iio/magnetometer/bmc150_magn.c s16 val; s16 394 drivers/iio/magnetometer/bmc150_magn.c val = ((s16)(((u16)((((s32)xyz1) << 14) / rhall)) - ((u16)0x4000))); s16 395 drivers/iio/magnetometer/bmc150_magn.c val = ((s16)((((s32)y) * ((((((((s32)tregs->xy2) * ((((s32)val) * s16 397 drivers/iio/magnetometer/bmc150_magn.c ((s32)(((s16)tregs->xy1) << 7)))) >> 9) + ((s32)0x100000)) * s16 398 drivers/iio/magnetometer/bmc150_magn.c ((s32)(((s16)tregs->y2) + ((s16)0xA0)))) >> 12)) >> 13)) + s16 399 drivers/iio/magnetometer/bmc150_magn.c (((s16)tregs->y1) << 3); s16 404 drivers/iio/magnetometer/bmc150_magn.c static s32 bmc150_magn_compensate_z(struct bmc150_magn_trim_regs *tregs, s16 z, s16 410 drivers/iio/magnetometer/bmc150_magn.c s16 z2 = le16_to_cpu(tregs->z2); s16 411 drivers/iio/magnetometer/bmc150_magn.c s16 z3 = le16_to_cpu(tregs->z3); s16 412 drivers/iio/magnetometer/bmc150_magn.c s16 z4 = le16_to_cpu(tregs->z4); s16 417 drivers/iio/magnetometer/bmc150_magn.c val = (((((s32)(z - z4)) << 15) - ((((s32)z3) * ((s32)(((s16)rhall) - s16 418 drivers/iio/magnetometer/bmc150_magn.c ((s16)xyz1)))) >> 2)) / (z2 + ((s16)(((((s32)z1) * s16 419 drivers/iio/magnetometer/bmc150_magn.c ((((s16)rhall) << 1))) + (1 << 15)) >> 16)))); s16 428 drivers/iio/magnetometer/bmc150_magn.c s16 raw_x, raw_y, raw_z; s16 437 drivers/iio/magnetometer/bmc150_magn.c raw_x = (s16)le16_to_cpu(values[AXIS_X]) >> BMC150_MAGN_SHIFT_XY_L; s16 438 drivers/iio/magnetometer/bmc150_magn.c raw_y = (s16)le16_to_cpu(values[AXIS_Y]) >> BMC150_MAGN_SHIFT_XY_L; s16 439 drivers/iio/magnetometer/bmc150_magn.c raw_z = (s16)le16_to_cpu(values[AXIS_Z]) >> BMC150_MAGN_SHIFT_Z_L; s16 42 drivers/iio/pressure/bmp280-core.c s16 AC1; s16 43 drivers/iio/pressure/bmp280-core.c s16 AC2; s16 44 drivers/iio/pressure/bmp280-core.c s16 AC3; s16 48 drivers/iio/pressure/bmp280-core.c s16 B1; s16 49 drivers/iio/pressure/bmp280-core.c s16 B2; s16 50 drivers/iio/pressure/bmp280-core.c s16 MB; s16 51 drivers/iio/pressure/bmp280-core.c s16 MC; s16 52 drivers/iio/pressure/bmp280-core.c s16 MD; s16 58 drivers/iio/pressure/bmp280-core.c s16 T2; s16 59 drivers/iio/pressure/bmp280-core.c s16 T3; s16 61 drivers/iio/pressure/bmp280-core.c s16 P2; s16 62 drivers/iio/pressure/bmp280-core.c s16 P3; s16 63 drivers/iio/pressure/bmp280-core.c s16 P4; s16 64 drivers/iio/pressure/bmp280-core.c s16 P5; s16 65 drivers/iio/pressure/bmp280-core.c s16 P6; s16 66 drivers/iio/pressure/bmp280-core.c s16 P7; s16 67 drivers/iio/pressure/bmp280-core.c s16 P8; s16 68 drivers/iio/pressure/bmp280-core.c s16 P9; s16 70 drivers/iio/pressure/bmp280-core.c s16 H2; s16 72 drivers/iio/pressure/bmp280-core.c s16 H4; s16 73 drivers/iio/pressure/bmp280-core.c s16 H5; s16 51 drivers/iio/pressure/cros_ec_baro.c (s16 *)&data); s16 27 drivers/iio/pressure/mpl115.c s16 a0; s16 28 drivers/iio/pressure/mpl115.c s16 b1, b2; s16 29 drivers/iio/pressure/mpl115.c s16 c12; s16 68 drivers/iio/pressure/t5403.c s16 t_r; s16 109 drivers/iio/pressure/t5403.c s16 t_r; s16 55 drivers/iio/proximity/mb1232.c static s16 mb1232_read_distance(struct mb1232_data *data) s16 59 drivers/iio/proximity/mb1232.c s16 distance; s16 120 drivers/iio/proximity/mb1232.c s16 buffer[8] = { 0 }; s16 70 drivers/iio/proximity/srf08.c s16 buffer[8]; s16 185 drivers/iio/proximity/srf08.c s16 sensor_data; s16 222 drivers/iio/temperature/mlx90632.c s16 *ambient_new_raw, s16 *ambient_old_raw) s16 230 drivers/iio/temperature/mlx90632.c *ambient_new_raw = (s16)read_tmp; s16 235 drivers/iio/temperature/mlx90632.c *ambient_old_raw = (s16)read_tmp; s16 242 drivers/iio/temperature/mlx90632.c s16 *object_new_raw, s16 *object_old_raw) s16 246 drivers/iio/temperature/mlx90632.c s16 read; s16 259 drivers/iio/temperature/mlx90632.c read = (s16)read_tmp; s16 264 drivers/iio/temperature/mlx90632.c *object_new_raw = (read + (s16)read_tmp) / 2; s16 269 drivers/iio/temperature/mlx90632.c read = (s16)read_tmp; s16 274 drivers/iio/temperature/mlx90632.c *object_old_raw = (read + (s16)read_tmp) / 2; s16 280 drivers/iio/temperature/mlx90632.c s16 *ambient_new_raw, s16 *ambient_old_raw, s16 281 drivers/iio/temperature/mlx90632.c s16 *object_new_raw, s16 *object_old_raw) s16 325 drivers/iio/temperature/mlx90632.c static s64 mlx90632_preprocess_temp_amb(s16 ambient_new_raw, s16 326 drivers/iio/temperature/mlx90632.c s16 ambient_old_raw, s16 Gb) s16 340 drivers/iio/temperature/mlx90632.c static s64 mlx90632_preprocess_temp_obj(s16 object_new_raw, s16 object_old_raw, s16 341 drivers/iio/temperature/mlx90632.c s16 ambient_new_raw, s16 342 drivers/iio/temperature/mlx90632.c s16 ambient_old_raw, s16 Ka) s16 357 drivers/iio/temperature/mlx90632.c static s32 mlx90632_calc_temp_ambient(s16 ambient_new_raw, s16 ambient_old_raw, s16 359 drivers/iio/temperature/mlx90632.c s16 Gb) s16 378 drivers/iio/temperature/mlx90632.c s32 Ga, s16 Ha, s16 Hb, s16 406 drivers/iio/temperature/mlx90632.c s32 Fa, s32 Fb, s32 Ga, s16 Ha, s16 Hb, s16 431 drivers/iio/temperature/mlx90632.c s16 Ha, Hb, Gb, Ka; s16 432 drivers/iio/temperature/mlx90632.c s16 ambient_new_raw, ambient_old_raw, object_new_raw, object_old_raw; s16 453 drivers/iio/temperature/mlx90632.c Ha = (s16)read_tmp; s16 457 drivers/iio/temperature/mlx90632.c Hb = (s16)read_tmp; s16 461 drivers/iio/temperature/mlx90632.c Gb = (s16)read_tmp; s16 465 drivers/iio/temperature/mlx90632.c Ka = (s16)read_tmp; s16 490 drivers/iio/temperature/mlx90632.c s16 Gb; s16 491 drivers/iio/temperature/mlx90632.c s16 ambient_new_raw, ambient_old_raw; s16 508 drivers/iio/temperature/mlx90632.c Gb = (s16)read_tmp; s16 285 drivers/infiniband/hw/hfi1/hfi.h s16 msix_intr; s16 381 drivers/infiniband/hw/hfi1/hfi.h s16 etail; s16 55 drivers/infiniband/hw/i40iw/i40iw_virtchnl.h s16 iw_op_ret_code; s16 101 drivers/infiniband/hw/i40iw/i40iw_virtchnl.h s16 ret_code; s16 229 drivers/input/ff-memless.c static inline s16 fixp_new16(s16 a) s16 234 drivers/input/ff-memless.c static inline s16 fixp_mult(s16 a, s16 b) s16 250 drivers/input/ff-memless.c s16 level; s16 245 drivers/input/misc/adxl34x.c ac->saved.x = (s16) le16_to_cpu(buf[0]); s16 248 drivers/input/misc/adxl34x.c ac->saved.y = (s16) le16_to_cpu(buf[1]); s16 251 drivers/input/misc/adxl34x.c ac->saved.z = (s16) le16_to_cpu(buf[2]); s16 310 drivers/input/misc/bma150.c s16 x, y, z; s16 1262 drivers/input/misc/ims-pcu.c s16 result; s16 1269 drivers/input/misc/ims-pcu.c result = (s16)get_unaligned_le16(pcu->cmd_buf + OFN_REG_RESULT_OFFSET); s16 1282 drivers/input/misc/ims-pcu.c s16 result; s16 1289 drivers/input/misc/ims-pcu.c result = (s16)get_unaligned_le16(pcu->cmd_buf + OFN_REG_RESULT_OFFSET); s16 106 drivers/input/misc/kxtj9.c s16 acc_data[3]; /* Data bytes from hardware xL, xH, yL, yH, zL, zH */ s16 107 drivers/input/misc/kxtj9.c s16 x, y, z; s16 110 drivers/input/mouse/synaptics_usb.c x = (s16)(be16_to_cpup((__be16 *)&synusb->data[2]) << 3) >> 7; s16 111 drivers/input/mouse/synaptics_usb.c y = (s16)(be16_to_cpup((__be16 *)&synusb->data[4]) << 3) >> 7; s16 163 drivers/input/tablet/pegasus_notetaker.c input_report_abs(dev, ABS_X, (s16)x); s16 557 drivers/input/touchscreen/rohm_bu21023.c pos[0].x = ((s16)READ_POS_BUF(POS_X1_H) << 2) | s16 559 drivers/input/touchscreen/rohm_bu21023.c pos[0].y = ((s16)READ_POS_BUF(POS_Y1_H) << 2) | s16 561 drivers/input/touchscreen/rohm_bu21023.c pos[1].x = ((s16)READ_POS_BUF(POS_X2_H) << 2) | s16 563 drivers/input/touchscreen/rohm_bu21023.c pos[1].y = ((s16)READ_POS_BUF(POS_Y2_H) << 2) | s16 102 drivers/iommu/arm-smmu.c s16 smendx[]; s16 1038 drivers/iommu/arm-smmu.c cfg->smendx[i] = (s16)idx; s16 408 drivers/isdn/mISDN/l1oip_core.c if (((s16)(timebase - rx_counter)) >= 0) { s16 40 drivers/macintosh/windfarm_ad7417_sensor.c s16 raw; s16 167 drivers/macintosh/windfarm_pm81.c s16 offset0; s16 169 drivers/macintosh/windfarm_pm81.c s16 offset1; s16 182 drivers/macintosh/windfarm_pm81.c s16 offset0; s16 184 drivers/macintosh/windfarm_pm81.c s16 offset1; s16 80 drivers/media/dvb-frontends/cx24113.c s16 tuner_gain_thres; s16 188 drivers/media/dvb-frontends/cx24113.c s16 power_estimation) s16 492 drivers/media/dvb-frontends/cx24113.c s16 s, i; s16 133 drivers/media/dvb-frontends/dib0090.c s16 wbd_target; /* in dB */ s16 135 drivers/media/dvb-frontends/dib0090.c s16 rf_gain_limit; /* take-over-point: where to split between bb and rf gain */ s16 136 drivers/media/dvb-frontends/dib0090.c s16 current_gain; /* keeps the currently programmed gain */ s16 151 drivers/media/dvb-frontends/dib0090.c s16 adc_diff; s16 152 drivers/media/dvb-frontends/dib0090.c s16 min_adc_diff; s16 174 drivers/media/dvb-frontends/dib0090.c s16 temperature; s16 857 drivers/media/dvb-frontends/dib0090.c s16 range; s16 858 drivers/media/dvb-frontends/dib0090.c s16 slope; s16 860 drivers/media/dvb-frontends/dib0090.c static u16 slopes_to_scale(const struct slope *slopes, u8 num, s16 val) s16 882 drivers/media/dvb-frontends/dib0090.c static s16 dib0090_wbd_to_db(struct dib0090_state *state, u16 wbd) s16 890 drivers/media/dvb-frontends/dib0090.c return -640 + (s16) slopes_to_scale(dib0090_wbd_slopes, ARRAY_SIZE(dib0090_wbd_slopes), wbd); s16 916 drivers/media/dvb-frontends/dib0090.c static void dib0090_gain_apply(struct dib0090_state *state, s16 gain_delta, s16 top_delta, u8 force) s16 932 drivers/media/dvb-frontends/dib0090.c if (top_delta >= ((s16) (state->rf_ramp[0] << WBD_ALPHA) - state->rf_gain_limit)) /* overflow */ s16 942 drivers/media/dvb-frontends/dib0090.c if (gain_delta >= ((s16) gain - state->current_gain)) /* overflow */ s16 1158 drivers/media/dvb-frontends/dib0090.c s16 wbd_error = 0, adc_error = 0; s16 1200 drivers/media/dvb-frontends/dib0090.c s16 wbd = 0, i, cnt; s16 1236 drivers/media/dvb-frontends/dib0090.c adc_error = (s16) (((s32) ADC_TARGET) - adc); s16 2077 drivers/media/dvb-frontends/dib0090.c s16 adc_target; s16 2181 drivers/media/dvb-frontends/dib0090.c s16 val; s16 2203 drivers/media/dvb-frontends/dib0090.c state->temperature = ((s16) ((val - state->adc_diff) * 180) >> 8) + 55; s16 128 drivers/media/dvb-frontends/dib3000mc.c static int dib3000mc_set_timing(struct dib3000mc_state *state, s16 nfft, u32 bw, u8 update_offset) s16 142 drivers/media/dvb-frontends/dib3000mc.c s16 tim_offs = dib3000mc_read_word(state, 416); s16 305 drivers/media/dvb-frontends/dib3000mc.c static void dib3000mc_set_impulse_noise(struct dib3000mc_state *state, u8 mode, s16 nfft) s16 454 drivers/media/dvb-frontends/dib3000mc.c static void dib3000mc_set_adp_cfg(struct dib3000mc_state *state, s16 qam) s16 1191 drivers/media/dvb-frontends/dib7000p.c static s16 notch[] = { 16143, 14402, 12238, 9713, 6902, 3888, 759, -2392 }; s16 88 drivers/media/dvb-frontends/dib8000.c s16 ber_monitored_layer; s16 278 drivers/media/dvb-frontends/dib8000.c static const s16 coeff_2k_sb_1seg_dqpsk[8] = { s16 283 drivers/media/dvb-frontends/dib8000.c static const s16 coeff_2k_sb_1seg[8] = { s16 287 drivers/media/dvb-frontends/dib8000.c static const s16 coeff_2k_sb_3seg_0dqpsk_1dqpsk[8] = { s16 292 drivers/media/dvb-frontends/dib8000.c static const s16 coeff_2k_sb_3seg_0dqpsk[8] = { s16 297 drivers/media/dvb-frontends/dib8000.c static const s16 coeff_2k_sb_3seg_1dqpsk[8] = { s16 302 drivers/media/dvb-frontends/dib8000.c static const s16 coeff_2k_sb_3seg[8] = { s16 307 drivers/media/dvb-frontends/dib8000.c static const s16 coeff_4k_sb_1seg_dqpsk[8] = { s16 312 drivers/media/dvb-frontends/dib8000.c static const s16 coeff_4k_sb_1seg[8] = { s16 317 drivers/media/dvb-frontends/dib8000.c static const s16 coeff_4k_sb_3seg_0dqpsk_1dqpsk[8] = { s16 322 drivers/media/dvb-frontends/dib8000.c static const s16 coeff_4k_sb_3seg_0dqpsk[8] = { s16 327 drivers/media/dvb-frontends/dib8000.c static const s16 coeff_4k_sb_3seg_1dqpsk[8] = { s16 332 drivers/media/dvb-frontends/dib8000.c static const s16 coeff_4k_sb_3seg[8] = { s16 337 drivers/media/dvb-frontends/dib8000.c static const s16 coeff_8k_sb_1seg_dqpsk[8] = { s16 342 drivers/media/dvb-frontends/dib8000.c static const s16 coeff_8k_sb_1seg[8] = { s16 347 drivers/media/dvb-frontends/dib8000.c static const s16 coeff_8k_sb_3seg_0dqpsk_1dqpsk[8] = { s16 352 drivers/media/dvb-frontends/dib8000.c static const s16 coeff_8k_sb_3seg_0dqpsk[8] = { s16 357 drivers/media/dvb-frontends/dib8000.c static const s16 coeff_8k_sb_3seg_1dqpsk[8] = { s16 362 drivers/media/dvb-frontends/dib8000.c static const s16 coeff_8k_sb_3seg[8] = { s16 367 drivers/media/dvb-frontends/dib8000.c static const s16 ana_fe_coeff_3seg[24] = { s16 371 drivers/media/dvb-frontends/dib8000.c static const s16 ana_fe_coeff_1seg[24] = { s16 375 drivers/media/dvb-frontends/dib8000.c static const s16 ana_fe_coeff_13seg[24] = { s16 2101 drivers/media/dvb-frontends/dib8000.c static void dib8000_load_ana_fe_coefs(struct dib8000_state *state, const s16 *ana_fe) s16 2189 drivers/media/dvb-frontends/dib8000.c const s16 *ncoeff; s16 2676 drivers/media/dvb-frontends/dib8000.c s16 unit_khz_dds_val; s16 1036 drivers/media/dvb-frontends/drx39xyj/drx_driver.h s16 im; s16 1038 drivers/media/dvb-frontends/drx39xyj/drx_driver.h s16 re; s16 1464 drivers/media/dvb-frontends/drx39xyj/drx_driver.h s16 volume; /*< volume, range -114 to 12 dB */ s16 1471 drivers/media/dvb-frontends/drx39xyj/drx_driver.h s16 strength_left; /*< quasi-peak, left speaker */ s16 1472 drivers/media/dvb-frontends/drx39xyj/drx_driver.h s16 strength_right; /*< quasi-peak, right speaker */ s16 1653 drivers/media/dvb-frontends/drx39xyj/drx_driver.h s16 nicam_gain; s16 1660 drivers/media/dvb-frontends/drx39xyj/drx_driver.h s16 volume; /* dB */ s16 1832 drivers/media/dvb-frontends/drx39xyj/drx_driver.h s16 osc_clock_deviation; s16 4063 drivers/media/dvb-frontends/drx39xyj/drxj.c s16 err; s16 4102 drivers/media/dvb-frontends/drx39xyj/drxj.c if ((err == (s16) SCU_RAM_PARAM_0_RESULT_UNKSTD) s16 4103 drivers/media/dvb-frontends/drx39xyj/drxj.c || (err == (s16) SCU_RAM_PARAM_0_RESULT_UNKCMD) s16 4104 drivers/media/dvb-frontends/drx39xyj/drxj.c || (err == (s16) SCU_RAM_PARAM_0_RESULT_INVPAR) s16 4105 drivers/media/dvb-frontends/drx39xyj/drxj.c || (err == (s16) SCU_RAM_PARAM_0_RESULT_SIZE) s16 9926 drivers/media/dvb-frontends/drx39xyj/drxj.c s16 nyquist_coeffs[4][(NYQFILTERLEN + 1) / 2] = { s16 292 drivers/media/dvb-frontends/drx39xyj/drxj.h s16 peak_filter; /* -8 .. 15 */ s16 333 drivers/media/dvb-frontends/drx39xyj/drxj.h s16 coef0; /* -256 .. 255 */ s16 334 drivers/media/dvb-frontends/drx39xyj/drxj.h s16 coef1; /* -256 .. 255 */ s16 335 drivers/media/dvb-frontends/drx39xyj/drxj.h s16 coef2; /* -256 .. 255 */ s16 336 drivers/media/dvb-frontends/drx39xyj/drxj.h s16 coef3; /* -256 .. 255 */}; s16 383 drivers/media/dvb-frontends/drx39xyj/drxj.h s16 video_agc_gain; /* -75 .. 1972 in 0.1 dB steps */ s16 384 drivers/media/dvb-frontends/drx39xyj/drxj.h s16 audio_agc_gain; /* -4 .. 1020 in 0.1 dB steps */ s16 464 drivers/media/dvb-frontends/drx39xyj/drxj.h s16 atv_top_equ0[DRXJ_COEF_IDX_MAX]; /*< shadow of ATV_TOP_EQU0__A */ s16 465 drivers/media/dvb-frontends/drx39xyj/drxj.h s16 atv_top_equ1[DRXJ_COEF_IDX_MAX]; /*< shadow of ATV_TOP_EQU1__A */ s16 466 drivers/media/dvb-frontends/drx39xyj/drxj.h s16 atv_top_equ2[DRXJ_COEF_IDX_MAX]; /*< shadow of ATV_TOP_EQU2__A */ s16 467 drivers/media/dvb-frontends/drx39xyj/drxj.h s16 atv_top_equ3[DRXJ_COEF_IDX_MAX]; /*< shadow of ATV_TOP_EQU3__A */ s16 469 drivers/media/dvb-frontends/drx39xyj/drxj.h s16 atv_top_vid_peak; /*< shadow of ATV_TOP_VID_PEAK__A */ s16 35 drivers/media/dvb-frontends/drxd.h s16(*osc_deviation) (void *priv, s16 dev, int flag); s16 129 drivers/media/dvb-frontends/drxd_hard.c s16 osc_clock_deviation; s16 1590 drivers/media/dvb-frontends/drxd_hard.c s16 oscClockDeviation; s16 1591 drivers/media/dvb-frontends/drxd_hard.c s16 Diff; s16 1491 drivers/media/dvb-frontends/drxk_hard.c s16 err; s16 1502 drivers/media/dvb-frontends/drxk_hard.c err = (s16)result[0]; s16 297 drivers/media/dvb-frontends/drxk_hard.h s16 m_atv_top_vid_peak; s16 792 drivers/media/dvb-frontends/lgs8gxx.c s16 max_strength = 0; s16 835 drivers/media/dvb-frontends/lgs8gxx.c s16 v = 0; s16 119 drivers/media/dvb-frontends/m88rs2000.c static int m88rs2000_set_carrieroffset(struct dvb_frontend *fe, s16 offset) s16 603 drivers/media/dvb-frontends/m88rs2000.c s16 offset = 0; s16 627 drivers/media/dvb-frontends/m88rs2000.c offset = (s16)((s32)tuner_freq - c->frequency); s16 489 drivers/media/dvb-frontends/mt312.c s16 err_db; s16 496 drivers/media/dvb-frontends/mt312.c err_db = (s16) (((buf[1] & 0x03) << 14) | buf[2] << 6) >> 6; s16 538 drivers/media/dvb-frontends/mxl5xx.c p->cnr.stat[0].svalue = (s16)reg_data * 10; s16 615 drivers/media/dvb-frontends/mxl5xx.c p->strength.stat[0].svalue = (s16) reg_data * 10; /* fix scale */ s16 164 drivers/media/dvb-frontends/stb0899_priv.h s16 derot_freq; /* Current derotator frequency (Hz) */ s16 165 drivers/media/dvb-frontends/stb0899_priv.h s16 derot_percent; s16 167 drivers/media/dvb-frontends/stb0899_priv.h s16 direction; /* Current derotator search direction */ s16 168 drivers/media/dvb-frontends/stb0899_priv.h s16 derot_step; /* Derotator step (binary value) */ s16 169 drivers/media/dvb-frontends/stb0899_priv.h s16 t_derot; /* Derotator time constant (ms) */ s16 170 drivers/media/dvb-frontends/stb0899_priv.h s16 t_data; /* Data recovery time constant (ms) */ s16 171 drivers/media/dvb-frontends/stb0899_priv.h s16 sub_dir; /* Direction of the next sub range */ s16 173 drivers/media/dvb-frontends/stb0899_priv.h s16 t_agc1; /* Agc1 time constant (ms) */ s16 174 drivers/media/dvb-frontends/stb0899_priv.h s16 t_agc2; /* Agc2 time constant (ms) */ s16 185 drivers/media/dvb-frontends/stb0899_priv.h s16 step_size; /* Carrier frequency search step size */ s16 600 drivers/media/dvb-frontends/stv0299.c derot_freq = (s32)(s16) ((stv0299_readreg (state, 0x22) << 8) s16 960 drivers/media/dvb-frontends/stv0900_core.c s16 freq_s16 ; s16 992 drivers/media/dvb-frontends/stv0900_core.c freq_s16 = (s16)freq; s16 1002 drivers/media/dvb-frontends/stv0900_core.c freq_s16 = (s16)freq; s16 1400 drivers/media/dvb-frontends/stv090x.c s16 freq; s16 1453 drivers/media/dvb-frontends/stv090x.c freq = (s16) freq_abs; s16 1463 drivers/media/dvb-frontends/stv090x.c freq = (s16) freq_abs; s16 137 drivers/media/dvb-frontends/stv0910.c s16 value; s16 40 drivers/media/dvb-frontends/stv6111.c s16 value; s16 140 drivers/media/dvb-frontends/tda10021.c s16 SFIL=0; s16 159 drivers/media/dvb-frontends/tda10023.c s16 SFIL=0; s16 106 drivers/media/dvb-frontends/ves1820.c s16 SFIL = 0; s16 62 drivers/media/i2c/mt9v011.c s16 red_bal, blue_bal; s16 138 drivers/media/i2c/mt9v011.c static u16 calc_mt9v011_gain(s16 lineargain) s16 180 drivers/media/i2c/mt9v011.c s16 bal; s16 89 drivers/media/i2c/tda1997x.c s16 offint1; s16 90 drivers/media/i2c/tda1997x.c s16 offint2; s16 91 drivers/media/i2c/tda1997x.c s16 offint3; s16 93 drivers/media/i2c/tda1997x.c s16 p11coef; s16 94 drivers/media/i2c/tda1997x.c s16 p12coef; s16 95 drivers/media/i2c/tda1997x.c s16 p13coef; s16 96 drivers/media/i2c/tda1997x.c s16 p21coef; s16 97 drivers/media/i2c/tda1997x.c s16 p22coef; s16 98 drivers/media/i2c/tda1997x.c s16 p23coef; s16 99 drivers/media/i2c/tda1997x.c s16 p31coef; s16 100 drivers/media/i2c/tda1997x.c s16 p32coef; s16 101 drivers/media/i2c/tda1997x.c s16 p33coef; s16 103 drivers/media/i2c/tda1997x.c s16 offout1; s16 104 drivers/media/i2c/tda1997x.c s16 offout2; s16 105 drivers/media/i2c/tda1997x.c s16 offout3; s16 652 drivers/media/i2c/tda1997x.c s16 code_gy; s16 653 drivers/media/i2c/tda1997x.c s16 code_bu; s16 654 drivers/media/i2c/tda1997x.c s16 code_rv; s16 117 drivers/media/i2c/vpx3220.c s16 data; s16 93 drivers/media/pci/cx88/cx88-dsp.c static u32 int_goertzel(s16 x[], u32 N, u32 freq) s16 127 drivers/media/pci/cx88/cx88-dsp.c static u32 freq_magnitude(s16 x[], u32 N, u32 freq) s16 134 drivers/media/pci/cx88/cx88-dsp.c static u32 noise_magnitude(s16 x[], u32 N, u32 freq_start, u32 freq_end) s16 157 drivers/media/pci/cx88/cx88-dsp.c static s32 detect_a2_a2m_eiaj(struct cx88_core *core, s16 x[], u32 N) s16 224 drivers/media/pci/cx88/cx88-dsp.c static s32 detect_btsc(struct cx88_core *core, s16 x[], u32 N) s16 237 drivers/media/pci/cx88/cx88-dsp.c static s16 *read_rds_samples(struct cx88_core *core, u32 *N) s16 240 drivers/media/pci/cx88/cx88-dsp.c s16 *samples; s16 274 drivers/media/pci/cx88/cx88-dsp.c s16 *samples; s16 194 drivers/media/pci/ddbridge/ddbridge-mci.h s16 channel_power; s16 196 drivers/media/pci/ddbridge/ddbridge-mci.h s16 band_power; s16 201 drivers/media/pci/ddbridge/ddbridge-mci.h s16 signal_to_noise; s16 202 drivers/media/pci/ddbridge/ddbridge-mci.h s16 rsvd2; s16 214 drivers/media/pci/ddbridge/ddbridge-mci.h s16 i; s16 215 drivers/media/pci/ddbridge/ddbridge-mci.h s16 q; s16 948 drivers/media/pci/ngene/ngene-cards.c static s16 osc_deviation(void *priv, s16 deviation, int flag) s16 964 drivers/media/pci/ngene/ngene-cards.c (s16)data); s16 967 drivers/media/pci/ngene/ngene-cards.c return (s16) data; s16 58 drivers/media/pci/saa7134/saa7134-alsa.c s16 irq; s16 477 drivers/media/pci/saa7164/saa7164-api.c s16 v, min, max; s16 509 drivers/media/pci/saa7164/saa7164-api.c (0x01 << 8) | VOLUME_CONTROL, sizeof(s16), &v); s16 515 drivers/media/pci/saa7164/saa7164-api.c (0x02 << 8) | VOLUME_CONTROL, sizeof(s16), &v); s16 536 drivers/media/pci/ttpci/av7110_hw.c s16 i; s16 609 drivers/media/pci/ttpci/av7110_hw.c static int av7110_fw_query(struct av7110 *av7110, u16 tag, u16* buf, s16 length) s16 161 drivers/media/pci/ttpci/dvb_filter.h s16 vbv_delay; s16 199 drivers/media/pci/ttpci/dvb_filter.h s16 last_frame_centre_horizontal_offset; s16 200 drivers/media/pci/ttpci/dvb_filter.h s16 last_frame_centre_vertical_offset; s16 210 drivers/media/pci/ttpci/dvb_filter.h s16 frame_centre_horizontal_offset[OFF_SIZE]; s16 212 drivers/media/pci/ttpci/dvb_filter.h s16 frame_centre_vertical_offset[OFF_SIZE]; s16 214 drivers/media/pci/ttpci/dvb_filter.h s16 temporal_reference[2]; s16 296 drivers/media/platform/sti/hva/hva-h264.c s16 slice_alpha_c0_offset_div2; s16 297 drivers/media/platform/sti/hva/hva-h264.c s16 slice_beta_offset_div2; s16 299 drivers/media/platform/sti/hva/hva-h264.c s16 chroma_qp_index_offset; s16 329 drivers/media/platform/sti/hva/hva-h264.c s16 gmv_x; s16 330 drivers/media/platform/sti/hva/hva-h264.c s16 gmv_y; s16 54 drivers/media/platform/vicodec/codec-fwht.c rlc(const s16 *in, __be16 *output, int blocktype) s16 56 drivers/media/platform/vicodec/codec-fwht.c s16 block[8 * 8]; s16 57 drivers/media/platform/vicodec/codec-fwht.c s16 *wp = block; s16 114 drivers/media/platform/vicodec/codec-fwht.c derlc(const __be16 **rlc_in, s16 *dwht_out, const __be16 *end_of_input) s16 120 drivers/media/platform/vicodec/codec-fwht.c s16 block[8 * 8 + 16]; s16 121 drivers/media/platform/vicodec/codec-fwht.c s16 *wp = block; s16 137 drivers/media/platform/vicodec/codec-fwht.c s16 in; s16 195 drivers/media/platform/vicodec/codec-fwht.c static void quantize_intra(s16 *coeff, s16 *de_coeff, u16 qp) s16 211 drivers/media/platform/vicodec/codec-fwht.c static void dequantize_intra(s16 *coeff) s16 221 drivers/media/platform/vicodec/codec-fwht.c static void quantize_inter(s16 *coeff, s16 *de_coeff, u16 qp) s16 237 drivers/media/platform/vicodec/codec-fwht.c static void dequantize_inter(s16 *coeff) s16 247 drivers/media/platform/vicodec/codec-fwht.c static void noinline_for_stack fwht(const u8 *block, s16 *output_block, s16 254 drivers/media/platform/vicodec/codec-fwht.c s16 *out = output_block; s16 382 drivers/media/platform/vicodec/codec-fwht.c fwht16(const s16 *block, s16 *output_block, int stride, int intra) s16 386 drivers/media/platform/vicodec/codec-fwht.c const s16 *tmp = block; s16 387 drivers/media/platform/vicodec/codec-fwht.c s16 *out = output_block; s16 466 drivers/media/platform/vicodec/codec-fwht.c ifwht(const s16 *block, s16 *output_block, int intra) s16 474 drivers/media/platform/vicodec/codec-fwht.c const s16 *tmp = block; s16 475 drivers/media/platform/vicodec/codec-fwht.c s16 *out = output_block; s16 576 drivers/media/platform/vicodec/codec-fwht.c static void fill_encoder_block(const u8 *input, s16 *dst, s16 588 drivers/media/platform/vicodec/codec-fwht.c static int var_intra(const s16 *input) s16 592 drivers/media/platform/vicodec/codec-fwht.c const s16 *tmp = input; s16 604 drivers/media/platform/vicodec/codec-fwht.c static int var_inter(const s16 *old, const s16 *new) s16 615 drivers/media/platform/vicodec/codec-fwht.c decide_blocktype(const u8 *cur, const u8 *reference, s16 *deltablock, s16 618 drivers/media/platform/vicodec/codec-fwht.c s16 tmp[64]; s16 619 drivers/media/platform/vicodec/codec-fwht.c s16 old[64]; s16 620 drivers/media/platform/vicodec/codec-fwht.c s16 *work = tmp; s16 642 drivers/media/platform/vicodec/codec-fwht.c static void fill_decoder_block(u8 *dst, const s16 *input, int stride, s16 660 drivers/media/platform/vicodec/codec-fwht.c static void add_deltas(s16 *deltas, const u8 *ref, int stride, s16 690 drivers/media/platform/vicodec/codec-fwht.c s16 deltablock[64]; s16 735 drivers/media/platform/vicodec/codec-fwht.c s16 hdr = ntohs(*last_rlco); s16 841 drivers/media/platform/vicodec/codec-fwht.c s16 copy[8 * 8]; s16 115 drivers/media/platform/vicodec/codec-fwht.h s16 coeffs[8 * 8]; s16 116 drivers/media/platform/vicodec/codec-fwht.h s16 de_coeffs[8 * 8]; s16 117 drivers/media/platform/vicodec/codec-fwht.h s16 de_fwht[8 * 8]; s16 1543 drivers/media/radio/radio-wl1273.c tuner->signal = (s16) val; s16 1900 drivers/media/radio/radio-wl1273.c dev_info(dev, "RX signal strength: %d\n", (s16) val); s16 962 drivers/media/tuners/tuner-xc2028.c s16 afc_reg = 0; s16 1059 drivers/media/usb/dvb-usb/az6027.c s16 ret; s16 378 drivers/media/usb/dvb-usb/dib0700_core.c s16 ret; s16 76 drivers/media/usb/go7007/go7007-fw.c static const s16 converge_speed_ip[101] = { s16 90 drivers/media/usb/go7007/go7007-fw.c static const s16 converge_speed_ipb[101] = { s16 104 drivers/media/usb/go7007/go7007-fw.c static const s16 LAMBDA_table[4][101] = { s16 430 drivers/media/usb/gspca/gl860/gl860.c switch (*(s16 *) data) { s16 102 drivers/media/usb/gspca/ov519.c s16 sensor_reg_cache[256]; s16 870 drivers/media/usb/gspca/ov534.c s16 huesin; s16 871 drivers/media/usb/gspca/ov534.c s16 huecos; s16 288 drivers/media/usb/gspca/sn9c20x.c static const s16 hsv_red_x[] = { s16 336 drivers/media/usb/gspca/sn9c20x.c static const s16 hsv_red_y[] = { s16 384 drivers/media/usb/gspca/sn9c20x.c static const s16 hsv_green_x[] = { s16 432 drivers/media/usb/gspca/sn9c20x.c static const s16 hsv_green_y[] = { s16 480 drivers/media/usb/gspca/sn9c20x.c static const s16 hsv_blue_x[] = { s16 528 drivers/media/usb/gspca/sn9c20x.c static const s16 hsv_blue_y[] = { s16 2078 drivers/media/usb/gspca/sn9c20x.c s16 new_exp; s16 1865 drivers/media/usb/gspca/sonixj.c const s16 *uv; s16 1867 drivers/media/usb/gspca/sonixj.c static const s16 uv_com[6] = { /* same as reg84 in signed decimal */ s16 1871 drivers/media/usb/gspca/sonixj.c static const s16 uv_mi0360b[6] = { s16 52 drivers/media/usb/gspca/stv06xx/stv06xx_st6422.c static int setexposure(struct sd *sd, s16 expo); s16 238 drivers/media/usb/gspca/stv06xx/stv06xx_st6422.c static int setexposure(struct sd *sd, s16 expo) s16 287 drivers/media/usb/msi2500/msi2500.c s16 *s16src = (s16 *)src; s16 135 drivers/mfd/rave-sp.c s16 temp[2]; s16 110 drivers/misc/altera-stapl/altera-comp.c offset = altera_read_packed(in, altera_bits_req((s16) s16 166 drivers/misc/bh1770glc.c static const s16 prox_rates_hz[] = {100, 50, 33, 25, 14, 10, 5, 2}; s16 167 drivers/misc/bh1770glc.c static const s16 prox_rates_ms[] = {10, 20, 30, 40, 70, 100, 200, 500}; s16 173 drivers/misc/bh1770glc.c static const s16 lux_rates_hz[] = {10, 5, 2, 1, 0}; s16 89 drivers/misc/cxl/trace.h TP_PROTO(struct cxl_context *ctx, u64 wed, s16 num_interrupts, u64 amr), s16 100 drivers/misc/cxl/trace.h __field(s16, num_interrupts) s16 116 drivers/misc/lis3lv02d/lis3lv02d.c static s16 lis3lv02d_read_8(struct lis3lv02d *lis3, int reg) s16 125 drivers/misc/lis3lv02d/lis3lv02d.c static s16 lis3lv02d_read_12(struct lis3lv02d *lis3, int reg) s16 132 drivers/misc/lis3lv02d/lis3lv02d.c return (s16)((hi << 8) | lo); s16 136 drivers/misc/lis3lv02d/lis3lv02d.c static s16 lis331dlh_read_data(struct lis3lv02d *lis3, int reg) s16 145 drivers/misc/lis3lv02d/lis3lv02d.c return (s16) v >> lis3->shift_adj; s16 182 drivers/misc/lis3lv02d/lis3lv02d.c position[i] = (s16)le16_to_cpu(data[i]); s16 256 drivers/misc/lis3lv02d/lis3lv02d.c static int lis3lv02d_selftest(struct lis3lv02d *lis3, s16 results[3]) s16 259 drivers/misc/lis3lv02d/lis3lv02d.c s16 x, y, z; s16 769 drivers/misc/lis3lv02d/lis3lv02d.c s16 values[3]; s16 276 drivers/misc/lis3lv02d/lis3lv02d.h s16 (*read_data) (struct lis3lv02d *lis3, int reg); s16 54 drivers/mmc/host/sdhci-of-arasan.c s16 shift; s16 144 drivers/mmc/host/sdhci-of-arasan.c s16 shift = fld->shift; s16 172 drivers/mtd/nand/raw/atmel/pmecc.c s16 *partial_syn; s16 173 drivers/mtd/nand/raw/atmel/pmecc.c s16 *si; s16 174 drivers/mtd/nand/raw/atmel/pmecc.c s16 *lmu; s16 175 drivers/mtd/nand/raw/atmel/pmecc.c s16 *smu; s16 371 drivers/mtd/nand/raw/atmel/pmecc.c user->partial_syn = (s16 *)PTR_ALIGN(user + 1, sizeof(u16)); s16 451 drivers/mtd/nand/raw/atmel/pmecc.c s16 *alpha_to = user->gf_tables->alpha_to; s16 452 drivers/mtd/nand/raw/atmel/pmecc.c s16 *index_of = user->gf_tables->index_of; s16 453 drivers/mtd/nand/raw/atmel/pmecc.c s16 *partial_syn = user->partial_syn; s16 454 drivers/mtd/nand/raw/atmel/pmecc.c s16 *si; s16 463 drivers/mtd/nand/raw/atmel/pmecc.c memset(&si[1], 0, sizeof(s16) * ((2 * strength) - 1)); s16 478 drivers/mtd/nand/raw/atmel/pmecc.c s16 tmp; s16 489 drivers/mtd/nand/raw/atmel/pmecc.c s16 *lmu = user->lmu; s16 490 drivers/mtd/nand/raw/atmel/pmecc.c s16 *si = user->si; s16 498 drivers/mtd/nand/raw/atmel/pmecc.c s16 *index_of = user->gf_tables->index_of; s16 499 drivers/mtd/nand/raw/atmel/pmecc.c s16 *alpha_to = user->gf_tables->alpha_to; s16 502 drivers/mtd/nand/raw/atmel/pmecc.c s16 *smu = user->smu; s16 516 drivers/mtd/nand/raw/atmel/pmecc.c memset(smu, 0, sizeof(s16) * num); s16 530 drivers/mtd/nand/raw/atmel/pmecc.c memset(&smu[num], 0, sizeof(s16) * num); s16 542 drivers/mtd/nand/raw/atmel/pmecc.c memset(&smu[(strength + 1) * num], 0, sizeof(s16) * num); s16 598 drivers/mtd/nand/raw/atmel/pmecc.c s16 a, b, c; s16 628 drivers/mtd/nand/raw/atmel/pmecc.c s16 a, b, c; s16 649 drivers/mtd/nand/raw/atmel/pmecc.c s16 *smu = user->smu; s16 215 drivers/net/ethernet/amd/lance.c s16 buf_length; /* This length is 2s complement (negative)! */ s16 216 drivers/net/ethernet/amd/lance.c s16 msg_length; /* This length is "normal". */ s16 221 drivers/net/ethernet/amd/lance.c s16 length; /* Length is 2s complement (negative)! */ s16 222 drivers/net/ethernet/amd/lance.c s16 misc; s16 199 drivers/net/ethernet/amd/sunlance.c s16 length; /* This length is 2s complement (negative)! s16 209 drivers/net/ethernet/amd/sunlance.c s16 length; /* Length is 2s complement (negative)! */ s16 698 drivers/net/ethernet/atheros/atlx/atl1.c s16 mii_autoneg_adv_reg; s16 699 drivers/net/ethernet/atheros/atlx/atl1.c s16 mii_1000t_ctrl_reg; s16 2563 drivers/net/ethernet/atheros/atlx/atl2.c s16 mii_autoneg_adv_reg; s16 2884 drivers/net/ethernet/broadcom/bnx2.c if (((s16) ((s16) last_idx - (s16) hw_cons)) > 0) { s16 747 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define SUB_S16(a, b) (s16)((s16)(a) - (s16)(b)) s16 739 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h s16 used; s16 754 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h return (s16)(txdata->tx_ring_size) - used; s16 3185 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c time64_t start, s16 start_utc, u16 total_segs, s16 437 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h s16 access; /* time (ms) to access mailbox */ s16 438 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h s16 execute; /* time (ms) to execute */ s16 1065 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h s16 weight; /* percent weight */ s16 1066 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h s16 pktsize; /* average packet size */ s16 280 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_common.h s16 access; /* time (ms) to access mailbox */ s16 281 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_common.h s16 execute; /* time (ms) to execute */ s16 424 drivers/net/ethernet/intel/fm10k/fm10k.h s16 unused = ring->next_to_clean - ring->next_to_use - 1; s16 607 drivers/net/ethernet/intel/fm10k/fm10k_tlv.c static const s16 test_s16 = -0x1234; s16 722 drivers/net/ethernet/intel/fm10k/fm10k_tlv.c s16 result_s16; s16 124 drivers/net/ethernet/intel/fm10k/fm10k_tlv.h fm10k_tlv_attr_get_value(attr, ptr, sizeof(s16)) s16 686 drivers/net/ethernet/intel/i40e/i40e.h s16 vlan; s16 800 drivers/net/ethernet/intel/i40e/i40e.h s16 vf_id; /* Virtual function ID for SRIOV VSIs */ s16 1039 drivers/net/ethernet/intel/i40e/i40e.h const u8 *macaddr, s16 vlan); s16 1041 drivers/net/ethernet/intel/i40e/i40e.h void i40e_del_filter(struct i40e_vsi *vsi, const u8 *macaddr, s16 vlan); s16 1113 drivers/net/ethernet/intel/i40e/i40e.h int i40e_add_vlan_all_mac(struct i40e_vsi *vsi, s16 vid); s16 1115 drivers/net/ethernet/intel/i40e/i40e.h void i40e_rm_vlan_all_mac(struct i40e_vsi *vsi, s16 vid); s16 1121 drivers/net/ethernet/intel/i40e/i40e_main.c const u8 *macaddr, s16 vlan) s16 1231 drivers/net/ethernet/intel/i40e/i40e_main.c s16 pvid = le16_to_cpu(vsi->info.pvid); s16 1352 drivers/net/ethernet/intel/i40e/i40e_main.c const u8 *macaddr, s16 vlan) s16 1446 drivers/net/ethernet/intel/i40e/i40e_main.c void i40e_del_filter(struct i40e_vsi *vsi, const u8 *macaddr, s16 vlan) s16 2761 drivers/net/ethernet/intel/i40e/i40e_main.c int i40e_add_vlan_all_mac(struct i40e_vsi *vsi, s16 vid) s16 2832 drivers/net/ethernet/intel/i40e/i40e_main.c void i40e_rm_vlan_all_mac(struct i40e_vsi *vsi, s16 vid) s16 880 drivers/net/ethernet/intel/i40e/i40e_txrx.c #define TX_WAKE_THRESHOLD ((s16)(DESC_NEEDED * 2)) s16 3748 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c int i40e_vc_process_vf_msg(struct i40e_pf *pf, s16 vf_id, u32 v_opcode, s16 3752 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c int local_vf_id = vf_id - (s16)hw->func_caps.vf_base_id; s16 69 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.h s16 vf_id; s16 121 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.h int i40e_vc_process_vf_msg(struct i40e_pf *pf, s16 vf_id, u32 v_opcode, s16 307 drivers/net/ethernet/intel/iavf/iavf_txrx.c #define TX_WAKE_THRESHOLD ((s16)(DESC_NEEDED * 2)) s16 236 drivers/net/ethernet/intel/ice/ice.h s16 vf_id; /* VF ID for SR-IOV VSIs */ s16 108 drivers/net/ethernet/intel/ice/ice_txrx.c s16 i = tx_ring->next_to_clean; s16 201 drivers/net/ethernet/intel/ice/ice_txrx.c #define TX_WAKE_THRESHOLD ((s16)(DESC_NEEDED * 2)) s16 2905 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c s16 vf_id = le16_to_cpu(event->desc.retval); s16 63 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.h s16 vf_id; /* VF ID in the PF space */ s16 2473 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c s16 devctl2; s16 8197 drivers/net/ethernet/mellanox/mlxsw/reg.h ((s16)((GENMASK(15, 0) + (v_) + 1) \ s16 8272 drivers/net/ethernet/mellanox/mlxsw/reg.h s16 temp; s16 736 drivers/net/ethernet/netronome/nfp/bpf/jit.c s16 len = abs(meta->ldst_gather_len); s16 2733 drivers/net/ethernet/netronome/nfp/bpf/jit.c s16 range_start = meta->pkt_cache.range_start; s16 2734 drivers/net/ethernet/netronome/nfp/bpf/jit.c s16 range_end = meta->pkt_cache.range_end; s16 2760 drivers/net/ethernet/netronome/nfp/bpf/jit.c s16 range_start = meta->pkt_cache.range_start; s16 2761 drivers/net/ethernet/netronome/nfp/bpf/jit.c s16 insn_off = meta->insn.off - range_start; s16 4088 drivers/net/ethernet/netronome/nfp/bpf/jit.c s16 prev_ld_off, prev_st_off; s16 4137 drivers/net/ethernet/netronome/nfp/bpf/jit.c s16 head_ld_off, head_st_off, ld_off; s16 4211 drivers/net/ethernet/netronome/nfp/bpf/jit.c s16 prev_ld_off = prev_ld->off; s16 4212 drivers/net/ethernet/netronome/nfp/bpf/jit.c s16 prev_st_off = prev_st->off; s16 4213 drivers/net/ethernet/netronome/nfp/bpf/jit.c s16 head_ld_off = head_ld_meta->insn.off; s16 4273 drivers/net/ethernet/netronome/nfp/bpf/jit.c s16 range_start = 0, range_end = 0; s16 4324 drivers/net/ethernet/netronome/nfp/bpf/jit.c s16 new_start = range_start; s16 4325 drivers/net/ethernet/netronome/nfp/bpf/jit.c s16 end, off = insn->off; s16 4326 drivers/net/ethernet/netronome/nfp/bpf/jit.c s16 new_end = range_end; s16 307 drivers/net/ethernet/netronome/nfp/bpf/main.h s16 ldst_gather_len; s16 310 drivers/net/ethernet/netronome/nfp/bpf/main.h s16 range_start; s16 311 drivers/net/ethernet/netronome/nfp/bpf/main.h s16 range_end; s16 1051 drivers/net/ethernet/packetengines/yellowfin.c s16 frame_status; s16 363 drivers/net/ethernet/qlogic/qed/qed_ll2.c num_bds = ((s16)new_idx - (s16)p_tx->bds_idx); s16 877 drivers/net/ethernet/qlogic/qed/qed_ll2.c num_bds = ((s16)new_idx - (s16)p_tx->bds_idx); s16 565 drivers/net/ethernet/sfc/ptp.c s16 delta; s16 64 drivers/net/phy/aquantia_hwmon.c *value = (s16)temp * 1000 / 256; s16 1191 drivers/net/wireless/ath/ath10k/core.h s16 coverage_class; s16 588 drivers/net/wireless/ath/ath10k/hw.c s16 value) s16 629 drivers/net/wireless/ath/ath10k/hw.h void (*set_coverage_class)(struct ath10k *ar, s16 value); s16 5904 drivers/net/wireless/ath/ath10k/mac.c static void ath10k_mac_op_set_coverage_class(struct ieee80211_hw *hw, s16 value) s16 6423 drivers/net/wireless/ath/ath10k/mac.c s16 txpwr; s16 1171 drivers/net/wireless/ath/ath5k/ath5k.h s16 index; /* current index into nfval */ s16 1172 drivers/net/wireless/ath/ath5k/ath5k.h s16 nfval[ATH5K_NF_CAL_HIST_MAX]; /* last few noise floors */ s16 1421 drivers/net/wireless/ath/ath5k/ath5k.h s16 txp_min_pwr; s16 1422 drivers/net/wireless/ath/ath5k/ath5k.h s16 txp_max_pwr; s16 1423 drivers/net/wireless/ath/ath5k/ath5k.h s16 txp_cur_pwr; s16 1425 drivers/net/wireless/ath/ath5k/ath5k.h s16 txp_offset; s16 1426 drivers/net/wireless/ath/ath5k/ath5k.h s16 txp_ofdm; s16 1427 drivers/net/wireless/ath/ath5k/ath5k.h s16 txp_cck_ofdm_gainf_delta; s16 1429 drivers/net/wireless/ath/ath5k/ath5k.h s16 txp_cck_ofdm_pwr_delta; s16 762 drivers/net/wireless/ath/ath5k/eeprom.c sizeof(s16), GFP_KERNEL); s16 944 drivers/net/wireless/ath/ath5k/eeprom.c sizeof(s16), GFP_KERNEL); s16 982 drivers/net/wireless/ath/ath5k/eeprom.c sizeof(s16), GFP_KERNEL); s16 1238 drivers/net/wireless/ath/ath5k/eeprom.c sizeof(s16), GFP_KERNEL); s16 321 drivers/net/wireless/ath/ath5k/eeprom.h s16 *pd_pwr; s16 328 drivers/net/wireless/ath/ath5k/eeprom.h s16 max_pwr; s16 329 drivers/net/wireless/ath/ath5k/eeprom.h s16 min_pwr; s16 483 drivers/net/wireless/ath/ath5k/eeprom.h s16 ee_noise_floor_thr[AR5K_EEPROM_N_MODES]; s16 695 drivers/net/wireless/ath/ath5k/mac80211-ops.c ath5k_set_coverage_class(struct ieee80211_hw *hw, s16 coverage_class) s16 1550 drivers/net/wireless/ath/ath5k/phy.c static void ath5k_hw_update_nfcal_hist(struct ath5k_hw *ah, s16 noise_floor) s16 1561 drivers/net/wireless/ath/ath5k/phy.c static s16 s16 1564 drivers/net/wireless/ath/ath5k/phy.c s16 sort[ATH5K_NF_CAL_HIST_MAX]; s16 1565 drivers/net/wireless/ath/ath5k/phy.c s16 tmp; s16 1598 drivers/net/wireless/ath/ath5k/phy.c s16 nf, threshold; s16 2417 drivers/net/wireless/ath/ath5k/phy.c static s16 s16 2418 drivers/net/wireless/ath/ath5k/phy.c ath5k_get_interpolated_value(s16 target, s16 x_left, s16 x_right, s16 2419 drivers/net/wireless/ath/ath5k/phy.c s16 y_left, s16 y_right) s16 2421 drivers/net/wireless/ath/ath5k/phy.c s16 ratio, result; s16 2455 drivers/net/wireless/ath/ath5k/phy.c static s16 s16 2457 drivers/net/wireless/ath/ath5k/phy.c const s16 *pwrL, const s16 *pwrR) s16 2460 drivers/net/wireless/ath/ath5k/phy.c s16 min_pwrL, min_pwrR; s16 2461 drivers/net/wireless/ath/ath5k/phy.c s16 pwr_i; s16 2521 drivers/net/wireless/ath/ath5k/phy.c ath5k_create_power_curve(s16 pmin, s16 pmax, s16 2522 drivers/net/wireless/ath/ath5k/phy.c const s16 *pwr, const u8 *vpd, s16 2527 drivers/net/wireless/ath/ath5k/phy.c s16 pwr_i = 2 * pmin; s16 2771 drivers/net/wireless/ath/ath5k/phy.c s16 max_chan_pwr = ah->ah_txpower.txp_max_pwr / 4; s16 2772 drivers/net/wireless/ath/ath5k/phy.c s16 edge_pwr = 0; s16 2826 drivers/net/wireless/ath/ath5k/phy.c edge_pwr = (s16) rep[rep_idx].edge; s16 2877 drivers/net/wireless/ath/ath5k/phy.c ath5k_fill_pwr_to_pcdac_table(struct ath5k_hw *ah, s16* table_min, s16 2878 drivers/net/wireless/ath/ath5k/phy.c s16 *table_max) s16 2883 drivers/net/wireless/ath/ath5k/phy.c s16 min_pwr, max_pwr; s16 2927 drivers/net/wireless/ath/ath5k/phy.c ath5k_combine_linear_pcdac_curves(struct ath5k_hw *ah, s16* table_min, s16 2928 drivers/net/wireless/ath/ath5k/phy.c s16 *table_max, u8 pdcurves) s16 2935 drivers/net/wireless/ath/ath5k/phy.c s16 max_pwr_idx; s16 2936 drivers/net/wireless/ath/ath5k/phy.c s16 min_pwr_idx; s16 2937 drivers/net/wireless/ath/ath5k/phy.c s16 mid_pwr_idx = 0; s16 3078 drivers/net/wireless/ath/ath5k/phy.c s16 *pwr_min, s16 *pwr_max, u8 pdcurves) s16 3083 drivers/net/wireless/ath/ath5k/phy.c s16 pdadc_0; s16 3130 drivers/net/wireless/ath/ath5k/phy.c s16 tmp = pdadc_tmp[0] + pdadc_0 * pwr_step; s16 3157 drivers/net/wireless/ath/ath5k/phy.c while ((pdadc_0 < (s16) pdadc_n) && s16 3159 drivers/net/wireless/ath/ath5k/phy.c s16 tmp = pdadc_tmp[table_size - 1] + s16 3279 drivers/net/wireless/ath/ath5k/phy.c s16 table_min[AR5K_EEPROM_N_PD_GAINS]; s16 3280 drivers/net/wireless/ath/ath5k/phy.c s16 table_max[AR5K_EEPROM_N_PD_GAINS]; s16 3390 drivers/net/wireless/ath/ath5k/phy.c (s16) pcinfo_L->freq, s16 3391 drivers/net/wireless/ath/ath5k/phy.c (s16) pcinfo_R->freq, s16 3392 drivers/net/wireless/ath/ath5k/phy.c (s16) tmpL[i], s16 3393 drivers/net/wireless/ath/ath5k/phy.c (s16) tmpR[i]); s16 3409 drivers/net/wireless/ath/ath5k/phy.c (s16) pcinfo_L->freq, s16 3410 drivers/net/wireless/ath/ath5k/phy.c (s16) pcinfo_R->freq, s16 3414 drivers/net/wireless/ath/ath5k/phy.c (s16) pcinfo_L->freq, s16 3415 drivers/net/wireless/ath/ath5k/phy.c (s16) pcinfo_R->freq, s16 3512 drivers/net/wireless/ath/ath5k/phy.c s16 rate_idx_scaled = 0; s16 980 drivers/net/wireless/ath/ath5k/reset.c s16 cck_ofdm_pwr_delta; s16 502 drivers/net/wireless/ath/ath6kl/core.h s16 noise_floor_calib; s16 503 drivers/net/wireless/ath/ath6kl/core.h s16 cs_rssi; s16 504 drivers/net/wireless/ath/ath6kl/core.h s16 cs_ave_beacon_rssi; s16 1361 drivers/net/wireless/ath/ath6kl/wmi.c static u8 ath6kl_wmi_get_upper_threshold(s16 rssi, s16 1379 drivers/net/wireless/ath/ath6kl/wmi.c static u8 ath6kl_wmi_get_lower_threshold(s16 rssi, s16 1422 drivers/net/wireless/ath/ath6kl/wmi.c s16 rssi; s16 1675 drivers/net/wireless/ath/ath6kl/wmi.c s16 snr; s16 76 drivers/net/wireless/ath/ath6kl/wmi.h static inline a_sle16 a_cpu_to_sle16(s16 val) s16 81 drivers/net/wireless/ath/ath6kl/wmi.h static inline s16 a_sle16_to_cpu(a_sle16 val) s16 87 drivers/net/wireless/ath/ath6kl/wmi.h s16 upper_threshold[SIG_QUALITY_UPPER_THRESH_LVLS]; s16 88 drivers/net/wireless/ath/ath6kl/wmi.h s16 lower_threshold[SIG_QUALITY_LOWER_THRESH_LVLS]; s16 1066 drivers/net/wireless/ath/ath9k/ath9k.h s16 tx99_power; s16 60 drivers/net/wireless/ath/ath9k/calib.c static s16 ath9k_hw_get_default_nf(struct ath_hw *ah, s16 64 drivers/net/wireless/ath/ath9k/calib.c s16 calib_nf = ath9k_hw_get_nf_limits(ah, chan)->cal[chain]; s16 72 drivers/net/wireless/ath/ath9k/calib.c s16 ath9k_hw_getchan_noise(struct ath_hw *ah, struct ath9k_channel *chan, s16 73 drivers/net/wireless/ath/ath9k/calib.c s16 nf) s16 249 drivers/net/wireless/ath/ath9k/calib.c s16 default_nf = ath9k_hw_get_nf_limits(ah, chan)->nominal; s16 258 drivers/net/wireless/ath/ath9k/calib.c s16 nfval; s16 367 drivers/net/wireless/ath/ath9k/calib.c static void ath9k_hw_nf_sanitize(struct ath_hw *ah, s16 *nf) s16 119 drivers/net/wireless/ath/ath9k/calib.h s16 ath9k_hw_getchan_noise(struct ath_hw *ah, struct ath9k_channel *chan, s16 120 drivers/net/wireless/ath/ath9k/calib.h s16 nf); s16 249 drivers/net/wireless/ath/ath9k/common-spectral.c s16 ext_nf; s16 1743 drivers/net/wireless/ath/ath9k/htc_drv_main.c s16 coverage_class) s16 453 drivers/net/wireless/ath/ath9k/hw.h s16 noisefloor; s16 755 drivers/net/wireless/ath/ath9k/hw.h s16 max; s16 756 drivers/net/wireless/ath/ath9k/hw.h s16 min; s16 757 drivers/net/wireless/ath/ath9k/hw.h s16 nominal; s16 758 drivers/net/wireless/ath/ath9k/hw.h s16 cal[AR5416_MAX_CHAINS]; s16 759 drivers/net/wireless/ath/ath9k/hw.h s16 pwr[AR5416_MAX_CHAINS]; s16 809 drivers/net/wireless/ath/ath9k/hw.h s16 nf_override; s16 2010 drivers/net/wireless/ath/ath9k/main.c s16 coverage_class) s16 649 drivers/net/wireless/ath/ath9k/mci.c s16 chan_start, chan_end; s16 281 drivers/net/wireless/broadcom/b43/lo.c s16 max_rx_gain, int use_trsw_rx) s16 297 drivers/net/wireless/broadcom/b43/phy_g.c s16 first, s16 second, s16 third) s16 361 drivers/net/wireless/broadcom/b43/phy_g.c static void b43_nrssi_hw_write(struct b43_wldev *dev, u16 offset, s16 val) s16 368 drivers/net/wireless/broadcom/b43/phy_g.c static s16 b43_nrssi_hw_read(struct b43_wldev *dev, u16 offset) s16 375 drivers/net/wireless/broadcom/b43/phy_g.c return (s16) val; s16 382 drivers/net/wireless/broadcom/b43/phy_g.c s16 tmp; s16 396 drivers/net/wireless/broadcom/b43/phy_g.c s16 i, delta; s16 413 drivers/net/wireless/broadcom/b43/phy_g.c s16 v47F; s16 460 drivers/net/wireless/broadcom/b43/phy_g.c v47F = (s16) ((b43_phy_read(dev, 0x047F) >> 8) & 0x003F); s16 468 drivers/net/wireless/broadcom/b43/phy_g.c (s16) ((b43_phy_read(dev, 0x047F) >> 8) & 0x003F); s16 503 drivers/net/wireless/broadcom/b43/phy_g.c v47F = (s16) ((b43_phy_read(dev, 0x047F) >> 8) & 0x003F); s16 511 drivers/net/wireless/broadcom/b43/phy_g.c (s16) ((b43_phy_read(dev, 0x047F) >> 8) & s16 562 drivers/net/wireless/broadcom/b43/phy_g.c s16 nrssi0, nrssi1; s16 620 drivers/net/wireless/broadcom/b43/phy_g.c nrssi0 = (s16) ((b43_phy_read(dev, 0x047F) >> 8) & 0x003F); s16 652 drivers/net/wireless/broadcom/b43/phy_g.c nrssi1 = (s16) ((b43_phy_read(dev, 0x047F) >> 8) & 0x003F); s16 703 drivers/net/wireless/broadcom/b43/phy_g.c s16 tmp16; s16 2334 drivers/net/wireless/broadcom/b43/phy_g.c s16 pab0, s16 pab1, s16 pab2) s16 2355 drivers/net/wireless/broadcom/b43/phy_g.c s16 pab0, s16 pab1, s16 pab2) s16 2385 drivers/net/wireless/broadcom/b43/phy_g.c s16 pab0, pab1, pab2; s16 2387 drivers/net/wireless/broadcom/b43/phy_g.c pab0 = (s16) (dev->dev->bus_sprom->pa0b0); s16 2388 drivers/net/wireless/broadcom/b43/phy_g.c pab1 = (s16) (dev->dev->bus_sprom->pa0b1); s16 2389 drivers/net/wireless/broadcom/b43/phy_g.c pab2 = (s16) (dev->dev->bus_sprom->pa0b2); s16 159 drivers/net/wireless/broadcom/b43/phy_g.h s16 max_lb_gain; /* Maximum Loopback gain in hdB */ s16 160 drivers/net/wireless/broadcom/b43/phy_g.h s16 trsw_rx_gain; /* TRSW RX gain in hdB */ s16 161 drivers/net/wireless/broadcom/b43/phy_g.h s16 lna_lod_gain; /* LNA lod */ s16 162 drivers/net/wireless/broadcom/b43/phy_g.h s16 lna_gain; /* LNA */ s16 163 drivers/net/wireless/broadcom/b43/phy_g.h s16 pga_gain; /* PGA */ s16 178 drivers/net/wireless/broadcom/b43/phy_g.h s16 nrssi[2]; s16 204 drivers/net/wireless/broadcom/b43/phy_g.h s16 pab0, s16 pab1, s16 pab2); s16 628 drivers/net/wireless/broadcom/b43/phy_ht.c s16 a1[3], b0[3], b1[3]; s16 850 drivers/net/wireless/broadcom/b43/phy_lp.h s16 txpa[3], txpal[3], txpah[3]; s16 581 drivers/net/wireless/broadcom/b43/phy_n.c s16 tmp; s16 583 drivers/net/wireless/broadcom/b43/phy_n.c s16 gain[2]; s16 2715 drivers/net/wireless/broadcom/b43/phy_n.c s16 bcap_val_11b[2], bcap_val_11n_20[2], bcap_val_11n_40[2]; s16 2717 drivers/net/wireless/broadcom/b43/phy_n.c s16 scap_val_11b[2], scap_val_11n_20[2], scap_val_11n_40[2]; s16 4049 drivers/net/wireless/broadcom/b43/phy_n.c s16 a1[2], b0[2], b1[2]; s16 4225 drivers/net/wireless/broadcom/b43/phy_n.c const s16 *uninitialized_var(rf_pwr_offset_table); s16 4948 drivers/net/wireless/broadcom/b43/phy_n.c const s16 *filter) s16 4970 drivers/net/wireless/broadcom/b43/phy_n.c static const s16 dig_filter_phy_rev16[] = { s16 892 drivers/net/wireless/broadcom/b43/phy_n.h s16 a0; s16 893 drivers/net/wireless/broadcom/b43/phy_n.h s16 b0; s16 894 drivers/net/wireless/broadcom/b43/phy_n.h s16 a1; s16 895 drivers/net/wireless/broadcom/b43/phy_n.h s16 b1; s16 2871 drivers/net/wireless/broadcom/b43/tables_nphy.c static const s16 b43_ntab_rf_pwr_offset_2057_rev9_2g[] = { s16 2882 drivers/net/wireless/broadcom/b43/tables_nphy.c static const s16 b43_ntab_rf_pwr_offset_2057_rev9_5g[] = { s16 2892 drivers/net/wireless/broadcom/b43/tables_nphy.c static const s16 b43_ntab_rf_pwr_offset_2057_rev14_2g[] = { s16 3064 drivers/net/wireless/broadcom/b43/tables_nphy.c const s16 tbl_tx_filter_coef_rev4[7][15] = { s16 3732 drivers/net/wireless/broadcom/b43/tables_nphy.c const s16 *b43_ntab_get_rf_pwr_offset_table(struct b43_wldev *dev) s16 195 drivers/net/wireless/broadcom/b43/tables_nphy.h const s16 *b43_ntab_get_rf_pwr_offset_table(struct b43_wldev *dev); s16 214 drivers/net/wireless/broadcom/b43/tables_nphy.h extern const s16 tbl_tx_filter_coef_rev4[7][15]; s16 456 drivers/net/wireless/broadcom/b43legacy/b43legacy.h s16 max_lb_gain; /* Maximum Loopback gain in hdB */ s16 457 drivers/net/wireless/broadcom/b43legacy/b43legacy.h s16 trsw_rx_gain; /* TRSW RX gain in hdB */ s16 458 drivers/net/wireless/broadcom/b43legacy/b43legacy.h s16 lna_lod_gain; /* LNA lod */ s16 459 drivers/net/wireless/broadcom/b43legacy/b43legacy.h s16 lna_gain; /* LNA */ s16 460 drivers/net/wireless/broadcom/b43legacy/b43legacy.h s16 pga_gain; /* PGA */ s16 498 drivers/net/wireless/broadcom/b43legacy/b43legacy.h s16 nrssi[2]; s16 334 drivers/net/wireless/broadcom/b43legacy/phy.c b43legacy_nrssi_hw_write(dev, 0xBA98, (s16)0x7654); s16 1762 drivers/net/wireless/broadcom/b43legacy/phy.c s16 desired_pwr; s16 1763 drivers/net/wireless/broadcom/b43legacy/phy.c s16 estimated_pwr; s16 1764 drivers/net/wireless/broadcom/b43legacy/phy.c s16 pwr_adjust; s16 1765 drivers/net/wireless/broadcom/b43legacy/phy.c s16 radio_att_delta; s16 1766 drivers/net/wireless/broadcom/b43legacy/phy.c s16 baseband_att_delta; s16 1767 drivers/net/wireless/broadcom/b43legacy/phy.c s16 radio_attenuation; s16 1768 drivers/net/wireless/broadcom/b43legacy/phy.c s16 baseband_attenuation; s16 1942 drivers/net/wireless/broadcom/b43legacy/phy.c s8 b43legacy_tssi2dbm_entry(s8 entry [], u8 index, s16 pab0, s16 pab1, s16 pab2) s16 1972 drivers/net/wireless/broadcom/b43legacy/phy.c s16 pab0; s16 1973 drivers/net/wireless/broadcom/b43legacy/phy.c s16 pab1; s16 1974 drivers/net/wireless/broadcom/b43legacy/phy.c s16 pab2; s16 1980 drivers/net/wireless/broadcom/b43legacy/phy.c pab0 = (s16)(dev->dev->bus->sprom.pa0b0); s16 1981 drivers/net/wireless/broadcom/b43legacy/phy.c pab1 = (s16)(dev->dev->bus->sprom.pa0b1); s16 1982 drivers/net/wireless/broadcom/b43legacy/phy.c pab2 = (s16)(dev->dev->bus->sprom.pa0b2); s16 133 drivers/net/wireless/broadcom/b43legacy/radio.c s16 first, s16 second, s16 third) s16 317 drivers/net/wireless/broadcom/b43legacy/radio.c void b43legacy_nrssi_hw_write(struct b43legacy_wldev *dev, u16 offset, s16 val) s16 324 drivers/net/wireless/broadcom/b43legacy/radio.c s16 b43legacy_nrssi_hw_read(struct b43legacy_wldev *dev, u16 offset) s16 331 drivers/net/wireless/broadcom/b43legacy/radio.c return (s16)val; s16 338 drivers/net/wireless/broadcom/b43legacy/radio.c s16 tmp; s16 352 drivers/net/wireless/broadcom/b43legacy/radio.c s16 i; s16 353 drivers/net/wireless/broadcom/b43legacy/radio.c s16 delta; s16 370 drivers/net/wireless/broadcom/b43legacy/radio.c s16 v47F; s16 428 drivers/net/wireless/broadcom/b43legacy/radio.c v47F = (s16)((b43legacy_phy_read(dev, 0x047F) >> 8) & 0x003F); s16 435 drivers/net/wireless/broadcom/b43legacy/radio.c v47F = (s16)((b43legacy_phy_read(dev, 0x047F) >> 8) s16 484 drivers/net/wireless/broadcom/b43legacy/radio.c v47F = (s16)((b43legacy_phy_read(dev, 0x047F) >> 8) & 0x003F); s16 491 drivers/net/wireless/broadcom/b43legacy/radio.c v47F = (s16)((b43legacy_phy_read(dev, 0x047F) >> s16 541 drivers/net/wireless/broadcom/b43legacy/radio.c s16 nrssi0; s16 542 drivers/net/wireless/broadcom/b43legacy/radio.c s16 nrssi1; s16 574 drivers/net/wireless/broadcom/b43legacy/radio.c nrssi0 = (s16)b43legacy_phy_read(dev, 0x0027); s16 597 drivers/net/wireless/broadcom/b43legacy/radio.c nrssi1 = (s16)b43legacy_phy_read(dev, 0x0027); s16 702 drivers/net/wireless/broadcom/b43legacy/radio.c nrssi0 = (s16)((b43legacy_phy_read(dev, 0x047F) >> 8) & 0x003F); s16 743 drivers/net/wireless/broadcom/b43legacy/radio.c nrssi1 = (s16)((b43legacy_phy_read(dev, 0x047F) >> 8) & 0x003F); s16 807 drivers/net/wireless/broadcom/b43legacy/radio.c s16 tmp16; s16 77 drivers/net/wireless/broadcom/b43legacy/radio.h s16 b43legacy_nrssi_hw_read(struct b43legacy_wldev *dev, u16 offset); s16 78 drivers/net/wireless/broadcom/b43legacy/radio.h void b43legacy_nrssi_hw_write(struct b43legacy_wldev *dev, u16 offset, s16 val); s16 2839 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c bss_data.signal = (s16)le16_to_cpu(bi->RSSI) * 100; s16 2950 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c notify_signal = (s16)le16_to_cpu(bi->RSSI) * 100; s16 3082 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c s16 bss_rssi = le16_to_cpu(bss->RSSI); s16 3083 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c s16 bss_info_rssi = le16_to_cpu(bss_info_le->RSSI); s16 1851 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c void brcmf_fws_hdrpull(struct brcmf_if *ifp, s16 siglen, struct sk_buff *skb) s16 1856 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c s16 data_len; s16 14 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.h void brcmf_fws_hdrpull(struct brcmf_if *ifp, s16 siglen, struct sk_buff *skb); s16 855 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c (s16)le16_to_cpu(ioctl_resp->compl_hdr.status); s16 6183 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c s16 phycfg; s16 1990 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c s16 tx0_status, tx1_status; s16 2700 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c s16 nphy_currtemp = 0; s16 2701 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c s16 delta_temp = 0; s16 2752 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c if ((delta_temp < (s16) pi->phycal_tempdelta) && s16 2827 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c s16 nphy_currtemp; s16 293 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h s16 pre_badplcp_cnt; s16 294 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h s16 bphy_pre_badplcp_cnt; s16 306 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h s16 crsminpwr_index; s16 360 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h s16 a0; s16 361 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h s16 b0; s16 362 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h s16 a1; s16 363 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h s16 b1; s16 393 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h s16 pwrdet_2g_a1; s16 394 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h s16 pwrdet_2g_b0; s16 395 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h s16 pwrdet_2g_b1; s16 400 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h s16 pwrdet_5gm_a1; s16 401 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h s16 pwrdet_5gm_b0; s16 402 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h s16 pwrdet_5gm_b1; s16 403 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h s16 pwrdet_5gl_a1; s16 404 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h s16 pwrdet_5gl_b0; s16 405 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h s16 pwrdet_5gl_b1; s16 406 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h s16 pwrdet_5gh_a1; s16 407 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h s16 pwrdet_5gh_b0; s16 408 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h s16 pwrdet_5gh_b1; s16 414 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h s16 a1; s16 415 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h s16 b0; s16 416 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h s16 b1; s16 567 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h s16 txpa_2g[PWRTBL_NUM_COEFF]; s16 568 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h s16 txpa_2g_low_temp[PWRTBL_NUM_COEFF]; s16 569 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h s16 txpa_2g_high_temp[PWRTBL_NUM_COEFF]; s16 570 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h s16 txpa_5g_low[PWRTBL_NUM_COEFF]; s16 571 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h s16 txpa_5g_mid[PWRTBL_NUM_COEFF]; s16 572 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h s16 txpa_5g_hi[PWRTBL_NUM_COEFF]; s16 615 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h s16 radiopwr_override; s16 624 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h s16 ofdm_analog_filt_bw_override; s16 625 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h s16 cck_analog_filt_bw_override; s16 626 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h s16 ofdm_rccal_override; s16 627 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h s16 cck_rccal_override; s16 647 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h s16 phy_txcore_disable_temp; s16 648 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h s16 phy_txcore_enable_temp; s16 663 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h s16 max_lpback_gain_hdB; s16 664 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h s16 trsw_rx_gain_hdB; s16 753 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h s16 nphy_noise_win[PHY_CORE_MAX][PHY_NOISE_WINDOW_SZ]; s16 779 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h s16 nphy_lastcal_temp; s16 789 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h s16 nphy_papd_epsilon_offset[2]; s16 840 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h s16 noise_crsminpwr_index; s16 983 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h s16 wlc_lcnphy_tempsense_new(struct brcms_phy *pi, bool mode); s16 1071 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h s16 wlc_phy_tempsense_nphy(struct brcms_phy *pi); s16 158 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c s16 a; s16 159 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c s16 b; s16 163 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c s16 re; s16 164 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c s16 im; s16 963 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c #define LCNPHY_TEMPSENSE(val) ((s16)((val > 255) ? (val - 512) : val)) s16 1030 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c static int wlc_lcnphy_calc_floor(s16 coeff_x, int type) s16 1236 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c s16 iq_nbits, qq_nbits, arsh, brsh; s16 1374 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c s16 *ptr; s16 1377 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c ptr = kmalloc_array(131, sizeof(s16), GFP_ATOMIC); s16 1832 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c wlc_lcnphy_load_tx_iir_filter(struct brcms_phy *pi, bool is_ofdm, s16 filt_type) s16 1834 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c s16 filt_index = -1; s16 1878 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c filt_index = (s16) j; s16 1892 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c filt_index = (s16) j; s16 2376 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c s16 manp, meas_temp, temp_diff; s16 3457 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c s16 playback_status; s16 3487 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c wlc_lcnphy_set_cc(struct brcms_phy *pi, int cal_type, s16 coeff_x, s16 coeff_y) s16 3568 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c s16 *ptr, int mode) s16 3573 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c s16 imag, real; s16 3656 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c s16 phy_c10, phy_c11, phy_c12, phy_c13, phy_c14, phy_c15, phy_c16; s16 3657 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c s16 *ptr, phy_c17; s16 3667 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c ptr = kmalloc_array(131, sizeof(s16), GFP_ATOMIC); s16 3716 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c phy_c15 = (s16) phy_c3.re; s16 3717 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c phy_c16 = (s16) phy_c3.im; s16 4007 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c s16 wlc_lcnphy_tempsense_new(struct brcms_phy *pi, bool mode) s16 4010 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c s16 avg = 0; s16 4025 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c avg = (s16) (tempsenseval1 - 512); s16 4027 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c avg = (s16) tempsenseval1; s16 4030 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c avg += (s16) (tempsenseval2 - 512); s16 4032 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c avg += (s16) tempsenseval2; s16 4388 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c s16 temp, temp1, temp2, qQ, qQ1, qQ2, shift; s16 4751 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c s16 temp; s16 4756 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c temp = (s16) read_phy_reg(pi, 0x4df); s16 4782 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c temp = (s16) (read_phy_reg(pi, 0x434) & (0xff << 0)); s16 39 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.h s16 lcnphy_pa0b0; s16 40 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.h s16 lcnphy_pa0b1; s16 41 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.h s16 lcnphy_pa0b2; s16 68 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.h s16 lcnphy_ofdmgainidxtableoffset; s16 69 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.h s16 lcnphy_dsssgainidxtableoffset; s16 90 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.h s16 lcnphy_cck_dig_filt_type; s16 91 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.h s16 lcnphy_ofdm_dig_filt_type; s16 13307 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c static s16 nphy_def_lnagains[] = { -2, 10, 19, 25 }; s16 13751 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c static s16 nphy_papd_padgain_dlt_2g_2057rev3n4[] = { s16 13758 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c static s16 nphy_papd_padgain_dlt_2g_2057rev5[] = { s16 13765 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c static s16 nphy_papd_padgain_dlt_2g_2057rev7[] = { s16 14654 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c static s32 get_rf_pwr_offset(struct brcms_phy *pi, s16 pga_gn, s16 pad_gn) s16 14662 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c rfpwr_offset = (s16) s16 14666 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c rfpwr_offset = (s16) s16 14672 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c rfpwr_offset = (s16) s16 14679 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c rfpwr_offset = (s16) s16 14685 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c rfpwr_offset = (s16) s16 15084 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c s16 gain_delta[2]; s16 15101 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c (s16) s16 15106 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c (s16) s16 16592 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c s16 alpha0, alpha1, alpha2; s16 16593 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c s16 beta0, beta1, beta2; s16 16918 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c s16 alpha0, alpha1, alpha2; s16 16919 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c s16 beta0, beta1, beta2; s16 17569 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c s16 a1[2], b0[2], b1[2]; s16 19372 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c s16 pga_gn = 0; s16 19373 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c s16 pad_gn = 0; s16 19442 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c rfpwr_offset = (s16) s16 19446 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c rfpwr_offset = (s16) s16 21868 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c s16 rssi0, rssi1; s16 21960 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c s16 wlc_phy_tempsense_nphy(struct brcms_phy *pi) s16 21975 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c s16 offset = 0; s16 22124 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c offset = (s16) pi->phy_tempsense_offset; s16 22160 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c offset = (s16) pi->phy_tempsense_offset; s16 22234 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c return (s16) radio_temp[0] + offset; s16 22985 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c s16 rxpwr, rxpwr0, rxpwr1; s16 22986 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c s16 phyRx0_l, phyRx2_l; s16 25153 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c s16 phy_b6, phy_b7, phy_b8; s16 25155 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c s16 phy_b10, phy_b11, phy_b12; s16 26122 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c s16 iq_nbits, qq_nbits, brsh, arsh; s16 26203 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c new_comp.a0 = (s16) a & 0x3ff; s16 26204 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c new_comp.b0 = (s16) b & 0x3ff; s16 26207 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c new_comp.a0 = (s16) b & 0x3ff; s16 26208 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c new_comp.b0 = (s16) a & 0x3ff; s16 26213 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c new_comp.a1 = (s16) a & 0x3ff; s16 26214 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c new_comp.b1 = (s16) b & 0x3ff; s16 26217 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c new_comp.a1 = (s16) b & 0x3ff; s16 26218 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c new_comp.b1 = (s16) a & 0x3ff; s16 26905 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c s16 desired_log2_pwr, actual_log2_pwr, delta_pwr; s16 27514 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c s16 curr_hpf1, curr_hpf2, curr_hpf, curr_lna; s16 27515 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c s16 desired_log2_pwr, actual_log2_pwr, hpf_change; s16 27865 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c ((s16) rfpwr_offset) << 4); s16 28539 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c ((s16) rfpwr_offset) << 4); s16 26 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.c s16 qm_muls16(s16 op1, s16 op2) s16 29 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.c if (op1 == (s16) 0x8000 && op2 == (s16) 0x8000) s16 34 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.c return (s16) (result >> 15); s16 59 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.c s16 qm_add16(s16 op1, s16 op2) s16 61 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.c s16 result; s16 64 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.c result = (s16) 0x7fff; s16 66 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.c result = (s16) 0xffff8000; s16 68 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.c result = (s16) temp; s16 78 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.c s16 qm_sub16(s16 op1, s16 op2) s16 80 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.c s16 result; s16 83 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.c result = (s16) 0x7fff; s16 85 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.c result = (s16) 0xffff8000; s16 87 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.c result = (s16) temp; s16 123 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.c s16 qm_shl16(s16 op, int shift) s16 126 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.c s16 result; s16 147 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.c s16 qm_shr16(s16 op, int shift) s16 156 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.c s16 qm_norm32(s32 op) s16 172 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.c static const s16 log_table[] = { s16 232 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.c void qm_log10(s32 N, s16 qN, s16 *log10N, s16 *qLog10N) s16 234 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.c s16 s16norm, s16tableIndex, s16errorApproximation; s16 252 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.c s16tableIndex = (s16) (N >> (32 - (2 + LOG2_LOG_TABLE_SIZE))); s16 256 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.c s16tableIndex & (s16) ((1 << LOG2_LOG_TABLE_SIZE) - 1); s16 269 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.c s16errorApproximation = (s16) qm_mulu16(u16offset, s16 274 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.c s32log = qm_add16((s16) s32log, s16errorApproximation); s16 292 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.c *log10N = qm_muls16((s16) s32log, (s16) LOG10_2); s16 13 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.h s16 qm_muls16(s16 op1, s16 op2); s16 17 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.h s16 qm_add16(s16 op1, s16 op2); s16 19 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.h s16 qm_sub16(s16 op1, s16 op2); s16 23 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.h s16 qm_shl16(s16 op, int shift); s16 25 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.h s16 qm_shr16(s16 op, int shift); s16 27 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.h s16 qm_norm32(s32 op); s16 29 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.h void qm_log10(s32 N, s16 qN, s16 *log10N, s16 *qLog10N); s16 130 drivers/net/wireless/broadcom/brcm80211/brcmsmac/pub.h s16 RSSI; /* receive signal strength (in dBm) */ s16 131 drivers/net/wireless/broadcom/brcm80211/brcmsmac/pub.h s16 SNR; /* receive signal SNR in dB */ s16 484 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c s16 brcms_c_rate_legacy_phyctl(uint rate) s16 238 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.h s16 brcms_c_rate_legacy_phyctl(uint rate); s16 1968 drivers/net/wireless/cisco/airo.c s16 len; s16 2125 drivers/net/wireless/cisco/airo.c s16 len; s16 2196 drivers/net/wireless/cisco/airo.c s16 len; s16 4079 drivers/net/wireless/intel/ipw2x00/ipw2200.c static s16 exponential_average(s16 prev_avg, s16 val, u8 depth) s16 4084 drivers/net/wireless/intel/ipw2x00/ipw2200.c static void average_add(struct average *avg, s16 val) s16 4095 drivers/net/wireless/intel/ipw2x00/ipw2200.c static s16 average_value(struct average *avg) s16 4240 drivers/net/wireless/intel/ipw2x00/ipw2200.c s16 rssi; s16 1070 drivers/net/wireless/intel/ipw2x00/ipw2200.h s16 entries[AVG_ENTRIES]; s16 1199 drivers/net/wireless/intel/ipw2x00/ipw2200.h s16 exp_avg_rssi; s16 1200 drivers/net/wireless/intel/ipw2x00/ipw2200.h s16 exp_avg_noise; s16 1574 drivers/net/wireless/intel/iwlegacy/3945.c ref_temp = (s16) eeprom->groups[ch_info->group_idx].temperature; s16 296 drivers/net/wireless/intel/iwlegacy/3945.h s16 temperature; /* h/w temperature at factory calib this band s16 1020 drivers/net/wireless/intel/iwlegacy/4965.c s16 voltage; s16 1279 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c s16 tx_power) s16 553 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h s16 temp_trips[IWL_MAX_DTS_TRIPS]; s16 555 drivers/net/wireless/intel/iwlwifi/mvm/tt.c return ((s16)le16_to_cpu(*(__le16 *)a) - s16 556 drivers/net/wireless/intel/iwlwifi/mvm/tt.c (s16)le16_to_cpu(*(__le16 *)b)); s16 589 drivers/net/wireless/intel/iwlwifi/mvm/tt.c sort(cmd.thresholds, idx, sizeof(s16), compare_temps, NULL); s16 671 drivers/net/wireless/intel/iwlwifi/mvm/tt.c s16 temperature; s16 691 drivers/net/wireless/intel/iwlwifi/mvm/tt.c temperature = (s16)(temp / 1000); s16 1003 drivers/net/wireless/intersil/hostap/hostap_main.c local->comms_qual = (s16) le16_to_cpu(sq.comm_qual); s16 1004 drivers/net/wireless/intersil/hostap/hostap_main.c local->avg_signal = (s16) le16_to_cpu(sq.signal_level); s16 1005 drivers/net/wireless/intersil/hostap/hostap_main.c local->avg_noise = (s16) le16_to_cpu(sq.noise_level); s16 289 drivers/net/wireless/intersil/hostap/hostap_proc.c (s16) le16_to_cpu(scanres->anl), s16 290 drivers/net/wireless/intersil/hostap/hostap_proc.c (s16) le16_to_cpu(scanres->sl), s16 566 drivers/net/wireless/intersil/p54/eeprom.c entry[i].mul = (s16) le16_to_cpu(cal[i].mul); s16 567 drivers/net/wireless/intersil/p54/eeprom.c entry[i].add = (s16) le16_to_cpu(cal[i].add); s16 584 drivers/net/wireless/intersil/p54/eeprom.c entry[i].mul = (s16) le16_to_cpu(cal[i].mul); s16 585 drivers/net/wireless/intersil/p54/eeprom.c entry[i].add = (s16) le16_to_cpu(cal[i].add); s16 845 drivers/net/wireless/intersil/p54/eeprom.c *(dst++) = (s16) le16_to_cpu(*(src++)); s16 694 drivers/net/wireless/intersil/p54/main.c s16 coverage_class) s16 118 drivers/net/wireless/intersil/p54/p54.h s16 mul; s16 119 drivers/net/wireless/intersil/p54/p54.h s16 add; s16 120 drivers/net/wireless/intersil/p54/p54.h s16 longbow_unkn; s16 121 drivers/net/wireless/intersil/p54/p54.h s16 longbow_unk2; s16 506 drivers/net/wireless/marvell/libertas/cmd.c int lbs_get_tx_power(struct lbs_private *priv, s16 *curlevel, s16 *minlevel, s16 507 drivers/net/wireless/marvell/libertas/cmd.c s16 *maxlevel) s16 536 drivers/net/wireless/marvell/libertas/cmd.c int lbs_set_tx_power(struct lbs_private *priv, s16 dbm) s16 103 drivers/net/wireless/marvell/libertas/cmd.h int lbs_get_tx_power(struct lbs_private *priv, s16 *curlevel, s16 *minlevel, s16 104 drivers/net/wireless/marvell/libertas/cmd.h s16 *maxlevel); s16 124 drivers/net/wireless/marvell/libertas/cmd.h int lbs_set_tx_power(struct lbs_private *priv, s16 dbm); s16 176 drivers/net/wireless/marvell/libertas/dev.h s16 txpower_cur; s16 177 drivers/net/wireless/marvell/libertas/dev.h s16 txpower_min; s16 178 drivers/net/wireless/marvell/libertas/dev.h s16 txpower_max; s16 645 drivers/net/wireless/marvell/libertas/main.c s16 curlevel = 0, minlevel = 0, maxlevel = 0; s16 146 drivers/net/wireless/marvell/mwifiex/fw.h #define CAL_SNR(RSSI, NF) ((s16)((s16)(RSSI)-(s16)(NF))) s16 147 drivers/net/wireless/marvell/mwifiex/fw.h #define CAL_RSSI(SNR, NF) ((s16)((s16)(SNR)+(s16)(NF))) s16 85 drivers/net/wireless/marvell/mwifiex/ie.c s16 input_len, tlv_len; s16 576 drivers/net/wireless/marvell/mwifiex/main.h s16 data_rssi_last; s16 577 drivers/net/wireless/marvell/mwifiex/main.h s16 data_nf_last; s16 578 drivers/net/wireless/marvell/mwifiex/main.h s16 data_rssi_avg; s16 579 drivers/net/wireless/marvell/mwifiex/main.h s16 data_nf_avg; s16 580 drivers/net/wireless/marvell/mwifiex/main.h s16 bcn_rssi_last; s16 581 drivers/net/wireless/marvell/mwifiex/main.h s16 bcn_nf_last; s16 582 drivers/net/wireless/marvell/mwifiex/main.h s16 bcn_rssi_avg; s16 583 drivers/net/wireless/marvell/mwifiex/main.h s16 bcn_nf_avg; s16 2728 drivers/net/wireless/marvell/mwifiex/scan.c rssi = (s32)(s16)(le16_to_cpu(scan_info_tlv->rssi)); s16 624 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt7603_set_coverage_class(struct ieee80211_hw *hw, s16 coverage_class) s16 115 drivers/net/wireless/mediatek/mt76/mt7603/mt7603.h s16 coverage_class; s16 1246 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c s16 power; s16 88 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h s16 power; s16 543 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76x0_phy_tssi_adc_calibrate(struct mt76x02_dev *dev, s16 *ltssi, s16 665 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c static s16 mt76x0_phy_lin2db(u16 val) s16 669 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c s16 exp = -4; s16 697 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c s16 ltssi) s16 826 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c s16 ltssi; s16 30 drivers/net/wireless/mediatek/mt76/mt76x02.h s16 temp_offset; s16 166 drivers/net/wireless/mediatek/mt76/mt76x02.h s16 coverage_class); s16 548 drivers/net/wireless/mediatek/mt76/mt76x02_util.c s16 coverage_class) s16 228 drivers/net/wireless/mediatek/mt7601u/mt7601u.h s16 tssi_init_hvga_offset_db; s16 595 drivers/net/wireless/mediatek/mt7601u/phy.c static s16 lin2dBd(u16 linear) s16 627 drivers/net/wireless/mediatek/mt7601u/phy.c mt7601u_set_initial_tssi(struct mt7601u_dev *dev, s16 tssi_db, s16 tssi_hvga_db) s16 643 drivers/net/wireless/mediatek/mt7601u/phy.c s16 tssi_init_db, tssi_init_hvga_db; s16 781 drivers/net/wireless/mediatek/mt7601u/phy.c static s16 s16 784 drivers/net/wireless/mediatek/mt7601u/phy.c static const s16 decode_tb[] = { 0, 8847, -5734, -5734 }; s16 879 drivers/net/wireless/mediatek/mt7601u/phy.c s16 tssi_m_dc, tssi_db; s16 96 drivers/net/wireless/rsi/rsi_91x_core.c s16 txop = common->tx_qinfo[q_num].txop * 32; s16 951 drivers/net/wireless/rsi/rsi_91x_mac80211.c s16 sta_id = 0; s16 792 drivers/net/wireless/rsi/rsi_91x_mgmt.c s16 sta_id, s16 27 drivers/net/wireless/rsi/rsi_main.h s16 sta_id; s16 721 drivers/net/wireless/rsi/rsi_mgmt.h u8 key_type, u8 key_id, u32 cipher, s16 sta_id, s16 1213 drivers/net/wireless/ti/wlcore/acx.c bool enable, s16 thold, u8 hyst) s16 1090 drivers/net/wireless/ti/wlcore/acx.h bool enable, s16 thold, u8 hyst); s16 103 drivers/net/wireless/ti/wlcore/testmode.c s16 radio_status = (s16) le16_to_cpu(params->radio_status); s16 395 drivers/net/xen-netback/rx.c rsp->status = (s16)offset; s16 1117 drivers/nvme/host/pci.c struct nvme_queue *nvmeq, s16 vector) s16 66 drivers/pinctrl/freescale/pinctrl-imx.h s16 mux_reg; s16 67 drivers/pinctrl/freescale/pinctrl-imx.h s16 conf_reg; s16 1536 drivers/platform/x86/acer-wmi.c (s16)out_obj->package.elements[0].integer.value); s16 1538 drivers/platform/x86/acer-wmi.c (s16)out_obj->package.elements[1].integer.value); s16 1540 drivers/platform/x86/acer-wmi.c (s16)out_obj->package.elements[2].integer.value); s16 247 drivers/platform/x86/compal-laptop.c static s16 ec_read_s16(u8 addr) s16 249 drivers/platform/x86/compal-laptop.c return (s16) ec_read_u16(addr); s16 484 drivers/platform/x86/dcdbas.c *((s16 *)&apm_cmd->parameters.shortreq.parm[0]) = (s16) 0; s16 489 drivers/platform/x86/dcdbas.c *((s16 *)&apm_cmd->parameters.shortreq.parm[0]) = (s16) 20; s16 1665 drivers/power/supply/bq27xxx_battery.c val->intval = (int)((s16)curr) * 1000; s16 87 drivers/power/supply/cpcap-battery.c s16 offset; /* 9 bits */ s16 217 drivers/power/supply/cpcap-battery.c s16 offset, u32 divider) s16 260 drivers/power/supply/cpcap-battery.c s16 offset) s16 269 drivers/power/supply/cpcap-battery.c s16 offset) s16 316 drivers/power/supply/cpcap-battery.c ccd->accumulator = ((s16)buf[3]) << 16; s16 340 drivers/power/supply/cpcap-battery.c s16 offset; s16 353 drivers/power/supply/cpcap-battery.c acc = (s16)value; s16 67 drivers/power/supply/ds2780_battery.c static int ds2780_read16(struct ds2780_device_info *dev_info, s16 *val, s16 159 drivers/power/supply/ds2780_battery.c s16 voltage_raw; s16 187 drivers/power/supply/ds2780_battery.c s16 temperature_raw; s16 218 drivers/power/supply/ds2780_battery.c s16 current_raw; s16 263 drivers/power/supply/ds2780_battery.c s16 current_raw; s16 71 drivers/power/supply/ds2781_battery.c static int ds2781_read16(struct ds2781_device_info *dev_info, s16 *val, s16 219 drivers/power/supply/ds2781_battery.c s16 current_raw; s16 264 drivers/power/supply/ds2781_battery.c s16 current_raw; s16 84 drivers/power/supply/ds2782_battery.c s16 *val) s16 100 drivers/power/supply/ds2782_battery.c s16 raw; s16 121 drivers/power/supply/ds2782_battery.c s16 raw; s16 147 drivers/power/supply/ds2782_battery.c s16 raw; s16 176 drivers/power/supply/ds2782_battery.c s16 raw; s16 187 drivers/power/supply/ds2782_battery.c s16 raw; s16 294 drivers/power/supply/sbs-battery.c ret = (s16)ret; s16 406 drivers/power/supply/sbs-battery.c ret = (s16)ret; s16 1247 drivers/rtc/rtc-ds1307.c s16 temp; s16 290 drivers/rtc/rtc-ds3232.c s16 temp; s16 205 drivers/rtc/rtc-tps65910.c s16 value; s16 224 drivers/rtc/rtc-tps65910.c value = (s16)calibration; s16 273 drivers/rtc/rtc-tps65910.c *calibration = (s16)value; s16 1919 drivers/s390/net/lcs.c s16 value; s16 340 drivers/s390/net/lcs.h s16 port_protocol_no; s16 1226 drivers/scsi/aacraid/aacraid.h s16 type; // used for verification of structure s16 1227 drivers/scsi/aacraid/aacraid.h s16 size; s16 1293 drivers/scsi/aacraid/aacraid.h s16 type; s16 1294 drivers/scsi/aacraid/aacraid.h s16 size; s16 1413 drivers/scsi/dpt_i2o.c s16 scsi_id; s16 2492 drivers/scsi/dpt_i2o.c s16 scsi_id; s16 1019 drivers/scsi/qedi/qedi_fw.c s16 tid = 0; s16 1121 drivers/scsi/qedi/qedi_fw.c s16 tid = 0; s16 1369 drivers/scsi/qedi/qedi_fw.c s16 rval = 0; s16 1370 drivers/scsi/qedi/qedi_fw.c s16 tid = 0; s16 1471 drivers/scsi/qedi/qedi_fw.c s16 tid = 0; s16 1558 drivers/scsi/qedi/qedi_fw.c s16 tid = 0; s16 1609 drivers/scsi/qedi/qedi_fw.c s16 tid = 0; s16 1709 drivers/scsi/qedi/qedi_fw.c s16 tid = 0; s16 2051 drivers/scsi/qedi/qedi_fw.c s16 tid = 0; s16 1757 drivers/scsi/qedi/qedi_main.c s16 tmp_idx; s16 1794 drivers/scsi/qedi/qedi_main.c void qedi_get_task_tid(struct qedi_ctx *qedi, u32 itt, s16 *tid) s16 362 drivers/spi/spi-mpc52xx-psc.c u32 size, unsigned int irq, s16 bus_num) s16 443 drivers/spi/spi-mpc52xx-psc.c s16 id = -1; s16 79 drivers/staging/comedi/drivers/jr3_pci.c s16 link_amount; s16 169 drivers/staging/comedi/drivers/jr3_pci.c s16 fx; s16 170 drivers/staging/comedi/drivers/jr3_pci.c s16 fy; s16 171 drivers/staging/comedi/drivers/jr3_pci.c s16 fz; s16 172 drivers/staging/comedi/drivers/jr3_pci.c s16 mx; s16 173 drivers/staging/comedi/drivers/jr3_pci.c s16 my; s16 174 drivers/staging/comedi/drivers/jr3_pci.c s16 mz; s16 17 drivers/staging/comedi/drivers/jr3_pci.h static inline s16 get_s16(const s32 __iomem *p) s16 19 drivers/staging/comedi/drivers/jr3_pci.h return (s16)readl(p); s16 22 drivers/staging/comedi/drivers/jr3_pci.h static inline void set_s16(s32 __iomem *p, s16 val) s16 1930 drivers/staging/comedi/drivers/s626.c s16 dacdata = (s16)data[i]; s16 92 drivers/staging/comedi/drivers/usbduxfast.c #define SIZEADIN (sizeof(s16)) s16 21 drivers/staging/fbtft/fb_ili9481.c static const s16 default_init_sequence[] = { s16 20 drivers/staging/fbtft/fb_ili9486.c static const s16 default_init_sequence[] = { s16 18 drivers/staging/fbtft/fb_s6d02a1.c static const s16 default_init_sequence[] = { s16 19 drivers/staging/fbtft/fb_st7735r.c static const s16 default_init_sequence[] = { s16 562 drivers/staging/fbtft/fbtft-core.c const s16 *init_sequence = display->init_sequence; s16 116 drivers/staging/fbtft/fbtft.h const s16 *init_sequence; s16 219 drivers/staging/fbtft/fbtft.h const s16 *init_sequence; s16 171 drivers/staging/iio/accel/adis16203.c s16 val16; s16 210 drivers/staging/iio/accel/adis16240.c s16 val = 0; s16 222 drivers/staging/iio/accel/adis16240.c val = (s16)(val << shift) >> shift; s16 253 drivers/staging/iio/accel/adis16240.c s16 val16; s16 469 drivers/staging/iio/resolver/ad2s1210.c s16 vel; s16 384 drivers/staging/media/allegro-dvt/allegro-core.c s16 ip_delta; s16 385 drivers/staging/media/allegro-dvt/allegro-core.c s16 pb_delta; s16 465 drivers/staging/media/allegro-dvt/allegro-core.c s16 pps_qp; s16 9217 drivers/staging/media/ipu3/ipu3-tables.c const s16 imgu_css_gdc_lut[4][256] = { { s16 34 drivers/staging/media/ipu3/ipu3-tables.h s16 x[IMGU_XNR3_VMEM_LUT_LEN]; s16 35 drivers/staging/media/ipu3/ipu3-tables.h s16 a[IMGU_XNR3_VMEM_LUT_LEN]; s16 36 drivers/staging/media/ipu3/ipu3-tables.h s16 b[IMGU_XNR3_VMEM_LUT_LEN]; s16 37 drivers/staging/media/ipu3/ipu3-tables.h s16 c[IMGU_XNR3_VMEM_LUT_LEN]; s16 44 drivers/staging/media/ipu3/ipu3-tables.h extern const s16 imgu_css_gdc_lut[IMGU_GDC_LUT_UNIT][IMGU_GDC_LUT_LEN]; s16 77 drivers/staging/nvec/nvec_power.c s16 pls; s16 293 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.u.freq.e = (s16)1; s16 1039 drivers/staging/rtl8723bs/core/rtw_cmd.c s16 cam_id = 0; s16 6432 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c s16 cam_id = 0; s16 6470 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c s16 cam_id = 0; s16 666 drivers/staging/rtl8723bs/core/rtw_wlan_util.c static s16 _rtw_camid_search(struct adapter *adapter, u8 *addr, s16 kid) s16 670 drivers/staging/rtl8723bs/core/rtw_wlan_util.c s16 cam_id = -1; s16 692 drivers/staging/rtl8723bs/core/rtw_wlan_util.c s16 rtw_camid_search(struct adapter *adapter, u8 *addr, s16 kid) s16 696 drivers/staging/rtl8723bs/core/rtw_wlan_util.c s16 cam_id = -1; s16 705 drivers/staging/rtl8723bs/core/rtw_wlan_util.c s16 rtw_camid_alloc(struct adapter *adapter, struct sta_info *sta, u8 kid) s16 709 drivers/staging/rtl8723bs/core/rtw_wlan_util.c s16 cam_id = -1; s16 1271 drivers/staging/rtl8723bs/hal/hal_com.c *(s16 *)pValue2 = pHalData->noise[chan]; s16 1615 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c static s16 get_bandwidth_idx(const enum CHANNEL_WIDTH bandwidth) s16 1631 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c static s16 get_rate_sctn_idx(const u8 rate) s16 1681 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c s16 idx_band = -1; s16 1682 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c s16 idx_regulation = -1; s16 1683 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c s16 idx_bandwidth = -1; s16 1684 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c s16 idx_rate_sctn = -1; s16 1685 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c s16 idx_channel = -1; s16 21 drivers/staging/rtl8723bs/hal/odm_NoiseMonitor.c static s16 odm_InbandNoise_Monitor_NSeries( s16 164 drivers/staging/rtl8723bs/hal/odm_NoiseMonitor.c s16 ODM_InbandNoise_Monitor(void *pDM_VOID, u8 bPauseDIG, u8 IGIValue, u32 max_time) s16 29 drivers/staging/rtl8723bs/hal/odm_NoiseMonitor.h s16 noise_all; s16 32 drivers/staging/rtl8723bs/hal/odm_NoiseMonitor.h s16 ODM_InbandNoise_Monitor( s16 465 drivers/staging/rtl8723bs/include/hal_data.h s16 noise[ODM_MAX_CHANNEL_NUM]; s16 638 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h s16 rtw_camid_search(struct adapter *adapter, u8 *addr, s16 kid); s16 639 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h s16 rtw_camid_alloc(struct adapter *adapter, struct sta_info *sta, u8 kid); s16 265 drivers/staging/rtl8723bs/include/rtw_recv.h s16 noise; s16 354 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c s16 tmp_noise = 0; s16 753 drivers/staging/uwb/uwb.h s16 sigma; s16 768 drivers/staging/uwb/uwb.h s16 sigma; s16 67 drivers/staging/vc04_services/bcm2835-audio/vc_vchi_audioserv_defs.h s16 silence; s16 68 drivers/staging/vc04_services/bcm2835-audio/vc_vchi_audioserv_defs.h s16 max_packet; s16 116 drivers/thermal/tegra/soctherm-fuse.c s16 therma, thermb; s16 1345 drivers/thermal/tegra/soctherm.c seq_printf(s, "%d)\n", (s16)state); s16 241 drivers/usb/atm/cxacru.c static ssize_t cxacru_sysfs_showattr_dB(s16 value, char *buf) s16 358 drivers/usb/dwc2/hcd.h s16 num_hs_transfers; s16 113 drivers/usb/dwc2/hcd_queue.c s16 max_claimed_usecs; s16 122 drivers/usb/host/imx21-hcd.c return (s16)((s16)after - (s16)frame) < 0; s16 879 drivers/usb/host/isp1362-hcd.c s16 diff = fno - (u16)urb->start_frame; s16 392 drivers/usb/host/isp1362.h s16 ptd_offset; /* buffer offset in ISP1362 where s16 534 drivers/usb/host/isp1362.h #define frame_before(f1, f2) ((s16)((u16)f1 - (u16)f2) < 0) s16 334 drivers/usb/host/max3421-hcd.c static inline s16 s16 614 drivers/usb/host/ohci-hub.c #define tick_before(t1,t2) ((s16)(((s16)(t1))-((s16)(t2))) < 0) s16 2634 drivers/usb/host/u132-hcd.c #define tick_before(t1, t2) ((s16)(((s16)(t1))-((s16)(t2))) < 0) s16 1114 drivers/vhost/net.c s16 headcount; s16 189 drivers/video/fbdev/aty/mach64_accel.c static inline void draw_rect(s16 x, s16 y, u16 width, u16 height, s16 380 drivers/video/fbdev/omap2/omapfb/dss/manager-sysfs.c s16 *arr; s16 391 drivers/video/fbdev/omap2/omapfb/dss/manager-sysfs.c arr = (s16[]){ coefs.rr, coefs.rg, coefs.rb, s16 83 drivers/video/fbdev/sticore.h s16 power; /* power calculation (in Watts) */ s16 91 drivers/video/fbdev/sticore.h s16 onscreen_x; /* screen width in pixels */ s16 92 drivers/video/fbdev/sticore.h s16 onscreen_y; /* screen height in pixels */ s16 93 drivers/video/fbdev/sticore.h s16 offscreen_x; /* offset width in pixels */ s16 94 drivers/video/fbdev/sticore.h s16 offscreen_y; /* offset height in pixels */ s16 95 drivers/video/fbdev/sticore.h s16 total_x; /* frame buffer width in pixels */ s16 96 drivers/video/fbdev/sticore.h s16 total_y; /* frame buffer height in pixels */ s16 170 drivers/video/fbdev/sticore.h s16 onscreen_x; /* screen width in pixels */ s16 171 drivers/video/fbdev/sticore.h s16 onscreen_y; /* screen height in pixels */ s16 172 drivers/video/fbdev/sticore.h s16 offscreen_x; /* offscreen width in pixels */ s16 173 drivers/video/fbdev/sticore.h s16 offscreen_y; /* offscreen height in pixels */ s16 174 drivers/video/fbdev/sticore.h s16 total_x; /* frame buffer width in pixels */ s16 175 drivers/video/fbdev/sticore.h s16 total_y; /* frame buffer height in pixels */ s16 262 drivers/video/fbdev/sticore.h s16 index; /* index into font table of character */ s16 265 drivers/video/fbdev/sticore.h s16 dest_x; /* X location of character upper left */ s16 266 drivers/video/fbdev/sticore.h s16 dest_y; /* Y location of character upper left */ s16 296 drivers/video/fbdev/sticore.h s16 src_x; /* source upper left pixel x location */ s16 297 drivers/video/fbdev/sticore.h s16 src_y; /* source upper left pixel y location */ s16 298 drivers/video/fbdev/sticore.h s16 dest_x; /* dest upper left pixel x location */ s16 299 drivers/video/fbdev/sticore.h s16 dest_y; /* dest upper left pixel y location */ s16 300 drivers/video/fbdev/sticore.h s16 width; /* block width in pixels */ s16 301 drivers/video/fbdev/sticore.h s16 height; /* block height in pixels */ s16 412 drivers/w1/slaves/w1_therm.c s16 t = le16_to_cpup((__le16 *)rom); s16 831 drivers/xen/gntdev.c s16 __user *status[GNTDEV_COPY_BATCH]; s16 877 drivers/xen/gntdev.c s16 status = batch->ops[i].status; s16 878 drivers/xen/gntdev.c s16 old_status; s16 899 drivers/xen/gntdev.c s16 __user *status) s16 492 fs/compat_ioctl.c if (copy_in_user(&p->l_type, &p32->l_type, sizeof(s16)) || s16 493 fs/compat_ioctl.c copy_in_user(&p->l_whence, &p32->l_whence, sizeof(s16)) || s16 317 fs/hfsplus/hfsplus_raw.h s16 reserved; s16 100 fs/jfs/jfs_btree.h s16 index; /* 2: */ s16 101 fs/jfs/jfs_btree.h s16 lastindex; /* 2: unused */ s16 104 fs/jfs/jfs_dtree.c s16 index; s16 105 fs/jfs/jfs_dtree.c s16 nslot; s16 3000 fs/jfs/jfs_dtree.c s16 pn; s16 3001 fs/jfs/jfs_dtree.c s16 index; s16 3407 fs/jfs/jfs_dtree.c s16 pn; s16 3408 fs/jfs/jfs_dtree.c s16 index; s16 95 fs/jfs/jfs_txnmgr.h s16 lock[24]; /* 48: overlay area */ s16 87 fs/jfs/jfs_types.h s16 maxnpxd; s16 88 fs/jfs/jfs_types.h s16 npxd; s16 80 fs/jfs/jfs_xtree.c s16 index; s16 48 fs/jfs/jfs_xtree.h s16 maxnxad; s16 49 fs/jfs/jfs_xtree.h s16 nxad; s16 19 fs/ntfs/endian.h static inline s16 sle16_to_cpu(sle16 x) s16 34 fs/ntfs/endian.h static inline s16 sle16_to_cpup(sle16 *x) s16 49 fs/ntfs/endian.h static inline sle16 cpu_to_sle16(s16 x) s16 64 fs/ntfs/endian.h static inline sle16 cpu_to_sle16p(s16 *x) s16 329 fs/ocfs2/ocfs2.h s16 s_inode_steal_slot; s16 330 fs/ocfs2/ocfs2.h s16 s_meta_steal_slot; s16 1337 fs/ocfs2/super.c mopt->slot = (s16)option; s16 16 include/asm-generic/compat.h typedef s16 compat_short_t; s16 238 include/linux/clk/ti.h int (*cm_wait_module_ready)(u8 part, s16 prcm_mod, u16 idlest_reg, s16 241 include/linux/clk/ti.h s16 *prcm_inst, u8 *idlest_reg_id); s16 194 include/linux/efi.h s16 timezone; s16 127 include/linux/fsl_devices.h s16 bus_num; s16 45 include/linux/hid.h __s16 s16; s16 67 include/linux/iio/common/cros_ec_sensors_core.h s16 offset; s16 74 include/linux/iio/common/cros_ec_sensors_core.h unsigned long scan_mask, s16 *data); s16 94 include/linux/iio/common/cros_ec_sensors_core.h s16 *data); s16 105 include/linux/iio/common/cros_ec_sensors_core.h s16 *data); s16 115 include/linux/input/mt.h s16 x, y; s16 427 include/linux/kernel.h int __must_check kstrtos16(const char *s, unsigned int base, s16 *res); s16 439 include/linux/kernel.h int __must_check kstrtos16_from_user(const char __user *s, size_t count, unsigned int base, s16 *res); s16 27 include/linux/limits.h #define S16_MAX ((s16)(U16_MAX >> 1)) s16 28 include/linux/limits.h #define S16_MIN ((s16)(-S16_MAX - 1)) s16 123 include/linux/lis3lv02d.h s16 st_min_limits[3]; /* min pass limit x, y, z */ s16 124 include/linux/lis3lv02d.h s16 st_max_limits[3]; /* max pass limit x, y, z */ s16 317 include/linux/moduleparam.h s16 level_min, s16 318 include/linux/moduleparam.h s16 level_max, s16 2051 include/linux/netdevice.h s16 num_tc; s16 118 include/linux/netfilter/nf_conntrack_sip.h unsigned int protoff, s16 off); s16 19 include/linux/omapfb.h s16 nreset_gpio; s16 56 include/linux/platform_data/edma.h const s16 (*rsv_chans)[2]; s16 57 include/linux/platform_data/edma.h const s16 (*rsv_slots)[2]; s16 78 include/linux/platform_data/edma.h const s16 (*xbar_chans)[2]; s16 11 include/linux/platform_data/leds-omap.h s16 gpio; s16 15 include/linux/platform_data/leds-omap.h s16 nr_leds; s16 435 include/linux/spi/spi.h s16 bus_num; s16 101 include/linux/types.h typedef s16 int16_t; s16 158 include/media/tpg/v4l2-tpg.h s16 hue; s16 325 include/media/tpg/v4l2-tpg.h s16 hue) s16 341 include/net/bluetooth/rfcomm.h s16 dev_id; s16 349 include/net/bluetooth/rfcomm.h s16 id; s16 1108 include/net/cfg80211.h s16 power; s16 3125 include/net/cfg80211.h s16 burst_index; s16 1922 include/net/mac80211.h s16 power; s16 2495 include/net/mac80211.h s16 accuracy; s16 3908 include/net/mac80211.h void (*set_coverage_class)(struct ieee80211_hw *hw, s16 coverage_class); s16 298 include/net/netlink.h s16 min, max; s16 1368 include/net/netlink.h static inline int nla_put_s16(struct sk_buff *skb, int attrtype, s16 value) s16 1370 include/net/netlink.h s16 tmp = value; s16 1372 include/net/netlink.h return nla_put(skb, attrtype, sizeof(s16), &tmp); s16 1579 include/net/netlink.h static inline s16 nla_get_s16(const struct nlattr *nla) s16 1581 include/net/netlink.h return *(s16 *) nla_data(nla); s16 62 include/sound/wavefront.h typedef s16 INT16; s16 256 include/sound/wavefront.h s16 frequency_bias; /* ** THIS IS IN MOTOROLA FORMAT!! ** */ s16 428 include/sound/wavefront.h s16 FrequencyBias; s16 439 include/sound/wavefront.h s16 NumberOfSamples; /* log2 of the number of samples */ s16 440 include/sound/wavefront.h s16 SampleNumber[NUM_MIDIKEYS]; s16 444 include/sound/wavefront.h s16 OriginalSample; s16 451 include/sound/wavefront.h s16 FrequencyBias; s16 521 include/sound/wavefront.h s16 key; /* Use WAVEFRONT_PATCH here */ s16 415 include/video/imx-ipu-v3.h s16 coeff[3][3]; /* signed 9-bit integer coefficients */ s16 416 include/video/imx-ipu-v3.h s16 offset[3]; /* signed 11+2-bit fixed point offset */ s16 289 include/video/omapfb_dss.h s16 rr, rg, rb; s16 290 include/video/omapfb_dss.h s16 gr, gg, gb; s16 291 include/video/omapfb_dss.h s16 br, bg, bb; s16 1465 kernel/bpf/btf.c seq_printf(m, "%d", *(s16 *)data); s16 861 kernel/bpf/core.c s16 off = insn->off; s16 898 kernel/bpf/core.c s16 off; s16 1631 kernel/bpf/core.c insn->off = (s16) insn->imm; s16 120 kernel/params.c s16 min_level, s16 121 kernel/params.c s16 max_level, s16 165 kernel/params.c s16 min_level, s16 166 kernel/params.c s16 max_level, s16 400 kernel/params.c s16 level, s16 647 kernel/trace/trace_events_filter.c DEFINE_COMPARISON_PRED(s16); s16 269 kernel/trace/trace_events_hist.c DEFINE_HIST_FIELD_FN(s16); s16 743 kernel/trace/trace_events_hist.c size = sizeof(s16); s16 46 kernel/trace/trace_probe.c DEFINE_BASIC_PRINT_TYPE_FUNC(s16, s16, "%d") s16 89 kernel/trace/trace_probe.c ASSIGN_FETCH_TYPE(s16, u16, 1), s16 159 kernel/trace/trace_probe.h DECLARE_BASIC_PRINT_TYPE_FUNC(s16); s16 161 kernel/trace/tracing_map.c DEFINE_TRACING_MAP_CMP_FN(s16); s16 278 lib/kstrtox.c int kstrtos16(const char *s, unsigned int base, s16 *res) s16 286 lib/kstrtox.c if (tmp != (s16)tmp) s16 408 lib/kstrtox.c kstrto_from_user(kstrtos16_from_user, kstrtos16, s16); s16 29 lib/nlattr.c [NLA_S16] = sizeof(s16), s16 42 lib/nlattr.c [NLA_S16] = sizeof(s16), s16 549 lib/test-kstrtox.c DECLARE_TEST_OK(s16, struct test_s16); s16 569 lib/test-kstrtox.c TEST_OK(kstrtos16, s16, "%hd", test_s16_ok); s16 598 lib/test-kstrtox.c TEST_FAIL(kstrtos16, s16, "%hd", test_s16_fail); s16 143 lib/test_overflow.c DEFINE_TEST_ARRAY(s16) = { s16 265 lib/test_overflow.c DEFINE_TEST_FUNC(s16, "%d"); s16 360 lib/test_overflow.c err |= TEST_ONE_SHIFT(0, 14, s16, 0, false); s16 374 lib/test_overflow.c err |= TEST_ONE_SHIFT(1, 15, s16, 0, true); s16 394 lib/test_overflow.c err |= TEST_ONE_SHIFT(17483, 1, s16, 0, true); s16 405 lib/test_overflow.c err |= TEST_ONE_SHIFT(17483, 2, s16, 0, true); s16 416 lib/test_overflow.c err |= TEST_ONE_SHIFT(0xFFFFU, 0, s16, 0, true); s16 426 lib/test_overflow.c err |= TEST_ONE_SHIFT(-5, 0, s16, 0, true); s16 438 lib/test_overflow.c err |= TEST_ONE_SHIFT(0, -10, s16, 0, true); s16 454 lib/test_overflow.c err |= TEST_ONE_SHIFT(0, 16, s16, 0, true); s16 455 lib/test_overflow.c err |= TEST_ONE_SHIFT(0, 17, s16, 0, true); s16 477 lib/test_overflow.c err |= TEST_ONE_SHIFT(0, 15, s16, 0, false); s16 3143 lib/vsprintf.c s16 field_width; s16 86 mm/slob.c typedef s16 slobidx_t; s16 339 net/batman-adv/bat_iv_ogm.c s16 buff_pos; s16 455 net/batman-adv/types.h s16 tt_buff_len; s16 1006 net/batman-adv/types.h s16 last_changeset_len; s16 34 net/hsr/hsr_framereg.c return (((s16)(b - a)) < 0); s16 18 net/ipv4/fib_lookup.h s16 fa_default; s16 2441 net/mac80211/cfg.c s16 coverage_class; s16 422 net/mac80211/driver-ops.h s16 value) s16 504 net/mac80211/ieee80211_i.h s16 p2p_noa_index; s16 751 net/mac80211/trace.h TP_PROTO(struct ieee80211_local *local, s16 value), s16 757 net/mac80211/trace.h __field(s16, value) s16 842 net/mac80211/trace.h __field(s16, txpwr) s16 1535 net/netfilter/nf_conntrack_sip.c s16 diff, tdiff = 0; s16 304 net/netfilter/nf_nat_sip.c s16 off) s16 224 net/sched/sch_cake.c s16 rate_overhead; s16 69 net/sched/sch_netem.c s16 table[0]; s16 788 net/sched/sch_netem.c d = kvmalloc(sizeof(struct disttable) + n * sizeof(s16), GFP_KERNEL); s16 216 net/smc/smc_cdc.c return (s16)(seq1 - seq2) < 0; s16 136 sound/drivers/opl4/opl4_local.h s16 pitch_offset; s16 52 sound/drivers/opl4/opl4_synth.c static const s16 snd_opl4_pitch_map[0x600] = { s16 12 sound/firewire/oxfw/oxfw-spkr.c s16 volume[6]; s16 13 sound/firewire/oxfw/oxfw-spkr.c s16 volume_min; s16 14 sound/firewire/oxfw/oxfw-spkr.c s16 volume_max; s16 84 sound/firewire/oxfw/oxfw-spkr.c static int avc_audio_feature_volume(struct fw_unit *unit, u8 fb_id, s16 *value, s16 214 sound/firewire/oxfw/oxfw-spkr.c s16 volume; s16 352 sound/mips/sgio2audio.c s16 *dst; s16 372 sound/mips/sgio2audio.c dst = (s16 *)(dst_base + dst_pos); s16 379 sound/mips/sgio2audio.c dst_pos = (dst_pos + 2 * sizeof(s16)) & dst_mask; s16 401 sound/mips/sgio2audio.c s16 *src; s16 419 sound/mips/sgio2audio.c src = (s16 *)(src_base + src_pos); s16 429 sound/mips/sgio2audio.c src_pos = (src_pos + 2 * sizeof(s16)) & src_mask; s16 2710 sound/soc/codecs/arizona.c s16 a = be16_to_cpu(_a); s16 2711 sound/soc/codecs/arizona.c s16 b = be16_to_cpu(_b); s16 2773 sound/soc/codecs/arizona.c s16 val = be16_to_cpu(*data); s16 4607 sound/soc/codecs/madera.c s16 a = be16_to_cpu(_a); s16 4608 sound/soc/codecs/madera.c s16 b = be16_to_cpu(_b); s16 4675 sound/soc/codecs/madera.c s16 val = be16_to_cpu(*data); s16 399 sound/soc/intel/atom/sst-atom-controls.h s16 cell_gain_left; s16 400 sound/soc/intel/atom/sst-atom-controls.h s16 cell_gain_right; s16 704 sound/soc/intel/atom/sst-atom-controls.h s16 l_gain; s16 705 sound/soc/intel/atom/sst-atom-controls.h s16 r_gain; s16 59 sound/soc/ti/omap-mcbsp-st.c s16 taps[128]; /* Sidetone filter coefficients */ s16 61 sound/soc/ti/omap-mcbsp-st.c s16 ch0gain; s16 62 sound/soc/ti/omap-mcbsp-st.c s16 ch1gain; s16 117 sound/soc/ti/omap-mcbsp-st.c static void omap_mcbsp_st_fir_write(struct omap_mcbsp *mcbsp, s16 *fir) s16 155 sound/soc/ti/omap-mcbsp-st.c s16 chgain) s16 179 sound/soc/ti/omap-mcbsp-st.c s16 *chgain) s16 425 sound/soc/ti/omap-mcbsp-st.c s16 chgain; \ s16 486 sound/usb/mixer_scarlett_gen2.c s16 sw_vol[SCARLETT2_ANALOGUE_MAX]; s16 489 sound/usb/mixer_scarlett_gen2.c s16 hw_vol[SCARLETT2_ANALOGUE_MAX]; s16 499 sound/usb/mixer_scarlett_gen2.c s16 master_vol; s16 74 tools/arch/x86/include/asm/orc_types.h s16 sp_offset; s16 75 tools/arch/x86/include/asm/orc_types.h s16 bp_offset; s16 90 tools/arch/x86/include/asm/orc_types.h s16 sp_offset; s16 156 tools/perf/builtin-trace.c s16 args_alignment;