Home
last modified time | relevance | path

Searched refs:read_val (Results 1 – 12 of 12) sorted by relevance

/external/u-boot/drivers/power/pmic/
Dpmic_tps65218.c16 uchar read_val; in tps65218_reg_read() local
19 ret = i2c_read(TPS65218_CHIP_PM, dest_reg, 1, &read_val, 1); in tps65218_reg_read()
23 *dest_val = read_val; in tps65218_reg_read()
46 uchar read_val; in tps65218_reg_write() local
55 ret = i2c_read(TPS65218_CHIP_PM, dest_reg, 1, &read_val, 1); in tps65218_reg_write()
58 read_val &= (~mask); in tps65218_reg_write()
59 read_val |= (dest_val & mask); in tps65218_reg_write()
60 dest_val = read_val; in tps65218_reg_write()
93 uchar read_val; in tps65218_reg_read() local
99 ret = dm_i2c_read(tps65218_dev, dest_reg, &read_val, 1); in tps65218_reg_read()
[all …]
Dpmic_tps65217.c46 uchar read_val; in tps65217_reg_write() local
56 ret = i2c_read(TPS65217_CHIP_PM, dest_reg, 1, &read_val, 1); in tps65217_reg_write()
58 ret = dm_i2c_read(tps65217_dev, dest_reg, &read_val, 1); in tps65217_reg_write()
63 read_val &= (~mask); in tps65217_reg_write()
64 read_val |= (dest_val & mask); in tps65217_reg_write()
65 dest_val = read_val; in tps65217_reg_write()
/external/arm-trusted-firmware/drivers/st/pmic/
Dstm32mp_pmic.c253 uint8_t read_val; local
259 status = stpmic1_register_read(LDO3_CONTROL_REG, &read_val);
264 read_val &= ~STPMIC1_LDO3_MODE;
265 read_val &= ~STPMIC1_LDO12356_OUTPUT_MASK;
266 read_val |= STPMIC1_LDO3_DDR_SEL <<
269 status = stpmic1_register_write(LDO3_CONTROL_REG, read_val);
308 status = stpmic1_register_read(BUCK3_CONTROL_REG, &read_val);
313 if ((read_val & STPMIC1_BUCK3_1V8) == STPMIC1_BUCK3_1V8) {
317 status = stpmic1_register_read(LDO3_CONTROL_REG, &read_val);
322 read_val &= ~STPMIC1_LDO3_MODE;
[all …]
Dstpmic1.c755 uint8_t read_val; in stpmic1_get_version() local
757 rc = stpmic1_register_read(VERSION_STATUS_REG, &read_val); in stpmic1_get_version()
762 *version = (unsigned long)read_val; in stpmic1_get_version()
/external/u-boot/board/xilinx/zynqmp/
Dcmds.c71 u32 read_val, addr; in do_zynqmp_mmio_read() local
79 ret = zynqmp_mmio_read(addr, &read_val); in do_zynqmp_mmio_read()
82 addr, read_val); in do_zynqmp_mmio_read()
/external/u-boot/drivers/pci/
Dpci-aardvark.c222 uint *read_val) in pcie_advk_check_pio_status() argument
240 *read_val = advk_readl(pcie, PIO_RD_DATA); in pcie_advk_check_pio_status()
247 *read_val = CFG_RD_UR_VAL; in pcie_advk_check_pio_status()
256 *read_val = CFG_RD_CRS_VAL; in pcie_advk_check_pio_status()
/external/python/cpython2/Lib/test/
Dtest_winreg.py144 read_val, read_typ = QueryValueEx(sub_key, value_name)
145 self.assertEqual(read_val, value_data,
151 read_val = EnumKey(key, 0)
152 self.assertEqual(read_val, "sub_key", "Read subkey value wrong")
/external/igt-gpu-tools/tests/i915/
Dgem_mocs_settings.c369 uint32_t val, read_val; in check_control_registers() local
374 read_val = read_regs[index]; in check_control_registers()
376 igt_assert_f(read_val == val, in check_control_registers()
378 engine, index, read_val, val); in check_control_registers()
/external/python/cpython3/Lib/test/
Dtest_winreg.py140 read_val, read_typ = QueryValueEx(sub_key, value_name)
141 self.assertEqual(read_val, value_data,
147 read_val = EnumKey(key, 0)
148 self.assertEqual(read_val, subkeystr, "Read subkey value wrong")
/external/autotest/client/cros/power/
Dpower_status.py56 def read_val(self, file_name, field_type): member in DevStat
77 val = self.read_val(prop[0], prop[1])
145 and self.temp > self.read_val(field, int):
190 def read_val(self, file_name, field_type): member in ThermalStatHwmon
/external/crosvm/kvm/src/
Dlib.rs1876 let read_val: u8 = vm.get_memory().read_obj_from_addr(obj_addr).unwrap(); in get_memory() localVariable
1877 assert_eq!(read_val, 67u8); in get_memory()
/external/tensorflow/tensorflow/python/kernel_tests/
Dtensor_array_ops_test.py1497 read_val, grad_val = session.run([r0, grad])
1499 self.assertAllEqual([1.0, -1.0], read_val)