Home
last modified time | relevance | path

Searched refs:p_event (Results 1 – 13 of 13) sorted by relevance

/Zephyr-latest/drivers/usb/device/
Dusb_dc_nrfx.c847 static void usbd_event_transfer_ctrl(nrf_usbd_common_evt_t const *const p_event) in usbd_event_transfer_ctrl() argument
850 endpoint_ctx(p_event->data.eptransfer.ep); in usbd_event_transfer_ctrl()
852 if (NRF_USBD_EPIN_CHECK(p_event->data.eptransfer.ep)) { in usbd_event_transfer_ctrl()
853 switch (p_event->data.eptransfer.status) { in usbd_event_transfer_ctrl()
874 p_event->data.eptransfer.ep); in usbd_event_transfer_ctrl()
880 p_event->data.eptransfer.status, in usbd_event_transfer_ctrl()
881 p_event->data.eptransfer.ep); in usbd_event_transfer_ctrl()
886 switch (p_event->data.eptransfer.status) { in usbd_event_transfer_ctrl()
920 p_event->data.eptransfer.ep, &ep_ctx->buf.len); in usbd_event_transfer_ctrl()
944 p_event->data.eptransfer.status, in usbd_event_transfer_ctrl()
[all …]
/Zephyr-latest/drivers/i2c/
Di2c_nrfx_twi_common.h39 static inline nrfx_err_t i2c_nrfx_twi_get_evt_result(nrfx_twi_evt_t const *p_event) in i2c_nrfx_twi_get_evt_result() argument
41 switch (p_event->type) { in i2c_nrfx_twi_get_evt_result()
Di2c_nrfx_twi.c105 static void event_handler(nrfx_twi_evt_t const *p_event, void *p_context) in event_handler() argument
110 switch (p_event->type) { in event_handler()
Di2c_nrfx_twi_rtio.c133 static void event_handler(nrfx_twi_evt_t const *p_event, void *p_context) in event_handler() argument
138 if (i2c_nrfx_twi_get_evt_result(p_event) != NRFX_SUCCESS) { in event_handler()
Di2c_nrfx_twim.c174 static void event_handler(nrfx_twim_evt_t const *p_event, void *p_context) in event_handler() argument
179 switch (p_event->type) { in event_handler()
Di2c_nrfx_twim_rtio.c143 static void event_handler(nrfx_twim_evt_t const *p_event, void *p_context) in event_handler() argument
146 int status = p_event->type == NRFX_TWIM_EVT_DONE ? 0 : -EIO; in event_handler()
/Zephyr-latest/samples/boards/nordic/nrfx_prs/src/
Dmain.c114 static void spim_handler(const nrfx_spim_evt_t *p_event, void *p_context) in spim_handler() argument
116 if (p_event->type == NRFX_SPIM_EVENT_DONE) { in spim_handler()
198 static void uarte_handler(const nrfx_uarte_event_t *p_event, void *p_context) in uarte_handler() argument
200 if (p_event->type == NRFX_UARTE_EVT_RX_DONE) { in uarte_handler()
201 received = p_event->data.rx.length; in uarte_handler()
203 } else if (p_event->type == NRFX_UARTE_EVT_ERROR) { in uarte_handler()
/Zephyr-latest/tests/boards/nrf/i2c/i2c_slave/src/
Dmain.c54 void i2s_slave_handler(nrfx_twis_evt_t const *p_event) in i2s_slave_handler() argument
56 switch (p_event->type) { in i2s_slave_handler()
73 TC_PRINT("TWIS event: %d\n", p_event->type); in i2s_slave_handler()
/Zephyr-latest/drivers/adc/
Dadc_nrfx_adc.c255 static void event_handler(const nrfx_adc_evt_t *p_event) in event_handler() argument
259 if (p_event->type == NRFX_ADC_EVT_DONE) { in event_handler()
/Zephyr-latest/drivers/spi/
Dspi_nrfx_spis.c278 static void event_handler(const nrfx_spis_evt_t *p_event, void *p_context) in event_handler() argument
282 if (p_event->evt_type == NRFX_SPIS_XFER_DONE) { in event_handler()
284 p_event->rx_amount); in event_handler()
Dspi_nrfx_spi.c38 static void event_handler(const nrfx_spi_evt_t *p_event, void *p_context);
201 static void event_handler(const nrfx_spi_evt_t *p_event, void *p_context) in event_handler() argument
205 if (p_event->type == NRFX_SPI_EVENT_DONE) { in event_handler()
Dspi_nrfx_spim.c97 static void event_handler(const nrfx_spim_evt_t *p_event, void *p_context);
479 static void event_handler(const nrfx_spim_evt_t *p_event, void *p_context) in event_handler() argument
487 if (p_event->type == NRFX_SPIM_EVENT_DONE) { in event_handler()
501 p_event->xfer_desc.p_rx_buffer != NULL && in event_handler()
502 p_event->xfer_desc.p_rx_buffer != dev_data->ctx.rx_buf) { in event_handler()
/Zephyr-latest/drivers/usb/common/nrf_usbd_common/
Dnrf_usbd_common.h183 typedef void (*nrf_usbd_common_event_handler_t)(nrf_usbd_common_evt_t const *p_event);