Home
last modified time | relevance | path

Searched refs:hpa (Results 1 – 25 of 28) sorted by relevance

12

/drivers/parisc/
Dhppb.c27 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()
Dlasi.c62 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()
Dgsc.c80 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()
Dwax.c54 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()
Dsba_iommu.c154 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 …]
Dasp.c78 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()
Diosapic.c172 #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()
Ddino.c920 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()
Dlba_pci.c1248 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()
Dgsc.h30 unsigned long hpa; member
Dccio-rm-dma.c171 dev->hpa.start); in ccio_probe()
Deisa.c309 name, (unsigned long)dev->hpa.start); in eisa_probe()
/drivers/input/serio/
Dgscps2.c332 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()
Dhp_sdc.c950 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/
Dvfio_iommu_spapr_tce.c366 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/
Dhp-agp.c163 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/
Dzalon.c63 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()
Dlasi700.c101 unsigned long base = dev->hpa.start + LASI_SCSI_CORE_OFFSET; in lasi700_probe()
/drivers/video/console/
Dsticore.c415 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/
Dmux.c97 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/
Dlasi_82596.c162 __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/
D8250_gsc.c48 (unsigned long long)dev->hpa.start); in serial_init_chip()
52 address = dev->hpa.start; in serial_init_chip()
/drivers/input/keyboard/
Dhilkbd.c310 (void *)dev->hpa.start); in hil_probe_chip()
314 hil_base = dev->hpa.start; in hil_probe_chip()
/drivers/parport/
Dparport_gsc.c356 (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/
Dsticore.h76 #define REGION_OFFSET_TO_PHYS( rt, hpa ) \ argument
77 (((rt).region_desc.offset << 12) + (hpa))

12