Lines Matching refs:rt1718s_dev
25 const struct device *rt1718s_dev; member
87 ret = rt1718s_reg_write_byte(config->rt1718s_dev, RT1718S_REG_GPIO_CTRL(pin), new_reg); in gpio_rt1718s_pin_config()
99 ret = rt1718s_reg_read_byte(config->rt1718s_dev, RT1718S_REG_RT_ST8, ®); in gpio_rt1718s_port_get_raw()
118 ret = rt1718s_reg_read_byte(config->rt1718s_dev, RT1718S_REG_GPIO_CTRL(pin), in gpio_rt1718s_port_set_masked_raw()
129 ret = rt1718s_reg_update(config->rt1718s_dev, RT1718S_REG_GPIO_CTRL(pin), in gpio_rt1718s_port_set_masked_raw()
150 ret = rt1718s_reg_read_byte(config->rt1718s_dev, RT1718S_REG_GPIO_CTRL(pin), in gpio_rt1718s_port_set_bits_raw()
156 ret = rt1718s_reg_update(config->rt1718s_dev, RT1718S_REG_GPIO_CTRL(pin), in gpio_rt1718s_port_set_bits_raw()
177 ret = rt1718s_reg_read_byte(config->rt1718s_dev, RT1718S_REG_GPIO_CTRL(pin), in gpio_rt1718s_port_clear_bits_raw()
183 ret = rt1718s_reg_update(config->rt1718s_dev, RT1718S_REG_GPIO_CTRL(pin), in gpio_rt1718s_port_clear_bits_raw()
204 ret = rt1718s_reg_read_byte(config->rt1718s_dev, RT1718S_REG_GPIO_CTRL(pin), in gpio_rt1718s_port_toggle_bits()
210 ret = rt1718s_reg_update(config->rt1718s_dev, RT1718S_REG_GPIO_CTRL(pin), in gpio_rt1718s_port_toggle_bits()
225 struct rt1718s_data *const data_rt1718s = config->rt1718s_dev->data; in gpio_rt1718s_pin_interrupt_configure()
239 ret = rt1718s_reg_read_byte(config->rt1718s_dev, RT1718S_REG_RT_MASK8, ®_mask8); in gpio_rt1718s_pin_interrupt_configure()
263 ret = rt1718s_reg_burst_read(config->rt1718s_dev, RT1718S_REG_ALERT_MASK, in gpio_rt1718s_pin_interrupt_configure()
272 ret = rt1718s_reg_burst_write(config->rt1718s_dev, RT1718S_REG_ALERT_MASK, in gpio_rt1718s_pin_interrupt_configure()
284 rt1718s_reg_write_byte(config->rt1718s_dev, RT1718S_REG_RT_INT8, reg_int8); in gpio_rt1718s_pin_interrupt_configure()
288 ret = rt1718s_reg_update(config->rt1718s_dev, RT1718S_REG_RT_MASK8, reg_mask8, in gpio_rt1718s_pin_interrupt_configure()
357 if (!device_is_ready(config->rt1718s_dev)) { in gpio_rt1718s_port_init()
358 LOG_ERR("%s is not ready", config->rt1718s_dev->name); in gpio_rt1718s_port_init()
373 .rt1718s_dev = DEVICE_DT_GET(DT_INST_PARENT(inst)), \