Home
last modified time | relevance | path

Searched refs:int_gpio_cb (Results 1 – 23 of 23) sorted by relevance

/Zephyr-latest/drivers/input/
Dinput_chsc6x.c23 struct gpio_callback int_gpio_cb; member
73 struct chsc6x_data *data = CONTAINER_OF(cb, struct chsc6x_data, int_gpio_cb); in chsc6x_isr_handler()
118 gpio_init_callback(&data->int_gpio_cb, chsc6x_isr_handler, BIT(config->int_gpio.pin)); in chsc6x_init()
120 ret = gpio_add_callback(config->int_gpio.port, &data->int_gpio_cb); in chsc6x_init()
Dinput_xpt2046.c30 struct gpio_callback int_gpio_cb; member
78 struct xpt2046_data *data = CONTAINER_OF(cb, struct xpt2046_data, int_gpio_cb); in xpt2046_isr_handler()
81 gpio_remove_callback(config->int_gpio.port, &data->int_gpio_cb); in xpt2046_isr_handler()
185 ret = gpio_add_callback(config->int_gpio.port, &data->int_gpio_cb); in xpt2046_work_handler()
224 gpio_init_callback(&data->int_gpio_cb, xpt2046_isr_handler, BIT(config->int_gpio.pin)); in xpt2046_init()
226 r = gpio_add_callback(config->int_gpio.port, &data->int_gpio_cb); in xpt2046_init()
Dinput_cap12xx.c41 struct gpio_callback int_gpio_cb; member
123 struct cap12xx_data *data = CONTAINER_OF(cb, struct cap12xx_data, int_gpio_cb); in cap12xx_isr_handler()
173 gpio_init_callback(&data->int_gpio_cb, cap12xx_isr_handler, in cap12xx_init()
176 r = gpio_add_callback_dt(config->int_gpio, &data->int_gpio_cb); in cap12xx_init()
Dinput_ft5336.c72 struct gpio_callback int_gpio_cb; member
154 struct ft5336_data *data = CONTAINER_OF(cb, struct ft5336_data, int_gpio_cb); in ft5336_isr_handler()
221 gpio_init_callback(&data->int_gpio_cb, ft5336_isr_handler, in ft5336_init()
223 r = gpio_add_callback(config->int_gpio.port, &data->int_gpio_cb); in ft5336_init()
Dinput_cst816s.c102 struct gpio_callback int_gpio_cb; member
182 struct cst816s_data *data = CONTAINER_OF(cb, struct cst816s_data, int_gpio_cb); in cst816s_isr_handler()
279 gpio_init_callback(&data->int_gpio_cb, cst816s_isr_handler, BIT(config->int_gpio.pin)); in cst816s_init()
281 ret = gpio_add_callback(config->int_gpio.port, &data->int_gpio_cb); in cst816s_init()
Dinput_cf1133.c83 struct gpio_callback int_gpio_cb; member
251 struct cf1133_data *data = CONTAINER_OF(cb, struct cf1133_data, int_gpio_cb); in cf1133_isr_handler()
293 gpio_init_callback(&data->int_gpio_cb, cf1133_isr_handler, BIT(config->int_gpio.pin)); in cf1133_init()
295 ret = gpio_add_callback(config->int_gpio.port, &data->int_gpio_cb); in cf1133_init()
Dinput_gt911.c62 struct gpio_callback int_gpio_cb; member
208 struct gt911_data *data = CONTAINER_OF(cb, struct gt911_data, int_gpio_cb); in gt911_isr_handler()
316 gpio_init_callback(&data->int_gpio_cb, gt911_isr_handler, BIT(config->int_gpio.pin)); in gt911_init()
383 r = gpio_add_callback(config->int_gpio.port, &data->int_gpio_cb); in gt911_init()
Dinput_stmpe811.c131 struct gpio_callback int_gpio_cb; member
439 struct stmpe811_data *data = CONTAINER_OF(cb, struct stmpe811_data, int_gpio_cb); in stmpe811_interrupt_handler()
505 gpio_init_callback(&data->int_gpio_cb, stmpe811_interrupt_handler, in stmpe811_init()
507 err = gpio_add_callback_dt(&config->int_gpio, &data->int_gpio_cb); in stmpe811_init()
/Zephyr-latest/drivers/mfd/
Dmfd_adp5585.c45 struct mfd_adp5585_data *data = CONTAINER_OF(gpio_cb, struct mfd_adp5585_data, int_gpio_cb); in mfd_adp5585_int_gpio_handler()
113 gpio_init_callback(&data->int_gpio_cb, mfd_adp5585_int_gpio_handler, in mfd_adp5585_init()
115 ret = gpio_add_callback_dt(&config->nint_gpio, &data->int_gpio_cb); in mfd_adp5585_init()
/Zephyr-latest/drivers/gpio/
Dgpio_pcf857x.c39 struct gpio_callback int_gpio_cb; member
115 CONTAINER_OF(gpio_cb, struct pcf857x_drv_data, int_gpio_cb); in pcf857x_int_gpio_handler()
366 gpio_init_callback(&drv_data->int_gpio_cb, pcf857x_int_gpio_handler, in pcf857x_init()
368 rc = gpio_add_callback(drv_cfg->gpio_int.port, &drv_data->int_gpio_cb); in pcf857x_init()
Dgpio_mcp23xxx.h78 struct gpio_callback int_gpio_cb; member
Dgpio_tca6424a.c53 struct gpio_callback int_gpio_cb; member
245 CONTAINER_OF(gpio_cb, struct tca6424a_drv_data, int_gpio_cb); in tca6424a_int_gpio_handler()
545 gpio_init_callback(&drv_data->int_gpio_cb, tca6424a_int_gpio_handler, in tca6424a_init()
548 ret = gpio_add_callback(drv_cfg->int_gpio.port, &drv_data->int_gpio_cb); in tca6424a_init()
Dgpio_mcp23xxx.c462 CONTAINER_OF(cb, struct mcp23xxx_drv_data, int_gpio_cb); in mcp23xxx_int_gpio_handler()
545 gpio_init_callback(&drv_data->int_gpio_cb, mcp23xxx_int_gpio_handler, in gpio_mcp23xxx_init()
547 err = gpio_add_callback(config->gpio_int.port, &drv_data->int_gpio_cb); in gpio_mcp23xxx_init()
Dgpio_pcal64xxa.c91 struct gpio_callback int_gpio_cb; member
272 CONTAINER_OF(gpio_cb, struct pcal64xxa_drv_data, int_gpio_cb); in pcal64xxa_int_gpio_handler()
1054 gpio_init_callback(&drv_data->int_gpio_cb, pcal64xxa_int_gpio_handler, in pcal64xxa_init()
1056 rc = gpio_add_callback(drv_cfg->gpio_interrupt.port, &drv_data->int_gpio_cb); in pcal64xxa_init()
/Zephyr-latest/drivers/sensor/lm75/
Dlm75.c41 struct gpio_callback int_gpio_cb; member
245 struct lm75_data *data = CONTAINER_OF(cb, struct lm75_data, int_gpio_cb); in lm75_int_gpio_callback_handler()
371 gpio_init_callback(&data->int_gpio_cb, lm75_int_gpio_callback_handler, in lm75_init()
374 ret = gpio_add_callback(cfg->int_gpio.port, &data->int_gpio_cb); in lm75_init()
/Zephyr-latest/drivers/sensor/lm77/
Dlm77.c61 struct gpio_callback int_gpio_cb; member
257 struct lm77_data *data = CONTAINER_OF(cb, struct lm77_data, int_gpio_cb); in lm77_int_gpio_callback_handler()
349 gpio_init_callback(&data->int_gpio_cb, lm77_int_gpio_callback_handler, in lm77_init()
352 err = gpio_add_callback(config->int_gpio.port, &data->int_gpio_cb); in lm77_init()
/Zephyr-latest/include/zephyr/drivers/mfd/
Dadp5585.h111 struct gpio_callback int_gpio_cb; member
/Zephyr-latest/drivers/can/
Dcan_mcp2515.h28 struct gpio_callback int_gpio_cb; member
Dcan_tcan4x5x.c232 struct gpio_callback int_gpio_cb; member
406 struct tcan4x5x_data *tcan_data = CONTAINER_OF(cb, struct tcan4x5x_data, int_gpio_cb); in tcan4x5x_int_gpio_callback_handler()
626 gpio_init_callback(&tcan_data->int_gpio_cb, tcan4x5x_int_gpio_callback_handler, in tcan4x5x_init()
629 err = gpio_add_callback_dt(&tcan_config->int_gpio, &tcan_data->int_gpio_cb); in tcan4x5x_init()
Dcan_mcp2515.c875 CONTAINER_OF(cb, struct mcp2515_data, int_gpio_cb); in mcp2515_int_gpio_callback()
951 gpio_init_callback(&(dev_data->int_gpio_cb), mcp2515_int_gpio_callback, in mcp2515_init()
955 &(dev_data->int_gpio_cb))) { in mcp2515_init()
Dcan_mcp251xfd.h486 struct gpio_callback int_gpio_cb; member
Dcan_mcp251xfd.c1165 struct mcp251xfd_data *dev_data = CONTAINER_OF(cb, struct mcp251xfd_data, int_gpio_cb); in mcp251xfd_int_gpio_callback()
1555 gpio_init_callback(&dev_data->int_gpio_cb, mcp251xfd_int_gpio_callback, in mcp251xfd_init()
1558 if (gpio_add_callback_dt(&dev_cfg->int_gpio_dt, &dev_data->int_gpio_cb) < 0) { in mcp251xfd_init()
/Zephyr-latest/drivers/watchdog/
Dwdt_nxp_fs26.c80 struct gpio_callback int_gpio_cb; member
621 int_gpio_cb); in wdt_nxp_fs26_int_callback()
654 gpio_init_callback(&(data->int_gpio_cb), wdt_nxp_fs26_int_callback, in wdt_nxp_fs26_init()
657 if (gpio_add_callback(config->int_gpio.port, &(data->int_gpio_cb))) { in wdt_nxp_fs26_init()