• 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:link

435 	tag = ap->link.active_tag;
769 static int sata_dwc_scr_read(struct ata_link *link, unsigned int scr, u32 *val)
772 dev_err(link->ap->dev, "%s: Incorrect SCR offset 0x%02x\n",
777 *val = in_le32((void *)link->ap->ioaddr.scr_addr + (scr * 4));
778 dev_dbg(link->ap->dev, "%s: id=%d reg=%d val=val=0x%08x\n",
779 __func__, link->ap->print_id, scr, *val);
784 static int sata_dwc_scr_write(struct ata_link *link, unsigned int scr, u32 val)
786 dev_dbg(link->ap->dev, "%s: id=%d reg=%d val=val=0x%08x\n",
787 __func__, link->ap->print_id, scr, val);
789 dev_err(link->ap->dev, "%s: Incorrect SCR offset 0x%02x\n",
793 out_le32((void *)link->ap->ioaddr.scr_addr + (scr * 4), val);
834 struct ata_eh_info *ehi = &ap->link.eh_info;
848 tag = ap->link.active_tag;
906 ap->link.active_tag);
932 qc->ap->link.active_tag = tag;
943 if (ap->link.active_tag == ATA_TAG_POISON)
946 tag = ap->link.active_tag;
959 qc->ap->link.active_tag = tag;
1046 qc->ap->link.active_tag = tag;
1134 tag = ap->link.active_tag;
1160 ap->link.active_tag = ATA_TAG_POISON;
1383 dev_dbg(qc->ap->dev, "%s: ap->link.sactive=0x%08x tag=%d\n",
1384 __func__, qc->ap->link.sactive, tag);
1443 dev_dbg(qc->ap->dev, "%s: ap->link.sactive=0x%08x tag=%d\n",
1444 __func__, qc->ap->link.sactive, tag);
1490 if (qc->tag > 0 || ap->link.sactive > 1)
1496 ap->link.active_tag, ap->link.sactive);
1508 dev_dbg(qc->ap->dev, "%s: tag=%d ap->link.sactive = 0x%08x "
1509 "sactive=0x%08x\n", __func__, tag, qc->ap->link.sactive,
1536 __func__, tag, qc->ap->link.active_tag);
1544 ap->link.flags |= ATA_LFLAG_NO_HRST;