Lines Matching refs:sectors
60 unsigned long sectors; /* total sector count */
138 u32 sectors)
153 if (sectors > 0x0FFFFFFF)
162 totallen = sectors * info->ssize;
221 u32 sectors)
237 if (sectors > 0x0FFFFFFF)
246 totallen = sectors * info->ssize;
420 info->sectors = ((u32)(reply[117]) << 24) |
576 info->ssize = 0x200; // hard coded 512 byte sectors as per ATA spec
581 usb_stor_dbg(us, "READ_CAPACITY: %ld sectors, %ld bytes per sector\n",
582 info->sectors, info->ssize);
585 // we need the last sector, not the number of sectors
586 ((__be32 *) ptr)[0] = cpu_to_be32(info->sectors - 1);