Home
last modified time | relevance | path

Searched refs:pwrctrl (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/pci/pwrctrl/
H A Dcore.c10 #include <linux/pci-pwrctrl.h>
17 struct pci_pwrctrl *pwrctrl = container_of(nb, struct pci_pwrctrl, nb); in pci_pwrctrl_notify() local
20 if (dev_fwnode(dev) != dev_fwnode(pwrctrl->dev)) in pci_pwrctrl_notify()
43 struct pci_pwrctrl *pwrctrl = container_of(work, in rescan_work_func() local
47 pci_rescan_bus(to_pci_host_bridge(pwrctrl->dev->parent)->bus); in rescan_work_func()
54 * @pwrctrl: PCI power control data
57 void pci_pwrctrl_init(struct pci_pwrctrl *pwrctrl, struct device *dev) in pci_pwrctrl_init() argument
59 pwrctrl->dev = dev; in pci_pwrctrl_init()
60 INIT_WORK(&pwrctrl->work, rescan_work_func); in pci_pwrctrl_init()
65 * pci_pwrctrl_device_set_ready() - Notify the pwrctrl subsyste
78 pci_pwrctrl_device_set_ready(struct pci_pwrctrl * pwrctrl) pci_pwrctrl_device_set_ready() argument
102 pci_pwrctrl_device_unset_ready(struct pci_pwrctrl * pwrctrl) pci_pwrctrl_device_unset_ready() argument
118 struct pci_pwrctrl *pwrctrl = data; devm_pci_pwrctrl_device_unset_ready() local
134 devm_pci_pwrctrl_device_set_ready(struct device * dev,struct pci_pwrctrl * pwrctrl) devm_pci_pwrctrl_device_set_ready() argument
[all...]
H A DMakefile3 obj-$(CONFIG_PCI_PWRCTRL) += pci-pwrctrl-core.o
4 pci-pwrctrl-core-y := core.o
6 obj-$(CONFIG_PCI_PWRCTRL_PWRSEQ) += pci-pwrctrl-pwrseq.o
8 obj-$(CONFIG_PCI_PWRCTRL_SLOT) += pci-pwrctrl-slot.o
9 pci-pwrctrl-slot-y := slot.o
/linux/drivers/staging/rtl8723bs/core/
H A Drtw_pwrctrl.c686 static inline void register_task_alive(struct pwrctrl_priv *pwrctrl, u32 tag) in register_task_alive() argument
688 pwrctrl->alives |= tag; in register_task_alive()
691 static inline void unregister_task_alive(struct pwrctrl_priv *pwrctrl, u32 tag) in unregister_task_alive() argument
693 pwrctrl->alives &= ~tag; in unregister_task_alive()
706 * 1. this function will request pwrctrl->lock
715 struct pwrctrl_priv *pwrctrl; in rtw_register_task_alive() local
719 pwrctrl = adapter_to_pwrctl(padapter); in rtw_register_task_alive()
722 mutex_lock(&pwrctrl->lock); in rtw_register_task_alive()
724 register_task_alive(pwrctrl, task); in rtw_register_task_alive()
726 if (pwrctrl in rtw_register_task_alive()
756 struct pwrctrl_priv *pwrctrl; rtw_unregister_task_alive() local
800 struct pwrctrl_priv *pwrctrl; rtw_register_tx_alive() local
845 struct pwrctrl_priv *pwrctrl; rtw_register_cmd_alive() local
883 struct pwrctrl_priv *pwrctrl; rtw_unregister_tx_alive() local
919 struct pwrctrl_priv *pwrctrl; rtw_unregister_cmd_alive() local
[all...]
/linux/include/linux/
H A Dpci-pwrctrl.h36 * passed to the pwrctrl subsystem to trigger a bus rescan and setup a device
48 void pci_pwrctrl_init(struct pci_pwrctrl *pwrctrl, struct device *dev);
49 int pci_pwrctrl_device_set_ready(struct pci_pwrctrl *pwrctrl);
50 void pci_pwrctrl_device_unset_ready(struct pci_pwrctrl *pwrctrl);
52 struct pci_pwrctrl *pwrctrl);
/linux/drivers/net/wireless/ath/ath9k/
H A Deeprom_4k.c1010 u32 pwrctrl, mask, clr; in ath9k_hw_4k_set_board_values() local
1013 pwrctrl = mask * bb_desired_scale; in ath9k_hw_4k_set_board_values()
1016 REG_RMW(ah, AR_PHY_TX_PWRCTRL8, pwrctrl, clr); in ath9k_hw_4k_set_board_values()
1017 REG_RMW(ah, AR_PHY_TX_PWRCTRL10, pwrctrl, clr); in ath9k_hw_4k_set_board_values()
1018 REG_RMW(ah, AR_PHY_CH0_TX_PWRCTRL12, pwrctrl, clr); in ath9k_hw_4k_set_board_values()
1021 pwrctrl = mask * bb_desired_scale; in ath9k_hw_4k_set_board_values()
1023 REG_RMW(ah, AR_PHY_TX_PWRCTRL9, pwrctrl, clr); in ath9k_hw_4k_set_board_values()
1026 pwrctrl = mask * bb_desired_scale; in ath9k_hw_4k_set_board_values()
1028 REG_RMW(ah, AR_PHY_CH0_TX_PWRCTRL11, pwrctrl, clr); in ath9k_hw_4k_set_board_values()
1029 REG_RMW(ah, AR_PHY_CH0_TX_PWRCTRL13, pwrctrl, cl in ath9k_hw_4k_set_board_values()
[all...]
/linux/Documentation/devicetree/bindings/pinctrl/
H A Dste,abx500.txt209 function = "pwrctrl";
223 function = "pwrctrl";
/linux/drivers/pci/
H A DMakefile12 obj-$(CONFIG_PCI) += pwrctrl/
H A DKconfig328 source "drivers/pci/pwrctrl/Kconfig"
/linux/
H A DMAINTAINERS19500 F: drivers/pci/pwrctrl/*
19501 F: include/linux/pci-pwrctrl.h