Lines Matching refs:xfercount
97 u64 xfercount = blkcount * blksize; in read_bytes() local
106 while ((!status_err) && (xfercount >= sizeof(u32))) { in read_bytes()
110 xfercount -= sizeof(u32); in read_bytes()
129 xfercount, status); in read_bytes()
141 if (xfercount) { in read_bytes()
142 printf("Read data error, xfercount: %llu\n", xfercount); in read_bytes()
153 u64 xfercount = blkcount * blksize; in write_bytes() local
161 while (!status_err && xfercount) { in write_bytes()
163 if (xfercount >= SDI_FIFO_BURST_SIZE * sizeof(u32)) { in write_bytes()
168 xfercount -= SDI_FIFO_BURST_SIZE * sizeof(u32); in write_bytes()
170 while (xfercount >= sizeof(u32)) { in write_bytes()
173 xfercount -= sizeof(u32); in write_bytes()
191 xfercount, status); in write_bytes()
200 if (xfercount) { in write_bytes()
201 printf("Write data error, xfercount:%llu", xfercount); in write_bytes()