Searched refs:vreq_nd (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/subsys/usb/device_next/ |
D | usbd_device.c | 341 struct usbd_vreq_node *vreq_nd; in usbd_device_get_vreq() local 343 SYS_DLIST_FOR_EACH_CONTAINER(&uds_ctx->vreqs, vreq_nd, node) { in usbd_device_get_vreq() 344 if (vreq_nd->code == code) { in usbd_device_get_vreq() 345 return vreq_nd; in usbd_device_get_vreq() 353 struct usbd_vreq_node *const vreq_nd) in usbd_device_register_vreq() argument 364 if (vreq_nd->to_dev == NULL && vreq_nd->to_host == NULL) { in usbd_device_register_vreq() 374 if (sys_dnode_is_linked(&vreq_nd->node)) { in usbd_device_register_vreq() 379 sys_dlist_append(&uds_ctx->vreqs, &vreq_nd->node); in usbd_device_register_vreq() 380 LOG_DBG("Registered vendor request 0x%02x", vreq_nd->code); in usbd_device_register_vreq()
|
D | usbd_ch9.c | 931 struct usbd_vreq_node *vreq_nd; in vendor_device_request() local 933 vreq_nd = usbd_device_get_vreq(uds_ctx, setup->bRequest); in vendor_device_request() 934 if (vreq_nd == NULL) { in vendor_device_request() 939 if (reqtype_is_to_device(setup) && vreq_nd->to_dev != NULL) { in vendor_device_request() 941 errno = vreq_nd->to_dev(uds_ctx, setup, buf); in vendor_device_request() 945 if (reqtype_is_to_host(setup) && vreq_nd->to_host != NULL) { in vendor_device_request() 947 errno = vreq_nd->to_host(uds_ctx, setup, buf); in vendor_device_request()
|
D | usbd_desc.c | 147 ret = usbd_device_register_vreq(uds_ctx, desc_nd->bos.vreq_nd); in usbd_add_descriptor()
|
/Zephyr-latest/include/zephyr/usb/ |
D | usbd.h | 153 struct usbd_vreq_node *const vreq_nd; member 711 .vreq_nd = &vreq_nd_##name, \ 1200 struct usbd_vreq_node *const vreq_nd);
|