Home
last modified time | relevance | path

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

12

/openbmc/u-boot/arch/mips/mach-mscc/
H A Dgpio.c12 u32 val0, val1; in mscc_gpio_set_alternate() local
14 val0 = readl(BASE_DEVCPU_GCB + GPIO_ALT(0)); in mscc_gpio_set_alternate()
18 val0 |= mask; in mscc_gpio_set_alternate()
21 val0 &= ~mask; in mscc_gpio_set_alternate()
24 val0 |= mask; in mscc_gpio_set_alternate()
27 val0 &= ~mask; in mscc_gpio_set_alternate()
31 writel(val0, BASE_DEVCPU_GCB + GPIO_ALT(0)); in mscc_gpio_set_alternate()
/openbmc/qemu/target/m68k/
H A Dfpu_helper.c322 res->d = floatx80_add(val0->d, val1->d, &env->fp_status); in HELPER()
328 res->d = floatx80_add(val0->d, val1->d, &env->fp_status); in HELPER()
335 res->d = floatx80_add(val0->d, val1->d, &env->fp_status); in HELPER()
341 res->d = floatx80_sub(val1->d, val0->d, &env->fp_status); in HELPER()
347 res->d = floatx80_sub(val1->d, val0->d, &env->fp_status); in HELPER()
354 res->d = floatx80_sub(val1->d, val0->d, &env->fp_status); in HELPER()
360 res->d = floatx80_mul(val0->d, val1->d, &env->fp_status); in HELPER()
366 res->d = floatx80_mul(val0->d, val1->d, &env->fp_status); in HELPER()
373 res->d = floatx80_mul(val0->d, val1->d, &env->fp_status); in HELPER()
384 a = floatx80_round(val0->d, &env->fp_status); in HELPER()
[all …]
/openbmc/u-boot/board/mscc/jr2/
H A Djr2.c37 u32 val0, val1; in vcoreiii_gpio_set_alternate() local
50 val0 = readl(reg0); in vcoreiii_gpio_set_alternate()
53 writel(val0 | mask, reg0); in vcoreiii_gpio_set_alternate()
56 writel(val0 & ~mask, reg0); in vcoreiii_gpio_set_alternate()
59 writel(val0 | mask, reg0); in vcoreiii_gpio_set_alternate()
62 writel(val0 & ~mask, reg0); in vcoreiii_gpio_set_alternate()
/openbmc/linux/sound/i2c/other/
H A 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()
/openbmc/linux/drivers/iio/common/hid-sensors/
H A Dhid-sensor-attributes.c365 *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
562 &timestamp, &val0, &val1); in hid_sensor_parse_common_attributes()
[all …]
/openbmc/linux/arch/ia64/include/uapi/asm/
H A Dintrinsics.h20 #define ia64_set_rr0_to_rr4(val0, val1, val2, val3, val4) \ argument
22 ia64_set_rr(0x0000000000000000UL, (val0)); \
/openbmc/u-boot/test/dm/
H A Dregmap.c127 u32 val0; in dm_test_regmap_getset() member
137 regmap_set(map, struct layout, val0, 0xcacafafa); in dm_test_regmap_getset()
140 ut_assertok(regmap_get(map, struct layout, val0, &reg)); in dm_test_regmap_getset()
/openbmc/linux/drivers/soc/rockchip/
H A Dio-domain.c86 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()
/openbmc/linux/sound/soc/sh/rcar/
H A Dsrc.c407 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()
/openbmc/linux/drivers/gpu/drm/msm/adreno/
H A Da6xx_gpu_state.h174 u32 val0; member
179 { .val0 = _base, .val1 = _type, .registers = _array, \
297 .val0 = _sel_reg, .val1 = _sel_val }
H A Da6xx_gpu_state.c680 regs->registers[i] - (regs->val0 >> 2); in a6xx_get_crashdumper_hlsq_registers()
719 if (regs->val0) in a6xx_get_crashdumper_registers()
720 in += CRASHDUMP_WRITE(in, regs->val0, regs->val1); in a6xx_get_crashdumper_registers()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb/
H A Dpm3393.c420 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()
/openbmc/qemu/hw/input/
H A Dtrace-events6 adb_device_kbd_readreg(int reg, uint8_t val0, uint8_t val1) "reg %d obuf[0] 0x%2.2x obuf[1] 0x%2.2x"
13 adb_device_mouse_readreg(int reg, uint8_t val0, uint8_t val1) "reg %d obuf[0] 0x%2.2x obuf[1] 0x%2.…
/openbmc/linux/drivers/media/platform/nxp/imx8-isi/
H A Dimx8-isi-hw.c173 u32 val, val0, val1; in mxc_isi_channel_set_crop() local
184 val0 = CHNL_CROP_ULC_X(dst->left) | CHNL_CROP_ULC_Y(dst->top); in mxc_isi_channel_set_crop()
187 mxc_isi_write(pipe, CHNL_CROP_ULC, val0); in mxc_isi_channel_set_crop()
188 mxc_isi_write(pipe, CHNL_CROP_LRC, val1 + val0); in mxc_isi_channel_set_crop()
/openbmc/linux/drivers/misc/sgi-gru/
H A Dgrulib.h97 int val0; member
H A 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()
/openbmc/linux/sound/ppc/
H A Dawacs.c561 int val0, val6; in snd_pmac_screamer_mic_boost_put() local
565 val0 = chip->awacs_reg[0] & ~MASK_GAINLINE; in snd_pmac_screamer_mic_boost_put()
568 val0 |= MASK_GAINLINE; in snd_pmac_screamer_mic_boost_put()
571 if (val0 != chip->awacs_reg[0]) { in snd_pmac_screamer_mic_boost_put()
572 snd_pmac_awacs_write_reg(chip, 0, val0); in snd_pmac_screamer_mic_boost_put()
/openbmc/linux/include/linux/
H A Dhid-sensor-hub.h273 int *val0, int *val1);
/openbmc/qemu/target/arm/tcg/
H A Dsme_helper.c355 uint64_t val0 = HOST(host), val1 = HOST(host + 8); \
357 ptr[0] = BE ? val1 : val0, ptr[1] = BE ? val0 : val1; \
366 uint64_t val0 = TLB(env, useronly_clean_ptr(addr), ra); \
369 ptr[0] = BE ? val1 : val0, ptr[1] = BE ? val0 : val1; \
/openbmc/linux/drivers/media/usb/gspca/
H A 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()
/openbmc/linux/drivers/thunderbolt/
H A Dicm.c1846 u32 val0, val1; in icm_reset_phy_port() local
1864 ret = pcie2cio_read(icm, TB_CFG_PORT, port0, PHY_PORT_CS1, &val0); in icm_reset_phy_port()
1871 state0 = val0 & PHY_PORT_CS1_LINK_STATE_MASK; in icm_reset_phy_port()
1880 val0 |= PHY_PORT_CS1_LINK_DISABLE; in icm_reset_phy_port()
1881 ret = pcie2cio_write(icm, TB_CFG_PORT, port0, PHY_PORT_CS1, val0); in icm_reset_phy_port()
1893 ret = pcie2cio_read(icm, TB_CFG_PORT, port0, PHY_PORT_CS1, &val0); in icm_reset_phy_port()
1900 val0 &= ~PHY_PORT_CS1_LINK_DISABLE; in icm_reset_phy_port()
1901 ret = pcie2cio_write(icm, TB_CFG_PORT, port0, PHY_PORT_CS1, val0); in icm_reset_phy_port()
/openbmc/linux/drivers/infiniband/hw/erdma/
H A Derdma_verbs.c1357 u64 val0, val1; in alloc_db_resources() local
1381 ret = erdma_post_cmd_wait(&dev->cmdq, &req, sizeof(req), &val0, &val1); in alloc_db_resources()
1386 ctx->ext_db.sdb_off = ERDMA_GET(val0, ALLOC_DB_RESP_SDB); in alloc_db_resources()
1387 ctx->ext_db.rdb_off = ERDMA_GET(val0, ALLOC_DB_RESP_RDB); in alloc_db_resources()
1388 ctx->ext_db.cdb_off = ERDMA_GET(val0, ALLOC_DB_RESP_CDB); in alloc_db_resources()
/openbmc/linux/drivers/clk/nxp/
H A Dclk-lpc32xx.c373 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()
/openbmc/linux/drivers/infiniband/hw/qib/
H A Dqib_sd7220.c1003 #define RXEQ_VAL(elt, adr, val0, val1, val2, val3) \ argument
1004 {RXEQ_INIT_RDESC((elt), (adr)), {(val0), (val1), (val2), (val3)} }
/openbmc/linux/drivers/gpu/drm/bridge/
H A Dite-it6505.c670 int val0, val1; in it6505_read_word() local
672 val0 = it6505_read(it6505, reg); in it6505_read_word()
673 if (val0 < 0) in it6505_read_word()
674 return val0; in it6505_read_word()
680 return (val1 << 8) | val0; in it6505_read_word()

12