/linux-6.1.9/sound/i2c/other/ |
D | pt2258.c | 98 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()
|
/linux-6.1.9/drivers/iio/common/hid-sensors/ |
D | hid-sensor-attributes.c | 355 static void adjust_exponent_nano(int *val0, int *val1, int scale0, in adjust_exponent_nano() argument 365 *val0 = scale0 * int_pow(10, exp); in adjust_exponent_nano() 377 *val0 += res; in adjust_exponent_nano() 382 *val0 = *val1 = 0; in adjust_exponent_nano() 386 *val0 = scale0 / divisor; in adjust_exponent_nano() 397 *val0 = scale0; in adjust_exponent_nano() 404 int *val0, int *val1) in hid_sensor_format_scale() argument 409 *val0 = 1; in hid_sensor_format_scale() 417 adjust_exponent_nano(val0, val1, in hid_sensor_format_scale() 559 int val0, val1; in hid_sensor_parse_common_attributes() local [all …]
|
/linux-6.1.9/arch/ia64/include/uapi/asm/ |
D | intrinsics.h | 24 #define ia64_set_rr0_to_rr4(val0, val1, val2, val3, val4) \ argument 26 ia64_set_rr(0x0000000000000000UL, (val0)); \
|
/linux-6.1.9/drivers/soc/rockchip/ |
D | io-domain.c | 86 u32 val0, val1; in rk3568_iodomain_write() local 94 val0 = BIT(16 + b) | (is_3v3 ? 0 : BIT(b)); in rk3568_iodomain_write() 98 regmap_write(iod->grf, RK3568_PMU_GRF_IO_VSEL2, val0); in rk3568_iodomain_write() 110 val0 = BIT(16 + b) | (is_3v3 ? 0 : BIT(b)); in rk3568_iodomain_write() 113 regmap_write(iod->grf, RK3568_PMU_GRF_IO_VSEL0, val0); in rk3568_iodomain_write()
|
/linux-6.1.9/sound/soc/sh/rcar/ |
D | src.c | 407 u32 val0, val1; in rsnd_src_error_occurred() local 411 val0 = val1 = OUF_SRC(rsnd_mod_id(mod)); in rsnd_src_error_occurred() 419 val0 = val0 & 0xffff; in rsnd_src_error_occurred() 423 if ((status0 & val0) || (status1 & val1)) { in rsnd_src_error_occurred()
|
/linux-6.1.9/drivers/gpu/drm/msm/adreno/ |
D | a6xx_gpu_state.h | 168 u32 val0; member 173 { .val0 = _base, .val1 = _type, .registers = _array, \ 281 .val0 = _sel_reg, .val1 = _sel_val }
|
D | a6xx_gpu_state.c | 658 regs->registers[i] - (regs->val0 >> 2); in a6xx_get_crashdumper_hlsq_registers() 692 if (regs->val0) in a6xx_get_crashdumper_registers() 693 in += CRASHDUMP_WRITE(in, regs->val0, regs->val1); in a6xx_get_crashdumper_registers()
|
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb/ |
D | pm3393.c | 420 t1_tpi_read((mac)->adapter, OFFSET(name), &val0); \ 423 (mac)->stats.stat_name = (u64)(val0 & 0xffff) | \ 437 u32 val0, val1, val2, val3; in pm3393_update_statistics() local 444 pmread(mac, SUNI1x10GEXP_REG_MSTAT_COUNTER_ROLLOVER_0, &val0); in pm3393_update_statistics() 448 ro = ((u64)val0 & 0xffff) | (((u64)val1 & 0xffff) << 16) | in pm3393_update_statistics()
|
/linux-6.1.9/drivers/misc/sgi-gru/ |
D | grulib.h | 97 int val0; member
|
D | grufault.c | 875 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()
|
/linux-6.1.9/sound/ppc/ |
D | awacs.c | 560 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()
|
/linux-6.1.9/include/linux/ |
D | hid-sensor-hub.h | 273 int *val0, int *val1);
|
/linux-6.1.9/drivers/gpu/drm/mga/ |
D | mga_drv.h | 338 #define DMA_BLOCK(reg0, val0, reg1, val1, reg2, val2, reg3, val3) \ argument 344 DMA_WRITE(1, val0); \
|
/linux-6.1.9/drivers/media/usb/gspca/ |
D | ov519.c | 2914 unsigned char val0, val1; in ov51x_upload_quan_tables() local 2930 val0 = *pYTable++; in ov51x_upload_quan_tables() 2932 val0 &= 0x0f; in ov51x_upload_quan_tables() 2934 val0 |= val1 << 4; in ov51x_upload_quan_tables() 2935 reg_w(sd, reg, val0); in ov51x_upload_quan_tables() 2937 val0 = *pUVTable++; in ov51x_upload_quan_tables() 2939 val0 &= 0x0f; in ov51x_upload_quan_tables() 2941 val0 |= val1 << 4; in ov51x_upload_quan_tables() 2942 reg_w(sd, reg + size, val0); in ov51x_upload_quan_tables()
|
/linux-6.1.9/drivers/thunderbolt/ |
D | icm.c | 1848 u32 val0, val1; in icm_reset_phy_port() local 1866 ret = pcie2cio_read(icm, TB_CFG_PORT, port0, PHY_PORT_CS1, &val0); in icm_reset_phy_port() 1873 state0 = val0 & PHY_PORT_CS1_LINK_STATE_MASK; in icm_reset_phy_port() 1882 val0 |= PHY_PORT_CS1_LINK_DISABLE; in icm_reset_phy_port() 1883 ret = pcie2cio_write(icm, TB_CFG_PORT, port0, PHY_PORT_CS1, val0); in icm_reset_phy_port() 1895 ret = pcie2cio_read(icm, TB_CFG_PORT, port0, PHY_PORT_CS1, &val0); in icm_reset_phy_port() 1902 val0 &= ~PHY_PORT_CS1_LINK_DISABLE; in icm_reset_phy_port() 1903 ret = pcie2cio_write(icm, TB_CFG_PORT, port0, PHY_PORT_CS1, val0); in icm_reset_phy_port()
|
/linux-6.1.9/lib/zstd/compress/ |
D | zstd_fast.c | 94 U32 const val0 = MEM_read32(ip0); in ZSTD_compressBlock_fast_generic() local 123 if ((matchIndex0 > prefixStartIndex) && MEM_read32(match0) == val0) { in ZSTD_compressBlock_fast_generic()
|
/linux-6.1.9/drivers/clk/nxp/ |
D | clk-lpc32xx.c | 373 static inline bool pll_is_valid(u64 val0, u64 val1, u64 min, u64 max) in pll_is_valid() argument 375 return (val0 >= (val1 * min) && val0 <= (val1 * max)); in pll_is_valid()
|
/linux-6.1.9/drivers/infiniband/hw/qib/ |
D | qib_sd7220.c | 1003 #define RXEQ_VAL(elt, adr, val0, val1, val2, val3) \ argument 1004 {RXEQ_INIT_RDESC((elt), (adr)), {(val0), (val1), (val2), (val3)} }
|
/linux-6.1.9/drivers/gpu/drm/bridge/ |
D | ite-it6505.c | 650 int val0, val1; in it6505_read_word() local 652 val0 = it6505_read(it6505, reg); in it6505_read_word() 653 if (val0 < 0) in it6505_read_word() 654 return val0; in it6505_read_word() 660 return (val1 << 8) | val0; in it6505_read_word()
|
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_ring.h | 320 uint32_t reg0, uint32_t val0,
|
/linux-6.1.9/arch/mips/include/asm/octeon/ |
D | cvmx-sriox-defs.h | 446 uint64_t val0:1; member 470 uint64_t val0:1;
|
/linux-6.1.9/drivers/staging/media/atomisp/i2c/ |
D | mt9m114.h | 234 u32 val0; member
|
/linux-6.1.9/drivers/staging/media/ipu3/ |
D | ipu3-css.c | 454 u32 val0 = imgu_css_gdc_lut[0][i] & IMGU_GDC_LUT_MASK; in imgu_css_hw_init() local 459 writel(val0 | (val1 << 16), in imgu_css_hw_init()
|
/linux-6.1.9/arch/powerpc/lib/ |
D | sstep.c | 55 extern int do_stq(unsigned long ea, unsigned long val0, unsigned long val1); 57 extern int do_stqcx(unsigned long ea, unsigned long val0, unsigned long val1,
|