Lines Matching defs:seg_len
1052 uint16_t seg_len;
1113 seg_len = blockcnt * maxsize;
1116 if (ep->wMaxPacketSize > seg_len) {
1405 uint32_t seg_len, maxpktsize;
1415 seg_len = hdl->rp_descr.wBlocks *
1420 if (seg_len < maxpktsize) {
1423 "< wMaxPacketSize(%d) ", seg_len, maxpktsize);
1433 seg_len = (seg_len / maxpktsize) * maxpktsize;
1435 seg_count = (datalen + seg_len - 1) / seg_len;
1479 wr->wr_max_seglen = seg_len;
1688 trans_req[8] = seg->seg_len;
1689 trans_req[9] = seg->seg_len >> 8;
1690 trans_req[10] = seg->seg_len >> 16;
1691 trans_req[11] = seg->seg_len >> 24;
1860 seg->seg_len = wr->wr_max_seglen;
1863 seg->seg_len = len;
1865 len -= seg->seg_len;
1918 if (seg->seg_len != 0) {
1921 seg->seg_len, USB_FLAGS_NOSLEEP);
1933 data_req->bulk_len = seg->seg_len;
1954 (uintptr_t)p) >= seg->seg_len);
1957 seg->seg_len);
1958 p += seg->seg_len;
1960 data_req->bulk_data->b_wptr += seg->seg_len;
3433 if (len < wr->wr_seg_array[i].seg_len) {
3489 if (len < wr->wr_seg_array[i].seg_len) {
3560 if (len < wr->wr_seg_array[i].seg_len) {