Home
last modified time | relevance | path

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

/u-boot/drivers/gpio/
A Dpca953x.c65 uint16_t valw; in pca953x_reg_write() local
76 if (i2c_read(chip, addr << 1, 1, (u8*)&valw, 2)) in pca953x_reg_write()
79 valw = le16_to_cpu(valw); in pca953x_reg_write()
80 valw &= ~mask; in pca953x_reg_write()
81 valw |= data; in pca953x_reg_write()
82 valw = cpu_to_le16(valw); in pca953x_reg_write()
84 return i2c_write(chip, addr << 1, 1, (u8*)&valw, 2); in pca953x_reg_write()
91 uint16_t valw; in pca953x_reg_read() local
98 if (i2c_read(chip, addr << 1, 1, (u8*)&valw, 2)) in pca953x_reg_read()
100 *data = (uint)le16_to_cpu(valw); in pca953x_reg_read()
A Dtca642x.c50 uint8_t valw; in tca642x_reg_write() local
57 if (i2c_read(chip, addr, 1, (uint8_t *)&valw, 1)) { in tca642x_reg_write()
62 valw &= ~reg_bit; in tca642x_reg_write()
63 valw |= data; in tca642x_reg_write()
65 ret = i2c_write(chip, addr, 1, (u8 *)&valw, 1); in tca642x_reg_write()
74 uint8_t valw; in tca642x_reg_read() local
80 if (i2c_read(chip, addr, 1, (u8 *)&valw, 1)) { in tca642x_reg_read()
85 *data = valw; in tca642x_reg_read()
/u-boot/arch/arm/dts/
A Dtegra20-paz00.dts584 regulator-name = "+5valw";

Completed in 4 milliseconds