Lines Matching defs:buf_stride
995 unsigned int buf_stride;
1053 /* set nblocks, buf_stride, block_irq_interval */
1056 recv->buf_stride = PAGE_SIZE;
1091 for (recv->buf_stride = 8; recv->buf_stride < max_packet_size;
1092 recv->buf_stride *= 2);
1094 if (recv->buf_stride*iso->buf_packets > iso->buf_size ||
1095 recv->buf_stride > PAGE_SIZE) {
1144 " (%u bytes), using %u blocks, buf_stride %u, block_irq_interval %d",
1148 recv->nblocks, recv->buf_stride, recv->block_irq_interval);
1202 unsigned long buf_offset = blk * recv->buf_stride;
1218 control |= recv->buf_stride;
1223 cmd->status = cpu_to_le32(recv->buf_stride);
1391 next->status = cpu_to_le32(recv->buf_stride);
1417 while (recv->released_bytes > recv->buf_stride) {
1420 recv->released_bytes -= recv->buf_stride;
1451 unsigned int this_block = recv->dma_offset/recv->buf_stride;
1487 if (recv->dma_offset >= recv->buf_stride*recv->nblocks) {
1488 recv->dma_offset -= recv->buf_stride*recv->nblocks;
1505 if (recv->dma_offset >= recv->buf_stride*recv->nblocks) {
1511 int guard_off = recv->buf_stride*recv->nblocks;
1514 if (tail_len > 0 && tail_len < recv->buf_stride) {
1520 recv->dma_offset -= recv->buf_stride*recv->nblocks;
1531 if (recv->dma_offset >= recv->buf_stride*recv->nblocks) {
1532 recv->dma_offset -= recv->buf_stride*recv->nblocks;
1581 dma_region_sync_for_cpu(&iso->data_buf, recv->block_dma*recv->buf_stride, recv->buf_stride);
1584 im->status = recv->buf_stride;
1629 packet_len = recv->buf_stride - rescount;
1638 dma_region_sync_for_cpu(&iso->data_buf, iso->pkt_dma * recv->buf_stride, recv->buf_stride);
1649 offset = iso->pkt_dma * recv->buf_stride;
1662 recv->buf_stride, cycle, channel, tag, sy);
1666 il->status = recv->buf_stride;