Lines Matching refs:blkcnt
409 ulong atapi_read(struct blk_desc *block_dev, lbaint_t blknr, lbaint_t blkcnt, in atapi_read() argument
418 " buffer at %lX\n", device, blknr, blkcnt, (ulong) buffer); in atapi_read()
421 if (blkcnt > ATAPI_READ_MAX_BLOCK) in atapi_read()
424 cnt = blkcnt; in atapi_read()
446 blkcnt -= cnt; in atapi_read()
449 } while (blkcnt > 0); in atapi_read()
931 ulong ide_read(struct udevice *dev, lbaint_t blknr, lbaint_t blkcnt, in ide_read() argument
934 ulong ide_read(struct blk_desc *block_dev, lbaint_t blknr, lbaint_t blkcnt, in ide_read()
955 device, blknr, blkcnt, (ulong) buffer); in ide_read()
988 while (blkcnt-- > 0) { in ide_read()
1058 ulong ide_write(struct udevice *dev, lbaint_t blknr, lbaint_t blkcnt, in ide_write() argument
1061 ulong ide_write(struct blk_desc *block_dev, lbaint_t blknr, lbaint_t blkcnt, in ide_write()
1085 while (blkcnt-- > 0) { in ide_write()