Lines Matching defs:lba
1227 unsigned long lba;
1310 lba = be32_to_cpu(*(__be32 *)&srb->cmnd[2]);
1314 sectnum = (unsigned char)(lba);
1315 cylinder = (unsigned short)(lba>>8);
1316 head = ATA_ADDRESS_DEVHEAD_LBA_MODE | (unsigned char)(lba>>24 & 0x0F);
1318 sectnum = (u8)((lba % id[ATA_ID_SECTORS]) + 1);
1319 cylinder = (u16)(lba / (id[ATA_ID_SECTORS] *
1321 head = (u8)((lba / id[ATA_ID_SECTORS]) %
1342 lba = be32_to_cpu(*(__be32 *)&srb->cmnd[2]);
1346 sectnum = (unsigned char)(lba);
1347 cylinder = (unsigned short)(lba>>8);
1348 head = ATA_ADDRESS_DEVHEAD_LBA_MODE | (unsigned char)(lba>>24 & 0x0F);
1350 sectnum = (u8)((lba % id[ATA_ID_SECTORS]) + 1);
1351 cylinder = (u16)(lba / (id[ATA_ID_SECTORS] *
1353 head = (u8)((lba / id[ATA_ID_SECTORS]) %