Home
last modified time | relevance | path

Searched refs:val1 (Results 1 – 25 of 148) sorted by relevance

123456

/linux-6.3-rc2/drivers/iio/common/hid-sensors/
A Dhid-sensor-attributes.c124 if (*val1) in convert_from_vtf_format()
125 *val1 = sign * (*val1); in convert_from_vtf_format()
184 *val1 = *val2 = 0; in hid_sensor_read_samp_freq_value()
247 *val1 = *val2 = 0; in hid_sensor_read_raw_hyst_value()
252 val1, val2); in hid_sensor_read_raw_hyst_value()
293 val1, val2); in hid_sensor_write_raw_hyst_value()
324 val1, val2); in hid_sensor_write_raw_hyst_rel_value()
368 *val1 = 0; in adjust_exponent_nano()
398 *val1 = scale1; in adjust_exponent_nano()
410 *val1 = 0; in hid_sensor_format_scale()
[all …]
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
A Dtest_core_autosize.c14 unsigned long long val1; member
23 unsigned long val1; member
33 long val1; member
43 unsigned long long val1; member
52 .val1 = 0x1020304050607080,
93 val1_samesized = in->val1; in handle_samesize()
99 out->val1 = in->val1; in handle_samesize()
114 val1_downsized = in->val1; in handle_downsize()
120 out->val1 = in->val1; in handle_downsize()
149 bpf_core_read_int(&tmp, bpf_core_field_size(in->val1), &in->val1); in handle_probed()
/linux-6.3-rc2/sound/pcmcia/pdaudiocf/
A Dpdaudiocf_irq.c51 register u16 val1, val2; in pdacf_transfer_mono32() local
54 val1 = inw(rdp_port); in pdacf_transfer_mono32()
74 val1 = inw(rdp_port); in pdacf_transfer_stereo32()
92 register u16 val1, val2; in pdacf_transfer_mono32sw() local
95 val1 = inw(rdp_port); in pdacf_transfer_mono32sw()
115 val1 = inw(rdp_port); in pdacf_transfer_stereo32sw()
125 register u16 val1, val2; in pdacf_transfer_mono24le() local
129 val1 = inw(rdp_port); in pdacf_transfer_mono24le()
145 val1 = inw(rdp_port); in pdacf_transfer_mono24be()
161 val1 = inw(rdp_port); in pdacf_transfer_stereo24le()
[all …]
/linux-6.3-rc2/arch/ia64/lib/
A Dcopy_user.S80 .rotr val1[PIPE_DEPTH],val2[PIPE_DEPTH]
242 (EPI_1) shrp tmp=val1[PIPE_DEPTH-2],val1[PIPE_DEPTH-1],rshift; \
244 (p16) mov val1[0]=r0; \
250 (EPI_1) shrp tmp=val1[PIPE_DEPTH-2],val1[PIPE_DEPTH-1],rshift; \
252 (p16) mov val1[1]=r0; \
253 (p16) mov val1[0]=r0; \
442 (p16) mov val1[0]=r0
443 (EPI) st1 [dst1]=val1[PIPE_DEPTH-1],1
459 (p16) mov val1[0]=r0
460 (EPI) st1 [dst1]=val1[PIPE_DEPTH-1],1
[all …]
A Dstrlen.S80 #define val1 r22 macro
115 czx1.r val1=v[1] // search 0 byte from right
119 cmp.eq.and p6,p0=8,val1 // p6 = p6 and val1==8
130 cmp.eq p8,p9=8,val1 // p6 = val1 had zero (disambiguate)
131 tnat.nz p6,p7=val1 // test NaT on val1
137 cmp.eq.and p7,p0=8,val1// val1==8?
141 (p8) mov val1=val2 // the other test got us out of the loop
146 sub tmp=8,val1 // which byte in word
182 czx1.r val1=val // search 0 byte from right
184 cmp.eq p6,p0=8,val1 // val1==8 ?
[all …]
/linux-6.3-rc2/arch/arm/probes/kprobes/
A Dtest-core.h241 TEST_ARG_REG(reg1, val1) \
249 TEST_ARG_REG(reg1, val1) \
258 TEST_ARG_REG(reg1, val1) \
268 TEST_ARG_PTR(reg1, val1) \
275 TEST_ARG_PTR(reg1, val1) \
283 TEST_ARG_REG(reg1, val1) \
291 TEST_ARG_PTR(reg1, val1) \
300 TEST_ARG_REG(reg1, val1) \
309 TEST_ARG_REG(reg1, val1) \
318 TEST_ARG_PTR(reg1, val1) \
[all …]
/linux-6.3-rc2/arch/sh/boards/mach-dreamcast/
A Drtc.c35 unsigned long val1, val2; in aica_rtc_gettimeofday() local
39 val1 = ((__raw_readl(AICA_RTC_SECS_H) & 0xffff) << 16) | in aica_rtc_gettimeofday()
44 } while (val1 != val2); in aica_rtc_gettimeofday()
47 t = (u32)(val1 - TWENTY_YEARS); in aica_rtc_gettimeofday()
63 unsigned long val1, val2; in aica_rtc_settimeofday() local
71 val1 = ((__raw_readl(AICA_RTC_SECS_H) & 0xffff) << 16) | in aica_rtc_settimeofday()
76 } while (val1 != val2); in aica_rtc_settimeofday()
/linux-6.3-rc2/sound/i2c/
A Dtea6330t.c99 unsigned char val1, val2; in snd_tea6330t_put_master_volume() local
105 tea->mleft = val1; in snd_tea6330t_put_master_volume()
151 unsigned char oval1, oval2, val1, val2; in snd_tea6330t_put_master_switch() local
153 val1 = ucontrol->value.integer.value[0] & 1; in snd_tea6330t_put_master_switch()
158 change = val1 != oval1 || val2 != oval2; in snd_tea6330t_put_master_switch()
203 unsigned char val1; in snd_tea6330t_put_bass() local
207 tea->bass = val1; in snd_tea6330t_put_bass()
208 val1 += tea->equalizer ? 7 : 3; in snd_tea6330t_put_bass()
251 unsigned char val1; in snd_tea6330t_put_treble() local
255 tea->treble = val1; in snd_tea6330t_put_treble()
[all …]
/linux-6.3-rc2/drivers/iio/adc/
A Dmt6370-adc.c102 int chan, int *val1, int *val2) in mt6370_adc_read_scale() argument
111 *val1 = 5; in mt6370_adc_read_scale()
126 *val1 = 3350; in mt6370_adc_read_scale()
129 *val1 = 5000; in mt6370_adc_read_scale()
147 *val1 = 2375; in mt6370_adc_read_scale()
153 *val1 = 2680; in mt6370_adc_read_scale()
156 *val1 = 5000; in mt6370_adc_read_scale()
164 *val1 = 25; in mt6370_adc_read_scale()
167 *val1 = 10; in mt6370_adc_read_scale()
170 *val1 = 25; in mt6370_adc_read_scale()
[all …]
A Dmcp3422.c161 struct iio_chan_spec const *channel, int *val1, in mcp3422_read_raw() argument
172 err = mcp3422_read_channel(adc, channel, val1); in mcp3422_read_raw()
179 *val1 = 0; in mcp3422_read_raw()
184 *val1 = mcp3422_sample_rates[MCP3422_SAMPLE_RATE(adc->config)]; in mcp3422_read_raw()
195 struct iio_chan_spec const *channel, int val1, in mcp3422_write_raw() argument
207 if (val1 != 0) in mcp3422_write_raw()
225 switch (val1) { in mcp3422_write_raw()
/linux-6.3-rc2/tools/testing/selftests/proc/
A Dproc-uptime.h27 uint64_t val1, val2; in proc_uptime() local
39 val1 = xstrtoull(p, &p); in proc_uptime()
46 *uptime = val1 * 100 + val2; in proc_uptime()
50 val1 = xstrtoull(p, &p); in proc_uptime()
57 *idle = val1 * 100 + val2; in proc_uptime()
/linux-6.3-rc2/sound/isa/cs423x/
A Dcs4236_lib.c549 unsigned short val1, val2; in snd_cs4236_put_double() local
554 val1 = mask - val1; in snd_cs4236_put_double()
557 val1 <<= shift_left; in snd_cs4236_put_double()
561 val1 = (chip->eimage[CS4236_REG(left_reg)] & ~(mask << shift_left)) | val1; in snd_cs4236_put_double()
625 unsigned short val1, val2; in snd_cs4236_put_double1() local
630 val1 = mask - val1; in snd_cs4236_put_double1()
633 val1 <<= shift_left; in snd_cs4236_put_double1()
636 val1 = (chip->image[left_reg] & ~(mask << shift_left)) | val1; in snd_cs4236_put_double1()
675 unsigned short val1, val2; in snd_cs4236_put_master_digital() local
680 val1 = (chip->eimage[CS4236_REG(CS4236_LEFT_MASTER)] & ~0x7f) | val1; in snd_cs4236_put_master_digital()
[all …]
/linux-6.3-rc2/include/linux/
A Dhid-sensor-hub.h256 int val1, int val2);
257 int hid_sensor_write_raw_hyst_rel_value(struct hid_sensor_common *st, int val1,
260 int *val1, int *val2);
262 int *val1, int *val2);
264 int val1, int val2);
266 int *val1, int *val2);
273 int *val0, int *val1);
/linux-6.3-rc2/sound/i2c/other/
A Dpt2258.c98 int val0, val1; in pt2258_stereo_volume_put() local
101 val1 = 79 - ucontrol->value.integer.value[1]; in pt2258_stereo_volume_put()
102 if (val0 < 0 || val0 > 79 || val1 < 0 || val1 > 79) in pt2258_stereo_volume_put()
104 if (val0 == pt->volume[base] && val1 == pt->volume[base + 1]) in pt2258_stereo_volume_put()
115 pt->volume[base + 1] = val1; in pt2258_stereo_volume_put()
116 bytes[0] = pt2258_channel_code[2 * base + 2] | (val1 / 10); in pt2258_stereo_volume_put()
117 bytes[1] = pt2258_channel_code[2 * base + 3] | (val1 % 10); in pt2258_stereo_volume_put()
/linux-6.3-rc2/drivers/power/supply/
A Daxp20x_battery.c189 int ret = 0, reg, val1; in axp20x_battery_get_prop() local
214 &val1); in axp20x_battery_get_prop()
218 if (val1) { in axp20x_battery_get_prop()
223 ret = regmap_read(axp20x_batt->regmap, AXP20X_FG_RES, &val1); in axp20x_battery_get_prop()
231 if ((val1 & AXP209_FG_PERCENT) == 100) in axp20x_battery_get_prop()
239 &val1); in axp20x_battery_get_prop()
243 if (val1 & AXP20X_PWR_OP_BATT_ACTIVATED) { in axp20x_battery_get_prop()
272 val->intval = -val1; in axp20x_battery_get_prop()
443 int val1 = (min_voltage - 2600000) / 100000; in axp20x_set_voltage_min_design() local
445 if (val1 < 0 || val1 > AXP20X_V_OFF_MASK) in axp20x_set_voltage_min_design()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/i915/
A Dintel_pcode.c56 u32 *val, u32 *val1, in __snb_pcode_rw() argument
72 intel_uncore_write_fw(uncore, GEN6_PCODE_DATA1, val1 ? *val1 : 0); in __snb_pcode_rw()
86 if (is_read && val1) in __snb_pcode_rw()
87 *val1 = intel_uncore_read_fw(uncore, GEN6_PCODE_DATA1); in __snb_pcode_rw()
95 int snb_pcode_read(struct intel_uncore *uncore, u32 mbox, u32 *val, u32 *val1) in snb_pcode_read() argument
100 err = __snb_pcode_rw(uncore, mbox, val, val1, 500, 20, true); in snb_pcode_read()
/linux-6.3-rc2/include/linux/mtd/
A Dmap.h259 #define map_word_equal(map, val1, val2) \ argument
263 if ((val1).x[i] != (val2).x[i]) { \
270 #define map_word_and(map, val1, val2) \ argument
275 r.x[i] = (val1).x[i] & (val2).x[i]; \
279 #define map_word_clr(map, val1, val2) \ argument
284 r.x[i] = (val1).x[i] & ~(val2).x[i]; \
288 #define map_word_or(map, val1, val2) \ argument
293 r.x[i] = (val1).x[i] | (val2).x[i]; \
297 #define map_word_andequal(map, val1, val2, val3) \ argument
309 #define map_word_bitsset(map, val1, val2) \ argument
[all …]
/linux-6.3-rc2/sound/isa/sb/
A Demu8000.c842 unsigned short val1; in mixer_bass_treble_put() local
848 emu->treble_level = val1; in mixer_bass_treble_put()
850 change = val1 != emu->bass_level; in mixer_bass_treble_put()
851 emu->bass_level = val1; in mixer_bass_treble_put()
903 unsigned short val1; in mixer_chorus_reverb_put() local
908 change = val1 != emu->chorus_mode; in mixer_chorus_reverb_put()
909 emu->chorus_mode = val1; in mixer_chorus_reverb_put()
913 emu->reverb_mode = val1; in mixer_chorus_reverb_put()
970 unsigned short val1; in mixer_fm_depth_put() local
976 emu->fm_chorus_depth = val1; in mixer_fm_depth_put()
[all …]
/linux-6.3-rc2/drivers/iio/pressure/
A Dicp10100.c282 int64_t val1, val2; in icp10100_get_pressure() local
294 val1 = (int64_t)st->cal[0] * (int64_t)t_square; in icp10100_get_pressure()
296 val1 = (int64_t)st->cal[1] * (int64_t)t_square; in icp10100_get_pressure()
298 (int32_t)div_s64(val1, inv_quadr_factor); in icp10100_get_pressure()
299 val1 = (int64_t)st->cal[2] * (int64_t)t_square; in icp10100_get_pressure()
305 val1 = (int64_t)p_lut[0] * (int64_t)p_lut[1] * in icp10100_get_pressure()
314 c = div64_s64(val1, val2); in icp10100_get_pressure()
316 val1, val2, c); in icp10100_get_pressure()
317 val1 = (int64_t)p_calib[0] * (int64_t)p_lut[0] - in icp10100_get_pressure()
321 a = div64_s64(val1, val2); in icp10100_get_pressure()
[all …]
/linux-6.3-rc2/sound/isa/gus/
A Dgus_mixer.c97 unsigned char val1, val2, oval1, oval2; in snd_ics_put_double() local
99 val1 = ucontrol->value.integer.value[0] & 127; in snd_ics_put_double()
104 change = val1 != oval1 || val2 != oval2; in snd_ics_put_double()
105 gus->gf1.ics_regs[addr][0] = val1; in snd_ics_put_double()
109 swap(val1, val2); in snd_ics_put_double()
114 outb((unsigned char) val1, GUSP(gus, MIXDATAPORT)); in snd_ics_put_double()
/linux-6.3-rc2/include/trace/events/
A Dscmi.h11 TP_PROTO(u8 protocol_id, u8 msg_id, u32 res_id, u32 val1, u32 val2),
12 TP_ARGS(protocol_id, msg_id, res_id, val1, val2),
18 __field(u32, val1)
26 __entry->val1 = val1;
32 __entry->res_id, __entry->val1, __entry->val2)
/linux-6.3-rc2/sound/isa/es1688/
A Des1688_lib.c875 unsigned char val1, val2, oval1, oval2; in snd_es1688_put_double() local
877 val1 = ucontrol->value.integer.value[0] & mask; in snd_es1688_put_double()
880 val1 = mask - val1; in snd_es1688_put_double()
883 val1 <<= shift_left; in snd_es1688_put_double()
895 val1 = (oval1 & ~(mask << shift_left)) | val1; in snd_es1688_put_double()
897 change = val1 != oval1 || val2 != oval2; in snd_es1688_put_double()
902 snd_es1688_write(chip, left_reg, val1); in snd_es1688_put_double()
906 snd_es1688_write(chip, right_reg, val1); in snd_es1688_put_double()
913 val1 = (oval1 & ~((mask << shift_left) | (mask << shift_right))) | val1 | val2; in snd_es1688_put_double()
914 change = val1 != oval1; in snd_es1688_put_double()
[all …]
/linux-6.3-rc2/drivers/scsi/fnic/
A Dfnic_trace.c206 struct timespec64 val1, val2; in fnic_get_stats_data() local
208 ktime_get_real_ts64(&val1); in fnic_get_stats_data()
220 (s64)val1.tv_sec, val1.tv_nsec, in fnic_get_stats_data()
225 (s64)timespec64_sub(val1, stats->stats_timestamps.last_reset_time).tv_sec, in fnic_get_stats_data()
226 timespec64_sub(val1, stats->stats_timestamps.last_reset_time).tv_nsec, in fnic_get_stats_data()
227 (s64)timespec64_sub(val1, stats->stats_timestamps.last_read_time).tv_sec, in fnic_get_stats_data()
228 timespec64_sub(val1, stats->stats_timestamps.last_read_time).tv_nsec); in fnic_get_stats_data()
230 stats->stats_timestamps.last_read_time = val1; in fnic_get_stats_data()
392 jiffies_to_timespec64(stats->misc_stats.last_isr_time, &val1); in fnic_get_stats_data()
417 (s64)val1.tv_sec, val1.tv_nsec, in fnic_get_stats_data()
/linux-6.3-rc2/arch/alpha/kernel/
A Dsys_sable.c111 int port, val1, val2; in sable_ack_irq_hw() local
115 val1 = 0xE0 | (bit - 16); in sable_ack_irq_hw()
119 val1 = 0xE0 | (bit - 8); in sable_ack_irq_hw()
123 val1 = 0xE0 | (bit - 0); in sable_ack_irq_hw()
127 outb(val1, port); /* ack the slave */ in sable_ack_irq_hw()
/linux-6.3-rc2/sound/pci/ice1712/
A Dwm8766.c210 u16 val1, val2; in snd_wm8766_ctl_get() local
213 wm->ctl[n].get(wm, &val1, &val2); in snd_wm8766_ctl_get()
215 val1 = wm->regs[wm->ctl[n].reg1] & wm->ctl[n].mask1; in snd_wm8766_ctl_get()
216 val1 >>= __ffs(wm->ctl[n].mask1); in snd_wm8766_ctl_get()
225 val1 = wm->ctl[n].max - (val1 - wm->ctl[n].min); in snd_wm8766_ctl_get()
229 ucontrol->value.integer.value[0] = val1; in snd_wm8766_ctl_get()

Completed in 78 milliseconds

123456