Searched refs:n_packet (Results 1 – 1 of 1) sorted by relevance
114 uint32_t n_packet = 0; in usbh_in_out_request() local147 n_packet = (uhost->hch[hc_num].trans_len + \ in usbh_in_out_request()152 if(n_packet > 256) in usbh_in_out_request()154 n_packet = 256; in usbh_in_out_request()155 uhost->hch[hc_num].trans_len = n_packet * uhost->hch[hc_num].maxpacket; in usbh_in_out_request()161 n_packet = 1; in usbh_in_out_request()167 uhost->hch[hc_num].trans_len = n_packet * uhost->hch[hc_num].maxpacket; in usbh_in_out_request()172 ((n_packet << 19) & USB_OTG_HCTSIZ_PKTCNT) | in usbh_in_out_request()
Completed in 6 milliseconds