Home
last modified time | relevance | path

Searched refs:callback_arg (Results 1 – 20 of 20) sorted by relevance

/Zephyr-latest/drivers/dma/
Ddma_stm32.c93 uint32_t callback_arg; in dma_stm32_irq_handler() local
109 callback_arg = stream->mux_channel; in dma_stm32_irq_handler()
111 callback_arg = id + STM32_DMA_STREAM_OFFSET; in dma_stm32_irq_handler()
120 stream->dma_callback(dev, stream->user_data, callback_arg, DMA_STATUS_BLOCK); in dma_stm32_irq_handler()
130 stream->dma_callback(dev, stream->user_data, callback_arg, DMA_STATUS_COMPLETE); in dma_stm32_irq_handler()
134 callback_arg, -EIO); in dma_stm32_irq_handler()
141 callback_arg, -EIO); in dma_stm32_irq_handler()
Ddma_stm32_bdma.c309 uint32_t callback_arg; in bdma_stm32_irq_handler() local
326 callback_arg = channel->mux_channel; in bdma_stm32_irq_handler()
328 callback_arg = id; in bdma_stm32_irq_handler()
338 channel->bdma_callback(dev, channel->user_data, callback_arg, 0); in bdma_stm32_irq_handler()
348 channel->bdma_callback(dev, channel->user_data, callback_arg, 0); in bdma_stm32_irq_handler()
355 callback_arg, -EIO); in bdma_stm32_irq_handler()
Ddma_stm32u5.c252 uint32_t callback_arg; in dma_stm32_irq_handler() local
266 callback_arg = id + STM32_DMA_STREAM_OFFSET; in dma_stm32_irq_handler()
274 stream->dma_callback(dev, stream->user_data, callback_arg, DMA_STATUS_BLOCK); in dma_stm32_irq_handler()
282 stream->dma_callback(dev, stream->user_data, callback_arg, DMA_STATUS_COMPLETE); in dma_stm32_irq_handler()
289 callback_arg, -EIO); in dma_stm32_irq_handler()
Ddma_iproc_pax.h489 void *callback_arg; member
Ddmamux_stm32.c42 void *callback_arg; member
Ddma_iproc_pax_v1.c518 ring->dma_callback(dev, ring->callback_arg, idx, ret); in process_cmpl_event()
937 ring->callback_arg = cfg->user_data; in dma_iproc_pax_configure()
Ddma_iproc_pax_v2.c602 ring->dma_callback(dev, ring->callback_arg, idx, ret); in process_cmpl_event()
1031 ring->callback_arg = cfg->user_data; in dma_iproc_pax_configure()
/Zephyr-latest/drivers/sdhc/
Difx_cat1_sdio.c263 static void ifx_cat1_sdio_event_callback(void *callback_arg, cyhal_sdio_event_t event) in ifx_cat1_sdio_event_callback() argument
265 const struct device *dev = callback_arg; in ifx_cat1_sdio_event_callback()
/Zephyr-latest/drivers/adc/
Dadc_ifx_cat1.c51 static void _cyhal_adc_event_callback(void *callback_arg, cyhal_adc_event_t event) in _cyhal_adc_event_callback() argument
53 const struct device *dev = (const struct device *) callback_arg; in _cyhal_adc_event_callback()
Dadc_mcux_adc16.c78 static void adc_dma_callback(const struct device *dma_dev, void *callback_arg, in adc_dma_callback() argument
81 const struct device *dev = (const struct device *)callback_arg; in adc_dma_callback()
/Zephyr-latest/tests/drivers/w1/w1_api/src/
Dmain.c167 void w1_test_search_callback(struct w1_rom found_rom, void *callback_arg) in w1_test_search_callback() argument
169 ARG_UNUSED(callback_arg); in w1_test_search_callback()
/Zephyr-latest/drivers/i2c/
Di2c_ifx_cat1.c96 static void ifx_master_event_handler(void *callback_arg, cyhal_i2c_event_t event) in ifx_master_event_handler() argument
98 const struct device *dev = (const struct device *) callback_arg; in ifx_master_event_handler()
/Zephyr-latest/drivers/counter/
Dcounter_ifx_cat1.c91 static void ifx_cat1_counter_event_callback(void *callback_arg, cyhal_timer_event_t event) in ifx_cat1_counter_event_callback() argument
93 const struct device *dev = (const struct device *)callback_arg; in ifx_cat1_counter_event_callback()
/Zephyr-latest/drivers/can/
Dcan_stm32_bxcan.c47 void *callback_arg; member
85 callback(dev, status, mb->callback_arg); in can_stm32_signal_tx_complete()
823 mb->callback_arg = user_data; in can_stm32_send()
Dcan_xmc4xxx.c145 k_timeout_t timeout, can_tx_callback_t callback, void *callback_arg) in can_xmc4xxx_send() argument
193 callbacks[mailbox_idx].user_data = callback_arg; in can_xmc4xxx_send()
Dcan_mcp251xfd.c484 k_timeout_t timeout, can_tx_callback_t callback, void *callback_arg) in mcp251xfd_send() argument
532 dev_data->mailbox[mailbox_idx].cb_arg = callback_arg; in mcp251xfd_send()
/Zephyr-latest/drivers/spi/
Dspi_mcux_dspi.c476 static void dma_callback(const struct device *dma_dev, void *callback_arg, in dma_callback() argument
479 const struct device *dev = (const struct device *)callback_arg; in dma_callback()
/Zephyr-latest/drivers/serial/
Duart_mcux_lpuart.c637 static void dma_callback(const struct device *dma_dev, void *callback_arg, uint32_t channel, in dma_callback() argument
640 struct device *dev = (struct device *)callback_arg; in dma_callback()
/Zephyr-latest/doc/hardware/peripherals/can/
Dcontroller.rst213 filter_id = can_add_rx_filter(can_dev, rx_callback_function, callback_arg, &my_filter);
/Zephyr-latest/doc/releases/
Drelease-notes-2.4.rst77 'callback_arg' argument has been renamed to 'user_data. All user code have