Home
last modified time | relevance | path

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

12345678910

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/ide/
Dslc90e66.c70 pci_write_config_word(dev, master_port, master_data); in slc90e66_set_pio_mode()
95 pci_write_config_word(dev, 0x48, reg48|u_flag); in slc90e66_set_dma_mode()
97 pci_write_config_word(dev, 0x4a, reg4a & ~a_speed); in slc90e66_set_dma_mode()
99 pci_write_config_word(dev, 0x4a, reg4a|u_speed); in slc90e66_set_dma_mode()
105 pci_write_config_word(dev, 0x48, reg48 & ~u_flag); in slc90e66_set_dma_mode()
107 pci_write_config_word(dev, 0x4a, reg4a & ~a_speed); in slc90e66_set_dma_mode()
Dsl82c105.c85 pci_write_config_word(dev, reg, drv_ctrl); in sl82c105_set_pio_mode()
137 pci_write_config_word(dev, 0x7e, val | (1 << 2)); in sl82c105_reset_host()
138 pci_write_config_word(dev, 0x7e, val & ~(1 << 2)); in sl82c105_reset_host()
192 pci_write_config_word(dev, reg, in sl82c105_dma_start()
212 pci_write_config_word(dev, reg, in sl82c105_dma_end()
Datiixp.c66 pci_write_config_word(dev, ATIIXP_IDE_PIO_MODE, pio_mode_data); in atiixp_set_pio_mode()
104 pci_write_config_word(dev, ATIIXP_IDE_UDMA_MODE, tmp16); in atiixp_set_dma_mode()
119 pci_write_config_word(dev, ATIIXP_IDE_UDMA_CONTROL, udma_ctl); in atiixp_set_dma_mode()
Dit8213.c70 pci_write_config_word(dev, master_port, master_data); in it8213_set_pio_mode()
116 pci_write_config_word(dev, 0x4a, (reg4a & ~a_speed) | u_speed); in it8213_set_dma_mode()
128 pci_write_config_word(dev, 0x4a, reg4a & ~a_speed); in it8213_set_dma_mode()
/kernel/linux/linux-5.10/sound/pci/ymfpci/
Dymfpci.c138 pci_write_config_word(chip->pci, PCIR_DSXG_JOYBASE, io_port); in snd_ymfpci_create_gameport()
140 pci_write_config_word(chip->pci, PCIR_DSXG_LEGACY, legacy_ctrl | YMFPCI_LEGACY_JPEN); in snd_ymfpci_create_gameport()
141 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()
221 pci_write_config_word(pci, PCIR_DSXG_MPU401BASE, mpu_port[dev]); in snd_card_ymfpci_probe()
260 pci_write_config_word(pci, PCIR_DSXG_LEGACY, legacy_ctrl); in snd_card_ymfpci_probe()
261 pci_write_config_word(pci, PCIR_DSXG_ELEGACY, legacy_ctrl2); in snd_card_ymfpci_probe()
314 pci_write_config_word(pci, PCIR_DSXG_LEGACY, legacy_ctrl); in snd_card_ymfpci_probe()
327 pci_write_config_word(pci, PCIR_DSXG_LEGACY, legacy_ctrl); in snd_card_ymfpci_probe()
/kernel/linux/linux-5.10/arch/xtensa/lib/
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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/ata/
Dpata_sil680.c130 pci_write_config_word(pdev, addr, speed_p[pio]); in sil680_set_piomode()
131 pci_write_config_word(pdev, tfaddr, speed_t[lowest_pio]); in sil680_set_piomode()
143 pci_write_config_word(pdev, tfaddr-2, reg); in sil680_set_piomode()
195 pci_write_config_word(pdev, ma, multi); in sil680_set_dmamode()
196 pci_write_config_word(pdev, ua, ultra); in sil680_set_dmamode()
298 pci_write_config_word(pdev, 0xA2, 0x328A); in sil680_init_chip()
303 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_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_atiixp.c115 pci_write_config_word(pdev, ATIIXP_IDE_PIO_MODE, pio_mode_data); in atiixp_set_pio_timing()
169 pci_write_config_word(pdev, ATIIXP_IDE_UDMA_MODE, udma_mode_data); in atiixp_set_dmamode()
225 pci_write_config_word(pdev, ATIIXP_IDE_UDMA_CONTROL, tmp16); in atiixp_bmdma_start()
249 pci_write_config_word(pdev, ATIIXP_IDE_UDMA_CONTROL, tmp16); in atiixp_bmdma_stop()
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()
/kernel/linux/linux-5.10/arch/mips/pci/
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()
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()
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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
249 return pci_write_config_word(dev, offset, new_value); in msi_msix_flags_write()
/kernel/linux/linux-5.10/arch/arm/kernel/
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()
304 pci_write_config_word(dev, PCI_BRIDGE_CONTROL, status); in pcibios_fixup_bus()
310 pci_write_config_word(dev, PCI_CB_BRIDGE_CONTROL, status); in pcibios_fixup_bus()
323 pci_write_config_word(dev, PCI_COMMAND, cmd); in pcibios_fixup_bus()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/parisc/kernel/
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()
/kernel/linux/linux-5.10/arch/powerpc/platforms/
Dfsl_uli1575.c65 pci_write_config_word(dev, PCI_COMMAND, PCI_COMMAND_IO | in early_uli5249()
206 pci_write_config_word(dev, PCI_COMMAND, PCI_COMMAND_INTX_DISABLE | in quirk_uli5229()
211 pci_write_config_word(dev, 0x4a, temp | 0x1000); in quirk_uli5229()

12345678910