| /OK3568_Linux_fs/kernel/sound/i2c/other/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/iio/common/hid-sensors/ |
| H A D | hid-sensor-attributes.c | 306 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/common/ |
| H A D | mali_gp.c | 332 u32 val0 = 0; in mali_gp_update_performance_counters() local 338 val0 = mali_hw_core_register_read(&core->hw_core, MALIGP2_REG_ADDR_MGMT_PERF_CNT_0_VALUE); in mali_gp_update_performance_counters() 339 mali_gp_job_set_perf_counter_value0(job, val0); in mali_gp_update_performance_counters() 342 _mali_osk_profiling_report_hw_counter(COUNTER_VP_0_C0, val0); in mali_gp_update_performance_counters() 343 _mali_osk_profiling_record_global_counters(COUNTER_VP_0_C0, val0); in mali_gp_update_performance_counters()
|
| H A D | mali_pp.c | 464 u32 val0 = 0; in mali_pp_update_performance_counters() local 473 val0 = mali_hw_core_register_read(&child->hw_core, MALI200_REG_ADDR_MGMT_PERF_CNT_0_VALUE); in mali_pp_update_performance_counters() 474 mali_pp_job_set_perf_counter_value0(job, subjob, val0); in mali_pp_update_performance_counters() 477 _mali_osk_profiling_report_hw_counter(counter_index, val0); in mali_pp_update_performance_counters() 478 _mali_osk_profiling_record_global_counters(counter_index, val0); in mali_pp_update_performance_counters()
|
| /OK3568_Linux_fs/kernel/arch/ia64/include/uapi/asm/ |
| H A D | intrinsics.h | 24 #define ia64_set_rr0_to_rr4(val0, val1, val2, val3, val4) \ argument 26 ia64_set_rr(0x0000000000000000UL, (val0)); \
|
| /OK3568_Linux_fs/kernel/drivers/staging/gasket/ |
| H A D | apex_driver.c | 311 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()
|
| /OK3568_Linux_fs/u-boot/drivers/power/io-domain/ |
| H A D | rockchip-io-domain.c | 113 u32 val0, val1; in rk3568_pmu_iodomain_write() local 120 val0 = BIT(16 + b) | (is_3v3 ? 0 : BIT(b)); in rk3568_pmu_iodomain_write() 124 regmap_write(regmap, RK3568_PMU_GRF_IO_VSEL2, val0); in rk3568_pmu_iodomain_write() 135 val0 = BIT(16 + b) | (is_3v3 ? 0 : BIT(b)); in rk3568_pmu_iodomain_write() 138 regmap_write(regmap, RK3568_PMU_GRF_IO_VSEL0, val0); in rk3568_pmu_iodomain_write()
|
| /OK3568_Linux_fs/kernel/sound/soc/sh/rcar/ |
| H A D | src.c | 398 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()
|
| /OK3568_Linux_fs/kernel/tools/perf/util/ |
| H A D | expr.y | 13 static double d_ratio(double val0, double val1) in d_ratio() argument 18 return val0 / val1; in d_ratio()
|
| /OK3568_Linux_fs/kernel/drivers/soc/rockchip/ |
| H A D | io-domain.c | 97 u32 val0, val1; in rk3568_iodomain_write() local 105 val0 = BIT(16 + b) | (is_3v3 ? 0 : BIT(b)); in rk3568_iodomain_write() 109 regmap_write(iod->grf, RK3568_PMU_GRF_IO_VSEL2, val0); in rk3568_iodomain_write() 121 val0 = BIT(16 + b) | (is_3v3 ? 0 : BIT(b)); in rk3568_iodomain_write() 124 regmap_write(iod->grf, RK3568_PMU_GRF_IO_VSEL0, val0); in rk3568_iodomain_write()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/adreno/ |
| H A D | a6xx_gpu_state.h | 168 u32 val0; member 173 { .val0 = _base, .val1 = _type, .registers = _array, \ 281 .val0 = _sel_reg, .val1 = _sel_val }
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb/ |
| H A D | pm3393.c | 429 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()
|
| /OK3568_Linux_fs/kernel/sound/ppc/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/misc/sgi-gru/ |
| H A D | grulib.h | 97 int val0; member
|
| H A D | grufault.c | 870 if (req.val0 < -1 || req.val0 >= GRU_CHIPLETS_PER_HUB || in gru_set_context_option() 876 gts->ts_user_chiplet_id = req.val0; in gru_set_context_option()
|
| /OK3568_Linux_fs/kernel/arch/csky/kernel/ |
| H A D | entry.S | 44 .macro tlbop_begin name, val0, val1, val2 89 movi a2, (_PAGE_PRESENT | \val0)
|
| /OK3568_Linux_fs/kernel/drivers/thunderbolt/ |
| H A D | icm.c | 1794 u32 val0, val1; in icm_reset_phy_port() local 1812 ret = pcie2cio_read(icm, TB_CFG_PORT, port0, PHY_PORT_CS1, &val0); in icm_reset_phy_port() 1819 state0 = val0 & PHY_PORT_CS1_LINK_STATE_MASK; in icm_reset_phy_port() 1828 val0 |= PHY_PORT_CS1_LINK_DISABLE; in icm_reset_phy_port() 1829 ret = pcie2cio_write(icm, TB_CFG_PORT, port0, PHY_PORT_CS1, val0); in icm_reset_phy_port() 1841 ret = pcie2cio_read(icm, TB_CFG_PORT, port0, PHY_PORT_CS1, &val0); in icm_reset_phy_port() 1848 val0 &= ~PHY_PORT_CS1_LINK_DISABLE; in icm_reset_phy_port() 1849 ret = pcie2cio_write(icm, TB_CFG_PORT, port0, PHY_PORT_CS1, val0); in icm_reset_phy_port()
|
| /OK3568_Linux_fs/kernel/drivers/media/usb/gspca/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/mga/ |
| H A D | mga_drv.h | 340 #define DMA_BLOCK(reg0, val0, reg1, val1, reg2, val2, reg3, val3) \ argument 346 DMA_WRITE(1, val0); \
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | hid-sensor-hub.h | 265 int *val0, int *val1);
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/hal/phydm/ |
| H A D | phydm_api.h | 187 u8 val0, u8 val1);
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/hal/phydm/ |
| H A D | phydm_api.h | 187 u8 val0, u8 val1);
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/hal/phydm/ |
| H A D | phydm_api.h | 187 u8 val0, u8 val1);
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/hal/phydm/ |
| H A D | phydm_api.h | 201 u8 val0, u8 val1);
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/linux/ |
| H A D | mali_kernel_sysfs.c | 437 u32 val0 = 0; in l2_l2x_counter_valx_read() local 443 mali_l2_cache_core_get_counter_values(l2_core, &src0, &val0, &src1, &val1); in l2_l2x_counter_valx_read() 446 if (MALI_HW_CORE_NO_COUNTER != val0) { in l2_l2x_counter_valx_read() 447 val = val0; in l2_l2x_counter_valx_read()
|