Home
last modified time | relevance | path

Searched refs:pci_resource_start (Results 1 – 25 of 262) sorted by relevance

1234567891011

/linux-2.4.37.9/drivers/scsi/
Dsata_uli.c221 probe_ent->port[2].cmd_addr = pci_resource_start(pdev, 0) + 8; in uli_init_one()
224 (pci_resource_start(pdev, 1) | ATA_PCI_CTL_OFS) + 4; in uli_init_one()
225 probe_ent->port[2].bmdma_addr = pci_resource_start(pdev, 4) + 16; in uli_init_one()
228 probe_ent->port[3].cmd_addr = pci_resource_start(pdev, 2) + 8; in uli_init_one()
231 (pci_resource_start(pdev, 3) | ATA_PCI_CTL_OFS) + 4; in uli_init_one()
232 probe_ent->port[3].bmdma_addr = pci_resource_start(pdev, 4) + 24; in uli_init_one()
Dsata_via.c196 unsigned long reg_addr = pci_resource_start(pdev, port); in vt6421_init_addrs()
197 unsigned long bmdma_addr = pci_resource_start(pdev, 4) + (port * 8); in vt6421_init_addrs()
205 scr_addr = vt6421_scr_addr(pci_resource_start(pdev, 5), port); in vt6421_init_addrs()
221 svia_scr_addr(pci_resource_start(pdev, 5), 0); in vt6420_init_probe_ent()
223 svia_scr_addr(pci_resource_start(pdev, 5), 1); in vt6420_init_probe_ent()
337 if ((pci_resource_start(pdev, i) == 0) || in svia_init_one()
342 pci_resource_start(pdev, i), in svia_init_one()
Dsata_sis.c285 ((pci_resource_start(pdev, SIS_SCR_PCI_BAR) == 0) || in sis_init_one()
312 pci_resource_start(pdev, SIS_SCR_PCI_BAR); in sis_init_one()
314 pci_resource_start(pdev, SIS_SCR_PCI_BAR) + port2_start; in sis_init_one()
Ddmx3191d.c75 port = pci_resource_start (pdev, 0); in dmx3191d_detect()
Dsata_nv.c382 if (pci_resource_start(pdev, bar) == 0) in nv_init_one()
442 pci_resource_start(pdev, 5) | NV_PORT0_SCR_REG_OFFSET; in nv_init_one()
444 pci_resource_start(pdev, 5) | NV_PORT1_SCR_REG_OFFSET; in nv_init_one()
/linux-2.4.37.9/drivers/sound/
Dskeleton.c80 iobase = pci_resource_start(pcidev, 0); in mycard_install()
81 mssbase = pci_resource_start(pcidev, 1); in mycard_install()
82 mpubase = pci_resource_start(pcidev, 2); in mycard_install()
/linux-2.4.37.9/drivers/net/wireless/
Dorinoco_plx.c166 attr_mem = ioremap(pci_resource_start(pdev, 2), PAGE_SIZE); in orinoco_plx_init_one()
200 addr = pci_resource_start(pdev, 1); in orinoco_plx_init_one()
218 pccard_ioaddr = pci_resource_start(pdev, 3); in orinoco_plx_init_one()
301 release_region(pci_resource_start(pdev, 3), pci_resource_len(pdev, 3)); in orinoco_plx_remove_one()
Dorinoco_tmd.c101 pccard_ioaddr = pci_resource_start(pdev, 2); in orinoco_tmd_init_one()
110 addr = pci_resource_start(pdev, 1); in orinoco_tmd_init_one()
189 release_region(pci_resource_start(pdev, 2), pci_resource_len(pdev, 2)); in orinoco_tmd_remove_one()
/linux-2.4.37.9/drivers/isdn/hysdn/
Dhysdn_init.c96 card->iobase = pci_resource_start(akt_pcidev, PCI_REG_PLX_IO_BASE); in search_cards()
97 card->plxbase = pci_resource_start(akt_pcidev, PCI_REG_PLX_MEM_BASE); in search_cards()
98 card->membase = pci_resource_start(akt_pcidev, PCI_REG_MEMORY_BASE); in search_cards()
/linux-2.4.37.9/drivers/media/radio/
Dradio-maxiradio.c326 if(!request_region(pci_resource_start(pdev, 0), in maxiradio_init_one()
335 radio_unit.io = pci_resource_start(pdev, 0); in maxiradio_init_one()
356 release_region(pci_resource_start(pdev, 0), pci_resource_len(pdev, 0)); in maxiradio_init_one()
364 release_region(pci_resource_start(pdev, 0), pci_resource_len(pdev, 0)); in maxiradio_remove_one()
/linux-2.4.37.9/drivers/net/arcnet/
Dcom20020-pci.c93 ioaddr = pci_resource_start(pdev, 4); in com20020pci_probe()
97 ioaddr = pci_resource_start(pdev, 2); in com20020pci_probe()
/linux-2.4.37.9/drivers/ide/pci/
Dhpt34x.c67 unsigned long bibma = pci_resource_start(dev, 4); in hpt34x_get_info()
242 unsigned long hpt34xIoBase = pci_resource_start(dev, 4); in init_chipset_hpt34x()
254 if (pci_resource_start(dev, PCI_ROM_RESOURCE)) { in init_chipset_hpt34x()
Dadma100.c26 unsigned long phy_admctl = pci_resource_start(hwif->pci_dev, 4) + 0x80 + (hwif->channel * 0x20); in init_hwif_adma100()
Dsgiioc4.c74 base = pci_resource_start(dev, 0) + IOC4_CMD_OFFSET; in sgiioc4_ide_setup_pci_device()
75 ctl = pci_resource_start(dev, 0) + IOC4_CTRL_OFFSET; in sgiioc4_ide_setup_pci_device()
76 irqport = pci_resource_start(dev, 0) + IOC4_INTR_OFFSET; in sgiioc4_ide_setup_pci_device()
77 dma_base = pci_resource_start(dev, 0) + IOC4_DMA_OFFSET; in sgiioc4_ide_setup_pci_device()
/linux-2.4.37.9/drivers/scsi/aic7xxx/
Daic79xx_osm_pci.c245 *base = pci_resource_start(ahd->dev_softc, 0); in ahd_linux_pci_reserve_io_regions()
251 *base2 = pci_resource_start(ahd->dev_softc, 3); in ahd_linux_pci_reserve_io_regions()
296 start = pci_resource_start(ahd->dev_softc, 1); in ahd_linux_pci_reserve_mem_region()
/linux-2.4.37.9/drivers/mtd/maps/
Dpci.c53 map->base = ioremap_nocache(pci_resource_start(dev, 0), in intel_iq80310_init()
116 base = pci_resource_start(dev, PCI_ROM_RESOURCE); in intel_dc21285_init()
123 base = pci_resource_start(dev, 2); in intel_dc21285_init()
/linux-2.4.37.9/drivers/char/
Dparport_serial.c248 port = pci_resource_start(dev, base_idx) + offset; in get_pci_port()
326 io_lo = pci_resource_start (dev, lo); in parport_register()
329 io_hi = pci_resource_start (dev, hi); in parport_register()
Dgeode-rng.c83 rng_base = pci_resource_start(pdev, 0); in geode_rng_init()
Dscx200.c92 base = pci_resource_start(bridge, 0); in scx200_init()
/linux-2.4.37.9/drivers/isdn/avmb1/
Db1pci.c419 if (pci_resource_start(dev, 2)) { /* B1 PCI V4 */ in add_card()
425 param.membase = pci_resource_start(dev, 0); in add_card()
426 param.port = pci_resource_start(dev, 2); in add_card()
443 param.port = pci_resource_start(dev, 1); in add_card()
/linux-2.4.37.9/drivers/char/joystick/
Dcs461x.c241 ba0_addr = pci_resource_start(pdev, 0); in cs461x_pci_probe()
243 ba1_addr = pci_resource_start(pdev, 1); in cs461x_pci_probe()
/linux-2.4.37.9/drivers/hotplug/
Dshpchp_hpc.c797 …release_mem_region(pci_resource_start(php_ctlr->pci_dev, 0), pci_resource_len(php_ctlr->pci_dev, 0… in hpc_release_ctlr()
1483 pci_resource_start(pdev, rc), pci_resource_len(pdev, rc), shpc_base_offset); in shpc_init()
1488 …if (!request_mem_region(pci_resource_start(pdev, 0) + shpc_base_offset, pci_resource_len(pdev, 0),… in shpc_init()
1494 ioremap(pci_resource_start(pdev, 0) + shpc_base_offset, pci_resource_len(pdev, 0)); in shpc_init()
1497 pci_resource_start(pdev, 0) + shpc_base_offset); in shpc_init()
1498 release_mem_region(pci_resource_start(pdev, 0) + shpc_base_offset, pci_resource_len(pdev, 0)); in shpc_init()
1502 dbg("%s: physical addr %p\n", __FUNCTION__, (void*)pci_resource_start(pdev, 0)); in shpc_init()
/linux-2.4.37.9/drivers/net/wan/
Dpci200syn.c336 plxphys = pci_resource_start(pdev,0) & PCI_BASE_ADDRESS_MEM_MASK; in pci200_pci_init_one()
339 scaphys = pci_resource_start(pdev,2) & PCI_BASE_ADDRESS_MEM_MASK; in pci200_pci_init_one()
342 ramphys = pci_resource_start(pdev,3) & PCI_BASE_ADDRESS_MEM_MASK; in pci200_pci_init_one()
Ddscc4.c709 if (!request_mem_region(pci_resource_start(pdev, 0), in dscc4_init_one()
715 if (!request_mem_region(pci_resource_start(pdev, 1), in dscc4_init_one()
721 ioaddr = (unsigned long)ioremap(pci_resource_start(pdev, 0), in dscc4_init_one()
726 pci_resource_start(pdev, 0)); in dscc4_init_one()
730 pci_resource_start(pdev, 0), in dscc4_init_one()
731 pci_resource_start(pdev, 1), pdev->irq); in dscc4_init_one()
824 release_mem_region(pci_resource_start(pdev, 1), in dscc4_init_one()
827 release_mem_region(pci_resource_start(pdev, 0), in dscc4_init_one()
1981 release_mem_region(pci_resource_start(pdev, 1), in dscc4_remove_one()
1983 release_mem_region(pci_resource_start(pdev, 0), in dscc4_remove_one()
/linux-2.4.37.9/include/linux/
Dpci.h780 #define pci_resource_start(dev,bar) ((dev)->resource[(bar)].start) macro
784 ((pci_resource_start((dev),(bar)) == 0 && \
786 pci_resource_start((dev),(bar))) ? 0 : \
789 pci_resource_start((dev),(bar)) + 1))

1234567891011