Home
last modified time | relevance | path

Searched refs:pci_write_config_word (Results 1 – 25 of 168) sorted by relevance

1234567

/drivers/pci/
Dats.c83 pci_write_config_word(dev, dev->ats_cap + PCI_ATS_CTRL, ctrl); in pci_enable_ats()
103 pci_write_config_word(dev, dev->ats_cap + PCI_ATS_CTRL, ctrl); in pci_disable_ats()
119 pci_write_config_word(dev, dev->ats_cap + PCI_ATS_CTRL, ctrl); in pci_restore_ats_state()
229 pci_write_config_word(pdev, pri + PCI_PRI_CTRL, control); in pci_enable_pri()
259 pci_write_config_word(pdev, pri + PCI_PRI_CTRL, control); in pci_disable_pri()
285 pci_write_config_word(pdev, pri + PCI_PRI_CTRL, control); in pci_restore_pri_state()
310 pci_write_config_word(pdev, pri + PCI_PRI_CTRL, control); in pci_reset_pri()
395 pci_write_config_word(pdev, pasid + PCI_PASID_CTRL, control); in pci_enable_pasid()
422 pci_write_config_word(pdev, pasid + PCI_PASID_CTRL, control); in pci_disable_pasid()
447 pci_write_config_word(pdev, pasid + PCI_PASID_CTRL, control); in pci_restore_pasid_state()
Diov.c46 pci_write_config_word(dev, iov->pos + PCI_SRIOV_NUM_VF, nr_virtfn); in pci_iov_set_numvfs()
638 pci_write_config_word(dev, iov->pos + PCI_SRIOV_CTRL, iov->ctrl); in sriov_enable()
654 pci_write_config_word(dev, iov->pos + PCI_SRIOV_CTRL, iov->ctrl); in sriov_enable()
686 pci_write_config_word(dev, iov->pos + PCI_SRIOV_CTRL, iov->ctrl); in sriov_disable()
712 pci_write_config_word(dev, pos + PCI_SRIOV_CTRL, 0); in sriov_init()
726 pci_write_config_word(dev, pos + PCI_SRIOV_CTRL, ctrl); in sriov_init()
838 pci_write_config_word(dev, iov->pos + PCI_SRIOV_CTRL, ctrl); in sriov_restore_state()
845 pci_write_config_word(dev, iov->pos + PCI_SRIOV_CTRL, iov->ctrl); in sriov_restore_state()
Dpci.c207 pci_write_config_word(pdev, PCI_STATUS, status); in pci_status_get_and_clear_errors()
896 pci_write_config_word(dev, pos + PCI_ACS_CTRL, ctrl); in pci_disable_acs_redir()
934 pci_write_config_word(dev, pos + PCI_ACS_CTRL, ctrl); in pci_std_enable_acs()
1114 pci_write_config_word(dev, dev->pm_cap + PCI_PM_CTRL, pmcsr); in pci_raw_set_power_state()
1535 pci_write_config_word(dev, pos + PCI_X_CMD, cap[i++]); in pci_restore_pcix_state()
1574 pci_write_config_word(dev, ltr + PCI_LTR_MAX_SNOOP_LAT, *cap++); in pci_restore_ltr_state()
1575 pci_write_config_word(dev, ltr + PCI_LTR_MAX_NOSNOOP_LAT, *cap++); in pci_restore_ltr_state()
1865 pci_write_config_word(dev, PCI_COMMAND, in do_pci_enable_device()
2147 pci_write_config_word(dev, PCI_COMMAND, pci_command); in do_pci_disable_device()
2270 pci_write_config_word(dev, pmcsr_pos, pmcsr); in pci_check_pme_status()
[all …]
Dmsi.c327 pci_write_config_word(dev, pos + PCI_MSI_FLAGS, msgctl); in __pci_write_msi_msg()
334 pci_write_config_word(dev, pos + PCI_MSI_DATA_64, in __pci_write_msi_msg()
337 pci_write_config_word(dev, pos + PCI_MSI_DATA_32, in __pci_write_msi_msg()
403 pci_write_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, control); in pci_msi_set_enable()
424 pci_write_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, control); in __pci_restore_msi_state()
434 pci_write_config_word(dev, dev->msix_cap + PCI_MSIX_FLAGS, ctrl); in pci_msix_clear_and_set_ctrl()
1551 pci_write_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, in pci_msi_init()
1568 pci_write_config_word(dev, dev->msix_cap + PCI_MSIX_FLAGS, in pci_msix_init()
/drivers/char/agp/
Dintel-agp.c99 pci_write_config_word(agp_bridge->dev, INTEL_NBXCFG, temp & ~(1 << 9)); in intel_cleanup()
100 pci_write_config_word(agp_bridge->dev, INTEL_APSIZE, previous_size->size_value); in intel_cleanup()
111 pci_write_config_word(agp_bridge->dev, INTEL_NBXCFG, temp & ~(1 << 9)); in intel_8xx_cleanup()
124 pci_write_config_word(agp_bridge->dev, INTEL_APSIZE, current_size->size_value); in intel_configure()
138 pci_write_config_word(agp_bridge->dev, INTEL_NBXCFG, in intel_configure()
231 pci_write_config_word(agp_bridge->dev, INTEL_I820_ERRSTS, 0x001c); in intel_820_configure()
257 pci_write_config_word(agp_bridge->dev, INTEL_I840_MCHCFG, temp2 | (1 << 9)); in intel_840_configure()
259 pci_write_config_word(agp_bridge->dev, INTEL_I840_ERRSTS, 0xc000); in intel_840_configure()
293 pci_write_config_word(agp_bridge->dev, INTEL_I845_ERRSTS, 0x001c); in intel_845_configure()
319 pci_write_config_word(agp_bridge->dev, INTEL_I850_MCHCFG, temp2 | (1 << 9)); in intel_850_configure()
[all …]
Defficeon-agp.c124 pci_write_config_word(agp_bridge->dev, INTEL_NBXCFG, temp & ~(1 << 9)); in efficeon_cleanup()
125 pci_write_config_word(agp_bridge->dev, INTEL_APSIZE, in efficeon_cleanup()
139 pci_write_config_word(agp_bridge->dev, INTEL_APSIZE, in efficeon_configure()
151 pci_write_config_word(agp_bridge->dev, INTEL_NBXCFG, in efficeon_configure()
/drivers/ata/
Dpata_sil680.c131 pci_write_config_word(pdev, addr, speed_p[pio]); in sil680_set_piomode()
132 pci_write_config_word(pdev, tfaddr, speed_t[lowest_pio]); in sil680_set_piomode()
144 pci_write_config_word(pdev, tfaddr-2, reg); in sil680_set_piomode()
196 pci_write_config_word(pdev, ma, multi); in sil680_set_dmamode()
197 pci_write_config_word(pdev, ua, ultra); in sil680_set_dmamode()
300 pci_write_config_word(pdev, 0xA2, 0x328A); in sil680_init_chip()
305 pci_write_config_word(pdev, 0xB2, 0x328A); in sil680_init_chip()
Dpata_it8213.c125 pci_write_config_word(dev, master_port, master_data); in it8213_set_piomode()
179 pci_write_config_word(dev, 0x4A, udma_timing); in it8213_set_dmamode()
185 pci_write_config_word(dev, 0x54, ideconf); in it8213_set_dmamode()
226 pci_write_config_word(dev, 0x40, master_data); in it8213_set_dmamode()
Dpata_atiixp.c116 pci_write_config_word(pdev, ATIIXP_IDE_PIO_MODE, pio_mode_data); in atiixp_set_pio_timing()
170 pci_write_config_word(pdev, ATIIXP_IDE_UDMA_MODE, udma_mode_data); in atiixp_set_dmamode()
226 pci_write_config_word(pdev, ATIIXP_IDE_UDMA_CONTROL, tmp16); in atiixp_bmdma_start()
250 pci_write_config_word(pdev, ATIIXP_IDE_UDMA_CONTROL, tmp16); in atiixp_bmdma_stop()
Dpata_sl82c105.c87 pci_write_config_word(pdev, timing, pio_timing[pio]); in sl82c105_configure_piomode()
125 pci_write_config_word(pdev, timing, dma_timing[dma]); in sl82c105_configure_dmamode()
146 pci_write_config_word(pdev, 0x7E, val | 4); in sl82c105_reset_engine()
147 pci_write_config_word(pdev, 0x7E, val & ~4); in sl82c105_reset_engine()
Dpata_rdc.c145 pci_write_config_word(dev, master_port, master_data); in rdc_set_piomode()
219 pci_write_config_word(dev, 0x4A, udma_timing); in rdc_set_dmamode()
225 pci_write_config_word(dev, 0x54, ideconf); in rdc_set_dmamode()
267 pci_write_config_word(dev, master_port, master_data); in rdc_set_dmamode()
Dpata_efar.c139 pci_write_config_word(dev, master_port, master_data); in efar_set_piomode()
190 pci_write_config_word(dev, 0x4A, udma_timing); in efar_set_dmamode()
231 pci_write_config_word(dev, master_port, master_data); in efar_set_dmamode()
Dpata_radisys.c74 pci_write_config_word(dev, 0x40, idetm_data); in radisys_set_piomode()
150 pci_write_config_word(dev, 0x40, idetm_data); in radisys_set_dmamode()
Dpata_oldpiix.c109 pci_write_config_word(dev, idetm_port, idetm_data); in oldpiix_set_piomode()
176 pci_write_config_word(dev, idetm_port, idetm_data); in oldpiix_set_dmamode()
Data_generic.c144 pci_write_config_word(dev, 0x40, 1); in is_intel_ider()
147 pci_write_config_word(dev, 0x40, 0); in is_intel_ider()
/drivers/mtd/devices/
Dpmc551.c392 pci_write_config_word(dev, PCI_COMMAND, tmp); in fixup_pmc551()
464 pci_write_config_word(dev, PMC551_SDRAM_MA, 0x0400); in fixup_pmc551()
465 pci_write_config_word(dev, PMC551_SDRAM_CMD, 0x00bf); in fixup_pmc551()
484 pci_write_config_word(dev, PMC551_SDRAM_CMD, 0x0df); in fixup_pmc551()
498 pci_write_config_word(dev, PMC551_SDRAM_MA, 0x0020); in fixup_pmc551()
499 pci_write_config_word(dev, PMC551_SDRAM_CMD, 0x0ff); in fixup_pmc551()
523 pci_write_config_word(dev, PCI_STATUS, cmd); in fixup_pmc551()
533 pci_write_config_word(dev, PCI_STATUS, cmd); in fixup_pmc551()
548 pci_write_config_word(dev, PCI_COMMAND, in fixup_pmc551()
/drivers/xen/xen-pciback/
Dconf_space_capability.c75 return pci_write_config_word(dev, offset, value); in vpd_address_write()
130 err = pci_write_config_word(dev, offset, new_value); in pm_ctrl_write()
159 err = pci_write_config_word(dev, offset, value); in pm_ctrl_init()
255 return pci_write_config_word(dev, offset, new_value); in msi_msix_flags_write()
/drivers/video/fbdev/kyro/
DSTG4000InitDevice.c290 pci_write_config_word(pDev, CorePllControl, tmp); in SetCoreClockPLL()
297 pci_write_config_word(pDev, CorePllControl, tmp); in SetCoreClockPLL()
303 pci_write_config_word(pDev, CorePllControl, tmp); in SetCoreClockPLL()
307 pci_write_config_word(pDev, CorePllControl, tmp); in SetCoreClockPLL()
/drivers/pci/pcie/
Ddpc.c71 pci_write_config_word(dev, dev->dpc_cap + PCI_EXP_DPC_CTL, *cap); in pci_restore_dpc_state()
170 pci_write_config_word(pdev, cap + PCI_EXP_DPC_STATUS, in dpc_reset_link()
318 pci_write_config_word(pdev, cap + PCI_EXP_DPC_STATUS, in dpc_irq()
370 pci_write_config_word(pdev, pdev->dpc_cap + PCI_EXP_DPC_CTL, ctl); in dpc_probe()
390 pci_write_config_word(pdev, pdev->dpc_cap + PCI_EXP_DPC_CTL, ctl); in dpc_remove()
Dptm.c46 pci_write_config_word(dev, ptm + PCI_PTM_CTRL, ctrl); in pci_disable_ptm()
85 pci_write_config_word(dev, ptm + PCI_PTM_CTRL, *cap); in pci_restore_ptm_state()
/drivers/usb/host/
Dpci-quirks.c201 pci_write_config_word(pdev, 0x50, misc & 0xfcff); in sb800_prefetch()
203 pci_write_config_word(pdev, 0x50, misc | 0x0300); in sb800_prefetch()
557 pci_write_config_word(pdev, PT_ADDR_INDX, PT_SIG_1_ADDR); in usb_amd_pt_check_port()
563 pci_write_config_word(pdev, PT_ADDR_INDX, PT_SIG_2_ADDR); in usb_amd_pt_check_port()
569 pci_write_config_word(pdev, PT_ADDR_INDX, PT_SIG_3_ADDR); in usb_amd_pt_check_port()
575 pci_write_config_word(pdev, PT_ADDR_INDX, PT_SIG_4_ADDR); in usb_amd_pt_check_port()
629 pci_write_config_word(pdev, PT_ADDR_INDX, reg); in usb_amd_pt_check_port()
645 pci_write_config_word(pdev, UHCI_USBLEGSUP, UHCI_USBLEGSUP_RWC); in uhci_reset_hc()
Duhci-pci.c53 pci_write_config_word(pdev, USBLEGSUP, USBLEGSUP_DEFAULT); in uhci_pci_configure_hc()
189 pci_write_config_word(pdev, USBLEGSUP, 0); in uhci_pci_suspend()
/drivers/net/wireless/ath/ath9k/
Dath9k_pci_owl_loader.c68 pci_write_config_word(pdev, PCI_COMMAND, cmd); in ath9k_pci_fixup()
92 pci_write_config_word(pdev, PCI_COMMAND, cmd); in ath9k_pci_fixup()
/drivers/crypto/qat/qat_common/
Dadf_aer.c58 pci_write_config_word(parent, PCI_BRIDGE_CONTROL, bridge_ctl); in adf_reset_sbr()
61 pci_write_config_word(parent, PCI_BRIDGE_CONTROL, bridge_ctl); in adf_reset_sbr()
/drivers/infiniband/hw/qib/
Dqib_pcie.c327 pci_write_config_word(dd->pcidev, pos + PCI_MSI_FLAGS, in qib_reinit_intr()
331 pci_write_config_word(dd->pcidev, pos + in qib_reinit_intr()
371 pci_write_config_word(dd->pcidev, PCI_COMMAND, cmd); in qib_pcie_reenable()

1234567