Searched refs:PTD_HEADER_SIZE (Results 1 – 2 of 2) sorted by relevance
/linux-4.4.14/drivers/usb/host/ |
D | isp1362-hcd.c | 177 xfer_size = min_t(size_t, xfer_size, epq->buf_avail * epq->blk_size - PTD_HEADER_SIZE); in max_transfer_size() 188 int num_ptds = ((len + PTD_HEADER_SIZE - 1) / epq->blk_size) + 1; in claim_ptd_buffers() 207 num_ptds, found, len, (int)(epq->blk_size - PTD_HEADER_SIZE)); in claim_ptd_buffers() 350 isp1362_write_buffer(isp1362_hcd, ptd, ep->ptd_offset, PTD_HEADER_SIZE); in isp1362_write_ptd() 353 ep->ptd_offset + PTD_HEADER_SIZE, len); in isp1362_write_ptd() 372 isp1362_read_buffer(isp1362_hcd, ptd, ep->ptd_offset, PTD_HEADER_SIZE); in isp1362_read_ptd() 387 ep->ptd_offset + PTD_HEADER_SIZE, act_len); in isp1362_read_ptd() 842 int num_ptds = (ep->length + PTD_HEADER_SIZE + (epq->blk_size - 1)) / epq->blk_size; in next_ptd() 894 if (ptd_offset + PTD_HEADER_SIZE + ep->length > in start_iso_transfers() 2217 u16 intl_blksize = ISP1362_INTL_BLKSIZE + PTD_HEADER_SIZE; in isp1362_mem_config() [all …]
|
D | isp1362.h | 271 #define PTD_HEADER_SIZE sizeof(struct ptd) macro
|