Lines Matching refs:this_count
1018 unsigned int this_count = blk_rq_sectors(rq); in sd_setup_read_write_cmnd() local
1035 __func__, (unsigned long long)block, this_count)); in sd_setup_read_write_cmnd()
1063 if (unlikely(sdp->last_sector_bug && block + this_count > threshold)) { in sd_setup_read_write_cmnd()
1066 this_count = threshold - block; in sd_setup_read_write_cmnd()
1069 this_count = sdp->sector_size / 512; in sd_setup_read_write_cmnd()
1094 this_count = this_count >> 1; in sd_setup_read_write_cmnd()
1104 this_count = this_count >> 2; in sd_setup_read_write_cmnd()
1114 this_count = this_count >> 3; in sd_setup_read_write_cmnd()
1133 "writing" : "reading", this_count, in sd_setup_read_write_cmnd()
1176 SCpnt->cmnd[28] = (unsigned char) (this_count >> 24) & 0xff; in sd_setup_read_write_cmnd()
1177 SCpnt->cmnd[29] = (unsigned char) (this_count >> 16) & 0xff; in sd_setup_read_write_cmnd()
1178 SCpnt->cmnd[30] = (unsigned char) (this_count >> 8) & 0xff; in sd_setup_read_write_cmnd()
1179 SCpnt->cmnd[31] = (unsigned char) this_count & 0xff; in sd_setup_read_write_cmnd()
1180 } else if (sdp->use_16_for_rw || (this_count > 0xffff)) { in sd_setup_read_write_cmnd()
1191 SCpnt->cmnd[10] = (unsigned char) (this_count >> 24) & 0xff; in sd_setup_read_write_cmnd()
1192 SCpnt->cmnd[11] = (unsigned char) (this_count >> 16) & 0xff; in sd_setup_read_write_cmnd()
1193 SCpnt->cmnd[12] = (unsigned char) (this_count >> 8) & 0xff; in sd_setup_read_write_cmnd()
1194 SCpnt->cmnd[13] = (unsigned char) this_count & 0xff; in sd_setup_read_write_cmnd()
1196 } else if ((this_count > 0xff) || (block > 0x1fffff) || in sd_setup_read_write_cmnd()
1206 SCpnt->cmnd[7] = (unsigned char) (this_count >> 8) & 0xff; in sd_setup_read_write_cmnd()
1207 SCpnt->cmnd[8] = (unsigned char) this_count & 0xff; in sd_setup_read_write_cmnd()
1224 SCpnt->cmnd[4] = (unsigned char) this_count; in sd_setup_read_write_cmnd()
1227 SCpnt->sdb.length = this_count * sdp->sector_size; in sd_setup_read_write_cmnd()
1235 SCpnt->underflow = this_count << 9; in sd_setup_read_write_cmnd()