Searched refs:read_val (Results 1 – 6 of 6) sorted by relevance
| /openbmc/u-boot/drivers/power/pmic/ |
| H A D | pmic_tps65218.c | 16 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 …]
|
| H A D | pmic_tps65217.c | 46 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()
|
| /openbmc/u-boot/board/xilinx/zynqmp/ |
| H A D | cmds.c | 68 u32 read_val, addr; in do_zynqmp_mmio_read() local 76 ret = zynqmp_mmio_read(addr, &read_val); in do_zynqmp_mmio_read() 79 addr, read_val); in do_zynqmp_mmio_read()
|
| /openbmc/u-boot/drivers/pci/ |
| H A D | pci-aardvark.c | 222 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()
|
| /openbmc/qemu/hw/core/ |
| H A D | register.c | 212 uint64_t read_val; in register_read_memory() local 232 read_val = register_read(reg, re, reg_array->prefix, in register_read_memory() 235 return extract64(read_val, 0, size * 8); in register_read_memory()
|
| /openbmc/qemu/hw/xen/ |
| H A D | xen_pt.c | 254 uint32_t read_val = 0, wb_mask; in xen_pt_pci_write_config() local 296 (uint8_t *)&read_val, len); in xen_pt_pci_write_config() 299 memset(&read_val, 0xff, len); in xen_pt_pci_write_config() 318 read_val <<= (addr & 3) << 3; in xen_pt_pci_write_config() 348 read_val >> ((real_offset & 3) << 3), in xen_pt_pci_write_config() 355 (read_val >> ((real_offset & 3) << 3)), in xen_pt_pci_write_config() 362 (read_val >> ((real_offset & 3) << 3)), in xen_pt_pci_write_config()
|