• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/ata/

Lines Matching defs:action

429 	return ehc->i.action | ehc->i.dev_action[dev->devno];
433 struct ata_eh_info *ehi, unsigned int action)
438 ehi->action &= ~action;
440 ehi->dev_action[tdev->devno] &= ~action;
443 WARN_ON(!(action & ATA_EH_PERDEV_MASK));
445 /* break ehi->action into ehi->dev_action */
446 if (ehi->action & action) {
449 ehi->action & action;
450 ehi->action &= ~action;
453 /* turn off the specified per-dev action */
454 ehi->dev_action[dev->devno] &= ~action;
1278 * @dev: target ATA dev for per-dev action (can be NULL)
1279 * @action: action about to be performed
1289 unsigned int action)
1298 ata_eh_clear_action(link, dev, ehi, action);
1300 /* About to take EH action, set RECOVERED. Ignore actions on
1310 * ata_eh_done - EH action complete
1312 * @dev: target ATA dev for per-dev action (can be NULL)
1313 * @action: action just completed
1322 unsigned int action)
1326 ata_eh_clear_action(link, dev, &ehc->i, action);
1554 unsigned int err_mask = 0, action = 0;
1559 action |= ATA_EH_RESET;
1563 action |= ATA_EH_RESET;
1567 action |= ATA_EH_RESET;
1586 ehc->i.action |= action;
1665 * Determined recovery action
1670 unsigned int tmp, action = 0;
1713 action |= ATA_EH_RESET;
1715 return action;
1794 * Even if multiple verdicts are returned, only one action is
1795 * taken per error. An action triggered by non-DUBIOUS errors
1882 * Determined recovery action.
1890 unsigned int action = 0;
1914 action |= ATA_EH_RESET;
1934 action |= ATA_EH_RESET;
1948 action |= ATA_EH_RESET;
1958 return action;
1962 * ata_eh_link_autopsy - analyze error and determine recovery action
1995 ehc->i.action |= ATA_EH_RESET;
2019 ehc->i.action |= ata_eh_analyze_tf(qc, &qc->result_tf);
2050 ehc->i.action |= ATA_EH_RESET;
2053 ehc->i.action |= ATA_EH_REVALIDATE;
2056 * perform per-dev EH action only on the offending device.
2060 ehc->i.action & ATA_EH_PERDEV_MASK;
2061 ehc->i.action &= ~ATA_EH_PERDEV_MASK;
2077 ehc->i.action |= ata_eh_speed_down(dev, eflags, all_err_mask);
2084 * ata_eh_autopsy - analyze error and determine recovery action
2116 mehc->i.action |= sehc->i.action;
2292 "SAct 0x%x SErr 0x%x action 0x%x%s%s\n",
2294 ehc->i.action, frozen, tries_buf);
2299 "SAct 0x%x SErr 0x%x action 0x%x%s%s\n",
2301 ehc->i.action, frozen, tries_buf);
2531 ehc->i.action &= ~ATA_EH_RESET;
2534 ehc->i.action |= ATA_EH_HARDRESET;
2537 ehc->i.action |= ATA_EH_SOFTRESET;
2545 sehc->i.action &= ~ATA_EH_RESET;
2546 sehc->i.action |= ehc->i.action;
2562 ehc->i.action |= sehc->i.action;
2569 ehc->i.action &= ~ATA_EH_RESET;
2584 if (reset && !(ehc->i.action & ATA_EH_RESET)) {
2721 * error information. As reset is the final recovery action,
2780 ehc->i.action |= ATA_EH_REVALIDATE;
2854 * wait_for_completion_timeout(), another ATA_EH_PARK action
2919 unsigned int action = ata_eh_dev_action(dev);
2925 if ((action & ATA_EH_REVALIDATE) && ata_dev_enabled(dev)) {
3246 if ((ehc->i.action & ATA_EH_RESET) &&
3286 ehc->i.action |= ATA_EH_RESET;
3344 ehc->i.action |= ATA_EH_RESET;
3389 if (ehc->i.action & ATA_EH_ENABLE_LINK) {
3403 /* collect port action mask recorded in dev actions */
3404 ehc->i.action |= ehc->i.dev_action[dev->devno] &
3432 ehc->i.action = 0;
3442 if (!(ehc->i.action & ATA_EH_RESET))
3515 ehc->i.action = 0;
3550 if (ehc->i.action & ATA_EH_LPM)