Lines Matching refs:addr_req
1070 static unsigned long idedisk_set_max_address(ide_drive_t *drive, unsigned long addr_req) in idedisk_set_max_address() argument
1075 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() argument
1102 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()
1107 args.tfRegister[IDE_HCYL_OFFSET] = ((addr_req >>= 8) & 0xff); in idedisk_set_max_address_ext()
1110 args.hobRegister[IDE_SECTOR_OFFSET_HOB] = ((addr_req >>= 8) & 0xff); in idedisk_set_max_address_ext()
1111 args.hobRegister[IDE_LCYL_OFFSET_HOB] = ((addr_req >>= 8) & 0xff); in idedisk_set_max_address_ext()
1112 args.hobRegister[IDE_HCYL_OFFSET_HOB] = ((addr_req >>= 8) & 0xff); in idedisk_set_max_address_ext()