Lines Matching refs:max_data_len
589 uint32_t data_len, uint32_t max_data_len) in update_control_stage() argument
605 if ((data_len >= max_data_len) || in update_control_stage()
613 int usb_dc_ep_read_wait(uint8_t ep, uint8_t *data, uint32_t max_data_len, in usb_dc_ep_read_wait() argument
632 if (!data && max_data_len) { in usb_dc_ep_read_wait()
650 if (!data && !max_data_len) { in usb_dc_ep_read_wait()
660 if (data_len > max_data_len) { in usb_dc_ep_read_wait()
662 data_len = max_data_len; in usb_dc_ep_read_wait()
677 data_len, max_data_len); in usb_dc_ep_read_wait()
724 const uint32_t max_data_len, uint32_t *const read_bytes) in usb_dc_ep_read() argument
726 int retval = usb_dc_ep_read_wait(ep, data, max_data_len, read_bytes); in usb_dc_ep_read()
732 if (!data && !max_data_len) { in usb_dc_ep_read()