/drivers/staging/comedi/drivers/ |
D | icp_multi.h | 21 struct pci_dev *pcidev; member 58 struct pci_dev *pcidev; in pci_card_list_init() local 65 for (pcidev = pci_get_device(PCI_ANY_ID, PCI_ANY_ID, NULL); in pci_card_list_init() 66 pcidev != NULL; in pci_card_list_init() 67 pcidev = pci_get_device(PCI_ANY_ID, PCI_ANY_ID, pcidev)) { in pci_card_list_init() 68 if (pcidev->vendor == pci_vendor) { in pci_card_list_init() 72 pci_dev_put(pcidev); in pci_card_list_init() 77 inova->pcidev = pci_dev_get(pcidev); in pci_card_list_init() 85 inova->vendor = pcidev->vendor; in pci_card_list_init() 86 inova->device = pcidev->device; in pci_card_list_init() [all …]
|
D | mite.c | 72 struct pci_dev *pcidev; in mite_init() local 75 for (pcidev = pci_get_device(PCI_ANY_ID, PCI_ANY_ID, NULL); in mite_init() 76 pcidev != NULL; in mite_init() 77 pcidev = pci_get_device(PCI_ANY_ID, PCI_ANY_ID, pcidev)) { in mite_init() 78 if (pcidev->vendor == PCI_VENDOR_ID_NATINST) { in mite_init() 84 pci_dev_put(pcidev); in mite_init() 88 mite->pcidev = pci_dev_get(pcidev); in mite_init() 123 if (comedi_pci_enable(mite->pcidev, "mite")) { in mite_setup2() 127 pci_set_master(mite->pcidev); in mite_setup2() 129 addr = pci_resource_start(mite->pcidev, 0); in mite_setup2() [all …]
|
/drivers/infiniband/hw/nes/ |
D | nes.c | 165 NES_IDX_DST_IP_ADDR+(0x10*PCI_FUNC(nesdev->pcidev->devfn)), 0); in nes_inetaddr_event() 183 NES_IDX_DST_IP_ADDR+(0x10*PCI_FUNC(nesdev->pcidev->devfn)), in nes_inetaddr_event() 268 pci_free_consistent(nesdev->pcidev, nesqp->qp_mem_size, in nes_cqp_rem_ref_callback() 273 pci_free_consistent(nesdev->pcidev, 256, nesqp->pbl_vbase, nesqp->pbl_pbase); in nes_cqp_rem_ref_callback() 277 pci_free_consistent(nesdev->pcidev, nesqp->qp_mem_size, in nes_cqp_rem_ref_callback() 437 static int __devinit nes_probe(struct pci_dev *pcidev, const struct pci_device_id *ent) in nes_probe() argument 446 assert(pcidev != NULL); in nes_probe() 450 DRV_VERSION, pci_name(pcidev)); in nes_probe() 452 ret = pci_enable_device(pcidev); in nes_probe() 454 printk(KERN_ERR PFX "Unable to enable PCI device. (%s)\n", pci_name(pcidev)); in nes_probe() [all …]
|
D | nes_hw.c | 264 nesdev->pcidev->devfn, in nes_init_adapter() 267 PCI_SLOT(nesdev->pcidev->devfn), in nes_init_adapter() 268 nesdev->pcidev->bus->number ); in nes_init_adapter() 269 if ((PCI_SLOT(nesadapter->devfn) == PCI_SLOT(nesdev->pcidev->devfn)) && in nes_init_adapter() 270 (nesadapter->bus_number == nesdev->pcidev->bus->number)) { in nes_init_adapter() 277 num_pds = pci_resource_len(nesdev->pcidev, BAR_1) >> PAGE_SHIFT; in nes_init_adapter() 285 nes_read_indexed(nesdev, NES_IDX_QP_CONTROL + PCI_FUNC(nesdev->pcidev->devfn) * 8), in nes_init_adapter() 370 nesadapter->devfn = nesdev->pcidev->devfn; in nes_init_adapter() 371 nesadapter->bus_number = nesdev->pcidev->bus->number; in nes_init_adapter() 603 pci_bus_read_config_word(nesdev->pcidev->bus, in nes_init_adapter() [all …]
|
D | nes_verbs.c | 373 nesfmr->root_vpbl.pbl_vbase = pci_alloc_consistent(nesdev->pcidev, 4096, in nes_alloc_fmr() 386 nesfmr->root_vpbl.pbl_vbase = pci_alloc_consistent(nesdev->pcidev, 8192, in nes_alloc_fmr() 410 vpbl.pbl_vbase = pci_alloc_consistent(nesdev->pcidev, 4096, in nes_alloc_fmr() 505 pci_free_consistent(nesdev->pcidev, 4096, nesfmr->root_vpbl.leaf_vpbl[i].pbl_vbase, in nes_alloc_fmr() 515 pci_free_consistent(nesdev->pcidev, 4096, nesfmr->root_vpbl.pbl_vbase, in nes_alloc_fmr() 518 pci_free_consistent(nesdev->pcidev, 8192, nesfmr->root_vpbl.pbl_vbase, in nes_alloc_fmr() 559 pci_free_consistent(nesdev->pcidev, 4096, nesfmr->root_vpbl.pbl_vbase, in nes_dealloc_fmr() 563 pci_free_consistent(nesdev->pcidev, 4096, nesfmr->root_vpbl.leaf_vpbl[i].pbl_vbase, in nes_dealloc_fmr() 567 pci_free_consistent(nesdev->pcidev, 8192, nesfmr->root_vpbl.pbl_vbase, in nes_dealloc_fmr() 1048 pci_free_consistent(nesdev->pcidev, nespbl->pbl_size, nespbl->pbl_vbase, in nes_setup_virt_qp() [all …]
|
/drivers/scsi/aic94xx/ |
D | aic94xx_init.c | 97 io_handle->start = pci_resource_start(asd_ha->pcidev, i); in asd_map_memio() 98 io_handle->len = pci_resource_len(asd_ha->pcidev, i); in asd_map_memio() 99 io_handle->flags = pci_resource_flags(asd_ha->pcidev, i); in asd_map_memio() 103 i==0?0:1, pci_name(asd_ha->pcidev)); in asd_map_memio() 106 err = pci_request_region(asd_ha->pcidev, i, ASD_DRIVER_NAME); in asd_map_memio() 109 pci_name(asd_ha->pcidev)); in asd_map_memio() 120 pci_name(asd_ha->pcidev)); in asd_map_memio() 127 pci_release_region(asd_ha->pcidev, i); in asd_map_memio() 132 pci_release_region(asd_ha->pcidev, 0); in asd_map_memio() 143 pci_release_region(asd_ha->pcidev, 2); in asd_unmap_memio() [all …]
|
D | aic94xx_hwi.c | 162 struct pci_dev *pcidev = asd_ha->pcidev; in asd_init_sw() local 167 err = pci_read_config_dword(pcidev, PCI_CONF_MBAR_KEY, &v); in asd_init_sw() 170 pci_name(pcidev)); in asd_init_sw() 174 err = pci_write_config_dword(pcidev, PCI_CONF_MBAR_KEY, v); in asd_init_sw() 177 pci_name(pcidev)); in asd_init_sw() 184 pci_write_config_dword(pcidev, PCI_CONF_MBAR0_SWA, REG_BASE_ADDR); in asd_init_sw() 185 pci_write_config_dword(pcidev, PCI_CONF_MBAR0_SWB, in asd_init_sw() 187 pci_write_config_dword(pcidev, PCI_CONF_MBAR0_SWC, REG_BASE_ADDR_EXSI); in asd_init_sw() 194 pci_write_config_dword(pcidev, PCI_CONF_MBAR1, OCM_BASE_ADDR); in asd_init_sw() 464 pci_name(asd_ha->pcidev)); in asd_init_chip() [all …]
|
D | aic94xx_task.c | 68 dma_addr_t dma = pci_map_single(asd_ha->pcidev, p, in asd_map_scatterlist() 82 num_sg = pci_map_sg(asd_ha->pcidev, task->scatter, in asd_map_scatterlist() 129 pci_unmap_sg(asd_ha->pcidev, task->scatter, task->num_scatter, in asd_map_scatterlist() 145 pci_unmap_single(ascb->ha->pcidev, dma, task->total_xfer_len, in asd_unmap_scatterlist() 152 pci_unmap_sg(asd_ha->pcidev, task->scatter, task->num_scatter, in asd_unmap_scatterlist() 196 sas_ssp_task_response(&asd_ha->pcidev->dev, task, iu); in asd_get_response_tasklet() 439 pci_map_sg(asd_ha->pcidev, &task->smp_task.smp_req, 1, in asd_build_smp_ascb() 441 pci_map_sg(asd_ha->pcidev, &task->smp_task.smp_resp, 1, in asd_build_smp_ascb() 474 pci_unmap_sg(a->ha->pcidev, &task->smp_task.smp_req, 1, in asd_unbuild_smp_ascb() 476 pci_unmap_sg(a->ha->pcidev, &task->smp_task.smp_resp, 1, in asd_unbuild_smp_ascb()
|
/drivers/parisc/ |
D | iosapic.c | 475 iosapic_xlate_pin(struct iosapic_info *isi, struct pci_dev *pcidev) in iosapic_xlate_pin() argument 479 pci_read_config_byte(pcidev, PCI_INTERRUPT_PIN, &intr_pin); in iosapic_xlate_pin() 482 pcidev->slot_name, PCI_SLOT(pcidev->devfn), intr_pin); in iosapic_xlate_pin() 490 if (pcidev->bus->parent) { in iosapic_xlate_pin() 505 intr_pin = pci_bridge_funcs->xlate_intr_line(pcidev); in iosapic_xlate_pin() 508 struct pci_bus *p = pcidev->bus; in iosapic_xlate_pin() 522 intr_pin = pci_swizzle_interrupt_pin(pcidev, intr_pin); in iosapic_xlate_pin() 533 intr_slot = PCI_SLOT(pcidev->devfn); in iosapic_xlate_pin() 536 pcidev->bus->secondary, intr_slot, intr_pin); in iosapic_xlate_pin() 743 int iosapic_fixup_irq(void *isi_obj, struct pci_dev *pcidev) in iosapic_fixup_irq() argument [all …]
|
D | superio.c | 153 superio_init(struct pci_dev *pcidev) in superio_init() argument 346 int superio_fixup_irq(struct pci_dev *pcidev) in superio_fixup_irq() argument 352 fn = PCI_FUNC(pcidev->devfn); in superio_fixup_irq() 355 if (expected_device[fn] != pcidev->device) { in superio_fixup_irq() 360 pci_name(pcidev), in superio_fixup_irq() 361 pcidev->vendor, pcidev->device, in superio_fixup_irq() 377 switch(pcidev->device) { in superio_fixup_irq() 382 sio_dev.lio_pdev = pcidev; /* save for superio_init() */ in superio_fixup_irq() 385 sio_dev.usb_pdev = pcidev; /* save for superio_init() */ in superio_fixup_irq()
|
/drivers/infiniband/hw/amso1100/ |
D | c2.c | 234 pci_map_single(c2dev->pcidev, skb->data, maplen, in c2_rx_alloc() 300 pci_unmap_single(c2dev->pcidev, elem->mapaddr, in c2_rx_clean() 314 pci_unmap_single(c2dev->pcidev, elem->mapaddr, elem->maplen, in c2_tx_free() 510 pci_unmap_single(c2dev->pcidev, mapaddr, maplen, in c2_rx_interrupt() 610 c2_port->mem = pci_alloc_consistent(c2dev->pcidev, c2_port->mem_size, in c2_up() 688 pci_free_consistent(c2dev->pcidev, c2_port->mem_size, c2_port->mem, in c2_up() 729 pci_free_consistent(c2dev->pcidev, c2_port->mem_size, c2_port->mem, in c2_down() 785 pci_map_single(c2dev->pcidev, skb->data, maplen, PCI_DMA_TODEVICE); in c2_xmit_frame() 809 pci_map_page(c2dev->pcidev, frag->page, in c2_xmit_frame() 895 SET_NETDEV_DEV(netdev, &c2dev->pcidev->dev); in c2_devinit() [all …]
|
/drivers/scsi/ |
D | hptiop.c | 440 struct pci_dev *pcidev = hba->pcidev; in hptiop_map_pci_bar() local 443 if (!(pci_resource_flags(pcidev, index) & IORESOURCE_MEM)) { in hptiop_map_pci_bar() 449 mem_base_phy = pci_resource_start(pcidev, index); in hptiop_map_pci_bar() 450 length = pci_resource_len(pcidev, index); in hptiop_map_pci_bar() 919 hba->u.mv.internal_req = dma_alloc_coherent(&hba->pcidev->dev, in hptiop_internal_memalloc_mv() 930 dma_free_coherent(&hba->pcidev->dev, 0x800, in hptiop_internal_memfree_mv() 937 static int __devinit hptiop_probe(struct pci_dev *pcidev, in hptiop_probe() argument 948 dprintk("hptiop_probe(%p)\n", pcidev); in hptiop_probe() 950 if (pci_enable_device(pcidev)) { in hptiop_probe() 956 pcidev->bus->number, pcidev->devfn >> 3, pcidev->devfn & 7, in hptiop_probe() [all …]
|
D | ips.c | 690 IPS_PRINTK(KERN_WARNING, ha->pcidev, "Flushing Cache.\n"); in ips_release() 694 IPS_PRINTK(KERN_WARNING, ha->pcidev, "Incomplete Flush.\n"); in ips_release() 696 IPS_PRINTK(KERN_WARNING, ha->pcidev, "Flushing Complete.\n"); in ips_release() 705 free_irq(ha->pcidev->irq, ha); in ips_release() 759 IPS_PRINTK(KERN_WARNING, ha->pcidev, "Flushing Cache.\n"); in ips_halt() 764 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_halt() 767 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_halt() 917 IPS_PRINTK(KERN_NOTICE, ha->pcidev, in __ips_eh_reset() 932 IPS_PRINTK(KERN_NOTICE, ha->pcidev, "Resetting controller.\n"); in __ips_eh_reset() 938 IPS_PRINTK(KERN_NOTICE, ha->pcidev, in __ips_eh_reset() [all …]
|
D | ips.h | 62 #define IPS_IS_TROMBONE(ha) (((ha->pcidev->device == IPS_DEVICEID_COPPERHEAD) && \ 63 (ha->pcidev->revision >= IPS_REVID_TROMBONE32) && \ 64 (ha->pcidev->revision <= IPS_REVID_TROMBONE64)) ? 1 : 0) 65 #define IPS_IS_CLARINET(ha) (((ha->pcidev->device == IPS_DEVICEID_COPPERHEAD) && \ 66 (ha->pcidev->revision >= IPS_REVID_CLARINETP1) && \ 67 (ha->pcidev->revision <= IPS_REVID_CLARINETP3)) ? 1 : 0) 68 #define IPS_IS_MORPHEUS(ha) (ha->pcidev->device == IPS_DEVICEID_MORPHEUS) 69 #define IPS_IS_MARCO(ha) (ha->pcidev->device == IPS_DEVICEID_MARCO) 82 #define IPS_PRINTK(level, pcidev, format, arg...) \ argument 83 dev_printk(level , &((pcidev)->dev) , format , ## arg) [all …]
|
/drivers/video/matrox/ |
D | matroxfb_DAC1064.c | 108 pci_write_config_dword(ACCESS_FBINFO(pcidev), PCI_OPTION_REG, mx); in DAC1064_setmclk() 123 pci_write_config_dword(ACCESS_FBINFO(pcidev), PCI_OPTION_REG, mx); in DAC1064_setmclk() 125 pci_write_config_dword(ACCESS_FBINFO(pcidev), PCI_OPTION_REG, mx); in DAC1064_setmclk() 150 pci_write_config_dword(ACCESS_FBINFO(pcidev), PCI_OPTION_REG, mx); in DAC1064_setmclk() 152 pci_write_config_dword(ACCESS_FBINFO(pcidev), PCI_OPTION_REG, mx); in DAC1064_setmclk() 674 pci_write_config_dword(ACCESS_FBINFO(pcidev), PCI_OPTION_REG, hw->MXoptionReg); in MGA1064_preinit() 695 pci_write_config_dword(ACCESS_FBINFO(pcidev), PCI_OPTION_REG, ACCESS_FBINFO(hw).MXoptionReg | 4); in g450_mclk_init() 696 …pci_write_config_dword(ACCESS_FBINFO(pcidev), PCI_OPTION3_REG, ACCESS_FBINFO(values).reg.opt3 & ~0… in g450_mclk_init() 697 pci_write_config_dword(ACCESS_FBINFO(pcidev), PCI_OPTION_REG, ACCESS_FBINFO(hw).MXoptionReg); in g450_mclk_init() 715 pci_write_config_dword(ACCESS_FBINFO(pcidev), PCI_OPTION_REG, ACCESS_FBINFO(hw).MXoptionReg | 4); in g450_mclk_init() [all …]
|
/drivers/hwmon/ |
D | i5k_amb.c | 415 struct pci_dev *pcidev; in i5k_find_amb_registers() local 420 pcidev = pci_get_device(PCI_VENDOR_ID_INTEL, in i5k_find_amb_registers() 423 if (!pcidev) in i5k_find_amb_registers() 426 if (pci_read_config_dword(pcidev, I5K_REG_AMB_BASE_ADDR, &val32)) in i5k_find_amb_registers() 430 if (pci_read_config_dword(pcidev, I5K_REG_AMB_LEN_ADDR, &val32)) in i5k_find_amb_registers() 436 dev_err(&pcidev->dev, "AMB region too small!\n"); in i5k_find_amb_registers() 444 pci_dev_put(pcidev); in i5k_find_amb_registers() 450 struct pci_dev *pcidev; in i5k_channel_probe() local 455 pcidev = pci_get_device(PCI_VENDOR_ID_INTEL, dev_id, NULL); in i5k_channel_probe() 456 if (!pcidev) in i5k_channel_probe() [all …]
|
/drivers/infiniband/hw/ipath/ |
D | ipath_iba6120.c | 412 dev_info(&dd->pcidev->dev, in ipath_pe_txe_recover() 476 dev_info(&dd->pcidev->dev, "Hardware error: hwerr=0x%llx " in ipath_pe_handle_hwerrors() 944 pci_disable_msi(dd->pcidev); in ipath_setup_pe_cleanup() 952 pos = pci_find_capability(dd->pcidev, PCI_CAP_ID_EXP); in ipath_6120_pcie_params() 958 pci_read_config_word(dd->pcidev, pos + PCI_EXP_LNKSTA, in ipath_6120_pcie_params() 1029 ret = pci_enable_msi(dd->pcidev); in ipath_setup_pe_config() 1036 if ((pos = pci_find_capability(dd->pcidev, PCI_CAP_ID_MSI))) { in ipath_setup_pe_config() 1038 pci_read_config_dword(dd->pcidev, pos + PCI_MSI_ADDRESS_LO, in ipath_setup_pe_config() 1040 pci_read_config_dword(dd->pcidev, pos + PCI_MSI_ADDRESS_HI, in ipath_setup_pe_config() 1042 pci_read_config_word(dd->pcidev, pos + PCI_MSI_FLAGS, in ipath_setup_pe_config() [all …]
|
D | ipath_wc_x86_64.c | 57 const unsigned long addr = pci_resource_start(dd->pcidev, 0); in ipath_enable_wc() 58 const size_t len = pci_resource_len(dd->pcidev, 0); in ipath_enable_wc() 133 dev_info(&dd->pcidev->dev, in ipath_enable_wc() 163 dev_info(&dd->pcidev->dev, in ipath_disable_wc()
|
D | ipath_user_sdma.c | 207 dma_addr = dma_map_page(&dd->pcidev->dev, page, 0, len, in ipath_user_sdma_coalesce() 209 if (dma_mapping_error(&dd->pcidev->dev, dma_addr)) { in ipath_user_sdma_coalesce() 300 dma_map_page(&dd->pcidev->dev, in ipath_user_sdma_pin_pages() 304 if (dma_mapping_error(&dd->pcidev->dev, dma_addr)) { in ipath_user_sdma_pin_pages() 346 ipath_user_sdma_free_pkt_frag(&dd->pcidev->dev, pq, pkt, idx); in ipath_user_sdma_pin_pkt() 509 dma_addr = dma_map_page(&dd->pcidev->dev, in ipath_user_sdma_queue_pkts() 511 if (dma_mapping_error(&dd->pcidev->dev, dma_addr)) { in ipath_user_sdma_queue_pkts() 541 dma_unmap_page(&dd->pcidev->dev, dma_addr, len, DMA_TO_DEVICE); in ipath_user_sdma_queue_pkts() 551 ipath_user_sdma_free_pkt_list(&dd->pcidev->dev, pq, list); in ipath_user_sdma_queue_pkts() 592 ipath_user_sdma_free_pkt_list(&dd->pcidev->dev, pq, &free_list); in ipath_user_sdma_queue_clean() [all …]
|
D | ipath_iba7220.c | 596 dev_info(&dd->pcidev->dev, in ipath_7220_txe_recover() 663 dev_info(&dd->pcidev->dev, "Hardware error: hwerr=0x%llx " in ipath_7220_handle_hwerrors() 904 dev_info(&dd->pcidev->dev, "MemBIST is disabled.\n"); in ipath_7220_init_hwerrors() 1255 if (ipath_msi_enabled(dd->pcidev)) { in ipath_7220_nomsi() 1263 pci_disable_msi(dd->pcidev); in ipath_7220_nomsi() 1286 pos = pci_find_capability(dd->pcidev, PCI_CAP_ID_EXP); in ipath_7220_pcie_params() 1292 pci_read_config_word(dd->pcidev, pos + PCI_EXP_LNKSTA, in ipath_7220_pcie_params() 1617 pos = pci_find_capability(dd->pcidev, PCI_CAP_ID_MSI); in ipath_reinit_msi() 1625 pci_write_config_dword(dd->pcidev, pos + PCI_MSI_ADDRESS_LO, in ipath_reinit_msi() 1629 pci_write_config_dword(dd->pcidev, pos + PCI_MSI_ADDRESS_HI, in ipath_reinit_msi() [all …]
|
D | ipath_init_chip.c | 127 ipath_map_single(dd->pcidev, in create_port0_egr() 196 dev_info(&dd->pcidev->dev, "Could not initialize SerDes, " in bringup_link() 370 dev_info(&dd->pcidev->dev, "tidcnt was %u before " in init_chip_reset() 375 dev_info(&dd->pcidev->dev, "tidbase was %u before " in init_chip_reset() 380 dev_info(&dd->pcidev->dev, "egrcnt was %u before " in init_chip_reset() 385 dev_info(&dd->pcidev->dev, "egrbase was %u before " in init_chip_reset() 397 &dd->pcidev->dev, PAGE_SIZE, &dd->ipath_pioavailregs_phys, in init_pioavailregs() 684 dev_err(&dd->pcidev->dev, "No interrupts detected, " in verify_interrupt() 766 dev_info(&dd->pcidev->dev, "Allocating %d PIO bufs of " in ipath_init_chip() 853 dev_info(&dd->pcidev->dev, "Failed to bringup IB link\n"); in ipath_init_chip() [all …]
|
/drivers/staging/sxg/ |
D | sxg.c | 469 adapter->XmtRings = pci_alloc_consistent(adapter->pcidev, in sxg_allocate_resources() 483 pci_alloc_consistent(adapter->pcidev, in sxg_allocate_resources() 496 pci_free_consistent(adapter->pcidev, in sxg_allocate_resources() 503 pci_free_consistent(adapter->pcidev, in sxg_allocate_resources() 545 adapter->EventRings = pci_alloc_consistent(adapter->pcidev, in sxg_allocate_resources() 561 adapter->Isr = pci_alloc_consistent(adapter->pcidev, in sxg_allocate_resources() 576 adapter->XmtRingZeroIndex = pci_alloc_consistent(adapter->pcidev, in sxg_allocate_resources() 604 static void sxg_config_pci(struct pci_dev *pcidev) in sxg_config_pci() argument 609 pci_read_config_word(pcidev, PCI_COMMAND, &pci_command); in sxg_config_pci() 621 pci_write_config_word(pcidev, PCI_COMMAND, new_command); in sxg_config_pci() [all …]
|
/drivers/net/irda/ |
D | via-ircc.c | 110 static int __devinit via_init_one (struct pci_dev *pcidev, const struct pci_device_id *id); 164 static int __devinit via_init_one (struct pci_dev *pcidev, const struct pci_device_id *id) in via_init_one() argument 173 rc = pci_enable_device (pcidev); in via_init_one() 212 pci_read_config_byte(pcidev,0x40,&bTmp); in via_init_one() 213 pci_write_config_byte(pcidev,0x40,((bTmp | 0x08) & 0xfe)); in via_init_one() 214 pci_read_config_byte(pcidev,0x42,&bTmp); in via_init_one() 215 pci_write_config_byte(pcidev,0x42,(bTmp | 0xf0)); in via_init_one() 216 pci_write_config_byte(pcidev,0x5a,0xc0); in via_init_one() 225 pci_read_config_byte(pcidev,0x67,&bTmp);//check if BIOS Enable Fir in via_init_one() 228 pci_read_config_byte(pcidev,0x42,&oldPCI_40); in via_init_one() [all …]
|
/drivers/atm/ |
D | idt77252.c | 642 scq->base = pci_alloc_consistent(card->pcidev, SCQ_SIZE, in alloc_scq() 672 pci_free_consistent(card->pcidev, SCQ_SIZE, in free_scq() 676 pci_unmap_single(card->pcidev, IDT77252_PRV_PADDR(skb), in free_scq() 687 pci_unmap_single(card->pcidev, IDT77252_PRV_PADDR(skb), in free_scq() 803 pci_unmap_single(card->pcidev, IDT77252_PRV_PADDR(skb), in drain_scq() 849 IDT77252_PRV_PADDR(skb) = pci_map_single(card->pcidev, skb->data, in queue_skb() 927 pci_unmap_single(card->pcidev, IDT77252_PRV_PADDR(skb), in queue_skb() 973 card->rsq.base = pci_alloc_consistent(card->pcidev, RSQSIZE, in init_rsq() 1005 pci_free_consistent(card->pcidev, RSQSIZE, in deinit_rsq() 1061 pci_dma_sync_single_for_cpu(card->pcidev, IDT77252_PRV_PADDR(skb), in dequeue_rx() [all …]
|
/drivers/char/agp/ |
D | intel-agp.c | 139 struct pci_dev *pcidev; /* device one */ member 194 pci_read_config_dword(intel_private.pcidev, I810_MMADDR, &temp); in intel_i810_configure() 199 dev_err(&intel_private.pcidev->dev, in intel_i810_configure() 208 dev_info(&intel_private.pcidev->dev, in intel_i810_configure() 212 pci_read_config_dword(intel_private.pcidev, I810_GMADDR, &temp); in intel_i810_configure() 508 dev_info(&intel_private.pcidev->dev, in intel_i830_init_gtt_entries() 703 pci_read_config_dword(intel_private.pcidev, I810_MMADDR, &temp); in intel_i830_create_gatt_table() 770 pci_read_config_dword(intel_private.pcidev, I810_GMADDR, &temp); in intel_i830_configure() 813 dev_printk(KERN_DEBUG, &intel_private.pcidev->dev, in intel_i830_insert_entries() 817 dev_info(&intel_private.pcidev->dev, in intel_i830_insert_entries() [all …]
|