Searched refs:write_port_regs (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/drivers/gpio/ |
D | gpio_mcp23xxx.c | 63 static int write_port_regs(const struct device *dev, uint8_t reg, uint16_t value) in write_port_regs() function 91 int ret = write_port_regs(dev, REG_IOCON, extended_value); in write_iocon() 126 ret = write_port_regs(dev, REG_GPIO, output); in setup_pin_dir() 133 ret = write_port_regs(dev, REG_IODIR, dir); in setup_pin_dir() 163 ret = write_port_regs(dev, REG_GPPU, port); in setup_pin_pull() 242 ret = write_port_regs(dev, REG_GPIO, buf); in mcp23xxx_port_set_masked_raw() 276 ret = write_port_regs(dev, REG_GPIO, buf); in mcp23xxx_port_toggle_bits() 358 ret = write_port_regs(dev, REG_GPINTEN, gpinten); in mcp23xxx_pin_interrupt_configure() 364 ret = write_port_regs(dev, REG_DEFVAL, defval); in mcp23xxx_pin_interrupt_configure() 370 ret = write_port_regs(dev, REG_INTCON, intcon); in mcp23xxx_pin_interrupt_configure()
|
D | gpio_fxl6408.c | 96 static int write_port_regs(const struct device *dev, uint8_t reg, in write_port_regs() function 132 return write_port_regs(dev, REG_OUTPUT, in update_output_regs() 141 return write_port_regs(dev, REG_OUTPUT_HIGH_Z, in update_high_z_regs() 150 return write_port_regs(dev, REG_DIRECTION, in update_direction_regs() 159 return write_port_regs(dev, REG_PUD_SEL, in update_pul_sel_regs() 168 return write_port_regs(dev, REG_PUD_EN, in update_pul_en_regs()
|
D | gpio_tca6424a.c | 105 static int write_port_regs(const struct device *dev, uint8_t reg, uint32_t value) in write_port_regs() function 145 ret = write_port_regs(dev, TCA6424A_REG_OUTPUT, value); in update_output_regs() 155 return write_port_regs(dev, TCA6424A_REG_POLARITY_INVERSION, value); in update_invers_regs() 163 ret = write_port_regs(dev, TCA6424A_REG_CONFIGURATION, value); in update_config_regs()
|
D | gpio_pca95xx.c | 231 static int write_port_regs(const struct device *dev, uint8_t reg, in write_port_regs() function 290 return write_port_regs(dev, REG_OUTPUT_PORT0, in update_output_regs() 309 return write_port_regs(dev, REG_CONF_PORT0, in update_direction_regs()
|