Searched refs:NCA9539_REG_CONFIG_BASE (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/gpio/ |
| H A D | nca9539_gpio.c | 28 #define NCA9539_REG_CONFIG_BASE 0x06 macro 29 #define NCA9539_REG_CONFIG_PORT0 (NCA9539_REG_CONFIG_BASE + 0x0) 30 #define NCA9539_REG_CONFIG_PORT1 (NCA9539_REG_CONFIG_BASE + 0x1) 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() 111 ret = nca9539_write_reg(dev, NCA9539_REG_CONFIG_BASE + port, in nca9539_gpio_direction_input() 133 ret = nca9539_read_reg(dev, NCA9539_REG_CONFIG_BASE + port, &value); in nca9539_gpio_direction_output() 136 ret = nca9539_write_reg(dev, NCA9539_REG_CONFIG_BASE + port, in nca9539_gpio_direction_output() 169 ret = nca9539_read_reg(dev, NCA9539_REG_CONFIG_BASE + port, &value); in nca9539_gpio_get() 197 ret = nca9539_read_reg(dev, NCA9539_REG_CONFIG_BASE + port, &value); in nca9539_gpio_set()
|