• Home
  • Raw
  • Download

Lines Matching refs:ap

62 	struct pata_pxa_data *pd = qc->ap->private_data;  in pxa_load_dmac()
107 struct pata_pxa_data *pd = qc->ap->private_data; in pxa_qc_prep()
138 qc->ap->ops->sff_exec_command(qc->ap, &qc->tf); in pxa_bmdma_setup()
146 struct pata_pxa_data *pd = qc->ap->private_data; in pxa_bmdma_start()
156 struct pata_pxa_data *pd = qc->ap->private_data; in pxa_bmdma_stop()
160 dev_err(qc->ap->dev, "Timeout waiting for DMA completion!"); in pxa_bmdma_stop()
169 static unsigned char pxa_bmdma_status(struct ata_port *ap) in pxa_bmdma_status() argument
171 struct pata_pxa_data *pd = ap->private_data; in pxa_bmdma_status()
183 static void pxa_irq_clear(struct ata_port *ap) in pxa_irq_clear() argument
221 struct ata_port *ap = port; in pxa_ata_dma_irq() local
222 struct pata_pxa_data *pd = ap->private_data; in pxa_ata_dma_irq()
234 struct ata_port *ap; in pxa_ata_probe() local
290 ap = host->ports[0]; in pxa_ata_probe()
291 ap->ops = &pxa_ata_port_ops; in pxa_ata_probe()
292 ap->pio_mask = ATA_PIO4; in pxa_ata_probe()
293 ap->mwdma_mask = ATA_MWDMA2; in pxa_ata_probe()
295 ap->ioaddr.cmd_addr = devm_ioremap(&pdev->dev, cmd_res->start, in pxa_ata_probe()
297 ap->ioaddr.ctl_addr = devm_ioremap(&pdev->dev, ctl_res->start, in pxa_ata_probe()
299 ap->ioaddr.bmdma_addr = devm_ioremap(&pdev->dev, dma_res->start, in pxa_ata_probe()
305 ap->ioaddr.altstatus_addr = ap->ioaddr.ctl_addr; in pxa_ata_probe()
306 ap->ioaddr.data_addr = ap->ioaddr.cmd_addr + in pxa_ata_probe()
308 ap->ioaddr.error_addr = ap->ioaddr.cmd_addr + in pxa_ata_probe()
310 ap->ioaddr.feature_addr = ap->ioaddr.cmd_addr + in pxa_ata_probe()
312 ap->ioaddr.nsect_addr = ap->ioaddr.cmd_addr + in pxa_ata_probe()
314 ap->ioaddr.lbal_addr = ap->ioaddr.cmd_addr + in pxa_ata_probe()
316 ap->ioaddr.lbam_addr = ap->ioaddr.cmd_addr + in pxa_ata_probe()
318 ap->ioaddr.lbah_addr = ap->ioaddr.cmd_addr + in pxa_ata_probe()
320 ap->ioaddr.device_addr = ap->ioaddr.cmd_addr + in pxa_ata_probe()
322 ap->ioaddr.status_addr = ap->ioaddr.cmd_addr + in pxa_ata_probe()
324 ap->ioaddr.command_addr = ap->ioaddr.cmd_addr + in pxa_ata_probe()
335 ap->private_data = data; in pxa_ata_probe()
351 pxa_ata_dma_irq, ap); in pxa_ata_probe()