Lines Matching refs:data_buf
108 uint8_t *data_buf; member
248 usb_write(USB_CONTROL_EP_IN, usb_dev.data_buf, in usb_data_to_host()
250 usb_dev.data_buf += chunk; in usb_data_to_host()
310 usb_dev.data_buf = usb_dev.req_data; in usb_handle_control_transfer()
339 &usb_dev.data_buf)) { in usb_handle_control_transfer()
355 usb_dev.data_buf, 0, &chunk) < 0) { in usb_handle_control_transfer()
363 usb_dev.data_buf, in usb_handle_control_transfer()
371 usb_dev.data_buf += chunk; in usb_handle_control_transfer()
375 usb_dev.data_buf = usb_dev.req_data; in usb_handle_control_transfer()
378 &usb_dev.data_buf)) { in usb_handle_control_transfer()
424 int32_t *len, uint8_t **data_buf) in usb_get_status() argument
426 uint8_t *data = *data_buf; in usb_get_status()
807 int32_t *len, uint8_t **data_buf) in usb_get_interface() argument
810 uint8_t *data = *data_buf; in usb_get_interface()
852 int32_t *len, uint8_t **data_buf) in usb_handle_std_device_req() argument
854 uint8_t *data = *data_buf; in usb_handle_std_device_req()
859 return usb_get_status(setup, len, data_buf); in usb_handle_std_device_req()
862 return usb_get_descriptor(setup, len, data_buf); in usb_handle_std_device_req()
953 int32_t *len, uint8_t **data_buf) in usb_handle_std_interface_req() argument
955 uint8_t *data = *data_buf; in usb_handle_std_interface_req()
975 return usb_get_interface(setup, len, data_buf); in usb_handle_std_interface_req()
1026 int32_t *len, uint8_t **data_buf) in usb_get_status_endpoint() argument
1029 uint8_t *data = *data_buf; in usb_get_status_endpoint()
1102 int32_t *len, uint8_t **data_buf) in usb_handle_std_endpoint_req() argument
1107 return usb_get_status_endpoint(setup, len, data_buf); in usb_handle_std_endpoint_req()
1143 int32_t *len, uint8_t **data_buf) in usb_handle_standard_request() argument
1147 if (!usb_handle_bos(setup, len, data_buf)) { in usb_handle_standard_request()
1151 if (!usb_handle_os_desc(setup, len, data_buf)) { in usb_handle_standard_request()
1157 !usb_dev.custom_req_handler(setup, len, data_buf)) { in usb_handle_standard_request()
1163 if (usb_handle_std_device_req(setup, len, data_buf) == false) { in usb_handle_standard_request()
1168 if (usb_handle_std_interface_req(setup, len, data_buf) == false) { in usb_handle_standard_request()
1173 if (usb_handle_std_endpoint_req(setup, len, data_buf) == false) { in usb_handle_standard_request()