Lines Matching refs:ide_addr

49 	void __iomem *ide_addr;  member
88 ulong ata_cfg = readl(info->ide_addr + S3C_ATA_CFG); in pata_s3c_set_piomode()
104 writel(ata_cfg, info->ide_addr + S3C_ATA_CFG); in pata_s3c_set_piomode()
105 writel(piotime, info->ide_addr + S3C_ATA_PIO_TIME); in pata_s3c_set_piomode()
115 void __iomem *fifo_reg = info->ide_addr + info->fifo_status_reg; in wait_for_host_ready()
148 temp = readb(info->ide_addr + S3C_ATA_PIO_RDATA); in ata_inb()
259 *data_ptr = readw(info->ide_addr in pata_s3c_data_xfer()
434 reg = readl(info->ide_addr + S3C_ATA_IRQ); in pata_s3c_irq()
435 writel(reg, info->ide_addr + S3C_ATA_IRQ); in pata_s3c_irq()
447 pata_s3c_set_endian(info->ide_addr, 1); in pata_s3c_hwinit()
448 pata_s3c_enable(info->ide_addr, true); in pata_s3c_hwinit()
452 writel(0x1f, info->ide_addr + S3C_ATA_IRQ); in pata_s3c_hwinit()
453 writel(0x1b, info->ide_addr + S3C_ATA_IRQ_MSK); in pata_s3c_hwinit()
462 pata_s3c_set_endian(info->ide_addr, 0); in pata_s3c_hwinit()
463 pata_s3c_enable(info->ide_addr, true); in pata_s3c_hwinit()
467 writel(0x3f, info->ide_addr + S3C_ATA_IRQ); in pata_s3c_hwinit()
468 writel(0x3f, info->ide_addr + S3C_ATA_IRQ_MSK); in pata_s3c_hwinit()
509 info->ide_addr = devm_ioremap(dev, res->start, resource_size(res)); in pata_s3c_probe()
510 if (!info->ide_addr) { in pata_s3c_probe()
538 info->sfr_addr = info->ide_addr + 0x1800; in pata_s3c_probe()
539 info->ide_addr += 0x1900; in pata_s3c_probe()
543 info->sfr_addr = info->ide_addr + 0x1800; in pata_s3c_probe()
544 info->ide_addr += 0x1900; in pata_s3c_probe()
559 ap->ioaddr.cmd_addr = info->ide_addr + S3C_ATA_CMD; in pata_s3c_probe()
560 ap->ioaddr.data_addr = info->ide_addr + S3C_ATA_PIO_DTR; in pata_s3c_probe()
561 ap->ioaddr.error_addr = info->ide_addr + S3C_ATA_PIO_FED; in pata_s3c_probe()
562 ap->ioaddr.feature_addr = info->ide_addr + S3C_ATA_PIO_FED; in pata_s3c_probe()
563 ap->ioaddr.nsect_addr = info->ide_addr + S3C_ATA_PIO_SCR; in pata_s3c_probe()
564 ap->ioaddr.lbal_addr = info->ide_addr + S3C_ATA_PIO_LLR; in pata_s3c_probe()
565 ap->ioaddr.lbam_addr = info->ide_addr + S3C_ATA_PIO_LMR; in pata_s3c_probe()
566 ap->ioaddr.lbah_addr = info->ide_addr + S3C_ATA_PIO_LHR; in pata_s3c_probe()
567 ap->ioaddr.device_addr = info->ide_addr + S3C_ATA_PIO_DVR; in pata_s3c_probe()
568 ap->ioaddr.status_addr = info->ide_addr + S3C_ATA_PIO_CSD; in pata_s3c_probe()
569 ap->ioaddr.command_addr = info->ide_addr + S3C_ATA_PIO_CSD; in pata_s3c_probe()
570 ap->ioaddr.altstatus_addr = info->ide_addr + S3C_ATA_PIO_DAD; in pata_s3c_probe()
571 ap->ioaddr.ctl_addr = info->ide_addr + S3C_ATA_PIO_DAD; in pata_s3c_probe()