Searched refs:sect_size (Results 1 - 4 of 4) sorted by relevance

/drivers/mtd/
H A Dmtdblock.c147 unsigned int sect_size = mtdblk->cache_size; local
154 if (!sect_size)
158 unsigned long sect_start = (pos/sect_size)*sect_size;
160 unsigned int size = sect_size - offset;
164 if (size == sect_size) {
187 ret = mtd_read(mtd, sect_start, sect_size,
191 if (retlen != sect_size)
195 mtdblk->cache_size = sect_size;
217 unsigned int sect_size local
[all...]
/drivers/ata/
H A Dlibata-sff.c693 * Transfer qc->sect_size bytes of data from/to the ATA device.
706 if (qc->curbytes == qc->nbytes - qc->sect_size)
726 ap->ops->sff_data_xfer(qc->dev, buf + offset, qc->sect_size,
733 ap->ops->sff_data_xfer(qc->dev, buf + offset, qc->sect_size,
740 qc->curbytes += qc->sect_size;
741 qc->cursg_ofs += qc->sect_size;
767 nsect = min((qc->nbytes - qc->curbytes) / qc->sect_size,
H A Dlibata-scsi.c2906 /* READ/WRITE LONG use a non-standard sect_size */
2913 qc->sect_size = scsi_bufflen(scmd);
2947 qc->sect_size = scmd->device->sector_size;
2952 qc->sect_size = ATA_SECT_SIZE;
H A Dsata_mv.c2342 if (limit_warnings > 0 && (qc->nbytes / qc->sect_size) > 1) {

Completed in 153 milliseconds