Lines Matching defs:blocks
158 * count: no of blocks
651 u32 len = 0, blocks, rem;
658 blocks = qup->blk.count;
659 rem = msg->len - (blocks - 1) * limit;
662 while (qup->blk.pos < blocks) {
663 tlen = (i == (blocks - 1)) ? rem : limit;
694 while (qup->blk.pos < blocks) {
695 tlen = (i == (blocks - 1)) ? rem : limit;
1425 * multiple of blk_xfer_limit data length blocks and schedule each
1666 int blocks;
1707 blocks = (MX_DMA_BLOCKS << 1) + 1;
1709 blocks, sizeof(*qup->btx.sg),
1715 sg_init_table(qup->btx.sg, blocks);
1718 blocks, sizeof(*qup->brx.sg),
1724 sg_init_table(qup->brx.sg, blocks);
1727 size = blocks * 2 + 5;