Home
last modified time | relevance | path

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

/external/u-boot/drivers/power/pmic/
Dpmic_tps65218.c15 uchar read_val; in tps65218_reg_read() local
18 ret = i2c_read(TPS65218_CHIP_PM, dest_reg, 1, &read_val, 1); in tps65218_reg_read()
22 *dest_val = read_val; in tps65218_reg_read()
45 uchar read_val; in tps65218_reg_write() local
54 ret = i2c_read(TPS65218_CHIP_PM, dest_reg, 1, &read_val, 1); in tps65218_reg_write()
57 read_val &= (~mask); in tps65218_reg_write()
58 read_val |= (dest_val & mask); in tps65218_reg_write()
59 dest_val = read_val; in tps65218_reg_write()
Dpmic_tps65217.c40 uchar read_val; in tps65217_reg_write() local
49 ret = i2c_read(TPS65217_CHIP_PM, dest_reg, 1, &read_val, 1); in tps65217_reg_write()
52 read_val &= (~mask); in tps65217_reg_write()
53 read_val |= (dest_val & mask); in tps65217_reg_write()
54 dest_val = read_val; in tps65217_reg_write()
/external/swiftshader/third_party/SPIRV-Tools/test/
Dbit_stream.cpp923 uint64_t read_val = 0; in TEST() local
924 ASSERT_TRUE(reader.ReadVariableWidthU64(&read_val, chunk_length)); in TEST()
926 ASSERT_EQ(val, read_val) << "Chunk length " << chunk_length; in TEST()
940 int64_t read_val = 0; in TEST() local
942 reader.ReadVariableWidthS64(&read_val, chunk_length, zigzag_exponent)); in TEST()
944 ASSERT_EQ(val, read_val) << "Chunk length " << chunk_length; in TEST()
957 uint32_t read_val = 0; in TEST() local
958 ASSERT_TRUE(reader.ReadVariableWidthU32(&read_val, chunk_length)); in TEST()
960 ASSERT_EQ(val, read_val) << "Chunk length " << chunk_length; in TEST()
973 uint16_t read_val = 0; in TEST() local
[all …]
/external/deqp-deps/SPIRV-Tools/test/
Dbit_stream.cpp923 uint64_t read_val = 0; in TEST() local
924 ASSERT_TRUE(reader.ReadVariableWidthU64(&read_val, chunk_length)); in TEST()
926 ASSERT_EQ(val, read_val) << "Chunk length " << chunk_length; in TEST()
940 int64_t read_val = 0; in TEST() local
942 reader.ReadVariableWidthS64(&read_val, chunk_length, zigzag_exponent)); in TEST()
944 ASSERT_EQ(val, read_val) << "Chunk length " << chunk_length; in TEST()
957 uint32_t read_val = 0; in TEST() local
958 ASSERT_TRUE(reader.ReadVariableWidthU32(&read_val, chunk_length)); in TEST()
960 ASSERT_EQ(val, read_val) << "Chunk length " << chunk_length; in TEST()
973 uint16_t read_val = 0; in TEST() local
[all …]
/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/python/cpython3/Lib/test/
Dtest_winreg.py139 read_val, read_typ = QueryValueEx(sub_key, value_name)
140 self.assertEqual(read_val, value_data,
146 read_val = EnumKey(key, 0)
147 self.assertEqual(read_val, subkeystr, "Read subkey value wrong")
/external/autotest/client/cros/power/
Dpower_status.py55 def read_val(self, file_name, field_type): member in DevStat
76 val = self.read_val(prop[0], prop[1])
144 and self.temp > self.read_val(field, int):
190 def read_val(self, file_name, field_type): member in ThermalStatHwmon
/external/tensorflow/tensorflow/python/kernel_tests/
Dtensor_array_ops_test.py1428 read_val, grad_val = session.run([r0, grad])
1430 self.assertAllEqual([1.0, -1.0], read_val)