/Zephyr-latest/drivers/input/ |
D | input_chsc6x.c | 23 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()
|
D | input_xpt2046.c | 30 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()
|
D | input_cap12xx.c | 41 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()
|
D | input_ft5336.c | 72 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()
|
D | input_cst816s.c | 102 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()
|
D | input_cf1133.c | 83 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()
|
D | input_gt911.c | 62 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()
|
D | input_stmpe811.c | 131 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/ |
D | mfd_adp5585.c | 45 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/ |
D | gpio_pcf857x.c | 39 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()
|
D | gpio_mcp23xxx.h | 78 struct gpio_callback int_gpio_cb; member
|
D | gpio_tca6424a.c | 53 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()
|
D | gpio_mcp23xxx.c | 462 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()
|
D | gpio_pcal64xxa.c | 91 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/ |
D | lm75.c | 41 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/ |
D | lm77.c | 61 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/ |
D | adp5585.h | 111 struct gpio_callback int_gpio_cb; member
|
/Zephyr-latest/drivers/can/ |
D | can_mcp2515.h | 28 struct gpio_callback int_gpio_cb; member
|
D | can_tcan4x5x.c | 232 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()
|
D | can_mcp2515.c | 875 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()
|
D | can_mcp251xfd.h | 486 struct gpio_callback int_gpio_cb; member
|
D | can_mcp251xfd.c | 1165 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/ |
D | wdt_nxp_fs26.c | 80 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()
|