Home
last modified time | relevance | path

Searched refs:ioc_regs (Results 1 – 3 of 3) sorted by relevance

/linux-4.19.296/drivers/char/agp/
Dhp-agp.c60 volatile u8 __iomem *ioc_regs; member
89 hp->io_tlb_ps = readq(hp->ioc_regs+HP_ZX1_TCNFG); in hp_zx1_ioc_shared()
105 hp->iova_base = readq(hp->ioc_regs+HP_ZX1_IBASE) & ~0x1; in hp_zx1_ioc_shared()
111 hp->io_pdir = phys_to_virt(readq(hp->ioc_regs+HP_ZX1_PDIR_BASE)); in hp_zx1_ioc_shared()
167 hp->ioc_regs = ioremap(hpa, 1024); in hp_zx1_ioc_init()
168 if (!hp->ioc_regs) in hp_zx1_ioc_init()
175 hp->io_pdir_owner = (readq(hp->ioc_regs+HP_ZX1_IBASE) & 0x1) == 0; in hp_zx1_ioc_init()
250 writel(virt_to_phys(hp->io_pdir), hp->ioc_regs+HP_ZX1_PDIR_BASE); in hp_zx1_configure()
251 readl(hp->ioc_regs+HP_ZX1_PDIR_BASE); in hp_zx1_configure()
252 writel(hp->io_tlb_ps, hp->ioc_regs+HP_ZX1_TCNFG); in hp_zx1_configure()
[all …]
Dparisc-agp.c40 void __iomem *ioc_regs; member
97 writeq(info->gart_base | ilog2(info->gart_size), info->ioc_regs+IOC_PCOM); in parisc_agp_tlbflush()
98 readq(info->ioc_regs+IOC_PCOM); /* flush */ in parisc_agp_tlbflush()
242 agp_ioc_init(void __iomem *ioc_regs) in agp_ioc_init() argument
250 info->ioc_regs = ioc_regs; in agp_ioc_init()
252 io_tlb_ps = readq(info->ioc_regs+IOC_TCNFG); in agp_ioc_init()
268 iova_base = readq(info->ioc_regs+IOC_IBASE) & ~0x1; in agp_ioc_init()
274 io_pdir = phys_to_virt(readq(info->ioc_regs+IOC_PDIR_BASE)); in agp_ioc_init()
/linux-4.19.296/drivers/parisc/
Dccio-dma.c228 struct ioa_registers __iomem *ioc_regs; /* I/O MMU base address */ member
639 WRITE_U32(CMD_TLB_PURGE | iovp, &ioc->ioc_regs->io_command); in ccio_clear_io_tlb()
1295 __func__, ioc->ioc_regs, in ccio_ioc_init()
1338 &ioc->ioc_regs->io_chain_id_mask); in ccio_ioc_init()
1341 &ioc->ioc_regs->io_pdir_base); in ccio_ioc_init()
1346 WRITE_U32(IOA_NORMAL_MODE, &ioc->ioc_regs->io_control); in ccio_ioc_init()
1351 WRITE_U32(0, &ioc->ioc_regs->io_tlb_entry_m); in ccio_ioc_init()
1352 WRITE_U32(0, &ioc->ioc_regs->io_tlb_entry_l); in ccio_ioc_init()
1356 &ioc->ioc_regs->io_command); in ccio_ioc_init()
1401 ccio_init_resource(res, name, &ioc->ioc_regs->io_io_low); in ccio_init_resources()
[all …]