Searched refs:pcidev (Results 1 - 25 of 105) sorted by relevance

12345

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/ipath/
H A Dipath_wc_x86_64.c57 const unsigned long addr = pci_resource_start(dd->pcidev, 0);
58 const size_t len = pci_resource_len(dd->pcidev, 0);
116 dev_info(&dd->pcidev->dev,
146 dev_info(&dd->pcidev->dev,
H A Dipath_iba6120.c386 dev_info(&dd->pcidev->dev, "Hardware error: hwerr=0x%llx "
821 pci_disable_msi(dd->pcidev);
850 ret = pci_enable_msi(dd->pcidev);
857 if ((pos = pci_find_capability(dd->pcidev, PCI_CAP_ID_MSI))) {
859 pci_read_config_dword(dd->pcidev, pos + PCI_MSI_ADDRESS_LO,
861 pci_read_config_dword(dd->pcidev, pos + PCI_MSI_ADDRESS_HI,
863 pci_read_config_word(dd->pcidev, pos + PCI_MSI_FLAGS,
866 pci_read_config_word(dd->pcidev,
876 pci_read_config_byte(dd->pcidev, PCI_CACHE_LINE_SIZE,
881 if ((pos = pci_find_capability(dd->pcidev, PCI_CAP_ID_EX
[all...]
H A Dipath_iba6110.c367 if (pci_read_config_word(dd->pcidev,
370 dev_info(&dd->pcidev->dev, "Couldn't read "
379 if (pci_read_config_word(dd->pcidev,
382 dev_info(&dd->pcidev->dev, "Couldn't read "
478 dev_info(&dd->pcidev->dev, "Hardware error: hwerr=0x%llx "
734 if (pci_read_config_byte(dd->pcidev, link_off, &linkerr))
735 dev_info(&dd->pcidev->dev, "Couldn't read "
745 if (pci_write_config_byte(dd->pcidev, link_off,
749 if (pci_read_config_byte(dd->pcidev, link_off,
751 dev_info(&dd->pcidev
[all...]
H A Dipath_init_chip.c131 ipath_map_single(dd->pcidev,
207 dev_info(&dd->pcidev->dev, "Could not initialize SerDes, "
371 dev_info(&dd->pcidev->dev, "portcnt was %u before "
376 dev_info(&dd->pcidev->dev, "tidcnt was %u before "
381 dev_info(&dd->pcidev->dev, "tidbase was %u before "
386 dev_info(&dd->pcidev->dev, "egrcnt was %u before "
391 dev_info(&dd->pcidev->dev, "egrbase was %u before "
403 &dd->pcidev->dev, PAGE_SIZE, &dd->ipath_pioavailregs_phys,
743 dev_info(&dd->pcidev->dev, "Allocating %d PIO bufs of "
822 dev_info(&dd->pcidev
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/oss/
H A Dcs46xx_wrapper-24.h33 static inline void cs46xx_null(struct pci_dev *pcidev) { return; } argument
54 #define PCI_SET_DMA_MASK(pcidev,mask) pcidev->dma_mask = mask
H A Dad1889.c743 static int ad1889_aclink_reset(struct pci_dev * pcidev) argument
747 ad1889_dev_t *dev = pci_get_drvdata(pcidev);
841 static int __devinit ad1889_probe(struct pci_dev *pcidev, const struct pci_device_id *ent) argument
848 if ((err = pci_enable_device(pcidev)) != 0) {
853 pci_set_master(pcidev);
854 if ((dev = ad1889_alloc_dev(pcidev)) == NULL) {
858 pci_set_drvdata(pcidev, dev);
859 bar = pci_resource_start(pcidev, 0);
861 if (!(pci_resource_flags(pcidev, 0) & IORESOURCE_MEM)) {
866 if (pci_request_region(pcidev,
925 ad1889_remove(struct pci_dev *pcidev) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/aic94xx/
H A Daic94xx_init.c94 io_handle->start = pci_resource_start(asd_ha->pcidev, i);
95 io_handle->len = pci_resource_len(asd_ha->pcidev, i);
96 io_handle->flags = pci_resource_flags(asd_ha->pcidev, i);
100 i==0?0:1, pci_name(asd_ha->pcidev));
103 err = pci_request_region(asd_ha->pcidev, i, ASD_DRIVER_NAME);
106 pci_name(asd_ha->pcidev));
117 pci_name(asd_ha->pcidev));
124 pci_release_region(asd_ha->pcidev, i);
129 pci_release_region(asd_ha->pcidev, 0);
140 pci_release_region(asd_ha->pcidev,
[all...]
H A Daic94xx_hwi.c163 struct pci_dev *pcidev = asd_ha->pcidev; local
168 err = pci_read_config_dword(pcidev, PCI_CONF_MBAR_KEY, &v);
171 pci_name(pcidev));
175 err = pci_write_config_dword(pcidev, PCI_CONF_MBAR_KEY, v);
178 pci_name(pcidev));
185 pci_write_config_dword(pcidev, PCI_CONF_MBAR0_SWA, REG_BASE_ADDR);
186 pci_write_config_dword(pcidev, PCI_CONF_MBAR0_SWB,
188 pci_write_config_dword(pcidev, PCI_CONF_MBAR0_SWC, REG_BASE_ADDR_EXSI);
195 pci_write_config_dword(pcidev, PCI_CONF_MBAR
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/
H A Dhptiop.c268 struct pci_dev *pcidev = hba->pcidev; local
270 if (!(pci_resource_flags(pcidev, 0) & IORESOURCE_MEM)) {
276 mem_base_phy = pci_resource_start(pcidev, 0);
277 length = pci_resource_len(pcidev, 0);
344 pci_unmap_sg(hba->pcidev,
350 pci_unmap_single(hba->pcidev,
460 HPT_SCP(scp)->sgcnt = pci_map_sg(hba->pcidev,
477 hba->pcidev,
673 static int __devinit hptiop_probe(struct pci_dev *pcidev, argument
862 hptiop_shutdown(struct pci_dev *pcidev) argument
884 hptiop_remove(struct pci_dev *pcidev) argument
[all...]
H A Dips.c714 IPS_PRINTK(KERN_WARNING, ha->pcidev, "Flushing Cache.\n");
718 IPS_PRINTK(KERN_WARNING, ha->pcidev, "Incomplete Flush.\n");
720 IPS_PRINTK(KERN_WARNING, ha->pcidev, "Flushing Complete.\n");
788 IPS_PRINTK(KERN_WARNING, ha->pcidev, "Flushing Cache.\n");
793 IPS_PRINTK(KERN_WARNING, ha->pcidev,
796 IPS_PRINTK(KERN_WARNING, ha->pcidev,
947 IPS_PRINTK(KERN_NOTICE, ha->pcidev,
962 IPS_PRINTK(KERN_NOTICE, ha->pcidev, "Resetting controller.\n");
968 IPS_PRINTK(KERN_NOTICE, ha->pcidev,
997 IPS_PRINTK(KERN_NOTICE, ha->pcidev,
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/parisc/
H A Diosapic.c108 ** intr_pin = iosapic_xlate_pin(isi,pcidev):
109 ** intr_line = find IRT entry(isi, PCI_SLOT(pcidev), intr_pin)
113 ** intr_line = pcidev->irq
474 iosapic_xlate_pin(struct iosapic_info *isi, struct pci_dev *pcidev) argument
478 pci_read_config_byte(pcidev, PCI_INTERRUPT_PIN, &intr_pin);
481 pcidev->slot_name, PCI_SLOT(pcidev->devfn), intr_pin);
488 /* Check if pcidev behind a PPB */
489 if (NULL != pcidev->bus->self) {
490 /* Convert pcidev INTR_PI
738 iosapic_fixup_irq(void *isi_obj, struct pci_dev *pcidev) argument
[all...]
H A Dsuperio.c152 superio_init(struct pci_dev *pcidev) argument
335 int superio_fixup_irq(struct pci_dev *pcidev) argument
341 fn = PCI_FUNC(pcidev->devfn);
344 if (expected_device[fn] != pcidev->device) {
349 pci_name(pcidev),
350 pcidev->vendor, pcidev->device,
364 switch(pcidev->device) {
369 sio_dev.lio_pdev = pcidev; /* save for superio_init() */
372 sio_dev.usb_pdev = pcidev; /* sav
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/pseries/
H A Deeh_cache.c54 struct pci_dev *pcidev; member in struct:pci_io_addr_range
78 pci_dev_get(piar->pcidev);
79 return piar->pcidev;
124 piar->addr_lo, piar->addr_hi, pci_name(piar->pcidev));
149 if (dev != piar->pcidev ||
163 piar->pcidev = dev;
242 if (piar->pcidev == dev) {
244 pci_dev_put(piar->pcidev);
297 PCI_DN(dn)->pcidev = dev;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/lpfc/
H A Dlpfc_logmsg.h37 dev_printk(level, &((phba)->pcidev)->dev, fmt, ##arg); }
H A Dlpfc_mem.c48 phba->pcidev, phba->cfg_sg_dma_buf_size, 8, 0);
52 phba->lpfc_mbuf_pool = pci_pool_create("lpfc_mbuf_pool", phba->pcidev,
H A Dlpfc_init.c85 if (lpfc_is_LC_HBA(phba->pcidev->device)) {
164 if (lpfc_is_LC_HBA(phba->pcidev->device))
496 if (pci_channel_offline(phba->pcidev))
791 uint16_t dev_id = phba->pcidev->device;
1381 free_irq(phba->pcidev->irq, phba);
1382 pci_disable_msi(phba->pcidev);
1396 dma_free_coherent(&phba->pcidev->dev, SLI2_SLIM_SIZE,
1403 pci_release_regions(phba->pcidev);
1404 pci_disable_device(phba->pcidev);
1533 phba->pcidev
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/amso1100/
H A Dc2.c234 pci_map_single(c2dev->pcidev, skb->data, maplen,
299 pci_unmap_single(c2dev->pcidev, elem->mapaddr,
313 pci_unmap_single(c2dev->pcidev, elem->mapaddr, elem->maplen,
507 pci_unmap_single(c2dev->pcidev, mapaddr, maplen,
607 c2_port->mem = pci_alloc_consistent(c2dev->pcidev, c2_port->mem_size,
685 pci_free_consistent(c2dev->pcidev, c2_port->mem_size, c2_port->mem,
726 pci_free_consistent(c2dev->pcidev, c2_port->mem_size, c2_port->mem,
782 pci_map_single(c2dev->pcidev, skb->data, maplen, PCI_DMA_TODEVICE);
803 pci_map_page(c2dev->pcidev, frag->page,
890 SET_NETDEV_DEV(netdev, &c2dev->pcidev
926 c2_probe(struct pci_dev *pcidev, const struct pci_device_id *ent) argument
1197 c2_remove(struct pci_dev *pcidev) argument
[all...]
H A Dc2_alloc.c47 new_head = dma_alloc_coherent(&c2dev->pcidev->dev, PAGE_SIZE,
84 dma_free_coherent(&c2dev->pcidev->dev, PAGE_SIZE, root,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/video/matrox/
H A Dmatroxfb_DAC1064.c108 pci_write_config_dword(ACCESS_FBINFO(pcidev), PCI_OPTION_REG, mx);
123 pci_write_config_dword(ACCESS_FBINFO(pcidev), PCI_OPTION_REG, mx);
125 pci_write_config_dword(ACCESS_FBINFO(pcidev), PCI_OPTION_REG, mx);
150 pci_write_config_dword(ACCESS_FBINFO(pcidev), PCI_OPTION_REG, mx);
152 pci_write_config_dword(ACCESS_FBINFO(pcidev), PCI_OPTION_REG, mx);
663 pci_write_config_dword(ACCESS_FBINFO(pcidev), PCI_OPTION_REG, hw->MXoptionReg);
684 pci_write_config_dword(ACCESS_FBINFO(pcidev), PCI_OPTION_REG, ACCESS_FBINFO(hw).MXoptionReg | 4);
685 pci_write_config_dword(ACCESS_FBINFO(pcidev), PCI_OPTION3_REG, ACCESS_FBINFO(values).reg.opt3 & ~0x00300C03);
686 pci_write_config_dword(ACCESS_FBINFO(pcidev), PCI_OPTION_REG, ACCESS_FBINFO(hw).MXoptionReg);
704 pci_write_config_dword(ACCESS_FBINFO(pcidev), PCI_OPTION_RE
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/libsas/
H A Dsas_dump.c59 SAS_DPRINTK("ha %s: %s event\n", pci_name(sas_ha->pcidev),
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-parisc/
H A Dsuperio.h83 extern int superio_fixup_irq(struct pci_dev *pcidev); /* called by iosapic */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/message/fusion/
H A Dmptlan.c530 pci_unmap_single(mpt_dev->pcidev, priv->RcvCtl[i].dma,
542 pci_unmap_single(mpt_dev->pcidev, priv->SendCtl[i].dma,
615 pci_unmap_single(mpt_dev->pcidev, priv->SendCtl[ctx].dma,
681 pci_unmap_single(mpt_dev->pcidev, priv->SendCtl[ctx].dma,
753 dma = pci_map_single(mpt_dev->pcidev, skb->data, skb->len,
925 pci_dma_sync_single_for_cpu(mpt_dev->pcidev, priv->RcvCtl[ctx].dma,
930 pci_dma_sync_single_for_device(mpt_dev->pcidev, priv->RcvCtl[ctx].dma,
939 pci_unmap_single(mpt_dev->pcidev, priv->RcvCtl[ctx].dma,
984 pci_unmap_single(mpt_dev->pcidev, priv->RcvCtl[ctx].dma,
1085 pci_dma_sync_single_for_cpu(mpt_dev->pcidev,
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/video/savage/
H A Dsavagefb-i2c.c142 chan->adapter.dev.parent = &chan->par->pcidev->dev;
157 dev_dbg(&chan->par->pcidev->dev,
160 dev_warn(&chan->par->pcidev->dev,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/irda/
H A Dvia-ircc.c109 static int __devinit via_init_one (struct pci_dev *pcidev, const struct pci_device_id *id);
162 static int __devinit via_init_one (struct pci_dev *pcidev, const struct pci_device_id *id) argument
171 rc = pci_enable_device (pcidev);
210 pci_read_config_byte(pcidev,0x40,&bTmp);
211 pci_write_config_byte(pcidev,0x40,((bTmp | 0x08) & 0xfe));
212 pci_read_config_byte(pcidev,0x42,&bTmp);
213 pci_write_config_byte(pcidev,0x42,(bTmp | 0xf0));
214 pci_write_config_byte(pcidev,0x5a,0xc0);
223 pci_read_config_byte(pcidev,0x67,&bTmp);//check if BIOS Enable Fir
226 pci_read_config_byte(pcidev,
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ia64/sn/kernel/
H A Dio_common.c19 #include <asm/sn/pcidev.h>
107 struct pcidev_info *pcidev; local
109 list_for_each_entry(pcidev,
111 if (pcidev->pdi_linux_pcidev == dev)
112 return pcidev;

Completed in 201 milliseconds

12345