Home
last modified time | relevance | path

Searched refs:lastLba (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/dev/pms/RefTisa/tisa/sassata/sata/host/
H A Dsat.c5879 bit32 lastLba; in satReadCapacity10() local
5992 lastLba = (((pSATAIdData->maxLBA16_31) << 16) ) | in satReadCapacity10()
5994 lastLba = lastLba - 1; /* LBA starts from zero */ in satReadCapacity10()
6002 pVirtAddr[0] = (bit8)((lastLba >> 24) & 0xFF); /* MSB */ in satReadCapacity10()
6003 pVirtAddr[1] = (bit8)((lastLba >> 16) & 0xFF); in satReadCapacity10()
6004 pVirtAddr[2] = (bit8)((lastLba >> 8) & 0xFF); in satReadCapacity10()
6005 pVirtAddr[3] = (bit8)((lastLba ) & 0xFF); /* LSB */ in satReadCapacity10()
6007 TI_DBG3(("satReadCapacity10: lastLba is 0x%x %d\n", lastLba, lastLba)); in satReadCapacity10()
6023 lastLba = (((pSATAIdData->numOfUserAddressableSectorsHi) << 16) ) | in satReadCapacity10()
6025 lastLba = lastLba - 1; /* LBA starts from zero */ in satReadCapacity10()
[all …]
/freebsd/sys/dev/pms/RefTisa/sat/src/
H A Dsmsat.c10781 bit32 lastLba; in smsatReadCapacity10() local
10900 lastLba = (((pSATAIdData->maxLBA16_31) << 16) ) | in smsatReadCapacity10()
10902 lastLba = lastLba - 1; /* LBA starts from zero */ in smsatReadCapacity10()
10910 dataBuffer[0] = (bit8)((lastLba >> 24) & 0xFF); /* MSB */ in smsatReadCapacity10()
10911 dataBuffer[1] = (bit8)((lastLba >> 16) & 0xFF); in smsatReadCapacity10()
10912 dataBuffer[2] = (bit8)((lastLba >> 8) & 0xFF); in smsatReadCapacity10()
10913 dataBuffer[3] = (bit8)((lastLba ) & 0xFF); /* LSB */ in smsatReadCapacity10()
10915 SM_DBG3(("smsatReadCapacity10: lastLba is 0x%x %d\n", lastLba, lastLba)); in smsatReadCapacity10()
10931 lastLba = (((pSATAIdData->numOfUserAddressableSectorsHi) << 16) ) | in smsatReadCapacity10()
10933 lastLba = lastLba - 1; /* LBA starts from zero */ in smsatReadCapacity10()
[all …]