Home
last modified time | relevance | path

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

/external/u-boot/drivers/gpio/
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()
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()
/external/u-boot/arch/arm/dts/
Dtegra20-paz00.dts584 regulator-name = "+5valw";