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

/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/scsi/
H A Dscsi_debug.c101 #define CAPACITY (N_HEAD * N_SECTOR * N_CYLINDER) macro
284 capac = CAPACITY - 1;
647 if (upper_blk || (block + num > CAPACITY)) {
696 if (upper_blk || (block + num > CAPACITY)) {
H A Dsd.c912 * "READ CAPACITY is necessary for self configuring software"
913 * While not mandatory, support of READ CAPACITY is strongly
915 * We used to die if we couldn't successfully do a READ CAPACITY.
926 printk("%s : READ CAPACITY failed.\n"
1315 #define CAPACITY rscsi_disks[target].capacity macro
1368 1<<4, CAPACITY); local
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/ide/
H A Dhd.c853 #define CAPACITY (hd_info[target].head*hd_info[target].sect*hd_info[target].cyl) macro
902 grok_partitions(gdev, target, 1<<6, CAPACITY);
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/block/
H A Dacsi.c219 #define CAPACITY(sd) \ macro
1345 if (CAPACITY(*sd) == 0)
1615 if (CAPACITY(sense))
1616 aip->size = CAPACITY(sense); /* else keep DEFAULT_SIZE */

Completed in 108 milliseconds