Home
last modified time | relevance | path

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

/linux-6.15/drivers/pci/pwrctrl/
H A Dcore.c20 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
59 pwrctrl->dev = dev; in pci_pwrctrl_init()
60 INIT_WORK(&pwrctrl->work, rescan_work_func); in pci_pwrctrl_init()
82 if (!pwrctrl->dev) in pci_pwrctrl_device_set_ready()
90 schedule_work(&pwrctrl->work); in pci_pwrctrl_device_set_ready()
116 struct pci_pwrctrl *pwrctrl = data; in devm_pci_pwrctrl_device_unset_ready() local
118 pci_pwrctrl_device_unset_ready(pwrctrl); in devm_pci_pwrctrl_device_unset_ready()
132 struct pci_pwrctrl *pwrctrl) in devm_pci_pwrctrl_device_set_ready() argument
136 ret = pci_pwrctrl_device_set_ready(pwrctrl); in devm_pci_pwrctrl_device_set_ready()
[all …]
H A DMakefile3 obj-$(CONFIG_PCI_PWRCTL) += pci-pwrctrl-core.o
4 pci-pwrctrl-core-y := core.o
6 obj-$(CONFIG_PCI_PWRCTL_PWRSEQ) += pci-pwrctrl-pwrseq.o
/linux-6.15/drivers/staging/rtl8723bs/core/
H A Drtw_pwrctrl.c690 pwrctrl->alives |= tag; in register_task_alive()
695 pwrctrl->alives &= ~tag; in unregister_task_alive()
724 mutex_lock(&pwrctrl->lock); in rtw_register_task_alive()
732 if (pwrctrl->rpwm < pslv) in rtw_register_task_alive()
772 mutex_lock(&pwrctrl->lock); in rtw_unregister_task_alive()
776 if ((pwrctrl->pwr_mode != PS_MODE_ACTIVE) && pwrctrl->fw_current_in_ps_mode) { in rtw_unregister_task_alive()
777 if (pwrctrl->cpwm > pslv) in rtw_unregister_task_alive()
809 mutex_lock(&pwrctrl->lock); in rtw_register_tx_alive()
903 if ((pwrctrl->pwr_mode != PS_MODE_ACTIVE) && pwrctrl->fw_current_in_ps_mode) { in rtw_unregister_tx_alive()
904 if (pwrctrl->cpwm > pslv) in rtw_unregister_tx_alive()
[all …]
/linux-6.15/include/linux/
H A Dpci-pwrctrl.h48 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-6.15/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, clr); in ath9k_hw_4k_set_board_values()
/linux-6.15/Documentation/devicetree/bindings/pinctrl/
H A Dste,abx500.txt209 function = "pwrctrl";
223 function = "pwrctrl";
/linux-6.15/drivers/pci/
H A DMakefile12 obj-$(CONFIG_PCI) += pwrctrl/
H A DKconfig326 source "drivers/pci/pwrctrl/Kconfig"
/linux-6.15/
H A DMAINTAINERS18874 F: drivers/pci/pwrctrl/*
18875 F: include/linux/pci-pwrctrl.h