Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/usb/host/
Disp1362-hcd.c190 int num_ptds = ((len + PTD_HEADER_SIZE - 1) / epq->blk_size) + 1; in claim_ptd_buffers() local
198 if (ep->num_ptds) in claim_ptd_buffers()
200 epq->name, len, epq->blk_size, num_ptds, epq->buf_map, epq->skip_map); in claim_ptd_buffers()
201 BUG_ON(ep->num_ptds != 0); in claim_ptd_buffers()
204 num_ptds, 0); in claim_ptd_buffers()
209 num_ptds, found, len, (int)(epq->blk_size - PTD_HEADER_SIZE)); in claim_ptd_buffers()
213 ep->num_ptds += num_ptds; in claim_ptd_buffers()
214 epq->buf_avail -= num_ptds; in claim_ptd_buffers()
217 bitmap_set(&epq->buf_map, found, num_ptds); in claim_ptd_buffers()
220 epq->buf_avail, epq->buf_count, num_ptds, epq->buf_map, epq->skip_map); in claim_ptd_buffers()
[all …]
Disp1362.h396 int num_ptds; member