ufs_device.cc (10905:a6ca6831e775) | ufs_device.cc (10910:32f3d1c454ec) |
---|---|
1/* 2 * Copyright (c) 2013-2015 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 2319 unchanged lines hidden (view full) --- 2328 count += 1; 2329 drainManager = dm; 2330 } else { 2331 DPRINTF(UFSHostDevice, "UFSHostDevice in drained state\n"); 2332 } 2333 2334 if (count) { 2335 DPRINTF(UFSHostDevice, "UFSDevice is draining...\n"); | 1/* 2 * Copyright (c) 2013-2015 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 2319 unchanged lines hidden (view full) --- 2328 count += 1; 2329 drainManager = dm; 2330 } else { 2331 DPRINTF(UFSHostDevice, "UFSHostDevice in drained state\n"); 2332 } 2333 2334 if (count) { 2335 DPRINTF(UFSHostDevice, "UFSDevice is draining...\n"); |
2336 setDrainState(Drainable::Draining); | 2336 setDrainState(DrainState::Draining); |
2337 } else { 2338 DPRINTF(UFSHostDevice, "UFSDevice drained\n"); | 2337 } else { 2338 DPRINTF(UFSHostDevice, "UFSDevice drained\n"); |
2339 setDrainState(Drainable::Drained); | 2339 setDrainState(DrainState::Drained); |
2340 } 2341 return count; 2342} 2343 2344/** 2345 * Checkdrain; needed to enable checkpoints 2346 */ 2347 --- 16 unchanged lines hidden --- | 2340 } 2341 return count; 2342} 2343 2344/** 2345 * Checkdrain; needed to enable checkpoints 2346 */ 2347 --- 16 unchanged lines hidden --- |