enqd_len 3226 drivers/usb/host/xhci-ring.c static int xhci_align_td(struct xhci_hcd *xhci, struct urb *urb, u32 enqd_len, enqd_len 3236 drivers/usb/host/xhci-ring.c unalign = (enqd_len + *trb_buff_len) % max_pkt; enqd_len 3257 drivers/usb/host/xhci-ring.c new_buff_len = max_pkt - (enqd_len % max_pkt); enqd_len 3259 drivers/usb/host/xhci-ring.c if (new_buff_len > (urb->transfer_buffer_length - enqd_len)) enqd_len 3260 drivers/usb/host/xhci-ring.c new_buff_len = (urb->transfer_buffer_length - enqd_len); enqd_len 3265 drivers/usb/host/xhci-ring.c seg->bounce_buf, new_buff_len, enqd_len); enqd_len 3284 drivers/usb/host/xhci-ring.c seg->bounce_offs = enqd_len; enqd_len 3305 drivers/usb/host/xhci-ring.c unsigned int enqd_len, block_len, trb_buff_len, full_len; enqd_len 3351 drivers/usb/host/xhci-ring.c for (enqd_len = 0; first_trb || enqd_len < full_len; enqd_len 3352 drivers/usb/host/xhci-ring.c enqd_len += trb_buff_len) { enqd_len 3359 drivers/usb/host/xhci-ring.c if (enqd_len + trb_buff_len > full_len) enqd_len 3360 drivers/usb/host/xhci-ring.c trb_buff_len = full_len - enqd_len; enqd_len 3373 drivers/usb/host/xhci-ring.c if (enqd_len + trb_buff_len < full_len) { enqd_len 3376 drivers/usb/host/xhci-ring.c if (xhci_align_td(xhci, urb, enqd_len, enqd_len 3385 drivers/usb/host/xhci-ring.c if (enqd_len + trb_buff_len >= full_len) { enqd_len 3404 drivers/usb/host/xhci-ring.c remainder = xhci_td_remainder(xhci, enqd_len, trb_buff_len, enqd_len 3444 drivers/usb/host/xhci-ring.c check_trb_math(urb, enqd_len);