Home | History | Annotate | Download | only in scsi

Lines Matching refs:blkcnt

145 static ulong scsi_read(struct udevice *dev, lbaint_t blknr, lbaint_t blkcnt,
149 lbaint_t blkcnt, void *buffer)
168 blks = blkcnt;
203 blkcnt -= blks;
210 return blkcnt;
221 static ulong scsi_write(struct udevice *dev, lbaint_t blknr, lbaint_t blkcnt,
225 lbaint_t blkcnt, const void *buffer)
244 blks = blkcnt;
267 blkcnt -= blks;
274 return blkcnt;