Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/drivers/usb/device/
Dusb_dc_nrfx.c846 static void usbd_event_transfer_ctrl(nrf_usbd_common_evt_t const *const p_event) in usbd_event_transfer_ctrl() argument
849 endpoint_ctx(p_event->data.eptransfer.ep); in usbd_event_transfer_ctrl()
851 if (NRF_USBD_EPIN_CHECK(p_event->data.eptransfer.ep)) { in usbd_event_transfer_ctrl()
852 switch (p_event->data.eptransfer.status) { in usbd_event_transfer_ctrl()
873 p_event->data.eptransfer.ep); in usbd_event_transfer_ctrl()
879 p_event->data.eptransfer.status, in usbd_event_transfer_ctrl()
880 p_event->data.eptransfer.ep); in usbd_event_transfer_ctrl()
885 switch (p_event->data.eptransfer.status) { in usbd_event_transfer_ctrl()
919 p_event->data.eptransfer.ep, &ep_ctx->buf.len); in usbd_event_transfer_ctrl()
943 p_event->data.eptransfer.status, in usbd_event_transfer_ctrl()
[all …]
/Zephyr-Core-3.7.0/drivers/i2c/
Di2c_nrfx_twi_common.h38 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
40 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.c115 static void event_handler(nrfx_twi_evt_t const *p_event, void *p_context) in event_handler() argument
120 if (i2c_nrfx_twi_get_evt_result(p_event) != NRFX_SUCCESS) { in event_handler()
Di2c_nrfx_twim.c208 static void event_handler(nrfx_twim_evt_t const *p_event, void *p_context) in event_handler() argument
212 switch (p_event->type) { in event_handler()
/Zephyr-Core-3.7.0/samples/boards/nrf/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-Core-3.7.0/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-Core-3.7.0/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-Core-3.7.0/drivers/spi/
Dspi_nrfx_spim.c74 static void event_handler(const nrfx_spim_evt_t *p_event, void *p_context);
405 static void event_handler(const nrfx_spim_evt_t *p_event, void *p_context) in event_handler() argument
413 if (p_event->type == NRFX_SPIM_EVENT_DONE) { in event_handler()
427 p_event->xfer_desc.p_rx_buffer != NULL && in event_handler()
428 p_event->xfer_desc.p_rx_buffer != dev_data->ctx.rx_buf) { in event_handler()
Dspi_nrfx_spi.c37 static void event_handler(const nrfx_spi_evt_t *p_event, void *p_context);
200 static void event_handler(const nrfx_spi_evt_t *p_event, void *p_context) in event_handler() argument
204 if (p_event->type == NRFX_SPI_EVENT_DONE) { in event_handler()
Dspi_nrfx_spis.c274 static void event_handler(const nrfx_spis_evt_t *p_event, void *p_context) in event_handler() argument
278 if (p_event->evt_type == NRFX_SPIS_XFER_DONE) { in event_handler()
280 p_event->rx_amount); in event_handler()
/Zephyr-Core-3.7.0/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);