Home
last modified time | relevance | path

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

/Linux-v4.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()
/Linux-v4.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 …]
/Linux-v4.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)); \
/Linux-v4.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()
/Linux-v4.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()
/Linux-v4.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()
/Linux-v4.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()
/Linux-v4.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()
/Linux-v4.19/drivers/thunderbolt/
Dicm.c1590 u32 val0, val1; in icm_reset_phy_port() local
1608 ret = pcie2cio_read(icm, TB_CFG_PORT, port0, PHY_PORT_CS1, &val0); in icm_reset_phy_port()
1615 state0 = val0 & PHY_PORT_CS1_LINK_STATE_MASK; in icm_reset_phy_port()
1624 val0 |= PHY_PORT_CS1_LINK_DISABLE; in icm_reset_phy_port()
1625 ret = pcie2cio_write(icm, TB_CFG_PORT, port0, PHY_PORT_CS1, val0); in icm_reset_phy_port()
1637 ret = pcie2cio_read(icm, TB_CFG_PORT, port0, PHY_PORT_CS1, &val0); in icm_reset_phy_port()
1644 val0 &= ~PHY_PORT_CS1_LINK_DISABLE; in icm_reset_phy_port()
1645 ret = pcie2cio_write(icm, TB_CFG_PORT, port0, PHY_PORT_CS1, val0); in icm_reset_phy_port()
/Linux-v4.19/include/linux/
Dhid-sensor-hub.h276 int *val0, int *val1);
/Linux-v4.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); \
/Linux-v4.19/drivers/media/usb/gspca/
Dov519.c2914 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-v4.19/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ring.h242 uint32_t reg0, uint32_t val0,
/Linux-v4.19/drivers/clk/nxp/
Dclk-lpc32xx.c378 static inline bool pll_is_valid(u64 val0, u64 val1, u64 min, u64 max) in pll_is_valid() argument
380 return (val0 >= (val1 * min) && val0 <= (val1 * max)); in pll_is_valid()
/Linux-v4.19/drivers/infiniband/hw/qib/
Dqib_sd7220.c1004 #define RXEQ_VAL(elt, adr, val0, val1, val2, val3) \ argument
1005 {RXEQ_INIT_RDESC((elt), (adr)), {(val0), (val1), (val2), (val3)} }
/Linux-v4.19/arch/mips/include/asm/octeon/
Dcvmx-sriox-defs.h467 uint64_t val0:1; member
491 uint64_t val0:1;
/Linux-v4.19/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.c1517 u32 val0 = 0; in hns_roce_v2_post_mbox() local
1530 roce_set_field(val0, HNS_ROCE_VF_MB4_TAG_MASK, in hns_roce_v2_post_mbox()
1532 roce_set_field(val0, HNS_ROCE_VF_MB4_CMD_MASK, in hns_roce_v2_post_mbox()
1545 writel(val0, hcr + 4); in hns_roce_v2_post_mbox()
/Linux-v4.19/arch/powerpc/lib/
Dsstep.c56 extern int do_stq(unsigned long ea, unsigned long val0, unsigned long val1);
58 extern int do_stqcx(unsigned long ea, unsigned long val0, unsigned long val1,