Home
last modified time | relevance | path

Searched refs:sval (Results 1 – 25 of 29) sorted by relevance

12

/linux-6.6.21/arch/arm64/kernel/
Dmodule.c179 s64 sval = do_reloc(op, place, val); in reloc_data() local
195 *(s16 *)place = sval; in reloc_data()
198 if (sval < 0 || sval > U16_MAX) in reloc_data()
202 if (sval < S16_MIN || sval > S16_MAX) in reloc_data()
211 *(s32 *)place = sval; in reloc_data()
214 if (sval < 0 || sval > U32_MAX) in reloc_data()
218 if (sval < S32_MIN || sval > S32_MAX) in reloc_data()
227 *(s64 *)place = sval; in reloc_data()
245 s64 sval; in reloc_insn_movw() local
248 sval = do_reloc(op, place, val); in reloc_insn_movw()
[all …]
/linux-6.6.21/sound/isa/sb/
Demu8000_pcm.c412 #define GET_VAL(sval, iter) \ argument
415 sval = 0; \
416 else if (copy_from_iter(&sval, 2, iter) != 2) \
428 unsigned short sval; \
430 GET_VAL(sval, iter); \
431 EMU8000_SMLD_WRITE(emu, sval); \
473 unsigned short sval; \
475 GET_VAL(sval, iter); \
476 EMU8000_SMLD_WRITE(emu, sval); \
479 GET_VAL(sval, iter); \
[all …]
/linux-6.6.21/drivers/misc/lis3lv02d/
Dlis3lv02d.c959 s32 sval; in lis3lv02d_init_dt() local
1081 if (of_property_read_s32(np, "st,axis-x", &sval) == 0) in lis3lv02d_init_dt()
1082 pdata->axis_x = sval; in lis3lv02d_init_dt()
1083 if (of_property_read_s32(np, "st,axis-y", &sval) == 0) in lis3lv02d_init_dt()
1084 pdata->axis_y = sval; in lis3lv02d_init_dt()
1085 if (of_property_read_s32(np, "st,axis-z", &sval) == 0) in lis3lv02d_init_dt()
1086 pdata->axis_z = sval; in lis3lv02d_init_dt()
1091 if (of_property_read_s32(np, "st,min-limit-x", &sval) == 0) in lis3lv02d_init_dt()
1092 pdata->st_min_limits[0] = sval; in lis3lv02d_init_dt()
1093 if (of_property_read_s32(np, "st,min-limit-y", &sval) == 0) in lis3lv02d_init_dt()
[all …]
/linux-6.6.21/drivers/macintosh/
Dwindfarm_pid.c91 s32 error, target, sval, adj; in wf_cpu_pid_run() local
119 sval = st->param.tmax - (s32)(integ >> 20); in wf_cpu_pid_run()
120 adj = min(st->param.ttarget, sval); in wf_cpu_pid_run()
122 DBG("integ: %lx, sval: %lx, adj: %lx\n", integ, sval, adj); in wf_cpu_pid_run()
/linux-6.6.21/drivers/media/pci/solo6x10/
Dsolo6x10-tw28.c682 char sval; in tw28_set_ctrl_val() local
711 sval = val - 128; in tw28_set_ctrl_val()
713 sval = (char)val; in tw28_set_ctrl_val()
715 TW_HUE_ADDR(ch), sval); in tw28_set_ctrl_val()
738 sval = val - 128; in tw28_set_ctrl_val()
740 sval = (char)val; in tw28_set_ctrl_val()
742 TW_BRIGHTNESS_ADDR(ch), sval); in tw28_set_ctrl_val()
/linux-6.6.21/arch/m68k/q40/
Dq40ints.c135 unsigned char sval=(sound_ticks & 1) ? 128-SVOL : 128+SVOL; in q40_timer_int() local
137 *DAC_LEFT=sval; in q40_timer_int()
138 *DAC_RIGHT=sval; in q40_timer_int()
/linux-6.6.21/drivers/isdn/hardware/mISDN/
Davmfritz.c624 u8 sval; in avm_fritz_interrupt() local
627 sval = inb(fc->addr + 2); in avm_fritz_interrupt()
628 pr_debug("%s: irq stat0 %x\n", fc->name, sval); in avm_fritz_interrupt()
629 if ((sval & AVM_STATUS0_IRQ_MASK) == AVM_STATUS0_IRQ_MASK) { in avm_fritz_interrupt()
636 if (!(sval & AVM_STATUS0_IRQ_ISAC)) { in avm_fritz_interrupt()
640 if (!(sval & AVM_STATUS0_IRQ_HDLC)) in avm_fritz_interrupt()
651 u8 sval; in avm_fritzv2_interrupt() local
654 sval = inb(fc->addr + 2); in avm_fritzv2_interrupt()
655 pr_debug("%s: irq stat0 %x\n", fc->name, sval); in avm_fritzv2_interrupt()
656 if (!(sval & AVM_STATUS0_IRQ_MASK)) { in avm_fritzv2_interrupt()
[all …]
/linux-6.6.21/drivers/pinctrl/qcom/
Dpinctrl-lpass-lpi.c196 unsigned long sval; in lpi_config_set() local
241 sval = ioread32(pctrl->slew_base + LPI_SLEW_RATE_CTL_REG); in lpi_config_set()
242 sval &= ~(LPI_SLEW_RATE_MASK << slew_offset); in lpi_config_set()
243 sval |= arg << slew_offset; in lpi_config_set()
244 iowrite32(sval, pctrl->slew_base + LPI_SLEW_RATE_CTL_REG); in lpi_config_set()
/linux-6.6.21/drivers/media/usb/gspca/
Dov534_9.c1259 s8 sval; in setbrightness() local
1262 sval = brightness; in setbrightness()
1264 val += sval; in setbrightness()
1267 val += sval; in setbrightness()
1269 if (sval < -40) in setbrightness()
1271 else if (sval < 20) in setbrightness()
/linux-6.6.21/tools/testing/selftests/breakpoints/
Dbreakpoint_test.c177 char cval; short sval; int ival; long long lval; in read_var() local
186 sval = *(short *)&dummy_var[i]; in read_var()
/linux-6.6.21/drivers/scsi/sym53c8xx_2/
Dsym_hipd.c1880 tp->head.sval = 0;
1935 u_char sval, wval, uval; local
1940 sval = tp->head.sval;
1946 sval, wval, uval, np->rv_scntl3);
1952 sval = (sval & ~0x1f) | ofs;
1954 sval = (sval & ~0x3f) | ofs;
1962 sval = (sval & ~0xe0) | (fak << 5);
1994 if (tp->head.sval == sval &&
1998 tp->head.sval = sval;
2012 OUTB(np, nc_sxfer, tp->head.sval);
[all …]
Dsym_hipd.h371 /*1*/ u_char sval; /* -> SXFER io register */ member
Dsym_fw1.h938 HADDR_1 (tcb_head.sval),
/linux-6.6.21/drivers/net/ethernet/natsemi/
Dnatsemi.c2772 u16 *sval = (u16 *)newval; in netdev_set_sopass() local
2786 writew(sval[0], ioaddr + RxFilterData); in netdev_set_sopass()
2789 writew(sval[1], ioaddr + RxFilterData); in netdev_set_sopass()
2792 writew(sval[2], ioaddr + RxFilterData); in netdev_set_sopass()
2804 u16 *sval = (u16 *)data; in netdev_get_sopass() local
2808 sval[0] = sval[1] = sval[2] = 0; in netdev_get_sopass()
2816 sval[0] = readw(ioaddr + RxFilterData); in netdev_get_sopass()
2819 sval[1] = readw(ioaddr + RxFilterData); in netdev_get_sopass()
2822 sval[2] = readw(ioaddr + RxFilterData); in netdev_get_sopass()
/linux-6.6.21/tools/perf/util/
Dpmu.h244 int perf_pmu__convert_scale(const char *scale, char **end, double *sval);
Dpmu.c249 int perf_pmu__convert_scale(const char *scale, char **end, double *sval) in perf_pmu__convert_scale() argument
277 *sval = strtod(scale, end); in perf_pmu__convert_scale()
/linux-6.6.21/drivers/media/pci/bt8xx/
Ddst.c429 u64 sval; in dst_set_symbolrate() local
439 sval = srate; in dst_set_symbolrate()
440 sval <<= 20; in dst_set_symbolrate()
441 do_div(sval, 88000); in dst_set_symbolrate()
442 symcalc = (u32) sval; in dst_set_symbolrate()
/linux-6.6.21/drivers/net/ethernet/intel/ixgbe/
Dixgbe_x550.c2008 u32 lval, sval, flx_val; in ixgbe_setup_sgmii() local
2030 IXGBE_SB_IOSF_TARGET_KR_PHY, &sval); in ixgbe_setup_sgmii()
2034 sval |= IXGBE_KRM_SGMII_CTRL_MAC_TAR_FORCE_10_D; in ixgbe_setup_sgmii()
2035 sval |= IXGBE_KRM_SGMII_CTRL_MAC_TAR_FORCE_100_D; in ixgbe_setup_sgmii()
2038 IXGBE_SB_IOSF_TARGET_KR_PHY, sval); in ixgbe_setup_sgmii()
2080 u32 lval, sval, flx_val; in ixgbe_setup_sgmii_fw() local
2102 IXGBE_SB_IOSF_TARGET_KR_PHY, &sval); in ixgbe_setup_sgmii_fw()
2106 sval &= ~IXGBE_KRM_SGMII_CTRL_MAC_TAR_FORCE_10_D; in ixgbe_setup_sgmii_fw()
2107 sval &= ~IXGBE_KRM_SGMII_CTRL_MAC_TAR_FORCE_100_D; in ixgbe_setup_sgmii_fw()
2110 IXGBE_SB_IOSF_TARGET_KR_PHY, sval); in ixgbe_setup_sgmii_fw()
/linux-6.6.21/drivers/scsi/
Dncr53c8xx.c1215 /*2*/ u_char sval; member
1223 /*1*/ u_char sval; member
4327 cp->phys.select.sel_sxfer = tp->sval; in ncr_queue_command()
5178 tp->sval = 0; in ncr_init()
5332 OUTB (nc_sxfer, tp->sval); in ncr_set_sync_wide_status()
5333 np->sync_st = tp->sval; in ncr_set_sync_wide_status()
5344 cp->phys.select.sel_sxfer = tp->sval; in ncr_set_sync_wide_status()
5382 if (tp->sval == sxfer && tp->wval == scntl3) in ncr_setsync()
5384 tp->sval = sxfer; in ncr_setsync()
5426 sxfer = ack ? 0 : tp->sval; in ncr_setwide()
[all …]
/linux-6.6.21/arch/arm64/lib/
Dinsn.c1309 u64 sval = val >> __ffs64(val); in range_of_ones() local
1312 return ((sval + 1) & (sval)) == 0; in range_of_ones()
/linux-6.6.21/drivers/infiniband/hw/hfi1/
Dchip.c12344 u64 sval = *psval; in read_dev_port_cntr() local
12357 if (sval == CNTR_MAX) { in read_dev_port_cntr()
12364 u64 upper = sval >> 32; in read_dev_port_cntr()
12365 u64 lower = (sval << 32) >> 32; in read_dev_port_cntr()
12379 if ((val < sval) || (val > CNTR_MAX)) in read_dev_port_cntr()
12428 u64 *sval; in read_dev_cntr() local
12431 sval = dd->scntrs + entry->offset; in read_dev_cntr()
12434 sval += vl; in read_dev_cntr()
12436 return read_dev_port_cntr(dd, entry, sval, dd, vl); in read_dev_cntr()
12442 u64 *sval; in write_dev_cntr() local
[all …]
/linux-6.6.21/kernel/bpf/
Dverifier.c13811 s32 sval = (s32)val; in is_branch32_taken() local
13839 if (reg->s32_min_value > sval) in is_branch32_taken()
13841 else if (reg->s32_max_value <= sval) in is_branch32_taken()
13851 if (reg->s32_max_value < sval) in is_branch32_taken()
13853 else if (reg->s32_min_value >= sval) in is_branch32_taken()
13863 if (reg->s32_min_value >= sval) in is_branch32_taken()
13865 else if (reg->s32_max_value < sval) in is_branch32_taken()
13875 if (reg->s32_max_value <= sval) in is_branch32_taken()
13877 else if (reg->s32_min_value > sval) in is_branch32_taken()
13888 s64 sval = (s64)val; in is_branch64_taken() local
[all …]
/linux-6.6.21/drivers/infiniband/hw/qib/
Dqib_iba7220.c3904 u64 sval, tval; /* Shadowed, transient */ in sendctrl_hook() local
3910 sval = (dd->sendctrl & ~mask); in sendctrl_hook()
3911 sval |= *data & SENDCTRL_SHADOWED & mask; in sendctrl_hook()
3912 dd->sendctrl = sval; in sendctrl_hook()
3913 tval = sval | (*data & ~SENDCTRL_SHADOWED & mask); in sendctrl_hook()
3915 (u32)tval, (u32)sval); in sendctrl_hook()
/linux-6.6.21/fs/proc/
Dbase.c2107 unsigned long long sval, eval; in dname_to_vma_addr() local
2112 len = _parse_integer(str, 16, &sval); in dname_to_vma_addr()
2115 if (sval != (unsigned long)sval) in dname_to_vma_addr()
2135 *start = sval; in dname_to_vma_addr()
/linux-6.6.21/drivers/md/
Ddm-crypt.c3143 const char *opt_string, *sval; in crypt_ctr_optional() local
3180 sval = strchr(opt_string + strlen("integrity:"), ':') + 1; in crypt_ctr_optional()
3181 if (!strcasecmp(sval, "aead")) { in crypt_ctr_optional()
3183 } else if (strcasecmp(sval, "none")) { in crypt_ctr_optional()
3188 cc->cipher_auth = kstrdup(sval, GFP_KERNEL); in crypt_ctr_optional()

12