Home
last modified time | relevance | path

Searched refs:irq_cb (Results 1 – 15 of 15) sorted by relevance

/Zephyr-latest/drivers/serial/
Dserial_esp32_usb.c52 uart_irq_callback_user_data_t irq_cb; member
149 if (data->irq_cb != NULL) { in serial_esp32_usb_irq_tx_enable()
151 data->irq_cb(dev, data->irq_cb_data); in serial_esp32_usb_irq_tx_enable()
231 data->irq_cb = cb; in serial_esp32_usb_irq_callback_set()
245 if (data->irq_cb != NULL) { in serial_esp32_usb_isr()
246 data->irq_cb(dev, data->irq_cb_data); in serial_esp32_usb_isr()
Duart_psoc6.c55 uart_irq_callback_user_data_t irq_cb; /* Interrupt Callback */ member
291 dev_data->irq_cb = cb; in uart_psoc6_irq_callback_set()
299 if (dev_data->irq_cb) { in uart_psoc6_isr()
300 dev_data->irq_cb(dev, dev_data->irq_cb_data); in uart_psoc6_isr()
Duart_hvc_xen.c196 data->irq_cb = cb; in xen_hvc_irq_callback_set()
223 if (data->irq_cb) { in hvc_uart_evtchn_cb()
224 data->irq_cb(data->dev, data->irq_cb_data); in hvc_uart_evtchn_cb()
Duart_pl011.c76 uart_irq_callback_user_data_t irq_cb; member
347 if (data->irq_cb) { in pl011_irq_tx_enable()
360 data->irq_cb(dev, data->irq_cb_data); in pl011_irq_tx_enable()
439 data->irq_cb = cb; in pl011_irq_callback_set()
622 if (data->irq_cb) { in pl011_isr()
623 data->irq_cb(dev, data->irq_cb_data); in pl011_isr()
Duart_sam.c40 uart_irq_callback_user_data_t irq_cb; /* Interrupt Callback */ member
368 dev_data->irq_cb = cb; in uart_sam_irq_callback_set()
376 if (dev_data->irq_cb) { in uart_sam_isr()
377 dev_data->irq_cb(dev, dev_data->irq_cb_data); in uart_sam_isr()
Dusart_sam.c41 uart_irq_callback_user_data_t irq_cb; /* Interrupt Callback */ member
460 dev_data->irq_cb = cb; in usart_sam_irq_callback_set()
468 if (dev_data->irq_cb) { in usart_sam_isr()
469 dev_data->irq_cb(dev, dev_data->cb_data); in usart_sam_isr()
Duart_ifx_cat1.c32 uart_irq_callback_user_data_t irq_cb; /* Interrupt Callback */ member
267 if (data->irq_cb != NULL) { in _uart_event_callback_irq_mode()
268 data->irq_cb(dev, data->irq_cb_data); in _uart_event_callback_irq_mode()
420 data->irq_cb = cb; in ifx_cat1_uart_irq_callback_set()
Duart_cmsdk_apb.c76 uart_irq_callback_user_data_t irq_cb; member
433 data->irq_cb = cb; in uart_cmsdk_apb_irq_callback_set()
449 if (data->irq_cb) { in uart_cmsdk_apb_isr()
450 data->irq_cb(dev, data->irq_cb_data); in uart_cmsdk_apb_isr()
Duart_esp32.c117 uart_irq_callback_user_data_t irq_cb; member
497 data->irq_cb = cb; in uart_esp32_irq_callback_set()
544 if (data->irq_cb) { in uart_esp32_isr()
545 data->irq_cb(dev, data->irq_cb_data); in uart_esp32_isr()
727 data->irq_cb = NULL; in uart_esp32_async_callback_set()
Duart_emul.c56 uart_irq_callback_user_data_t irq_cb; member
268 uart_irq_callback_user_data_t cb = data->irq_cb; in uart_emul_irq_handler()
373 data->irq_cb = cb; in uart_emul_irq_callback_set()
/Zephyr-latest/include/zephyr/xen/
Dconsole.h21 uart_irq_callback_user_data_t irq_cb; member
/Zephyr-latest/drivers/usb_c/ppc/
Dnxp_nx20p3483.c49 struct gpio_callback irq_cb; member
286 struct nx20p3483_data *data = CONTAINER_OF(cb, struct nx20p3483_data, irq_cb); in nx20p3483_irq_handler()
389 gpio_init_callback(&data->irq_cb, nx20p3483_irq_handler, BIT(cfg->irq_gpio.pin)); in nx20p3483_dev_init()
390 ret = gpio_add_callback(cfg->irq_gpio.port, &data->irq_cb); in nx20p3483_dev_init()
/Zephyr-latest/drivers/led/
Dht16k33.c80 struct gpio_callback irq_cb; member
274 data = CONTAINER_OF(cb, struct ht16k33_data, irq_cb); in ht16k33_irq_callback()
363 gpio_init_callback(&data->irq_cb, &ht16k33_irq_callback, in ht16k33_init()
366 err = gpio_add_callback(config->irq.port, &data->irq_cb); in ht16k33_init()
/Zephyr-latest/drivers/ieee802154/
Dieee802154_rf2xx.h100 struct gpio_callback irq_cb; member
Dieee802154_rf2xx.c79 irq_cb); in trx_isr_handler()
926 gpio_init_callback(&ctx->irq_cb, trx_isr_handler, in power_on_and_setup()
929 if (gpio_add_callback(conf->irq_gpio.port, &ctx->irq_cb) < 0) { in power_on_and_setup()