Searched refs:lastLbaLo (Results 1 – 2 of 2) sorted by relevance
6123 bit32 lastLbaLo; in satReadCapacity16() local6248 lastLbaLo = (((pSATAIdData->maxLBA16_31) << 16) ) | (pSATAIdData->maxLBA0_15); in satReadCapacity16()6249 lastLbaLo = lastLbaLo - 1; /* LBA starts from zero */ in satReadCapacity16()6251 pVirtAddr[4] = (bit8)((lastLbaLo >> 24) & 0xFF); in satReadCapacity16()6252 pVirtAddr[5] = (bit8)((lastLbaLo >> 16) & 0xFF); in satReadCapacity16()6253 pVirtAddr[6] = (bit8)((lastLbaLo >> 8) & 0xFF); in satReadCapacity16()6254 pVirtAddr[7] = (bit8)((lastLbaLo ) & 0xFF); /* LSB */ in satReadCapacity16()6269 lastLbaLo = (((pSATAIdData->numOfUserAddressableSectorsHi) << 16) ) | in satReadCapacity16()6271 lastLbaLo = lastLbaLo - 1; /* LBA starts from zero */ in satReadCapacity16()6273 pVirtAddr[4] = (bit8)((lastLbaLo >> 24) & 0xFF); in satReadCapacity16()[all …]
11017 bit32 lastLbaLo; in smsatReadCapacity16() local11152 lastLbaLo = (((pSATAIdData->maxLBA16_31) << 16) ) | (pSATAIdData->maxLBA0_15); in smsatReadCapacity16()11153 lastLbaLo = lastLbaLo - 1; /* LBA starts from zero */ in smsatReadCapacity16()11155 dataBuffer[4] = (bit8)((lastLbaLo >> 24) & 0xFF); in smsatReadCapacity16()11156 dataBuffer[5] = (bit8)((lastLbaLo >> 16) & 0xFF); in smsatReadCapacity16()11157 dataBuffer[6] = (bit8)((lastLbaLo >> 8) & 0xFF); in smsatReadCapacity16()11158 dataBuffer[7] = (bit8)((lastLbaLo ) & 0xFF); /* LSB */ in smsatReadCapacity16()11173 lastLbaLo = (((pSATAIdData->numOfUserAddressableSectorsHi) << 16) ) | in smsatReadCapacity16()11175 lastLbaLo = lastLbaLo - 1; /* LBA starts from zero */ in smsatReadCapacity16()11177 dataBuffer[4] = (bit8)((lastLbaLo >> 24) & 0xFF); in smsatReadCapacity16()[all …]