Home
last modified time | relevance | path

Searched refs:valw (Results 1 – 5 of 5) sorted by relevance

/openbmc/u-boot/drivers/gpio/
H A Dpca953x.c64 uint16_t valw; in pca953x_reg_write() local
75 if (i2c_read(chip, addr << 1, 1, (u8*)&valw, 2)) in pca953x_reg_write()
78 valw = le16_to_cpu(valw); in pca953x_reg_write()
79 valw &= ~mask; in pca953x_reg_write()
80 valw |= data; in pca953x_reg_write()
81 valw = cpu_to_le16(valw); in pca953x_reg_write()
83 return i2c_write(chip, addr << 1, 1, (u8*)&valw, 2); in pca953x_reg_write()
90 uint16_t valw; in pca953x_reg_read() local
97 if (i2c_read(chip, addr << 1, 1, (u8*)&valw, 2)) in pca953x_reg_read()
99 *data = (uint)le16_to_cpu(valw); in pca953x_reg_read()
H A Dtca642x.c49 uint8_t valw; in tca642x_reg_write() local
56 if (i2c_read(chip, addr, 1, (uint8_t *)&valw, 1)) { in tca642x_reg_write()
61 valw &= ~reg_bit; in tca642x_reg_write()
62 valw |= data; in tca642x_reg_write()
64 ret = i2c_write(chip, addr, 1, (u8 *)&valw, 1); in tca642x_reg_write()
73 uint8_t valw; in tca642x_reg_read() local
79 if (i2c_read(chip, addr, 1, (u8 *)&valw, 1)) { in tca642x_reg_read()
84 *data = valw; in tca642x_reg_read()
/openbmc/linux/sound/soc/codecs/
H A Didt821034.c81 static int idt821034_8bit_read(struct idt821034 *idt821034, u8 valw, u8 *valr) in idt821034_8bit_read() argument
96 idt821034->spi_tx_buf = valw; in idt821034_8bit_read()
105 valw, *valr); in idt821034_8bit_read()
/openbmc/u-boot/arch/arm/dts/
H A Dtegra20-paz00.dts584 regulator-name = "+5valw";
/openbmc/linux/arch/arm/boot/dts/nvidia/
H A Dtegra20-paz00.dts650 regulator-name = "+5valw";