Lines Matching refs:i2c_dev
25 const struct i2c_dt_spec i2c_dev; member
74 ret = i2c_reg_read_byte_dt(&config->i2c_dev, reg_gpcr, &control); in gpio_it8801_configure()
95 ret = i2c_reg_update_byte_dt(&config->i2c_dev, config->reg_sovr, mask, new_value); in gpio_it8801_configure()
125 ret = i2c_reg_write_byte_dt(&config->i2c_dev, reg_gpcr, control); in gpio_it8801_configure()
148 ret = i2c_reg_read_byte_dt(&config->i2c_dev, reg_gpcr, &control); in gpio_it8801_get_config()
163 ret = i2c_reg_read_byte_dt(&config->i2c_dev, config->reg_ipsr, &value); in gpio_it8801_get_config()
199 ret = i2c_reg_read_byte_dt(&config->i2c_dev, config->reg_ipsr, &val); in gpio_it8801_port_get_raw()
216 ret = i2c_reg_update_byte_dt(&config->i2c_dev, config->reg_sovr, mask, value); in gpio_it8801_port_set_masked_raw()
231 ret = i2c_reg_update_byte_dt(&config->i2c_dev, config->reg_sovr, pins, pins); in gpio_it8801_port_set_bits_raw()
246 ret = i2c_reg_update_byte_dt(&config->i2c_dev, config->reg_sovr, pins, 0); in gpio_it8801_port_clear_bits_raw()
261 ret = i2c_reg_read_byte_dt(&config->i2c_dev, config->reg_sovr, &val); in gpio_it8801_port_toggle_bits()
268 ret = i2c_reg_write_byte_dt(&config->i2c_dev, config->reg_sovr, new_val); in gpio_it8801_port_toggle_bits()
296 ret = i2c_reg_read_byte_dt(&config->i2c_dev, config->reg_gpisr, &isr_val); in it8801_gpio_alert_handler()
302 ret = i2c_reg_read_byte_dt(&config->i2c_dev, config->reg_gpier, &ier_val); in it8801_gpio_alert_handler()
310 ret = i2c_reg_write_byte_dt(&config->i2c_dev, config->reg_gpisr, isr_val); in it8801_gpio_alert_handler()
335 ret = i2c_reg_update_byte_dt(&config->i2c_dev, config->reg_gpier, mask, 0); in gpio_it8801_pin_interrupt_configure()
346 ret = i2c_reg_update_byte_dt(&config->i2c_dev, reg_gpcr, IT8801_GPIODIR, 0); in gpio_it8801_pin_interrupt_configure()
353 ret = i2c_reg_update_byte_dt(&config->i2c_dev, reg_gpcr, GENMASK(4, 3), 0); in gpio_it8801_pin_interrupt_configure()
359 ret = i2c_reg_read_byte_dt(&config->i2c_dev, reg_gpcr, &control); in gpio_it8801_pin_interrupt_configure()
387 ret = i2c_reg_write_byte_dt(&config->i2c_dev, reg_gpcr, control); in gpio_it8801_pin_interrupt_configure()
394 ret = i2c_reg_update_byte_dt(&config->i2c_dev, config->reg_gpisr, mask, mask); in gpio_it8801_pin_interrupt_configure()
401 ret = i2c_reg_update_byte_dt(&config->i2c_dev, config->reg_gpier, mask, mask); in gpio_it8801_pin_interrupt_configure()
408 ret = i2c_reg_write_byte_dt(&config->i2c_dev, IT8801_REG_GIECR, IT8801_REG_MASK_GGPIOIE); in gpio_it8801_pin_interrupt_configure()
450 .i2c_dev = I2C_DT_SPEC_GET(DT_INST_PARENT(inst)), \