Searched refs:write_port_regs (Results 1 – 5 of 5) sorted by relevance
/Zephyr-Core-3.5.0/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() 240 ret = write_port_regs(dev, REG_GPIO, buf); in mcp23xxx_port_set_masked_raw() 274 ret = write_port_regs(dev, REG_GPIO, buf); in mcp23xxx_port_toggle_bits() 350 ret = write_port_regs(dev, REG_GPINTEN, gpinten); in mcp23xxx_pin_interrupt_configure() 356 ret = write_port_regs(dev, REG_DEFVAL, defval); in mcp23xxx_pin_interrupt_configure() 362 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_mcp23s17.c | 126 static int write_port_regs(const struct device *dev, uint8_t reg, in write_port_regs() function 183 ret = write_port_regs(dev, REG_GPIO_PORTA, *output); in setup_pin_dir() 188 ret = write_port_regs(dev, REG_IODIR_PORTA, *dir); in setup_pin_dir() 210 ret = write_port_regs(dev, REG_GPPU_PORTA, port); in setup_pin_pullupdown() 295 ret = write_port_regs(dev, REG_GPIO_PORTA, buf); in mcp23s17_port_set_masked_raw() 333 ret = write_port_regs(dev, REG_GPIO_PORTA, buf); in mcp23s17_port_toggle_bits()
|
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 | 230 static int write_port_regs(const struct device *dev, uint8_t reg, in write_port_regs() function 289 return write_port_regs(dev, REG_OUTPUT_PORT0, in update_output_regs()
|