Searched refs:val1 (Results 1 - 25 of 155) sorted by relevance

1234567

/linux-master/arch/sh/boards/mach-dreamcast/
H A Drtc.c35 unsigned long val1, val2; local
39 val1 = ((__raw_readl(AICA_RTC_SECS_H) & 0xffff) << 16) |
44 } while (val1 != val2);
47 t = (u32)(val1 - TWENTY_YEARS);
63 unsigned long val1, val2; local
71 val1 = ((__raw_readl(AICA_RTC_SECS_H) & 0xffff) << 16) |
76 } while (val1 != val2);
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_core_autosize.c14 unsigned long long val1; member in struct:test_struct___samesize
23 unsigned long val1; member in struct:test_struct___downsize
33 long val1; member in struct:test_struct___signed
43 unsigned long long val1; member in struct:test_struct___real
52 .val1 = 0x1020304050607080,
93 val1_samesized = in->val1;
99 out->val1 = in->val1;
114 val1_downsized = in->val1;
120 out->val1
[all...]
H A Dtest_ldsx_insn.c17 volatile const short val1 = -1; variable
30 /* val1/val2 readonly map */
31 if (val1 == val2)
44 /* val1/val2 regular read/write map */
/linux-master/tools/testing/selftests/proc/
H A Dproc-uptime.h39 uint64_t val1, val2; local
51 val1 = xstrtoull(p, &p);
59 return val1 * 100 + val2;
/linux-master/drivers/iio/common/hid-sensors/
H A Dhid-sensor-attributes.c93 static void split_micro_fraction(unsigned int no, int exp, int *val1, int *val2) argument
97 *val1 = no / divisor;
110 int *val1, int *val2)
120 *val1 = sign * value * int_pow(10, exp);
123 split_micro_fraction(value, -exp, val1, val2);
124 if (*val1)
125 *val1 = sign * (*val1);
131 static u32 convert_to_vtf_format(int size, int exp, int val1, int val2) argument
137 if (val1 <
109 convert_from_vtf_format(u32 value, int size, int exp, int *val1, int *val2) argument
174 hid_sensor_read_samp_freq_value(struct hid_sensor_common *st, int *val1, int *val2) argument
201 hid_sensor_write_samp_freq_value(struct hid_sensor_common *st, int val1, int val2) argument
236 hid_sensor_read_raw_hyst_value(struct hid_sensor_common *st, int *val1, int *val2) argument
259 hid_sensor_read_raw_hyst_rel_value(struct hid_sensor_common *st, int *val1, int *val2) argument
282 hid_sensor_write_raw_hyst_value(struct hid_sensor_common *st, int val1, int val2) argument
313 hid_sensor_write_raw_hyst_rel_value(struct hid_sensor_common *st, int val1, int val2) argument
355 adjust_exponent_nano(int *val0, int *val1, int scale0, int scale1, int exp) argument
402 hid_sensor_format_scale(u32 usage_id, struct hid_sensor_hub_attribute_info *attr_info, int *val0, int *val1) argument
559 int val0, val1; local
[all...]
/linux-master/sound/pcmcia/pdaudiocf/
H A Dpdaudiocf_irq.c51 register u16 val1, val2; local
54 val1 = inw(rdp_port);
57 *dst++ = ((((u32)val2 & 0xff) << 24) | ((u32)val1 << 8)) ^ xor;
71 register u16 val1, val2, val3; local
74 val1 = inw(rdp_port);
77 *dst++ = ((((u32)val2 & 0xff) << 24) | ((u32)val1 << 8)) ^ xor;
92 register u16 val1, val2; local
95 val1 = inw(rdp_port);
98 *dst++ = swab32((((val2 & 0xff) << 24) | ((u32)val1 << 8)) ^ xor);
112 register u16 val1, val local
125 register u16 val1, val2; local
141 register u16 val1, val2; local
157 register u16 val1, val2, val3; local
177 register u16 val1, val2, val3; local
[all...]
/linux-master/arch/arm/probes/kprobes/
H A Dtest-core.h239 #define TEST_RR(code1, reg1, val1, code2, reg2, val2, code3) \
241 TEST_ARG_REG(reg1, val1) \
247 #define TEST_RRR(code1, reg1, val1, code2, reg2, val2, code3, reg3, val3, code4)\
249 TEST_ARG_REG(reg1, val1) \
256 #define TEST_RRRR(code1, reg1, val1, code2, reg2, val2, code3, reg3, val3, code4, reg4, val4) \
258 TEST_ARG_REG(reg1, val1) \
266 #define TEST_P(code1, reg1, val1, code2) \
268 TEST_ARG_PTR(reg1, val1) \
273 #define TEST_PR(code1, reg1, val1, code2, reg2, val2, code3) \
275 TEST_ARG_PTR(reg1, val1) \
[all...]
/linux-master/drivers/gpu/drm/xe/compat-i915-headers/
H A Dintel_pcode.h28 snb_pcode_read(struct intel_uncore *uncore, u32 mbox, u32 *val, u32 *val1) argument
30 return xe_pcode_read(__compat_uncore_to_gt(uncore), mbox, val, val1);
/linux-master/sound/i2c/
H A Dtea6330t.c99 unsigned char val1, val2; local
101 val1 = (ucontrol->value.integer.value[0] % 44) + 0x14;
104 change = val1 != tea->mleft || val2 != tea->mright;
105 tea->mleft = val1;
151 unsigned char oval1, oval2, val1, val2; local
153 val1 = ucontrol->value.integer.value[0] & 1;
158 change = val1 != oval1 || val2 != oval2;
159 tea->regs[TEA6330T_SADDR_VOLUME_LEFT] = val1 ? tea->mleft : 0;
203 unsigned char val1; local
205 val1
251 unsigned char val1; local
[all...]
/linux-master/drivers/iio/adc/
H A Dmt6370-adc.c133 int chan, int *val1, int *val2)
142 *val1 = 5;
157 *val1 = mt6370_adc_get_ibus_scale(priv);
160 *val1 = 5000;
178 *val1 = 2375;
184 *val1 = mt6370_adc_get_ibat_scale(priv);
187 *val1 = 5000;
195 *val1 = 25;
198 *val1 = 10;
201 *val1
132 mt6370_adc_read_scale(struct mt6370_adc_data *priv, int chan, int *val1, int *val2) argument
[all...]
H A Dmcp3422.c161 struct iio_chan_spec const *channel, int *val1,
172 err = mcp3422_read_channel(adc, channel, val1);
179 *val1 = 0;
184 *val1 = mcp3422_sample_rates[MCP3422_SAMPLE_RATE(adc->config)];
195 struct iio_chan_spec const *channel, int val1,
207 if (val1 != 0)
225 switch (val1) {
160 mcp3422_read_raw(struct iio_dev *iio, struct iio_chan_spec const *channel, int *val1, int *val2, long mask) argument
194 mcp3422_write_raw(struct iio_dev *iio, struct iio_chan_spec const *channel, int val1, int val2, long mask) argument
/linux-master/include/linux/
H 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-master/sound/i2c/other/
H A Dpt2258.c98 int val0, val1; local
101 val1 = 79 - ucontrol->value.integer.value[1];
102 if (val0 < 0 || val0 > 79 || val1 < 0 || val1 > 79)
104 if (val0 == pt->volume[base] && val1 == pt->volume[base + 1])
115 pt->volume[base + 1] = val1;
116 bytes[0] = pt2258_channel_code[2 * base + 2] | (val1 / 10);
117 bytes[1] = pt2258_channel_code[2 * base + 3] | (val1 % 10);
/linux-master/drivers/power/supply/
H A Daxp20x_battery.c188 int ret = 0, reg, val1; local
213 &val1);
217 if (val1) {
222 ret = regmap_read(axp20x_batt->regmap, AXP20X_FG_RES, &val1);
230 if ((val1 & AXP209_FG_PERCENT) == 100)
238 &val1);
242 if (val1 & AXP20X_PWR_OP_BATT_ACTIVATED) {
270 ret = iio_read_channel_processed(axp20x_batt->batt_dischrg_i, &val1);
271 val->intval = -val1;
442 int val1 local
[all...]
/linux-master/drivers/gpu/drm/i915/
H A Dintel_pcode.c56 u32 *val, u32 *val1,
72 intel_uncore_write_fw(uncore, GEN6_PCODE_DATA1, val1 ? *val1 : 0);
86 if (is_read && val1)
87 *val1 = intel_uncore_read_fw(uncore, GEN6_PCODE_DATA1);
95 int snb_pcode_read(struct intel_uncore *uncore, u32 mbox, u32 *val, u32 *val1) argument
100 err = __snb_pcode_rw(uncore, mbox, val, val1, 500, 20, true);
55 __snb_pcode_rw(struct intel_uncore *uncore, u32 mbox, u32 *val, u32 *val1, int fast_timeout_us, int slow_timeout_ms, bool is_read) argument
H A Dintel_pcode.h13 int snb_pcode_read(struct intel_uncore *uncore, u32 mbox, u32 *val, u32 *val1);
/linux-master/include/linux/mtd/
H A Dmap.h259 #define map_word_equal(map, val1, val2) \
263 if ((val1).x[i] != (val2).x[i]) { \
270 #define map_word_and(map, val1, val2) \
275 r.x[i] = (val1).x[i] & (val2).x[i]; \
279 #define map_word_clr(map, val1, val2) \
284 r.x[i] = (val1).x[i] & ~(val2).x[i]; \
288 #define map_word_or(map, val1, val2) \
293 r.x[i] = (val1).x[i] | (val2).x[i]; \
297 #define map_word_andequal(map, val1, val2, val3) \
301 if (((val1)
[all...]
/linux-master/drivers/platform/x86/
H A Damilo-rfkill.c56 u8 val1 = blocked ? M7440_RADIO_OFF1 : M7440_RADIO_ON1; local
59 outb(val1, M7440_PORT1);
63 if (inb(M7440_PORT1) != val1 || inb(M7440_PORT2) != val2)
/linux-master/sound/isa/cs423x/
H A Dcs4236_lib.c549 unsigned short val1, val2; local
551 val1 = ucontrol->value.integer.value[0] & mask;
554 val1 = mask - val1;
557 val1 <<= shift_left;
561 val1 = (chip->eimage[CS4236_REG(left_reg)] & ~(mask << shift_left)) | val1;
563 change = val1 != chip->eimage[CS4236_REG(left_reg)] || val2 != chip->eimage[CS4236_REG(right_reg)];
564 snd_cs4236_ext_out(chip, left_reg, val1);
567 val1
625 unsigned short val1, val2; local
675 unsigned short val1, val2; local
736 unsigned short val1, val2; local
[all...]
/linux-master/drivers/gpu/drm/xe/
H A Dxe_pcode.h16 int xe_pcode_read(struct xe_gt *gt, u32 mbox, u32 *val, u32 *val1);
/linux-master/sound/isa/gus/
H A Dgus_mixer.c97 unsigned char val1, val2, oval1, oval2; local
99 val1 = ucontrol->value.integer.value[0] & 127;
104 change = val1 != oval1 || val2 != oval2;
105 gus->gf1.ics_regs[addr][0] = val1;
109 swap(val1, val2);
114 outb((unsigned char) val1, GUSP(gus, MIXDATAPORT));
/linux-master/include/trace/events/
H 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-master/drivers/iio/pressure/
H A Dicp10100.c282 int64_t val1, val2; local
294 val1 = (int64_t)st->cal[0] * (int64_t)t_square;
295 p_lut[0] = lut_lower + (int32_t)div_s64(val1, inv_quadr_factor);
296 val1 = (int64_t)st->cal[1] * (int64_t)t_square;
298 (int32_t)div_s64(val1, inv_quadr_factor);
299 val1 = (int64_t)st->cal[2] * (int64_t)t_square;
300 p_lut[2] = lut_upper + (int32_t)div_s64(val1, inv_quadr_factor);
305 val1 = (int64_t)p_lut[0] * (int64_t)p_lut[1] *
314 c = div64_s64(val1, val2);
315 dev_dbg(&st->client->dev, "val1
[all...]
/linux-master/arch/alpha/kernel/
H A Dsys_sable.c111 int port, val1, val2; local
115 val1 = 0xE0 | (bit - 16);
119 val1 = 0xE0 | (bit - 8);
123 val1 = 0xE0 | (bit - 0);
127 outb(val1, port); /* ack the slave */
/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e_hmc.h104 u32 val1, val2, val3; \
105 val1 = (u32)(upper_32_bits(pa)); \
112 wr32((hw), I40E_PFHMC_SDDATAHIGH, val1); \

Completed in 572 milliseconds

1234567