Searched refs:lb_buf (Results 1 – 1 of 1) sorted by relevance
| /Zephyr-latest/subsys/usb/device_next/class/ |
| D | loopback.c | 27 static uint8_t lb_buf[1024]; variable 110 buf = usbd_ep_buf_alloc(c_data, lb_get_bulk_out(c_data), sizeof(lb_buf)); in lb_submit_bulk_out() 139 buf = usbd_ep_buf_alloc(c_data, lb_get_bulk_in(c_data), sizeof(lb_buf)); in lb_submit_bulk_in() 145 net_buf_add_mem(buf, lb_buf, MIN(sizeof(lb_buf), net_buf_tailroom(buf))); in lb_submit_bulk_in() 187 memcpy(lb_buf, buf->data, MIN(sizeof(lb_buf), buf->len)); in lb_request_handler() 222 net_buf_add_mem(buf, lb_buf, in lb_control_to_host() 223 MIN(sizeof(lb_buf), setup->wLength)); in lb_control_to_host() 226 MIN(sizeof(lb_buf), setup->wLength)); in lb_control_to_host() 248 MIN(sizeof(lb_buf), buf->len)); in lb_control_to_dev() 249 memcpy(lb_buf, buf->data, MIN(sizeof(lb_buf), buf->len)); in lb_control_to_dev()
|