Searched refs:PTD_HEADER_SIZE (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/drivers/usb/host/ |
D | isp1362-hcd.c | 179 xfer_size = min_t(size_t, xfer_size, epq->buf_avail * epq->blk_size - PTD_HEADER_SIZE); in max_transfer_size() 190 int num_ptds = ((len + PTD_HEADER_SIZE - 1) / epq->blk_size) + 1; in claim_ptd_buffers() 209 num_ptds, found, len, (int)(epq->blk_size - PTD_HEADER_SIZE)); in claim_ptd_buffers() 352 isp1362_write_buffer(isp1362_hcd, ptd, ep->ptd_offset, PTD_HEADER_SIZE); in isp1362_write_ptd() 355 ep->ptd_offset + PTD_HEADER_SIZE, len); in isp1362_write_ptd() 374 isp1362_read_buffer(isp1362_hcd, ptd, ep->ptd_offset, PTD_HEADER_SIZE); in isp1362_read_ptd() 389 ep->ptd_offset + PTD_HEADER_SIZE, act_len); in isp1362_read_ptd() 844 int num_ptds = (ep->length + PTD_HEADER_SIZE + (epq->blk_size - 1)) / epq->blk_size; in next_ptd() 896 if (ptd_offset + PTD_HEADER_SIZE + ep->length > in start_iso_transfers() 2210 u16 intl_blksize = ISP1362_INTL_BLKSIZE + PTD_HEADER_SIZE; in isp1362_mem_config() [all …]
|
D | isp1362.h | 226 #define PTD_HEADER_SIZE sizeof(struct ptd) macro
|