Home
last modified time | relevance | path

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

123456789

/openbmc/linux/drivers/pci/
H A 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()
398 pci_write_config_word(pdev, pasid + PCI_PASID_CTRL, control); in pci_enable_pasid()
425 pci_write_config_word(pdev, pasid + PCI_PASID_CTRL, control); in pci_disable_pasid()
450 pci_write_config_word(pdev, pasid + PCI_PASID_CTRL, control); in pci_restore_pasid_state()
H A Diov.c88 pci_write_config_word(dev, iov->pos + PCI_SRIOV_NUM_VF, nr_virtfn); in pci_iov_set_numvfs()
678 pci_write_config_word(dev, iov->pos + PCI_SRIOV_CTRL, iov->ctrl); in sriov_enable()
694 pci_write_config_word(dev, iov->pos + PCI_SRIOV_CTRL, iov->ctrl); in sriov_enable()
726 pci_write_config_word(dev, iov->pos + PCI_SRIOV_CTRL, iov->ctrl); in sriov_disable()
752 pci_write_config_word(dev, pos + PCI_SRIOV_CTRL, 0); in sriov_init()
766 pci_write_config_word(dev, pos + PCI_SRIOV_CTRL, ctrl); in sriov_init()
878 pci_write_config_word(dev, iov->pos + PCI_SRIOV_CTRL, ctrl); in sriov_restore_state()
885 pci_write_config_word(dev, iov->pos + PCI_SRIOV_CTRL, iov->ctrl); in sriov_restore_state()
/openbmc/linux/sound/pci/ymfpci/
H A Dymfpci.c133 pci_write_config_word(chip->pci, PCIR_DSXG_JOYBASE, io_port); in snd_ymfpci_create_gameport()
135 pci_write_config_word(chip->pci, PCIR_DSXG_LEGACY, legacy_ctrl | YMFPCI_LEGACY_JPEN); in snd_ymfpci_create_gameport()
136 pci_write_config_word(chip->pci, PCIR_DSXG_ELEGACY, legacy_ctrl2); in snd_ymfpci_create_gameport()
211 pci_write_config_word(pci, PCIR_DSXG_FMBASE, fm_port[dev]); in __snd_card_ymfpci_probe()
222 pci_write_config_word(pci, PCIR_DSXG_MPU401BASE, mpu_port[dev]); in __snd_card_ymfpci_probe()
275 pci_write_config_word(pci, PCIR_DSXG_LEGACY, legacy_ctrl); in __snd_card_ymfpci_probe()
276 pci_write_config_word(pci, PCIR_DSXG_ELEGACY, legacy_ctrl2); in __snd_card_ymfpci_probe()
317 pci_write_config_word(pci, PCIR_DSXG_LEGACY, legacy_ctrl); in __snd_card_ymfpci_probe()
330 pci_write_config_word(pci, PCIR_DSXG_LEGACY, legacy_ctrl); in __snd_card_ymfpci_probe()
/openbmc/linux/arch/xtensa/lib/
H A Dpci-auto.c163 pci_write_config_word(dev, PCI_MEMORY_LIMIT, in pciauto_prescan_setup_bridge()
167 pci_write_config_word(dev, PCI_IO_LIMIT_UPPER16, in pciauto_prescan_setup_bridge()
188 pci_write_config_word(dev, PCI_MEMORY_BASE, pciauto_upper_memspc >> 16); in pciauto_postscan_setup_bridge()
191 pci_write_config_word(dev, PCI_PREF_MEMORY_LIMIT, in pciauto_postscan_setup_bridge()
196 pci_write_config_word(dev, PCI_PREF_MEMORY_BASE, in pciauto_postscan_setup_bridge()
206 pci_write_config_word(dev, PCI_IO_BASE_UPPER16, in pciauto_postscan_setup_bridge()
/openbmc/linux/drivers/char/agp/
H A 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 …]
H A 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()
/openbmc/linux/drivers/ata/
H A Dpata_sil680.c127 pci_write_config_word(pdev, addr, speed_p[pio]); in sil680_set_piomode()
128 pci_write_config_word(pdev, tfaddr, speed_t[lowest_pio]); in sil680_set_piomode()
140 pci_write_config_word(pdev, tfaddr-2, reg); in sil680_set_piomode()
192 pci_write_config_word(pdev, ma, multi); in sil680_set_dmamode()
193 pci_write_config_word(pdev, ua, ultra); in sil680_set_dmamode()
295 pci_write_config_word(pdev, 0xA2, 0x328A); in sil680_init_chip()
300 pci_write_config_word(pdev, 0xB2, 0x328A); in sil680_init_chip()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
/openbmc/linux/drivers/mtd/devices/
H A 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()
/openbmc/linux/arch/mips/pci/
H A Dfixup-rc32434.c53 pci_write_config_word(dev, PCI_PREF_MEMORY_LIMIT, 0); in rc32434_pci_early_fixup()
54 pci_write_config_word(dev, PCI_PREF_MEMORY_BASE, 0x10); in rc32434_pci_early_fixup()
H A Dfixup-malta.c58 pci_write_config_word(dev, PIIX4_FUNC3_PMBA, 0x1000); in malta_piix_func3_base_fixup()
115 pci_write_config_word(pdev, PCI_COMMAND, in malta_piix_func0_fixup()
H A Dfixup-fuloong2e.c203 pci_write_config_word(pdev, 0x2c, 0x1005); in loongson2e_686b_func5_fixup()
204 pci_write_config_word(pdev, 0x2e, 0x4710); in loongson2e_686b_func5_fixup()
/openbmc/linux/drivers/pci/msi/
H A Dpcidev_msi.c22 pci_write_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, in pci_msi_init()
40 pci_write_config_word(dev, dev->msix_cap + PCI_MSIX_FLAGS, in pci_msix_init()
/openbmc/linux/arch/arm/kernel/
H A Dbios32.c48 pci_write_config_word(dev, PCI_STATUS, status & status_mask); in pcibios_bus_report_status()
85 pci_write_config_word(dev, PCI_COMMAND, PCI_COMMAND_IO); in pci_fixup_83c553()
126 pci_write_config_word(dev, 0x44, 0xb000); in pci_fixup_83c553()
302 pci_write_config_word(dev, PCI_BRIDGE_CONTROL, status); in pcibios_fixup_bus()
308 pci_write_config_word(dev, PCI_CB_BRIDGE_CONTROL, status); in pcibios_fixup_bus()
321 pci_write_config_word(dev, PCI_COMMAND, cmd); in pcibios_fixup_bus()
/openbmc/linux/drivers/video/fbdev/kyro/
H A 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()
/openbmc/linux/drivers/xen/xen-pciback/
H A 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()
/openbmc/linux/drivers/pci/pcie/
H A Ddpc.c72 pci_write_config_word(dev, dev->dpc_cap + PCI_EXP_DPC_CTL, *cap); in pci_restore_dpc_state()
171 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()
375 pci_write_config_word(pdev, pdev->dpc_cap + PCI_EXP_DPC_CTL, ctl); in dpc_probe()
395 pci_write_config_word(pdev, pdev->dpc_cap + PCI_EXP_DPC_CTL, ctl); in dpc_remove()
/openbmc/linux/arch/parisc/kernel/
H A Dpci.c158 pci_write_config_word(dev, PCI_CACHE_LINE_SIZE, in pcibios_set_master()
186 pci_write_config_word(dev, PCI_BRIDGE_CONTROL, bridge_ctl_new); in pcibios_init_bridge()
250 pci_write_config_word(dev, PCI_COMMAND, cmd); in pcibios_enable_device()
/openbmc/linux/drivers/usb/host/
H A 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()
555 pci_write_config_word(pdev, PT_ADDR_INDX, PT_SIG_1_ADDR); in usb_amd_pt_check_port()
561 pci_write_config_word(pdev, PT_ADDR_INDX, PT_SIG_2_ADDR); in usb_amd_pt_check_port()
567 pci_write_config_word(pdev, PT_ADDR_INDX, PT_SIG_3_ADDR); in usb_amd_pt_check_port()
573 pci_write_config_word(pdev, PT_ADDR_INDX, PT_SIG_4_ADDR); in usb_amd_pt_check_port()
627 pci_write_config_word(pdev, PT_ADDR_INDX, reg); in usb_amd_pt_check_port()
643 pci_write_config_word(pdev, UHCI_USBLEGSUP, UHCI_USBLEGSUP_RWC); in uhci_reset_hc()
/openbmc/linux/arch/powerpc/platforms/
H A Dfsl_uli1575.c69 pci_write_config_word(dev, PCI_COMMAND, PCI_COMMAND_IO | in early_uli5249()
210 pci_write_config_word(dev, PCI_COMMAND, PCI_COMMAND_INTX_DISABLE | in quirk_uli5229()
215 pci_write_config_word(dev, 0x4a, temp | 0x1000); in quirk_uli5229()

123456789