Home
last modified time | relevance | path

Searched refs:val0 (Results 1 – 25 of 43) sorted by relevance

12

/kernel/linux/linux-5.10/sound/i2c/other/
Dpt2258.c98 int val0, val1; in pt2258_stereo_volume_put() local
100 val0 = 79 - ucontrol->value.integer.value[0]; 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()
107 pt->volume[base] = val0; in pt2258_stereo_volume_put()
108 bytes[0] = pt2258_channel_code[2 * base] | (val0 / 10); in pt2258_stereo_volume_put()
109 bytes[1] = pt2258_channel_code[2 * base + 1] | (val0 % 10); in pt2258_stereo_volume_put()
/kernel/linux/linux-4.19/sound/i2c/other/
Dpt2258.c112 int val0, val1; in pt2258_stereo_volume_put() local
114 val0 = 79 - ucontrol->value.integer.value[0]; in pt2258_stereo_volume_put()
116 if (val0 < 0 || val0 > 79 || val1 < 0 || val1 > 79) in pt2258_stereo_volume_put()
118 if (val0 == pt->volume[base] && val1 == pt->volume[base + 1]) in pt2258_stereo_volume_put()
121 pt->volume[base] = val0; in pt2258_stereo_volume_put()
122 bytes[0] = pt2258_channel_code[2 * base] | (val0 / 10); in pt2258_stereo_volume_put()
123 bytes[1] = pt2258_channel_code[2 * base + 1] | (val0 % 10); in pt2258_stereo_volume_put()
/kernel/linux/linux-5.10/drivers/iio/common/hid-sensors/
Dhid-sensor-attributes.c306 static void adjust_exponent_nano(int *val0, int *val1, int scale0, in adjust_exponent_nano() argument
316 *val0 = scale0 * int_pow(10, exp); in adjust_exponent_nano()
328 *val0 += res; in adjust_exponent_nano()
333 *val0 = *val1 = 0; in adjust_exponent_nano()
337 *val0 = scale0 / divisor; in adjust_exponent_nano()
348 *val0 = scale0; in adjust_exponent_nano()
355 int *val0, int *val1) in hid_sensor_format_scale() argument
360 *val0 = 1; in hid_sensor_format_scale()
368 adjust_exponent_nano(val0, val1, in hid_sensor_format_scale()
483 int val0, val1; in hid_sensor_parse_common_attributes() local
[all …]
/kernel/linux/linux-4.19/drivers/iio/common/hid-sensors/
Dhid-sensor-attributes.c318 static void adjust_exponent_nano(int *val0, int *val1, int scale0, in adjust_exponent_nano() argument
327 *val0 = scale0 * pow_10(exp); in adjust_exponent_nano()
338 *val0 += res; in adjust_exponent_nano()
343 *val0 = *val1 = 0; in adjust_exponent_nano()
346 *val0 = scale0 / pow_10(exp); in adjust_exponent_nano()
356 *val0 = scale0; in adjust_exponent_nano()
363 int *val0, int *val1) in hid_sensor_format_scale() argument
368 *val0 = 1; in hid_sensor_format_scale()
376 adjust_exponent_nano(val0, val1, in hid_sensor_format_scale()
491 int val0, val1; in hid_sensor_parse_common_attributes() local
[all …]
/kernel/linux/linux-5.10/arch/ia64/include/uapi/asm/
Dintrinsics.h24 #define ia64_set_rr0_to_rr4(val0, val1, val2, val3, val4) \ argument
26 ia64_set_rr(0x0000000000000000UL, (val0)); \
/kernel/linux/linux-5.10/tools/perf/util/
Dexpr.y13 static double d_ratio(double val0, double val1) in d_ratio() argument
18 return val0 / val1; in d_ratio()
/kernel/linux/linux-4.19/arch/ia64/include/uapi/asm/
Dintrinsics.h26 #define ia64_native_set_rr0_to_rr4(val0, val1, val2, val3, val4) \ argument
28 ia64_native_set_rr(0x0000000000000000UL, (val0)); \
/kernel/linux/linux-4.19/drivers/staging/gasket/
Dapex_driver.c315 u32 val0, val1; in apex_quit_reset() local
367 val0 = gasket_dev_read_32(gasket_dev, APEX_BAR_INDEX, in apex_quit_reset()
378 "Disallow HW clock gating 0x%x -> 0x%x\n", val0, val1); in apex_quit_reset()
380 val0 = gasket_dev_read_32(gasket_dev, APEX_BAR_INDEX, in apex_quit_reset()
390 val0, val1); in apex_quit_reset()
/kernel/linux/linux-5.10/drivers/staging/gasket/
Dapex_driver.c311 u32 val0, val1; in apex_quit_reset() local
363 val0 = gasket_dev_read_32(gasket_dev, APEX_BAR_INDEX, in apex_quit_reset()
374 "Disallow HW clock gating 0x%x -> 0x%x\n", val0, val1); in apex_quit_reset()
376 val0 = gasket_dev_read_32(gasket_dev, APEX_BAR_INDEX, in apex_quit_reset()
386 val0, val1); in apex_quit_reset()
/kernel/linux/linux-4.19/sound/soc/sh/rcar/
Dsrc.c335 u32 val0, val1; in rsnd_src_error_occurred() local
339 val0 = val1 = OUF_SRC(rsnd_mod_id(mod)); in rsnd_src_error_occurred()
347 val0 = val0 & 0xffff; in rsnd_src_error_occurred()
351 if ((status0 & val0) || (status1 & val1)) { in rsnd_src_error_occurred()
/kernel/linux/linux-5.10/sound/soc/sh/rcar/
Dsrc.c398 u32 val0, val1; in rsnd_src_error_occurred() local
402 val0 = val1 = OUF_SRC(rsnd_mod_id(mod)); in rsnd_src_error_occurred()
410 val0 = val0 & 0xffff; in rsnd_src_error_occurred()
414 if ((status0 & val0) || (status1 & val1)) { in rsnd_src_error_occurred()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/adreno/
Da6xx_gpu_state.h168 u32 val0; member
173 { .val0 = _base, .val1 = _type, .registers = _array, \
281 .val0 = _sel_reg, .val1 = _sel_val }
/kernel/linux/linux-4.19/drivers/net/ethernet/chelsio/cxgb/
Dpm3393.c429 t1_tpi_read((mac)->adapter, OFFSET(name), &val0); \
432 (mac)->stats.stat_name = (u64)(val0 & 0xffff) | \
446 u32 val0, val1, val2, val3; in pm3393_update_statistics() local
453 pmread(mac, SUNI1x10GEXP_REG_MSTAT_COUNTER_ROLLOVER_0, &val0); in pm3393_update_statistics()
457 ro = ((u64)val0 & 0xffff) | (((u64)val1 & 0xffff) << 16) | in pm3393_update_statistics()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb/
Dpm3393.c429 t1_tpi_read((mac)->adapter, OFFSET(name), &val0); \
432 (mac)->stats.stat_name = (u64)(val0 & 0xffff) | \
446 u32 val0, val1, val2, val3; in pm3393_update_statistics() local
453 pmread(mac, SUNI1x10GEXP_REG_MSTAT_COUNTER_ROLLOVER_0, &val0); in pm3393_update_statistics()
457 ro = ((u64)val0 & 0xffff) | (((u64)val1 & 0xffff) << 16) | in pm3393_update_statistics()
/kernel/linux/linux-5.10/drivers/misc/sgi-gru/
Dgrulib.h97 int val0; member
Dgrufault.c875 if (req.val0 < -1 || req.val0 >= GRU_CHIPLETS_PER_HUB || in gru_set_context_option()
881 gts->ts_user_chiplet_id = req.val0; in gru_set_context_option()
/kernel/linux/linux-4.19/drivers/misc/sgi-gru/
Dgrulib.h97 int val0; member
Dgrufault.c883 if (req.val0 < -1 || req.val0 >= GRU_CHIPLETS_PER_HUB || in gru_set_context_option()
889 gts->ts_user_chiplet_id = req.val0; in gru_set_context_option()
/kernel/linux/linux-4.19/sound/ppc/
Dawacs.c573 int val0, val6; in snd_pmac_screamer_mic_boost_put() local
577 val0 = chip->awacs_reg[0] & ~MASK_GAINLINE; in snd_pmac_screamer_mic_boost_put()
580 val0 |= MASK_GAINLINE; in snd_pmac_screamer_mic_boost_put()
583 if (val0 != chip->awacs_reg[0]) { in snd_pmac_screamer_mic_boost_put()
584 snd_pmac_awacs_write_reg(chip, 0, val0); in snd_pmac_screamer_mic_boost_put()
/kernel/linux/linux-5.10/sound/ppc/
Dawacs.c560 int val0, val6; in snd_pmac_screamer_mic_boost_put() local
564 val0 = chip->awacs_reg[0] & ~MASK_GAINLINE; in snd_pmac_screamer_mic_boost_put()
567 val0 |= MASK_GAINLINE; in snd_pmac_screamer_mic_boost_put()
570 if (val0 != chip->awacs_reg[0]) { in snd_pmac_screamer_mic_boost_put()
571 snd_pmac_awacs_write_reg(chip, 0, val0); in snd_pmac_screamer_mic_boost_put()
/kernel/linux/linux-5.10/arch/csky/kernel/
Dentry.S44 .macro tlbop_begin name, val0, val1, val2
89 movi a2, (_PAGE_PRESENT | \val0)
/kernel/linux/linux-4.19/drivers/thunderbolt/
Dicm.c1599 u32 val0, val1; in icm_reset_phy_port() local
1617 ret = pcie2cio_read(icm, TB_CFG_PORT, port0, PHY_PORT_CS1, &val0); in icm_reset_phy_port()
1624 state0 = val0 & PHY_PORT_CS1_LINK_STATE_MASK; in icm_reset_phy_port()
1633 val0 |= PHY_PORT_CS1_LINK_DISABLE; in icm_reset_phy_port()
1634 ret = pcie2cio_write(icm, TB_CFG_PORT, port0, PHY_PORT_CS1, val0); in icm_reset_phy_port()
1646 ret = pcie2cio_read(icm, TB_CFG_PORT, port0, PHY_PORT_CS1, &val0); in icm_reset_phy_port()
1653 val0 &= ~PHY_PORT_CS1_LINK_DISABLE; in icm_reset_phy_port()
1654 ret = pcie2cio_write(icm, TB_CFG_PORT, port0, PHY_PORT_CS1, val0); in icm_reset_phy_port()
/kernel/linux/linux-5.10/include/linux/
Dhid-sensor-hub.h265 int *val0, int *val1);
/kernel/linux/linux-4.19/include/linux/
Dhid-sensor-hub.h278 int *val0, int *val1);
/kernel/linux/linux-4.19/drivers/gpu/drm/mga/
Dmga_drv.h323 #define DMA_BLOCK(reg0, val0, reg1, val1, reg2, val2, reg3, val3) \ argument
329 DMA_WRITE(1, val0); \

12