Searched refs:pwrctrl (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/pci/pwrctrl/ |
| H A D | core.c | 25 struct pci_pwrctrl *pwrctrl = container_of(nb, struct pci_pwrctrl, nb); in pci_pwrctrl_notify() local 28 if (dev_fwnode(dev) != dev_fwnode(pwrctrl->dev)) in pci_pwrctrl_notify() 55 void pci_pwrctrl_init(struct pci_pwrctrl *pwrctrl, struct device *dev) in pci_pwrctrl_init() argument 57 pwrctrl->dev = dev; in pci_pwrctrl_init() 58 dev_set_drvdata(dev, pwrctrl); in pci_pwrctrl_init() 76 int pci_pwrctrl_device_set_ready(struct pci_pwrctrl *pwrctrl) in pci_pwrctrl_device_set_ready() argument 80 if (!pwrctrl->dev) in pci_pwrctrl_device_set_ready() 83 pwrctrl->nb.notifier_call = pci_pwrctrl_notify; in pci_pwrctrl_device_set_ready() 84 ret = bus_register_notifier(&pci_bus_type, &pwrctrl->nb); in pci_pwrctrl_device_set_ready() 98 void pci_pwrctrl_device_unset_ready(struct pci_pwrctrl *pwrctrl) in pci_pwrctrl_device_unset_ready() argument [all …]
|
| H A D | pci-pwrctrl-pwrseq.c | 17 struct pci_pwrctrl pwrctrl; member 55 static int pwrseq_pwrctrl_power_on(struct pci_pwrctrl *pwrctrl) in pwrseq_pwrctrl_power_on() argument 57 struct pwrseq_pwrctrl *pwrseq = container_of(pwrctrl, in pwrseq_pwrctrl_power_on() 58 struct pwrseq_pwrctrl, pwrctrl); in pwrseq_pwrctrl_power_on() 63 static int pwrseq_pwrctrl_power_off(struct pci_pwrctrl *pwrctrl) in pwrseq_pwrctrl_power_off() argument 65 struct pwrseq_pwrctrl *pwrseq = container_of(pwrctrl, in pwrseq_pwrctrl_power_off() 66 struct pwrseq_pwrctrl, pwrctrl); in pwrseq_pwrctrl_power_off() 97 pwrseq->pwrctrl.power_on = pwrseq_pwrctrl_power_on; in pwrseq_pwrctrl_probe() 98 pwrseq->pwrctrl.power_off = pwrseq_pwrctrl_power_off; in pwrseq_pwrctrl_probe() 100 pci_pwrctrl_init(&pwrseq->pwrctrl, dev); in pwrseq_pwrctrl_probe() [all …]
|
| /linux/drivers/net/wireless/ath/ath9k/ |
| H A D | eeprom_4k.c | 1010 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/Documentation/devicetree/bindings/pinctrl/ |
| H A D | ste,abx500.txt | 209 function = "pwrctrl"; 223 function = "pwrctrl";
|
| /linux/ |
| H A D | MAINTAINERS | 20623 F: drivers/pci/pwrctrl/* 20624 F: include/linux/pci-pwrctrl.h
|