Home
last modified time | relevance | path

Searched refs:cb_event (Results 1 – 5 of 5) sorted by relevance

/hal_intel-3.7.0/bsp_sedi/drivers/ipc/
Dsedi_ipc.c61 sedi_ipc_event_cb_t cb_event; /*event callback*/ member
149 ipc_contexts[ipc_device].cb_event = cb; in sedi_ipc_init()
195 ipc_contexts[ipc_device].cb_event = NULL; in sedi_ipc_uninit()
522 if (ipc_contexts[ipc_device].cb_event) { in sedi_ipc_isr()
524 ipc_contexts[ipc_device].cb_event(ipc_device, SEDI_IPC_EVENT_MSG_IN, in sedi_ipc_isr()
536 (ipc_contexts[ipc_device].cb_event)) { in sedi_ipc_isr()
538 ipc_contexts[ipc_device].cb_event(ipc_device, SEDI_IPC_EVENT_MSG_PEER_ACKED, in sedi_ipc_isr()
552 (ipc_contexts[ipc_device].cb_event)) { in sedi_ipc_isr()
553 ipc_contexts[ipc_device].cb_event(ipc_device, SEDI_IPC_EVENT_CSR_ACK, in sedi_ipc_isr()
/hal_intel-3.7.0/bsp_sedi/drivers/spi/
Dsedi_spi_dw_apb.c64 sedi_spi_event_cb_t cb_event; member
535 int32_t sedi_spi_init(IN sedi_spi_t spi_device, IN sedi_spi_event_cb_t cb_event, in sedi_spi_init() argument
546 context->cb_event = cb_event; in sedi_spi_init()
560 context->cb_event = NULL; in sedi_spi_uninit()
816 if (context->cb_event) { in callback_dma_transfer()
817 context->cb_event(SEDI_SPI_EVENT_DATA_LOST, in callback_dma_transfer()
923 if (context->cb_event) { in callback_dma_transfer()
924 context->cb_event(SEDI_SPI_EVENT_COMPLETE, context->cb_param); in callback_dma_transfer()
1421 (context->cb_event)) { in spi_isr()
1422 context->cb_event(SEDI_SPI_EVENT_TX_FINISHED, in spi_isr()
[all …]
/hal_intel-3.7.0/bsp_sedi/drivers/gpio/
Dsedi_gpio.c31 sedi_gpio_event_cb_t cb_event; member
182 if ((context->cb_event) && (gisr != 0)) { in gpio_isr()
183 (context->cb_event)(gisr, i, context->callback_param); in gpio_isr()
223 gpio_context[gpio_device].cb_event = cb; in sedi_gpio_init()
240 context->cb_event = NULL; in sedi_gpio_uninit()
/hal_intel-3.7.0/bsp_sedi/drivers/i2c/
Dsedi_i2c_dw_apb_200a.c70 sedi_i2c_event_cb_t cb_event; member
589 IN sedi_i2c_event_cb_t cb_event, IN uint32_t base) in sedi_i2c_init() argument
599 context->cb_event = cb_event; in sedi_i2c_init()
627 context->cb_event = NULL; in sedi_i2c_uninit()
1186 if (context->cb_event) { in i2c_isr_complete()
1187 context->cb_event(context->status.event); in i2c_isr_complete()
/hal_intel-3.7.0/bsp_sedi/drivers/dma/
Dsedi_dma_ann_1p0.c71 sedi_dma_event_cb_t cb_event[DMA_CHANNEL_NUM]; /*event callback*/ member
199 dma_context[dma_device].cb_event[channel_id] = cb; in sedi_dma_init()
215 dma_context[dma_device].cb_event[channel_id] = NULL; in sedi_dma_uninit()
735 sedi_dma_event_cb_t cb = dma_context[dma_device].cb_event[channel_id]; in sedi_dma_start_transfer_polling()
847 cb = dma_context[dma_device].cb_event[channel_id]; in dma_isr()