Home
last modified time | relevance | path

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

12

/linux-6.12.1/arch/arm64/kernel/
Dmodule.c53 s64 sval = do_reloc(op, place, val); in reloc_data() local
69 *(s16 *)place = sval; in reloc_data()
72 if (sval < 0 || sval > U16_MAX) in reloc_data()
76 if (sval < S16_MIN || sval > S16_MAX) in reloc_data()
85 *(s32 *)place = sval; in reloc_data()
88 if (sval < 0 || sval > U32_MAX) in reloc_data()
92 if (sval < S32_MIN || sval > S32_MAX) in reloc_data()
101 *(s64 *)place = sval; in reloc_data()
119 s64 sval; in reloc_insn_movw() local
122 sval = do_reloc(op, place, val); in reloc_insn_movw()
[all …]
/linux-6.12.1/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.12.1/drivers/misc/lis3lv02d/
Dlis3lv02d.c958 s32 sval; in lis3lv02d_init_dt() local
1080 if (of_property_read_s32(np, "st,axis-x", &sval) == 0) in lis3lv02d_init_dt()
1081 pdata->axis_x = sval; in lis3lv02d_init_dt()
1082 if (of_property_read_s32(np, "st,axis-y", &sval) == 0) in lis3lv02d_init_dt()
1083 pdata->axis_y = sval; in lis3lv02d_init_dt()
1084 if (of_property_read_s32(np, "st,axis-z", &sval) == 0) in lis3lv02d_init_dt()
1085 pdata->axis_z = sval; in lis3lv02d_init_dt()
1090 if (of_property_read_s32(np, "st,min-limit-x", &sval) == 0) in lis3lv02d_init_dt()
1091 pdata->st_min_limits[0] = sval; in lis3lv02d_init_dt()
1092 if (of_property_read_s32(np, "st,min-limit-y", &sval) == 0) in lis3lv02d_init_dt()
[all …]
/linux-6.12.1/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.12.1/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.12.1/arch/m68k/q40/
Dq40ints.c137 unsigned char sval=(sound_ticks & 1) ? 128-SVOL : 128+SVOL; in q40_timer_int() local
139 *DAC_LEFT=sval; in q40_timer_int()
140 *DAC_RIGHT=sval; in q40_timer_int()
/linux-6.12.1/drivers/isdn/hardware/mISDN/
Davmfritz.c625 u8 sval; in avm_fritz_interrupt() local
628 sval = inb(fc->addr + 2); in avm_fritz_interrupt()
629 pr_debug("%s: irq stat0 %x\n", fc->name, sval); in avm_fritz_interrupt()
630 if ((sval & AVM_STATUS0_IRQ_MASK) == AVM_STATUS0_IRQ_MASK) { in avm_fritz_interrupt()
637 if (!(sval & AVM_STATUS0_IRQ_ISAC)) { in avm_fritz_interrupt()
641 if (!(sval & AVM_STATUS0_IRQ_HDLC)) in avm_fritz_interrupt()
652 u8 sval; in avm_fritzv2_interrupt() local
655 sval = inb(fc->addr + 2); in avm_fritzv2_interrupt()
656 pr_debug("%s: irq stat0 %x\n", fc->name, sval); in avm_fritzv2_interrupt()
657 if (!(sval & AVM_STATUS0_IRQ_MASK)) { in avm_fritzv2_interrupt()
[all …]
/linux-6.12.1/drivers/pinctrl/qcom/
Dpinctrl-lpass-lpi.c193 unsigned long sval; in lpi_config_set_slew_rate() local
214 sval = ioread32(reg); in lpi_config_set_slew_rate()
215 sval &= ~(LPI_SLEW_RATE_MASK << slew_offset); in lpi_config_set_slew_rate()
216 sval |= slew << slew_offset; in lpi_config_set_slew_rate()
217 iowrite32(sval, reg); in lpi_config_set_slew_rate()
/linux-6.12.1/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.12.1/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.12.1/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.12.1/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.12.1/tools/perf/util/
Dpmu.h260 int perf_pmu__convert_scale(const char *scale, char **end, double *sval);
Dpmu.c258 int perf_pmu__convert_scale(const char *scale, char **end, double *sval) in perf_pmu__convert_scale() argument
286 *sval = strtod(scale, end); in perf_pmu__convert_scale()
/linux-6.12.1/drivers/net/ethernet/intel/ixgbe/
Dixgbe_x550.c1956 u32 lval, sval, flx_val; in ixgbe_setup_sgmii() local
1978 IXGBE_SB_IOSF_TARGET_KR_PHY, &sval); in ixgbe_setup_sgmii()
1982 sval |= IXGBE_KRM_SGMII_CTRL_MAC_TAR_FORCE_10_D; in ixgbe_setup_sgmii()
1983 sval |= IXGBE_KRM_SGMII_CTRL_MAC_TAR_FORCE_100_D; in ixgbe_setup_sgmii()
1986 IXGBE_SB_IOSF_TARGET_KR_PHY, sval); in ixgbe_setup_sgmii()
2028 u32 lval, sval, flx_val; in ixgbe_setup_sgmii_fw() local
2050 IXGBE_SB_IOSF_TARGET_KR_PHY, &sval); in ixgbe_setup_sgmii_fw()
2054 sval &= ~IXGBE_KRM_SGMII_CTRL_MAC_TAR_FORCE_10_D; in ixgbe_setup_sgmii_fw()
2055 sval &= ~IXGBE_KRM_SGMII_CTRL_MAC_TAR_FORCE_100_D; in ixgbe_setup_sgmii_fw()
2058 IXGBE_SB_IOSF_TARGET_KR_PHY, sval); in ixgbe_setup_sgmii_fw()
/linux-6.12.1/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.12.1/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.12.1/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.12.1/tools/testing/selftests/bpf/prog_tests/
Dreg_bounds.c1064 long long sval; in parse_reg_state() local
1068 if (sscanf(p, "%llx", &sval) != 1) in parse_reg_state()
1071 if (sscanf(p, "%lld", &sval) != 1) in parse_reg_state()
1077 reg->r[t] = range(t, sval, sval); in parse_reg_state()
/linux-6.12.1/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.12.1/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.12.1/fs/proc/
Dbase.c2159 unsigned long long sval, eval; in dname_to_vma_addr() local
2164 len = _parse_integer(str, 16, &sval); in dname_to_vma_addr()
2167 if (sval != (unsigned long)sval) in dname_to_vma_addr()
2187 *start = sval; in dname_to_vma_addr()
/linux-6.12.1/drivers/md/
Ddm-crypt.c3170 const char *opt_string, *sval; in crypt_ctr_optional() local
3209 sval = strchr(opt_string + strlen("integrity:"), ':') + 1; in crypt_ctr_optional()
3210 if (!strcasecmp(sval, "aead")) { in crypt_ctr_optional()
3212 } else if (strcasecmp(sval, "none")) { in crypt_ctr_optional()
3217 cc->cipher_auth = kstrdup(sval, GFP_KERNEL); in crypt_ctr_optional()

12