Searched refs:usbd_ctx (Results 1 – 3 of 3) sorted by relevance
25 static void msg_cb(struct usbd_context *const usbd_ctx, in msg_cb() argument30 if (usbd_can_detect_vbus(usbd_ctx)) { in msg_cb()32 if (usbd_enable(usbd_ctx)) { in msg_cb()38 if (usbd_disable(usbd_ctx)) { in msg_cb()
147 static void msg_cb(struct usbd_context *const usbd_ctx, in msg_cb() argument156 if (usbd_can_detect_vbus(usbd_ctx)) { in msg_cb()158 if (usbd_enable(usbd_ctx)) { in msg_cb()164 if (usbd_disable(usbd_ctx)) { in msg_cb()
273 static struct nrf_usbd_ctx usbd_ctx = { variable280 return &usbd_ctx; in get_usbd_ctx()486 if (usbd_ctx.attached) { in submit_dc_power_event()759 memcpy(&usbd_ctx.setup, usbd_setup, sizeof(struct usb_setup_packet)); in usbd_work_process_setup()1676 if (data_len && usbd_ctx.setup.wLength > data_len && in usb_dc_ep_write()