Home
last modified time | relevance | path

Searched refs:hpa (Results 1 – 25 of 26) 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()
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))
835 void *iosapic_register(unsigned long hpa) in iosapic_register() argument
849 if (COMPARE_IRTE_ADDR(irte, hpa)) in iosapic_register()
854 DBG("iosapic_register() ignoring 0x%lx (NOT FOUND)\n", hpa); in iosapic_register()
864 isi->addr = ioremap_nocache(hpa, 4096); in iosapic_register()
865 isi->isi_hpa = hpa; in iosapic_register()
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()
Ddino.c900 unsigned long hpa = dev->hpa.start; in dino_probe() local
919 printk("%s version %s found at 0x%lx\n", name, version, hpa); in dino_probe()
921 if (!request_mem_region(hpa, PAGE_SIZE, name)) { in dino_probe()
923 hpa); in dino_probe()
931 if (hpa == (unsigned long)CUJO_RAVEN_ADDR) { in dino_probe()
933 } else if (hpa == (unsigned long)CUJO_FIREHAWK_ADDR) { in dino_probe()
936 printk("Don't recognise Cujo at address 0x%lx, not enabling workaround\n", hpa); in dino_probe()
959 dino_dev->hba.base_addr = ioremap_nocache(hpa, 4096); in dino_probe()
Dlba_pci.c1190 r->start += (rsize + 1) * LBA_NUM(pa_dev->hpa.start); in lba_legacy_resources()
1368 void __iomem *addr = ioremap_nocache(dev->hpa.start, 4096); in lba_driver_probe()
1386 version, func_class & 0xf, (long)dev->hpa.start); in lba_driver_probe()
1416 minor, func_class, (long)dev->hpa.start); in lba_driver_probe()
1421 (long)dev->hpa.start); in lba_driver_probe()
1426 tmp_obj = iosapic_register(dev->hpa.start + LBA_IOSAPIC_BASE); in lba_driver_probe()
1580 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()
Dccio-dma.c1554 (unsigned long)dev->hpa.start); in ccio_probe()
1562 ioc->ioc_regs = ioremap_nocache(dev->hpa.start, 4096); in ccio_probe()
/drivers/input/serio/
Dgscps2.c334 unsigned long hpa = dev->hpa.start; in gscps2_probe() local
342 hpa += GSC_DINO_OFFSET; in gscps2_probe()
355 ps2port->addr = ioremap_nocache(hpa, GSC_STATUS + 4); in gscps2_probe()
377 hpa, ps2port->id); in gscps2_probe()
383 if (!request_mem_region(hpa, GSC_STATUS + 4, ps2port->port.name)) in gscps2_probe()
404 release_mem_region(dev->hpa.start, GSC_STATUS + 4); in gscps2_probe()
427 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/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.c402 unsigned long rom_address, unsigned long hpa) in sti_init_glob_cfg() argument
447 newhpa = (i == 0) ? rom_address : hpa; in sti_init_glob_cfg()
810 sti_try_rom_generic(unsigned long address, unsigned long hpa, struct pci_dev *pd) in sti_try_rom_generic() argument
879 address, hpa)); in sti_try_rom_generic()
885 address, hpa)); in sti_try_rom_generic()
892 if (sti_init_glob_cfg(sti, address, hpa)) in sti_try_rom_generic()
939 int hpa = dev->hpa.start; in sticore_pa_init() local
942 sti = sti_try_rom_generic(dev->addr[0], hpa, NULL); in sticore_pa_init()
944 sti = sti_try_rom_generic(hpa, hpa, NULL); in sticore_pa_init()
946 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()
480 request_mem_region(dev->hpa.start + MUX_OFFSET, in mux_probe()
496 port->mapbase = dev->hpa.start + MUX_OFFSET + in mux_probe()
530 if(mux_ports[i].port.mapbase == dev->hpa.start + MUX_OFFSET) in mux_remove()
544 release_mem_region(dev->hpa.start + MUX_OFFSET, port_count * MUX_LINE_OFFSET); in mux_remove()
/drivers/net/ethernet/i825xx/
Dlasi_82596.c163 __FILE__, (unsigned long)dev->hpa.start); in lan_init_chip()
168 (unsigned long)dev->hpa.start, dev->irq); in lan_init_chip()
176 netdevice->base_addr = dev->hpa.start; in lan_init_chip()
/drivers/tty/serial/8250/
D8250_gsc.c43 (unsigned long long)dev->hpa.start); in serial_init_chip()
47 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/video/
Dsticore.h75 #define REGION_OFFSET_TO_PHYS( rt, hpa ) \ argument
76 (((rt).region_desc.offset << 12) + (hpa))
/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()

12