Lines Matching refs:p_event
847 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()
945 p_event->data.eptransfer.ep); in usbd_event_transfer_ctrl()
952 static void usbd_event_transfer_data(nrf_usbd_common_evt_t const *const p_event) in usbd_event_transfer_data() argument
955 endpoint_ctx(p_event->data.eptransfer.ep); in usbd_event_transfer_data()
957 if (NRF_USBD_EPIN_CHECK(p_event->data.eptransfer.ep)) { in usbd_event_transfer_data()
958 switch (p_event->data.eptransfer.status) { in usbd_event_transfer_data()
967 (uint32_t)p_event->data.eptransfer.ep); in usbd_event_transfer_data()
980 p_event->data.eptransfer.ep); in usbd_event_transfer_data()
986 p_event->data.eptransfer.status, in usbd_event_transfer_data()
987 p_event->data.eptransfer.ep); in usbd_event_transfer_data()
993 switch (p_event->data.eptransfer.status) { in usbd_event_transfer_data()
1002 (uint32_t)p_event->data.eptransfer.ep); in usbd_event_transfer_data()
1022 p_event->data.eptransfer.ep); in usbd_event_transfer_data()
1025 (uint32_t)p_event->data.eptransfer.ep, in usbd_event_transfer_data()
1039 p_event->data.eptransfer.status, in usbd_event_transfer_data()
1040 p_event->data.eptransfer.ep); in usbd_event_transfer_data()
1050 static void usbd_event_handler(nrf_usbd_common_evt_t const *const p_event) in usbd_event_handler() argument
1055 switch (p_event->type) { in usbd_event_handler()
1088 ep_ctx = endpoint_ctx(p_event->data.eptransfer.ep); in usbd_event_handler()
1091 usbd_event_transfer_ctrl(p_event); in usbd_event_handler()
1095 usbd_event_transfer_data(p_event); in usbd_event_handler()
1098 usbd_event_transfer_data(p_event); in usbd_event_handler()