Searched refs:nca9539_read_reg (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/gpio/ |
| H A D | nca9539_gpio.c | 60 static int nca9539_read_reg(struct udevice *dev, int reg, u8 *val) in nca9539_read_reg() function 84 ret = nca9539_read_reg(dev, NCA9539_REG_CONFIG_BASE + port, &value); in nca9539_gpio_get_direction() 107 ret = nca9539_read_reg(dev, NCA9539_REG_CONFIG_BASE + port, &val); in nca9539_gpio_direction_input() 133 ret = nca9539_read_reg(dev, NCA9539_REG_CONFIG_BASE + port, &value); in nca9539_gpio_direction_output() 144 ret = nca9539_read_reg(dev, NCA9539_REG_OUTPUT_PORT_BASE + port, in nca9539_gpio_direction_output() 169 ret = nca9539_read_reg(dev, NCA9539_REG_CONFIG_BASE + port, &value); in nca9539_gpio_get() 179 ret = nca9539_read_reg(dev, reg, &value); in nca9539_gpio_get() 197 ret = nca9539_read_reg(dev, NCA9539_REG_CONFIG_BASE + port, &value); in nca9539_gpio_set() 203 ret = nca9539_read_reg(dev, NCA9539_REG_OUTPUT_PORT_BASE + port, in nca9539_gpio_set()
|