Lines Matching refs:pci_read_config_word
202 ret = pci_read_config_word(pdev, PCI_STATUS, &status); in pci_status_get_and_clear_errors()
755 pci_read_config_word(dev, pos + PCI_DVSEC_HEADER1, &v); in pci_find_dvsec_capability()
756 pci_read_config_word(dev, pos + PCI_DVSEC_HEADER2, &id); in pci_find_dvsec_capability()
853 pci_read_config_word(dev, pos, &status); in pci_wait_for_pending()
921 pci_read_config_word(dev, pos + PCI_ACS_CTRL, &ctrl); in pci_disable_acs_redir()
945 pci_read_config_word(dev, pos + PCI_ACS_CAP, &cap); in pci_std_enable_acs()
946 pci_read_config_word(dev, pos + PCI_ACS_CTRL, &ctrl); in pci_std_enable_acs()
1117 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pmcsr); in pci_raw_set_power_state()
1161 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pmcsr); in pci_raw_set_power_state()
1210 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pmcsr); in pci_update_current_state()
1534 pci_read_config_word(dev, pos + PCI_X_CMD, in pci_save_pcix_state()
1575 pci_read_config_word(dev, ltr + PCI_LTR_MAX_SNOOP_LAT, cap++); in pci_save_ltr_state()
1576 pci_read_config_word(dev, ltr + PCI_LTR_MAX_NOSNOOP_LAT, cap++); in pci_save_ltr_state()
1880 pci_read_config_word(dev, PCI_COMMAND, &cmd); in do_pci_enable_device()
2161 pci_read_config_word(dev, PCI_COMMAND, &pci_command); in do_pci_disable_device()
2277 pci_read_config_word(dev, pmcsr_pos, &pmcsr); in pci_check_pme_status()
2382 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pmcsr); in __pci_pme_active()
2402 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pmcsr); in pci_pme_restore()
3123 pci_read_config_word(dev, pm + PCI_PM_PMC, &pmc); in pci_pm_init()
3170 pci_read_config_word(dev, PCI_STATUS, &status); in pci_pm_init()
3498 pci_read_config_word(pdev, pos + PCI_ACS_CAP, &cap); in pci_acs_flags_enabled()
3501 pci_read_config_word(pdev, pos + PCI_ACS_CTRL, &ctrl); in pci_acs_flags_enabled()
4346 pci_read_config_word(dev, PCI_COMMAND, &old_cmd); in __pci_set_master()
4480 pci_read_config_word(dev, PCI_COMMAND, &cmd); in pci_set_mwi()
4542 pci_read_config_word(dev, PCI_COMMAND, &cmd); in pci_clear_mwi()
4561 pci_read_config_word(dev, PCI_COMMAND, &cmd); in pci_disable_parity()
4579 pci_read_config_word(pdev, PCI_COMMAND, &pci_command); in pci_intx()
4804 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &csr); in pci_pm_reset()
5014 pci_read_config_word(dev, PCI_BRIDGE_CONTROL, &ctrl); in pci_reset_secondary_bus()
5919 if (pci_read_config_word(dev, cap + PCI_X_CMD, &cmd)) in pcix_get_mmrbc()
5956 if (pci_read_config_word(dev, cap + PCI_X_CMD, &cmd)) in pcix_set_mmrbc()
6308 pci_read_config_word(dev, PCI_COMMAND, &cmd); in pci_set_vga_state()
6323 pci_read_config_word(bridge, PCI_BRIDGE_CONTROL, in pci_set_vga_state()
6626 pci_read_config_word(dev, PCI_COMMAND, &command); in pci_reassigndev_resource_alignment()