Searched refs:addr_req (Results 1 – 1 of 1) sorted by relevance
1070 static unsigned long idedisk_set_max_address(ide_drive_t *drive, unsigned long addr_req) in idedisk_set_max_address() argument1075 addr_req--; in idedisk_set_max_address()1078 args.tfRegister[IDE_SECTOR_OFFSET] = ((addr_req >> 0) & 0xff); in idedisk_set_max_address()1079 args.tfRegister[IDE_LCYL_OFFSET] = ((addr_req >> 8) & 0xff); in idedisk_set_max_address()1080 args.tfRegister[IDE_HCYL_OFFSET] = ((addr_req >> 16) & 0xff); in idedisk_set_max_address()1081 args.tfRegister[IDE_SELECT_OFFSET] = ((addr_req >> 24) & 0x0f) | 0x40; in idedisk_set_max_address()1097 …tic unsigned long long idedisk_set_max_address_ext(ide_drive_t *drive, unsigned long long addr_req) in idedisk_set_max_address_ext() argument1102 addr_req--; in idedisk_set_max_address_ext()1105 args.tfRegister[IDE_SECTOR_OFFSET] = ((addr_req >> 0) & 0xff); in idedisk_set_max_address_ext()1106 args.tfRegister[IDE_LCYL_OFFSET] = ((addr_req >>= 8) & 0xff); in idedisk_set_max_address_ext()[all …]