Home
last modified time | relevance | path

Searched refs:pci_read_config_word (Results 1 – 25 of 309) sorted by relevance

12345678910>>...13

/linux-6.1.9/drivers/pci/pcie/
Ddpc.c55 pci_read_config_word(dev, dev->dpc_cap + PCI_EXP_DPC_CTL, cap); in pci_save_dpc_state()
81 pci_read_config_word(pdev, pdev->dpc_cap + PCI_EXP_DPC_STATUS, &status); in dpc_completed()
131 pci_read_config_word(pdev, cap + PCI_EXP_DPC_STATUS, &status); in dpc_wait_rp_inactive()
135 pci_read_config_word(pdev, cap + PCI_EXP_DPC_STATUS, &status); in dpc_wait_rp_inactive()
205 pci_read_config_word(pdev, cap + PCI_EXP_DPC_STATUS, &dpc_status); in dpc_process_rp_pio_error()
268 pci_read_config_word(pdev, cap + PCI_EXP_DPC_STATUS, &status); in dpc_process_error()
269 pci_read_config_word(pdev, cap + PCI_EXP_DPC_SOURCE_ID, &source); in dpc_process_error()
313 pci_read_config_word(pdev, cap + PCI_EXP_DPC_STATUS, &status); in dpc_irq()
333 pci_read_config_word(pdev, pdev->dpc_cap + PCI_EXP_DPC_CAP, &cap); in pci_dpc_init()
371 pci_read_config_word(pdev, pdev->dpc_cap + PCI_EXP_DPC_CAP, &cap); in dpc_probe()
[all …]
/linux-6.1.9/drivers/pci/
Dats.c101 pci_read_config_word(dev, dev->ats_cap + PCI_ATS_CTRL, &ctrl); in pci_disable_ats()
144 pci_read_config_word(dev, dev->ats_cap + PCI_ATS_CAP, &cap); in pci_ats_queue_depth()
166 pci_read_config_word(pdev, pdev->ats_cap + PCI_ATS_CAP, &cap); in pci_ats_page_aligned()
184 pci_read_config_word(pdev, pdev->pri_cap + PCI_PRI_STATUS, &status); in pci_pri_init()
219 pci_read_config_word(pdev, pri + PCI_PRI_STATUS, &status); in pci_enable_pri()
257 pci_read_config_word(pdev, pri + PCI_PRI_CTRL, &control); in pci_disable_pri()
385 pci_read_config_word(pdev, pasid + PCI_PASID_CAP, &supported); in pci_enable_pasid()
472 pci_read_config_word(pdev, pasid + PCI_PASID_CAP, &supported); in pci_pasid_features()
501 pci_read_config_word(pdev, pasid + PCI_PASID_CAP, &supported); in pci_max_pasids()
Dprobe.c189 pci_read_config_word(dev, PCI_COMMAND, &orig_cmd); in __pci_read_base()
353 pci_read_config_word(bridge, PCI_IO_BASE, &io); in pci_read_bridge_windows()
356 pci_read_config_word(bridge, PCI_IO_BASE, &io); in pci_read_bridge_windows()
424 pci_read_config_word(dev, PCI_IO_BASE_UPPER16, &io_base_hi); in pci_read_bridge_io()
425 pci_read_config_word(dev, PCI_IO_LIMIT_UPPER16, &io_limit_hi); in pci_read_bridge_io()
448 pci_read_config_word(dev, PCI_MEMORY_BASE, &mem_base_lo); in pci_read_bridge_mmio()
449 pci_read_config_word(dev, PCI_MEMORY_LIMIT, &mem_limit_lo); in pci_read_bridge_mmio()
471 pci_read_config_word(dev, PCI_PREF_MEMORY_BASE, &mem_base_lo); in pci_read_bridge_mmio_pref()
472 pci_read_config_word(dev, PCI_PREF_MEMORY_LIMIT, &mem_limit_lo); in pci_read_bridge_mmio_pref()
793 pci_read_config_word(bridge, pos + PCI_X_BRIDGE_SSTATUS, in pci_set_bus_speed()
[all …]
Diov.c90 pci_read_config_word(dev, iov->pos + PCI_SRIOV_VF_OFFSET, &iov->offset); in pci_iov_set_numvfs()
91 pci_read_config_word(dev, iov->pos + PCI_SRIOV_VF_STRIDE, &iov->stride); in pci_iov_set_numvfs()
174 pci_read_config_word(virtfn, PCI_SUBSYSTEM_VENDOR_ID, in pci_read_vf_config_common()
176 pci_read_config_word(virtfn, PCI_SUBSYSTEM_ID, in pci_read_vf_config_common()
616 pci_read_config_word(dev, iov->pos + PCI_SRIOV_INITIAL_VF, &initial); in sriov_enable()
751 pci_read_config_word(dev, pos + PCI_SRIOV_CTRL, &ctrl); in sriov_init()
769 pci_read_config_word(dev, pos + PCI_SRIOV_TOTAL_VF, &total); in sriov_init()
817 pci_read_config_word(dev, pos + PCI_SRIOV_VF_DID, &iov->vf_device); in sriov_init()
869 pci_read_config_word(dev, iov->pos + PCI_SRIOV_CTRL, &ctrl); in sriov_restore_state()
962 pci_read_config_word(dev, iov->pos + PCI_SRIOV_CTRL, &cmd); in pci_iov_update_resource()
Dpci.c206 ret = pci_read_config_word(pdev, PCI_STATUS, &status); in pci_status_get_and_clear_errors()
759 pci_read_config_word(dev, pos + PCI_DVSEC_HEADER1, &v); in pci_find_dvsec_capability()
760 pci_read_config_word(dev, pos + PCI_DVSEC_HEADER2, &id); in pci_find_dvsec_capability()
857 pci_read_config_word(dev, pos, &status); in pci_wait_for_pending()
925 pci_read_config_word(dev, pos + PCI_ACS_CTRL, &ctrl); in pci_disable_acs_redir()
949 pci_read_config_word(dev, pos + PCI_ACS_CAP, &cap); in pci_std_enable_acs()
950 pci_read_config_word(dev, pos + PCI_ACS_CTRL, &ctrl); in pci_std_enable_acs()
1093 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pmcsr); in pci_update_current_state()
1221 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pmcsr); in pci_power_up()
1278 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pmcsr); in pci_set_full_power_state()
[all …]
/linux-6.1.9/drivers/hwmon/
Di5500_temp.c51 pci_read_config_word(pdev, REG_TSTHRHI, &tsthr); in i5500_read()
56 pci_read_config_word(pdev, REG_TSTHRHI, &tsthr); in i5500_read()
60 pci_read_config_word(pdev, REG_TSTHRLO, &tsthr); in i5500_read()
64 pci_read_config_word(pdev, REG_TSTHRCATA, &tsthr); in i5500_read()
/linux-6.1.9/drivers/edac/
Di82860_edac.c76 pci_read_config_word(pdev, I82860_ERRSTS, &info->errsts); in i82860_get_error_info()
78 pci_read_config_word(pdev, I82860_DERRCTL_STS, &info->derrsyn); in i82860_get_error_info()
79 pci_read_config_word(pdev, I82860_ERRSTS, &info->errsts2); in i82860_get_error_info()
93 pci_read_config_word(pdev, I82860_DERRCTL_STS, &info->derrsyn); in i82860_get_error_info()
152 pci_read_config_word(pdev, I82860_MCHCFG, &mchcfg_ddim); in i82860_init_csrows()
165 pci_read_config_word(pdev, I82860_GBA + index * 2, &value); in i82860_init_csrows()
Di5400_edac.c459 pci_read_config_word(pvt->branchmap_werrors, in i5400_get_error_info()
485 pci_read_config_word(pvt->branchmap_werrors, in i5400_get_error_info()
1070 pci_read_config_word(pvt->branchmap_werrors, TOLM, &pvt->tolm); in i5400_get_mc_regs()
1079 pci_read_config_word(pvt->branchmap_werrors, MIR0, &pvt->mir0); in i5400_get_mc_regs()
1080 pci_read_config_word(pvt->branchmap_werrors, MIR1, &pvt->mir1); in i5400_get_mc_regs()
1099 pci_read_config_word(pvt->branch_0, where, in i5400_get_mc_regs()
1111 pci_read_config_word(pvt->branch_1, where, in i5400_get_mc_regs()
1123 pci_read_config_word(pvt->branch_0, AMBPRESENT_0, in i5400_get_mc_regs()
1126 pci_read_config_word(pvt->branch_0, AMBPRESENT_1, in i5400_get_mc_regs()
1140 pci_read_config_word(pvt->branch_1, AMBPRESENT_0, in i5400_get_mc_regs()
[all …]
Di7300_edac.c430 pci_read_config_word(pvt->pci_dev_16_1_fsb_addr_map, in i7300_process_fbd_error()
469 pci_read_config_word(pvt->pci_dev_16_1_fsb_addr_map, in i7300_process_fbd_error()
770 pci_read_config_word(pvt->pci_dev_2x_0_fbd_branch[branch], in i7300_init_csrows()
780 pci_read_config_word(pvt->pci_dev_2x_0_fbd_branch[branch], in i7300_init_csrows()
791 pci_read_config_word(pvt->pci_dev_2x_0_fbd_branch[branch], in i7300_init_csrows()
852 pci_read_config_word(pvt->pci_dev_16_1_fsb_addr_map, TOLM, &pvt->tolm); in i7300_get_mc_regs()
879 pci_read_config_word(pvt->pci_dev_16_1_fsb_addr_map, MIR0, in i7300_get_mc_regs()
881 pci_read_config_word(pvt->pci_dev_16_1_fsb_addr_map, MIR1, in i7300_get_mc_regs()
883 pci_read_config_word(pvt->pci_dev_16_1_fsb_addr_map, MIR2, in i7300_get_mc_regs()
Di5000_edac.c408 pci_read_config_word(pvt->branchmap_werrors, in i5000_get_error_info()
434 pci_read_config_word(pvt->branchmap_werrors, in i5000_get_error_info()
1150 pci_read_config_word(pvt->branchmap_werrors, TOLM, &pvt->tolm); in i5000_get_mc_regs()
1159 pci_read_config_word(pvt->branchmap_werrors, MIR0, &pvt->mir0); in i5000_get_mc_regs()
1160 pci_read_config_word(pvt->branchmap_werrors, MIR1, &pvt->mir1); in i5000_get_mc_regs()
1161 pci_read_config_word(pvt->branchmap_werrors, MIR2, &pvt->mir2); in i5000_get_mc_regs()
1184 pci_read_config_word(pvt->branch_0, where, in i5000_get_mc_regs()
1191 pci_read_config_word(pvt->branch_1, where, in i5000_get_mc_regs()
1206 pci_read_config_word(pvt->branch_0, AMB_PRESENT_0, in i5000_get_mc_regs()
1209 pci_read_config_word(pvt->branch_0, AMB_PRESENT_1, in i5000_get_mc_regs()
[all …]
De752x_edac.c859 pci_read_config_word(dev, E752X_SYSBUS_FERR, in e752x_get_error_info()
862 pci_read_config_word(dev, E752X_DRAM_FERR, &info->dram_ferr); in e752x_get_error_info()
865 pci_read_config_word(dev, E752X_DRAM_SEC1_SYNDROME, in e752x_get_error_info()
911 pci_read_config_word(dev, E752X_SYSBUS_NERR, in e752x_get_error_info()
914 pci_read_config_word(dev, E752X_DRAM_NERR, &info->dram_nerr); in e752x_get_error_info()
917 pci_read_config_word(dev, E752X_DRAM_SEC2_SYNDROME, in e752x_get_error_info()
1031 pci_read_config_word(pdev, E752X_MCHSCRB, &scrubval); in get_sdram_scrub_rate()
1282 pci_read_config_word(pdev, E752X_DDRCSR, &ddrcsr); in e752x_probe1()
1341 pci_read_config_word(pdev, E752X_TOLM, &pci_data); in e752x_probe1()
1343 pci_read_config_word(pdev, E752X_REMAPBASE, &pci_data); in e752x_probe1()
[all …]
/linux-6.1.9/drivers/ata/
Dpata_it8213.c103 pci_read_config_word(dev, master_port, &master_data); in it8213_set_piomode()
155 pci_read_config_word(dev, 0x40, &master_data); in it8213_set_dmamode()
176 pci_read_config_word(dev, 0x4A, &udma_timing); in it8213_set_dmamode()
182 pci_read_config_word(dev, 0x54, &ideconf); in it8213_set_dmamode()
Dpata_atiixp.c113 pci_read_config_word(pdev, ATIIXP_IDE_PIO_MODE, &pio_mode_data); in atiixp_set_pio_timing()
167 pci_read_config_word(pdev, ATIIXP_IDE_UDMA_MODE, &udma_mode_data); in atiixp_set_dmamode()
221 pci_read_config_word(pdev, ATIIXP_IDE_UDMA_CONTROL, &tmp16); in atiixp_bmdma_start()
248 pci_read_config_word(pdev, ATIIXP_IDE_UDMA_CONTROL, &tmp16); in atiixp_bmdma_stop()
Dpata_rdc.c122 pci_read_config_word(dev, master_port, &master_data); in rdc_set_piomode()
189 pci_read_config_word(dev, master_port, &master_data); in rdc_set_dmamode()
216 pci_read_config_word(dev, 0x4A, &udma_timing); in rdc_set_dmamode()
222 pci_read_config_word(dev, 0x54, &ideconf); in rdc_set_dmamode()
Data_generic.c138 pci_read_config_word(dev, 0x40, &t); in is_intel_ider()
145 pci_read_config_word(dev, 0x40, &t); in is_intel_ider()
196 pci_read_config_word(dev, PCI_COMMAND, &command); in ata_generic_init_one()
Dpata_sis.c128 pci_read_config_word(pdev, 0x50 + 2 * ap->port_no, &tmp); in sis_133_cable_detect()
346 pci_read_config_word(pdev, drive_pci, &timing); in sis_old_set_dmamode()
386 pci_read_config_word(pdev, drive_pci, &timing); in sis_66_set_dmamode()
660 pci_read_config_word(pdev, 0x50, &regw); in sis_fixup()
663 pci_read_config_word(pdev, 0x52, &regw); in sis_fixup()
808 pci_read_config_word(pdev, PCI_DEVICE_ID, &trueid); in sis_init_one()
841 pci_read_config_word(pdev, PCI_DEVICE_ID, &trueid); in sis_init_one()
Dpata_efar.c116 pci_read_config_word(dev, master_port, &master_data); in efar_set_piomode()
177 pci_read_config_word(dev, master_port, &master_data); in efar_set_dmamode()
187 pci_read_config_word(dev, 0x4A, &udma_timing); in efar_set_dmamode()
Dpata_sl82c105.c89 pci_read_config_word(pdev, timing, &dummy); in sl82c105_configure_piomode()
127 pci_read_config_word(pdev, timing, &dummy); in sl82c105_configure_dmamode()
145 pci_read_config_word(pdev, 0x7E, &val); in sl82c105_reset_engine()
/linux-6.1.9/drivers/pci/msi/
Dpcidev_msi.c20 pci_read_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, &ctrl); in pci_msi_init()
38 pci_read_config_word(dev, dev->msix_cap + PCI_MSIX_FLAGS, &ctrl); in pci_msix_init()
Dmsi.c142 pci_read_config_word(dev, pos + PCI_MSI_DATA_64, &data); in __pci_read_msi_msg()
145 pci_read_config_word(dev, pos + PCI_MSI_DATA_32, &data); in __pci_read_msi_msg()
189 pci_read_config_word(dev, pos + PCI_MSI_FLAGS, &msgctl); in __pci_write_msi_msg()
206 pci_read_config_word(dev, pos + PCI_MSI_FLAGS, &msgctl); in __pci_write_msi_msg()
245 pci_read_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, &control); in pci_msi_set_enable()
276 pci_read_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, &control); in __pci_restore_msi_state()
287 pci_read_config_word(dev, dev->msix_cap + PCI_MSIX_FLAGS, &ctrl); in pci_msix_clear_and_set_ctrl()
373 pci_read_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, &control); in msi_setup_msi_desc()
629 pci_read_config_word(dev, dev->msix_cap + PCI_MSIX_FLAGS, &control); in msix_capability_init()
735 pci_read_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, &msgctl); in pci_msi_vec_count()
[all …]
/linux-6.1.9/arch/ia64/pci/
Dfixup.c54 pci_read_config_word(bridge, PCI_BRIDGE_CONTROL, in pci_fixup_video()
62 pci_read_config_word(pdev, PCI_COMMAND, &config); in pci_fixup_video()
/linux-6.1.9/drivers/xen/xen-pciback/
Dconf_space_capability.c100 err = pci_read_config_word(dev, offset, &real_value); in pm_caps_read()
121 err = pci_read_config_word(dev, offset, &old_value); in pm_ctrl_write()
153 err = pci_read_config_word(dev, offset, &value); in pm_ctrl_init()
227 err = pci_read_config_word(dev, offset, &old_value); in msi_msix_flags_write()
/linux-6.1.9/drivers/char/agp/
Dintel-agp.c23 pci_read_config_word(agp_bridge->dev, INTEL_APSIZE, &temp); in intel_fetch_size()
98 pci_read_config_word(agp_bridge->dev, INTEL_NBXCFG, &temp); in intel_cleanup()
110 pci_read_config_word(agp_bridge->dev, INTEL_NBXCFG, &temp); in intel_8xx_cleanup()
137 pci_read_config_word(agp_bridge->dev, INTEL_NBXCFG, &temp2); in intel_configure()
256 pci_read_config_word(agp_bridge->dev, INTEL_I840_MCHCFG, &temp2); in intel_840_configure()
318 pci_read_config_word(agp_bridge->dev, INTEL_I850_MCHCFG, &temp2); in intel_850_configure()
346 pci_read_config_word(agp_bridge->dev, INTEL_I860_MCHCFG, &temp2); in intel_860_configure()
374 pci_read_config_word(agp_bridge->dev, INTEL_NBXCFG, &temp2); in intel_830mp_configure()
402 pci_read_config_word(agp_bridge->dev, INTEL_I7505_MCHCFG, &temp2); in intel_7505_configure()
/linux-6.1.9/drivers/mtd/devices/
Dpmc551.c390 pci_read_config_word(dev, PCI_COMMAND, &cmd); in fixup_pmc551()
472 pci_read_config_word(dev, PMC551_SDRAM_CMD, &cmd); in fixup_pmc551()
492 pci_read_config_word(dev, PMC551_SDRAM_CMD, &cmd); in fixup_pmc551()
507 pci_read_config_word(dev, PMC551_SDRAM_CMD, &cmd); in fixup_pmc551()
520 pci_read_config_word(dev, PCI_STATUS, &cmd); in fixup_pmc551()
604 pci_read_config_word(dev, PCI_COMMAND, &cmd); in fixup_pmc551()
610 pci_read_config_word(dev, PCI_STATUS, &cmd); in fixup_pmc551()
/linux-6.1.9/arch/arm/kernel/
Dbios32.c40 pci_read_config_word(dev, PCI_STATUS, &status); in pcibios_bus_report_status()
285 pci_read_config_word(dev, PCI_STATUS, &status); in pcibios_fixup_bus()
301 pci_read_config_word(dev, PCI_BRIDGE_CONTROL, &status); in pcibios_fixup_bus()
308 pci_read_config_word(dev, PCI_CB_BRIDGE_CONTROL, &status); in pcibios_fixup_bus()
321 pci_read_config_word(dev, PCI_COMMAND, &cmd); in pcibios_fixup_bus()

12345678910>>...13