Lines Matching defs:enable
950 * pci_std_enable_acs - enable ACS on devices using standard ACS capabilities
986 * pci_enable_acs - enable ACS if hardware support it
1064 static inline int platform_pci_set_wakeup(struct pci_dev *dev, bool enable)
1069 return acpi_pci_wakeup(dev, enable);
1595 * Downstream ports reset the LTR enable bit when link goes down.
2028 * (e.g. if the device really is in D0 at enable time).
2058 * to enable I/O resources. Wake up the device if it was suspended.
2072 * to enable Memory resources. Wake up the device if it was suspended.
2086 * to enable I/O and memory. Wake up the device if it was suspended.
2089 * Note we don't actually enable the device many times if we call
2102 * when a device is enabled using managed PCI device enable interface.
2350 * Check the PME status of the device and if set, clear it and clear PME enable
2351 * (if set). Return 'true' if PME status and PME enable were both set or
2478 static void __pci_pme_active(struct pci_dev *dev, bool enable)
2486 /* Clear PME_Status by writing 1 to it and enable PME# */
2488 if (!enable)
2517 * pci_pme_active - enable or disable PCI device's PME# function
2519 * @enable: 'true' to enable PME# generation; 'false' to disable it.
2522 * calling this function with @enable equal to 'true'.
2524 void pci_pme_active(struct pci_dev *dev, bool enable)
2526 __pci_pme_active(dev, enable);
2550 if (enable) {
2554 pci_warn(dev, "can't enable PME#\n");
2578 pci_dbg(dev, "PME# %s\n", enable ? "enabled" : "disabled");
2583 * __pci_enable_wake - enable PCI device as wakeup event source
2586 * @enable: True to enable event generation; false to disable
2599 * the native mechanism fail to enable the generation of wake-up events
2601 static int __pci_enable_wake(struct pci_dev *dev, pci_power_t state, bool enable)
2616 if (!!enable == !!dev->wakeup_prepared)
2621 * Anderson we should be doing PME# wake enable followed by ACPI wake
2622 * enable. To disable wake-up we call the platform first, for symmetry.
2625 if (enable) {
2657 * @enable: Whether or not to enable event generation
2659 * If @enable is set, check device_may_wakeup() for the device before calling
2662 int pci_enable_wake(struct pci_dev *pci_dev, pci_power_t state, bool enable)
2664 if (enable && !device_may_wakeup(&pci_dev->dev))
2667 return __pci_enable_wake(pci_dev, state, enable);
2672 * pci_wake_from_d3 - enable/disable device to wake up from D3_hot or D3_cold
2674 * @enable: True to enable wake-up event generation; false to disable
2678 * should not be called twice in a row to enable wake-up due to PCI PM vs ACPI
2683 * D3_hot and D3_cold and the platform is unable to enable wake-up power for it.
2685 int pci_wake_from_d3(struct pci_dev *dev, bool enable)
2688 pci_enable_wake(dev, PCI_D3cold, enable) :
2689 pci_enable_wake(dev, PCI_D3hot, enable);
2923 * If the device is runtime suspended and wakeup-capable, enable PME for it as
3157 * This function can be used in drivers to enable D3cold from the device
3251 * let the user space enable it to wake up the system as needed.
3539 * pci_configure_ari - enable or disable ARI forwarding
3542 * If @dev and its upstream bridge both support ARI, enable ARI in the
3711 * Attempt to enable ACS regardless of capability because some Root
3829 * pci_enable_atomic_ops_to_root - enable AtomicOp requests to root port
4426 static void __pci_set_master(struct pci_dev *dev, bool enable)
4431 if (enable)
4437 enable ? "enabling" : "disabling");
4440 dev->is_busmaster = enable;
4456 * pcibios_set_master - enable PCI bus-mastering for device dev
4457 * @dev: the PCI device to enable
4484 * @dev: the PCI device to enable
4655 * @enable: boolean: whether to enable or disable PCI INTx
4659 void pci_intx(struct pci_dev *pdev, int enable)
4665 if (enable)
4678 dr->orig_intx = !enable;
6438 /* Some architectures require additional programming to enable VGA */
6458 * @decode: true = enable decoding, false = disable decoding
6808 * to enable the kernel to reassign new resource