ahci_intr_error(ap, status); 
unsigned int err_mask; if (status & PORT_IRQ_TF_ERR) err_mask = AC_ERR_DEV; else if (status & PORT_IRQ_IF_ERR) err_mask = AC_ERR_ATA_BUS; else err_mask = AC_ERR_HOST_BUS;  if (err_mask != AC_ERR_DEV) ahci_intr_error(ap, status); 
static inline int ahci_host_intr(struct ata_port *ap, struct ata_queued_cmd *qc){	void __iomem *mmio = ap->host_set->mmio_base;	void __iomem *port_mmio = ahci_port_base(mmio, ap->port_no);	u32 status, serr, ci;	serr = readl(port_mmio + PORT_SCR_ERR);	writel(serr, port_mmio + PORT_SCR_ERR);	status = readl(port_mmio + PORT_IRQ_STAT);	writel(status, port_mmio + PORT_IRQ_STAT);	ci = readl(port_mmio + PORT_CMD_ISSUE);	if (likely((ci & 0x1) == 0)) {		if (qc) {			ata_qc_complete(qc, 0);			qc = NULL;		}	}	if (status & PORT_IRQ_FATAL) {		ahci_intr_error(ap, status);		if (qc)			ata_qc_complete(qc, AC_ERR_OTHER);	}	return 1;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/ad36d1a533da91d3448029b4da1113c5b880f25d/ahci.c/clean/drivers/scsi/ahci.c