Home
last modified time | relevance | path

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

/linux/sound/isa/sb/
H A 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/drivers/misc/lis3lv02d/
H A 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/drivers/macintosh/
H A 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/drivers/media/pci/solo6x10/
H A 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/arch/m68k/q40/
H A 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/drivers/isdn/hardware/mISDN/
H A 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/drivers/pinctrl/qcom/
H A 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/drivers/media/usb/gspca/
H A 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/tools/testing/selftests/breakpoints/
H A 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/drivers/scsi/sym53c8xx_2/
H A 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 …]
H A Dsym_hipd.h371 /*1*/ u_char sval; /* -> SXFER io register */ member
H A Dsym_fw1.h938 HADDR_1 (tcb_head.sval),
H A Dsym_fw2.h881 offsetof(struct sym_tcb, head.sval),
H A Dsym_glue.c891 tp->head.sval = 0; in sym53c8xx_slave_destroy()
/linux/drivers/net/ethernet/natsemi/
H A 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/tools/perf/util/
H A Dpmu.h267 int perf_pmu__convert_scale(const char *scale, char **end, double *sval);
H A Dpmu.c260 int perf_pmu__convert_scale(const char *scale, char **end, double *sval) in perf_pmu__convert_scale()
288 *sval = strtod(scale, end); in perf_pmu__convert_scale()
258 perf_pmu__convert_scale(const char * scale,char ** end,double * sval) perf_pmu__convert_scale() argument
/linux/drivers/media/pci/bt8xx/
H A 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/drivers/scsi/
H A 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/arch/arm64/lib/
H A Dinsn.c1309 u64 sval = val >> __ffs64(val); in range_of_ones() local
1312 return ((sval + 1) & (sval)) == 0; in range_of_ones()
/linux/tools/testing/selftests/bpf/prog_tests/
H A 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/drivers/md/
H A 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()
/linux/kernel/trace/
H A Dtrace_events_hist.c448 s64 sval = (s64)hist_fn_call(operand, elt, buffer, rbe, event); in hist_field_unary_minus() local
449 u64 val = (u64)-sval; in hist_field_unary_minus()
/linux/kernel/bpf/
H A Dverifier.c2321 s64 sval = (s64)uval; in reg_bounds_sanity_check() local
2324 reg->smin_value != sval || reg->smax_value != sval) { in reg_bounds_sanity_check()