/drivers/parisc/ |
D | hppb.c | 27 unsigned long hpa; member 33 .hpa = 0, 57 if(card->hpa) { in hppb_probe() 66 (unsigned long long) dev->hpa.start); in hppb_probe() 68 card->hpa = dev->hpa.start; in hppb_probe() 72 card->mmio_region.start = gsc_readl(dev->hpa.start + IO_IO_LOW); in hppb_probe() 73 card->mmio_region.end = gsc_readl(dev->hpa.start + IO_IO_HIGH) - 1; in hppb_probe()
|
D | lasi.c | 62 unsigned long lasi_base = this_lasi->hpa; in lasi_init_irq() 178 lasi->hpa = dev->hpa.start; in lasi_init_chip() 181 lasi->version = gsc_readl(lasi->hpa + LASI_VER) & 0xf; in lasi_init_chip() 183 lasi->name, lasi->version, lasi->hpa); in lasi_init_chip() 186 lasi_led_init(lasi->hpa); in lasi_init_chip() 209 gsc_writel(lasi->eim, lasi->hpa + OFFSET_IAR); in lasi_init_chip() 224 lasi_power_off_hpa = lasi->hpa; in lasi_init_chip()
|
D | gsc.c | 80 irr = gsc_readl(gsc_asic->hpa + OFFSET_IRR); in gsc_asic_intr() 118 imr = gsc_readl(irq_dev->hpa + OFFSET_IMR); in gsc_asic_mask_irq() 120 gsc_writel(imr, irq_dev->hpa + OFFSET_IMR); in gsc_asic_mask_irq() 133 imr = gsc_readl(irq_dev->hpa + OFFSET_IMR); in gsc_asic_unmask_irq() 135 gsc_writel(imr, irq_dev->hpa + OFFSET_IMR); in gsc_asic_unmask_irq() 218 res = request_mem_region(gsc_asic->hpa, 0x100000, gsc_asic->name); in gsc_common_setup() 226 if (gsc_readl(gsc_asic->hpa + OFFSET_IMR)) in gsc_common_setup() 228 gsc_readl(gsc_asic->hpa + OFFSET_IMR)); in gsc_common_setup()
|
D | wax.c | 54 unsigned long base = wax->hpa; in wax_init_irq() 83 wax->hpa = dev->hpa.start; in wax_init_chip() 86 printk(KERN_INFO "%s at 0x%lx found.\n", wax->name, wax->hpa); in wax_init_chip() 109 gsc_writel(wax->eim, wax->hpa + OFFSET_IAR); in wax_init_chip()
|
D | sba_iommu.c | 154 sba_dump_ranges(void __iomem *hpa) in sba_dump_ranges() argument 156 DBG_INIT("SBA at 0x%p\n", hpa); in sba_dump_ranges() 157 DBG_INIT("IOS_DIST_BASE : %Lx\n", READ_REG64(hpa+IOS_DIST_BASE)); in sba_dump_ranges() 158 DBG_INIT("IOS_DIST_MASK : %Lx\n", READ_REG64(hpa+IOS_DIST_MASK)); in sba_dump_ranges() 159 DBG_INIT("IOS_DIST_ROUTE : %Lx\n", READ_REG64(hpa+IOS_DIST_ROUTE)); in sba_dump_ranges() 161 DBG_INIT("IOS_DIRECT_BASE : %Lx\n", READ_REG64(hpa+IOS_DIRECT_BASE)); in sba_dump_ranges() 162 DBG_INIT("IOS_DIRECT_MASK : %Lx\n", READ_REG64(hpa+IOS_DIRECT_MASK)); in sba_dump_ranges() 163 DBG_INIT("IOS_DIRECT_ROUTE: %Lx\n", READ_REG64(hpa+IOS_DIRECT_ROUTE)); in sba_dump_ranges() 172 static void sba_dump_tlb(void __iomem *hpa) in sba_dump_tlb() argument 174 DBG_INIT("IO TLB at 0x%p\n", hpa); in sba_dump_tlb() [all …]
|
D | asp.c | 78 asp.version = gsc_readb(dev->hpa.start + ASP_VER_OFFSET) & 0xf; in asp_init_chip() 80 asp.hpa = ASP_INTERRUPT_ADDR; in asp_init_chip() 83 asp.name, asp.version, (unsigned long)dev->hpa.start); in asp_init_chip()
|
D | iosapic.c | 172 #define COMPARE_IRTE_ADDR(irte, hpa) ((irte)->dest_iosapic_addr == (hpa)) argument 174 #define COMPARE_IRTE_ADDR(irte, hpa) \ argument 175 ((irte)->dest_iosapic_addr == ((hpa) | 0xffffffff00000000ULL)) 915 void *iosapic_register(unsigned long hpa) in iosapic_register() argument 929 if (COMPARE_IRTE_ADDR(irte, hpa)) in iosapic_register() 934 DBG("iosapic_register() ignoring 0x%lx (NOT FOUND)\n", hpa); in iosapic_register() 944 isi->addr = ioremap_nocache(hpa, 4096); in iosapic_register() 945 isi->isi_hpa = hpa; in iosapic_register()
|
D | dino.c | 920 unsigned long hpa = dev->hpa.start; in dino_probe() local 940 printk("%s version %s found at 0x%lx\n", name, version, hpa); in dino_probe() 942 if (!request_mem_region(hpa, PAGE_SIZE, name)) { in dino_probe() 944 hpa); in dino_probe() 952 if (hpa == (unsigned long)CUJO_RAVEN_ADDR) { in dino_probe() 954 } else if (hpa == (unsigned long)CUJO_FIREHAWK_ADDR) { in dino_probe() 957 printk("Don't recognise Cujo at address 0x%lx, not enabling workaround\n", hpa); in dino_probe() 980 dino_dev->hba.base_addr = ioremap_nocache(hpa, 4096); in dino_probe()
|
D | lba_pci.c | 1248 r->start += (rsize + 1) * LBA_NUM(pa_dev->hpa.start); in lba_legacy_resources() 1444 void __iomem *addr = ioremap_nocache(dev->hpa.start, 4096); in lba_driver_probe() 1463 version, func_class & 0xf, (long)dev->hpa.start); in lba_driver_probe() 1493 minor, func_class, (long)dev->hpa.start); in lba_driver_probe() 1498 (long)dev->hpa.start); in lba_driver_probe() 1503 tmp_obj = iosapic_register(dev->hpa.start + LBA_IOSAPIC_BASE); in lba_driver_probe() 1661 void __iomem * base_addr = ioremap_nocache(lba->hpa.start, 4096); in lba_set_iregs()
|
D | gsc.h | 30 unsigned long hpa; member
|
D | ccio-rm-dma.c | 171 dev->hpa.start); in ccio_probe()
|
D | eisa.c | 309 name, (unsigned long)dev->hpa.start); in eisa_probe()
|
/drivers/input/serio/ |
D | gscps2.c | 332 unsigned long hpa = dev->hpa.start; in gscps2_probe() local 340 hpa += GSC_DINO_OFFSET; in gscps2_probe() 353 ps2port->addr = ioremap_nocache(hpa, GSC_STATUS + 4); in gscps2_probe() 375 hpa, ps2port->id); in gscps2_probe() 381 if (!request_mem_region(hpa, GSC_STATUS + 4, ps2port->port.name)) in gscps2_probe() 387 hpa, in gscps2_probe() 402 release_mem_region(dev->hpa.start, GSC_STATUS + 4); in gscps2_probe() 425 release_mem_region(dev->hpa, GSC_STATUS + 4); in gscps2_remove()
|
D | hp_sdc.c | 950 hp_sdc.base_io = d->hpa.start; in hp_sdc_init_hppa() 951 hp_sdc.data_io = d->hpa.start + 0x800; in hp_sdc_init_hppa() 952 hp_sdc.status_io = d->hpa.start + 0x801; in hp_sdc_init_hppa()
|
/drivers/vfio/ |
D | vfio_iommu_spapr_tce.c | 366 unsigned long hpa) in tce_iommu_unuse_page() argument 370 page = pfn_to_page(hpa >> PAGE_SHIFT); in tce_iommu_unuse_page() 398 unsigned long hpa = 0; in tce_iommu_unuse_page_v2() local 405 &hpa, &mem); in tce_iommu_unuse_page_v2() 444 static int tce_iommu_use_page(unsigned long tce, unsigned long *hpa) in tce_iommu_use_page() argument 453 *hpa = __pa((unsigned long) page_address(page)); in tce_iommu_use_page() 465 unsigned long hpa; in tce_iommu_build() local 471 ret = tce_iommu_use_page(tce, &hpa); in tce_iommu_build() 475 page = pfn_to_page(hpa >> PAGE_SHIFT); in tce_iommu_build() 481 hpa |= offset; in tce_iommu_build() [all …]
|
/drivers/char/agp/ |
D | hp-agp.c | 163 hp_zx1_ioc_init (u64 hpa) in hp_zx1_ioc_init() argument 167 hp->ioc_regs = ioremap(hpa, 1024); in hp_zx1_ioc_init() 184 hp_zx1_lba_find_capability (volatile u8 __iomem *hpa, int cap) in hp_zx1_lba_find_capability() argument 190 status = readw(hpa+PCI_STATUS); in hp_zx1_lba_find_capability() 193 pos = readb(hpa+PCI_CAPABILITY_LIST); in hp_zx1_lba_find_capability() 196 id = readb(hpa+pos+PCI_CAP_LIST_ID); in hp_zx1_lba_find_capability() 201 pos = readb(hpa+pos+PCI_CAP_LIST_NEXT); in hp_zx1_lba_find_capability() 207 hp_zx1_lba_init (u64 hpa) in hp_zx1_lba_init() argument 212 hp->lba_regs = ioremap(hpa, 256); in hp_zx1_lba_init()
|
/drivers/scsi/ |
D | zalon.c | 63 lasi_scsi_clock(void * hpa, int defaultclock) 67 status = pdc_iodc_read(&pdc_result, hpa, 0, &iodc_data, 32 ); 91 void __iomem *zalon = ioremap_nocache(dev->hpa.start, 4096); in zalon_probe() 130 device.slot.base = dev->hpa.start + GSC_SCSI_ZALON_OFFSET; in zalon_probe()
|
D | lasi700.c | 101 unsigned long base = dev->hpa.start + LASI_SCSI_CORE_OFFSET; in lasi700_probe()
|
/drivers/video/console/ |
D | sticore.c | 415 unsigned long hpa) in sti_init_glob_cfg() argument 457 newhpa = (i == 0) ? rom_address : hpa; in sti_init_glob_cfg() 817 unsigned long hpa, in sti_try_rom_generic() argument 887 address, hpa)); in sti_try_rom_generic() 893 address, hpa)); in sti_try_rom_generic() 900 if (sti_init_glob_cfg(sti, address, hpa)) in sti_try_rom_generic() 948 int hpa = dev->hpa.start; in sticore_pa_init() local 951 sti = sti_try_rom_generic(dev->addr[0], hpa, NULL); in sticore_pa_init() 953 sti = sti_try_rom_generic(hpa, hpa, NULL); in sticore_pa_init() 955 sti = sti_try_rom_generic(PAGE0->proc_sti, hpa, NULL); in sticore_pa_init()
|
/drivers/tty/serial/ |
D | mux.c | 97 status = pdc_iodc_read(&bytecnt, dev->hpa.start, 0, iodc_data, 32); in get_mux_port_count() 463 request_mem_region(dev->hpa.start + MUX_OFFSET, in mux_probe() 479 port->mapbase = dev->hpa.start + MUX_OFFSET + in mux_probe() 513 if(mux_ports[i].port.mapbase == dev->hpa.start + MUX_OFFSET) in mux_remove() 527 release_mem_region(dev->hpa.start + MUX_OFFSET, port_count * MUX_LINE_OFFSET); in mux_remove()
|
/drivers/net/ethernet/i825xx/ |
D | lasi_82596.c | 162 __FILE__, (unsigned long)dev->hpa.start); in lan_init_chip() 167 (unsigned long)dev->hpa.start, dev->irq); in lan_init_chip() 175 netdevice->base_addr = dev->hpa.start; in lan_init_chip()
|
/drivers/tty/serial/8250/ |
D | 8250_gsc.c | 48 (unsigned long long)dev->hpa.start); in serial_init_chip() 52 address = dev->hpa.start; in serial_init_chip()
|
/drivers/input/keyboard/ |
D | hilkbd.c | 310 (void *)dev->hpa.start); in hil_probe_chip() 314 hil_base = dev->hpa.start; in hil_probe_chip()
|
/drivers/parport/ |
D | parport_gsc.c | 356 (unsigned long long)dev->hpa.start); in parport_init_chip() 360 port = dev->hpa.start + PARPORT_GSC_OFFSET; in parport_init_chip()
|
/drivers/video/fbdev/ |
D | sticore.h | 76 #define REGION_OFFSET_TO_PHYS( rt, hpa ) \ argument 77 (((rt).region_desc.offset << 12) + (hpa))
|