Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/arch/arm64/kernel/
Dmodule.c91 s64 sval = do_reloc(op, place, val); in reloc_data() local
107 *(s16 *)place = sval; in reloc_data()
110 if (sval < 0 || sval > U16_MAX) in reloc_data()
114 if (sval < S16_MIN || sval > S16_MAX) in reloc_data()
123 *(s32 *)place = sval; in reloc_data()
126 if (sval < 0 || sval > U32_MAX) in reloc_data()
130 if (sval < S32_MIN || sval > S32_MAX) in reloc_data()
139 *(s64 *)place = sval; in reloc_data()
157 s64 sval; in reloc_insn_movw() local
160 sval = do_reloc(op, place, val); in reloc_insn_movw()
[all …]
Dinsn.c1536 u64 sval = val >> __ffs64(val); in range_of_ones() local
1539 return ((sval + 1) & (sval)) == 0; in range_of_ones()
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/hal/
Dodm_NoiseMonitor.c84 noise_data.sval[rf_path] = (s8)noise_data.value[rf_path]; in odm_InbandNoise_Monitor_NSeries()
85 noise_data.sval[rf_path] /= 2; in odm_InbandNoise_Monitor_NSeries()
90 noise_data.sval[ODM_RF_PATH_A], noise_data.sval[ODM_RF_PATH_B])); in odm_InbandNoise_Monitor_NSeries()
95 …se_data.valid_cnt[rf_path] < ValidCnt) && (noise_data.sval[rf_path] < Valid_Max && noise_data.sval in odm_InbandNoise_Monitor_NSeries()
97 noise_data.sum[rf_path] += noise_data.sval[rf_path]; in odm_InbandNoise_Monitor_NSeries()
98 …DM_COMP_COMMON, ODM_DBG_LOUD, ("RF_Path:%d Valid sval = %d\n", rf_path, noise_data.sval[rf_path])); in odm_InbandNoise_Monitor_NSeries()
Dodm_NoiseMonitor.h15 s8 sval[MAX_RF_PATH]; member
/kernel/linux/linux-5.10/sound/isa/sb/
Demu8000_pcm.c416 #define GET_VAL(sval, buf, mode) \ argument
420 sval = 0; \
423 sval = *buf++; \
426 if (get_user(sval, (unsigned short __user *)buf)) \
442 unsigned short sval; \
444 GET_VAL(sval, buf, mode); \
445 EMU8000_SMLD_WRITE(emu, sval); \
501 unsigned short sval; \
503 GET_VAL(sval, buf, mode); \
504 EMU8000_SMLD_WRITE(emu, sval); \
[all …]
/kernel/linux/linux-5.10/drivers/misc/lis3lv02d/
Dlis3lv02d.c960 s32 sval; in lis3lv02d_init_dt() local
1082 if (of_property_read_s32(np, "st,axis-x", &sval) == 0) in lis3lv02d_init_dt()
1083 pdata->axis_x = sval; in lis3lv02d_init_dt()
1084 if (of_property_read_s32(np, "st,axis-y", &sval) == 0) in lis3lv02d_init_dt()
1085 pdata->axis_y = sval; in lis3lv02d_init_dt()
1086 if (of_property_read_s32(np, "st,axis-z", &sval) == 0) in lis3lv02d_init_dt()
1087 pdata->axis_z = sval; in lis3lv02d_init_dt()
1092 if (of_property_read_s32(np, "st,min-limit-x", &sval) == 0) in lis3lv02d_init_dt()
1093 pdata->st_min_limits[0] = sval; in lis3lv02d_init_dt()
1094 if (of_property_read_s32(np, "st,min-limit-y", &sval) == 0) in lis3lv02d_init_dt()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/m68k/q40/
Dq40ints.c136 unsigned char sval=(sound_ticks & 1) ? 128-SVOL : 128+SVOL; in q40_timer_int() local
138 *DAC_LEFT=sval; in q40_timer_int()
139 *DAC_RIGHT=sval; in q40_timer_int()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/tools/perf/util/
Dpmu.h119 int perf_pmu__convert_scale(const char *scale, char **end, double *sval);
Dpmu.c106 int perf_pmu__convert_scale(const char *scale, char **end, double *sval) in perf_pmu__convert_scale() argument
134 *sval = strtod(scale, end); in perf_pmu__convert_scale()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/scsi/
Dncr53c8xx.c1213 /*2*/ u_char sval; member
1221 /*1*/ u_char sval; member
4355 cp->phys.select.sel_sxfer = tp->sval; in ncr_queue_command()
4379 cp->sync_status = tp->sval; in ncr_queue_command()
5319 tp->sval = 0; in ncr_init()
5494 OUTB (nc_sxfer, tp->sval); in ncr_set_sync_wide_status()
5495 np->sync_st = tp->sval; in ncr_set_sync_wide_status()
5506 cp->sync_status = tp->sval; in ncr_set_sync_wide_status()
5510 cp->phys.select.sel_sxfer = tp->sval; in ncr_set_sync_wide_status()
5548 if (tp->sval == sxfer && tp->wval == scntl3) in ncr_setsync()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_x550.c1955 u32 lval, sval, flx_val; in ixgbe_setup_sgmii() local
1977 IXGBE_SB_IOSF_TARGET_KR_PHY, &sval); in ixgbe_setup_sgmii()
1981 sval |= IXGBE_KRM_SGMII_CTRL_MAC_TAR_FORCE_10_D; in ixgbe_setup_sgmii()
1982 sval |= IXGBE_KRM_SGMII_CTRL_MAC_TAR_FORCE_100_D; in ixgbe_setup_sgmii()
1985 IXGBE_SB_IOSF_TARGET_KR_PHY, sval); in ixgbe_setup_sgmii()
2027 u32 lval, sval, flx_val; in ixgbe_setup_sgmii_fw() local
2049 IXGBE_SB_IOSF_TARGET_KR_PHY, &sval); in ixgbe_setup_sgmii_fw()
2053 sval &= ~IXGBE_KRM_SGMII_CTRL_MAC_TAR_FORCE_10_D; in ixgbe_setup_sgmii_fw()
2054 sval &= ~IXGBE_KRM_SGMII_CTRL_MAC_TAR_FORCE_100_D; in ixgbe_setup_sgmii_fw()
2057 IXGBE_SB_IOSF_TARGET_KR_PHY, sval); in ixgbe_setup_sgmii_fw()
/kernel/linux/linux-5.10/kernel/bpf/
Dverifier.c7362 s32 sval = (s32)val; in is_branch32_taken() local
7386 if (reg->s32_min_value > sval) in is_branch32_taken()
7388 else if (reg->s32_max_value <= sval) in is_branch32_taken()
7398 if (reg->s32_max_value < sval) in is_branch32_taken()
7400 else if (reg->s32_min_value >= sval) in is_branch32_taken()
7410 if (reg->s32_min_value >= sval) in is_branch32_taken()
7412 else if (reg->s32_max_value < sval) in is_branch32_taken()
7422 if (reg->s32_max_value <= sval) in is_branch32_taken()
7424 else if (reg->s32_min_value > sval) in is_branch32_taken()
7435 s64 sval = (s64)val; in is_branch64_taken() local
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dchip.c12382 u64 sval = *psval; in read_dev_port_cntr() local
12395 if (sval == CNTR_MAX) { in read_dev_port_cntr()
12402 u64 upper = sval >> 32; in read_dev_port_cntr()
12403 u64 lower = (sval << 32) >> 32; in read_dev_port_cntr()
12417 if ((val < sval) || (val > CNTR_MAX)) in read_dev_port_cntr()
12466 u64 *sval; in read_dev_cntr() local
12469 sval = dd->scntrs + entry->offset; in read_dev_cntr()
12472 sval += vl; in read_dev_cntr()
12474 return read_dev_port_cntr(dd, entry, sval, dd, vl); in read_dev_cntr()
12480 u64 *sval; in write_dev_cntr() local
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/md/
Ddm-crypt.c3052 const char *opt_string, *sval; in crypt_ctr_optional() local
3089 sval = strchr(opt_string + strlen("integrity:"), ':') + 1; in crypt_ctr_optional()
3090 if (!strcasecmp(sval, "aead")) { in crypt_ctr_optional()
3092 } else if (strcasecmp(sval, "none")) { in crypt_ctr_optional()
3097 cc->cipher_auth = kstrdup(sval, GFP_KERNEL); in crypt_ctr_optional()
/kernel/linux/linux-5.10/fs/proc/
Dbase.c2231 unsigned long long sval, eval; in dname_to_vma_addr() local
2236 len = _parse_integer(str, 16, &sval); in dname_to_vma_addr()
2239 if (sval != (unsigned long)sval) in dname_to_vma_addr()
2259 *start = sval; in dname_to_vma_addr()

12