Home
last modified time | relevance | path

Searched refs:usb_dev (Results 1 – 1 of 1) sorted by relevance

/Zephyr-Core-3.4.0/subsys/usb/device/
Dusb_device.c141 } usb_dev; variable
176 memset(usb_dev.alt_setting, 0, ARRAY_SIZE(usb_dev.alt_setting)); in usb_reset_alt_setting()
181 if (iface < ARRAY_SIZE(usb_dev.alt_setting)) { in usb_set_alt_setting()
182 usb_dev.alt_setting[iface] = alt_setting; in usb_set_alt_setting()
191 if (iface < ARRAY_SIZE(usb_dev.alt_setting)) { in usb_get_alt_setting()
192 return usb_dev.alt_setting[iface]; in usb_get_alt_setting()
223 handler = usb_dev.req_handlers[type]; in usb_handle_request()
243 if (usb_dev.zlp_flag == false) { in usb_data_to_host()
244 uint32_t chunk = usb_dev.data_buf_residue; in usb_data_to_host()
247 usb_write(USB_CONTROL_EP_IN, usb_dev.data_buf, in usb_data_to_host()
[all …]