Home
last modified time | relevance | path

Searched refs:pwr (Results 1 – 25 of 349) sorted by relevance

12345678910>>...14

/linux/arch/x86/platform/intel-mid/
A Dpwr.c251 mutex_lock(&pwr->lock); in mid_pwr_set_power_state()
264 if (pwr && pwr->available) in intel_mid_pci_set_power_state()
277 if (!pwr || !pwr->available) in intel_mid_pci_get_power_state()
301 mid_pwr_wait(pwr); in intel_mid_pwr_power_off()
352 struct mid_pwr *pwr; in mid_pwr_probe() local
367 pwr = devm_kzalloc(dev, sizeof(*pwr), GFP_KERNEL); in mid_pwr_probe()
368 if (!pwr) in mid_pwr_probe()
371 pwr->dev = dev; in mid_pwr_probe()
373 pwr->irq = pdev->irq; in mid_pwr_probe()
391 pwr->available = true; in mid_pwr_probe()
[all …]
/linux/drivers/input/misc/
A Drk805-pwrkey.c20 struct input_dev *pwr = _pwr; in pwrkey_fall_irq() local
22 input_report_key(pwr, KEY_POWER, 1); in pwrkey_fall_irq()
23 input_sync(pwr); in pwrkey_fall_irq()
30 struct input_dev *pwr = _pwr; in pwrkey_rise_irq() local
33 input_sync(pwr); in pwrkey_rise_irq()
40 struct input_dev *pwr; in rk805_pwrkey_probe() local
45 if (!pwr) { in rk805_pwrkey_probe()
50 pwr->name = "rk805 pwrkey"; in rk805_pwrkey_probe()
52 pwr->id.bustype = BUS_HOST; in rk805_pwrkey_probe()
66 "rk805_pwrkey_fall", pwr); in rk805_pwrkey_probe()
[all …]
A Dtps65218-pwrbutton.c83 input_sync(pwr->idev); in tps6521x_pb_irq()
102 pwr = devm_kzalloc(dev, sizeof(*pwr), GFP_KERNEL); in tps6521x_pb_probe()
103 if (!pwr) in tps6521x_pb_probe()
106 pwr->data = match->data; in tps6521x_pb_probe()
112 idev->name = pwr->data->name; in tps6521x_pb_probe()
113 snprintf(pwr->phys, sizeof(pwr->phys), "%s/input0", in tps6521x_pb_probe()
114 pwr->data->name); in tps6521x_pb_probe()
115 idev->phys = pwr->phys; in tps6521x_pb_probe()
122 pwr->dev = dev; in tps6521x_pb_probe()
123 pwr->idev = idev; in tps6521x_pb_probe()
[all …]
A Dtwl4030-pwrbutton.c38 struct input_dev *pwr = _pwr; in powerbutton_irq() local
44 pm_wakeup_event(pwr->dev.parent, 0); in powerbutton_irq()
46 input_sync(pwr); in powerbutton_irq()
57 struct input_dev *pwr; in twl4030_pwrbutton_probe() local
61 pwr = devm_input_allocate_device(&pdev->dev); in twl4030_pwrbutton_probe()
62 if (!pwr) { in twl4030_pwrbutton_probe()
68 pwr->name = "twl4030_pwrbutton"; in twl4030_pwrbutton_probe()
69 pwr->phys = "twl4030_pwrbutton/input0"; in twl4030_pwrbutton_probe()
70 pwr->dev.parent = &pdev->dev; in twl4030_pwrbutton_probe()
75 "twl4030_pwrbutton", pwr); in twl4030_pwrbutton_probe()
[all …]
A Dmc13783-pwrbutton.c33 struct input_dev *pwr; member
86 input_sync(priv->pwr); in button_irq()
95 struct input_dev *pwr; in mc13783_pwrbutton_probe() local
106 pwr = input_allocate_device(); in mc13783_pwrbutton_probe()
107 if (!pwr) { in mc13783_pwrbutton_probe()
123 priv->pwr = pwr; in mc13783_pwrbutton_probe()
189 pwr->name = "mc13783_pwrbutton"; in mc13783_pwrbutton_probe()
191 pwr->dev.parent = &pdev->dev; in mc13783_pwrbutton_probe()
193 pwr->keycode = priv->keymap; in mc13783_pwrbutton_probe()
196 __set_bit(EV_KEY, pwr->evbit); in mc13783_pwrbutton_probe()
[all …]
A Dpmic8xxx-pwrkey.c85 struct input_dev *pwr = _pwr; in pwrkey_press_irq() local
87 input_report_key(pwr, KEY_POWER, 1); in pwrkey_press_irq()
88 input_sync(pwr); in pwrkey_press_irq()
95 struct input_dev *pwr = _pwr; in pwrkey_release_irq() local
97 input_report_key(pwr, KEY_POWER, 0); in pwrkey_release_irq()
98 input_sync(pwr); in pwrkey_release_irq()
334 struct input_dev *pwr; in pmic8xxx_pwrkey_probe() local
371 if (!pwr) { in pmic8xxx_pwrkey_probe()
378 pwr->name = "pmic8xxx_pwrkey"; in pmic8xxx_pwrkey_probe()
379 pwr->phys = "pmic8xxx_pwrkey/input0"; in pmic8xxx_pwrkey_probe()
[all …]
/linux/drivers/net/wireless/ti/wl12xx/
A Ddebugfs.c162 DEBUGFS_FWSTATS_ADD(pwr, ps_enter); in wl12xx_debugfs_add_files()
163 DEBUGFS_FWSTATS_ADD(pwr, elp_enter); in wl12xx_debugfs_add_files()
164 DEBUGFS_FWSTATS_ADD(pwr, missing_bcns); in wl12xx_debugfs_add_files()
165 DEBUGFS_FWSTATS_ADD(pwr, wake_on_host); in wl12xx_debugfs_add_files()
167 DEBUGFS_FWSTATS_ADD(pwr, tx_with_ps); in wl12xx_debugfs_add_files()
168 DEBUGFS_FWSTATS_ADD(pwr, tx_without_ps); in wl12xx_debugfs_add_files()
169 DEBUGFS_FWSTATS_ADD(pwr, rcvd_beacons); in wl12xx_debugfs_add_files()
170 DEBUGFS_FWSTATS_ADD(pwr, power_save_off); in wl12xx_debugfs_add_files()
171 DEBUGFS_FWSTATS_ADD(pwr, enable_ps); in wl12xx_debugfs_add_files()
172 DEBUGFS_FWSTATS_ADD(pwr, disable_ps); in wl12xx_debugfs_add_files()
[all …]
/linux/drivers/net/wireless/ti/wl1251/
A Ddebugfs.c284 DEBUGFS_FWSTATS_DEL(pwr, ps_enter); in wl1251_debugfs_delete_files()
285 DEBUGFS_FWSTATS_DEL(pwr, elp_enter); in wl1251_debugfs_delete_files()
289 DEBUGFS_FWSTATS_DEL(pwr, tx_with_ps); in wl1251_debugfs_delete_files()
293 DEBUGFS_FWSTATS_DEL(pwr, enable_ps); in wl1251_debugfs_delete_files()
294 DEBUGFS_FWSTATS_DEL(pwr, disable_ps); in wl1251_debugfs_delete_files()
295 DEBUGFS_FWSTATS_DEL(pwr, fix_tsf_ps); in wl1251_debugfs_delete_files()
383 DEBUGFS_FWSTATS_ADD(pwr, ps_enter); in wl1251_debugfs_add_files()
384 DEBUGFS_FWSTATS_ADD(pwr, elp_enter); in wl1251_debugfs_add_files()
388 DEBUGFS_FWSTATS_ADD(pwr, tx_with_ps); in wl1251_debugfs_add_files()
392 DEBUGFS_FWSTATS_ADD(pwr, enable_ps); in wl1251_debugfs_add_files()
[all …]
/linux/tools/perf/
A Dbuiltin-timechart.c355 struct power_event *pwr = zalloc(sizeof(*pwr)); in c_state_end() local
357 if (!pwr) in c_state_end()
377 pwr = zalloc(sizeof(*pwr)); in p_state_change()
378 if (!pwr) in p_state_change()
684 pwr = zalloc(sizeof(*pwr)); in end_sample_processing()
685 if (!pwr) in end_sample_processing()
699 pwr = zalloc(sizeof(*pwr)); in end_sample_processing()
1020 svg_cstate(pwr->cpu, pwr->start_time, pwr->end_time, pwr->state); in draw_c_p_states()
1021 pwr = pwr->next; in draw_c_p_states()
1029 svg_pstate(pwr->cpu, pwr->start_time, pwr->end_time, pwr->state); in draw_c_p_states()
[all …]
/linux/drivers/ata/
A Dahci_st.c34 struct reset_control *pwr; member
60 if (drv_data->pwr) { in st_ahci_deassert_resets()
61 err = reset_control_deassert(drv_data->pwr); in st_ahci_deassert_resets()
94 if (drv_data->pwr) { in st_ahci_host_stop()
95 err = reset_control_assert(drv_data->pwr); in st_ahci_host_stop()
108 drv_data->pwr = devm_reset_control_get(dev, "pwr-dwn"); in st_ahci_probe_resets()
109 if (IS_ERR(drv_data->pwr)) { in st_ahci_probe_resets()
111 drv_data->pwr = NULL; in st_ahci_probe_resets()
196 if (drv_data->pwr) { in st_ahci_suspend()
197 err = reset_control_assert(drv_data->pwr); in st_ahci_suspend()
/linux/drivers/net/wireless/ti/wl18xx/
A Ddebugfs.c500 DEBUGFS_FWSTATS_ADD(pwr, missing_bcns_cnt); in wl18xx_debugfs_add_files()
501 DEBUGFS_FWSTATS_ADD(pwr, rcvd_bcns_cnt); in wl18xx_debugfs_add_files()
503 DEBUGFS_FWSTATS_ADD(pwr, cont_miss_bcns_spread); in wl18xx_debugfs_add_files()
504 DEBUGFS_FWSTATS_ADD(pwr, rcvd_awake_bcns_cnt); in wl18xx_debugfs_add_files()
505 DEBUGFS_FWSTATS_ADD(pwr, sleep_time_count); in wl18xx_debugfs_add_files()
506 DEBUGFS_FWSTATS_ADD(pwr, sleep_time_avg); in wl18xx_debugfs_add_files()
507 DEBUGFS_FWSTATS_ADD(pwr, sleep_cycle_avg); in wl18xx_debugfs_add_files()
508 DEBUGFS_FWSTATS_ADD(pwr, sleep_percent); in wl18xx_debugfs_add_files()
509 DEBUGFS_FWSTATS_ADD(pwr, ap_sleep_active_conf); in wl18xx_debugfs_add_files()
510 DEBUGFS_FWSTATS_ADD(pwr, ap_sleep_user_conf); in wl18xx_debugfs_add_files()
[all …]
/linux/drivers/phy/samsung/
A Dphy-s5pv210-usb2.c115 u32 pwr; in s5pv210_phy_pwr() local
132 pwr = readl(drv->reg_phy + S5PV210_UPHYPWR); in s5pv210_phy_pwr()
133 pwr &= ~phypwr; in s5pv210_phy_pwr()
134 writel(pwr, drv->reg_phy + S5PV210_UPHYPWR); in s5pv210_phy_pwr()
147 pwr = readl(drv->reg_phy + S5PV210_UPHYPWR); in s5pv210_phy_pwr()
148 pwr |= phypwr; in s5pv210_phy_pwr()
149 writel(pwr, drv->reg_phy + S5PV210_UPHYPWR); in s5pv210_phy_pwr()
A Dphy-exynos4210-usb2.c152 u32 pwr; in exynos4210_phy_pwr() local
187 pwr = readl(drv->reg_phy + EXYNOS_4210_UPHYPWR); in exynos4210_phy_pwr()
188 pwr &= ~phypwr; in exynos4210_phy_pwr()
189 writel(pwr, drv->reg_phy + EXYNOS_4210_UPHYPWR); in exynos4210_phy_pwr()
201 pwr = readl(drv->reg_phy + EXYNOS_4210_UPHYPWR); in exynos4210_phy_pwr()
202 pwr |= phypwr; in exynos4210_phy_pwr()
203 writel(pwr, drv->reg_phy + EXYNOS_4210_UPHYPWR); in exynos4210_phy_pwr()
A Dphy-exynos4x12-usb2.c214 u32 pwr; in exynos4x12_phy_pwr() local
240 pwr = readl(drv->reg_phy + EXYNOS_4x12_UPHYPWR); in exynos4x12_phy_pwr()
241 pwr &= ~phypwr; in exynos4x12_phy_pwr()
242 writel(pwr, drv->reg_phy + EXYNOS_4x12_UPHYPWR); in exynos4x12_phy_pwr()
254 pwr = readl(drv->reg_phy + EXYNOS_4x12_UPHYPWR); in exynos4x12_phy_pwr()
255 pwr |= phypwr; in exynos4x12_phy_pwr()
256 writel(pwr, drv->reg_phy + EXYNOS_4x12_UPHYPWR); in exynos4x12_phy_pwr()
/linux/drivers/net/wireless/ath/ath5k/
A Deeprom.c856 cdata->pwr[0] |= ((val >> 14) & 0x3); in ath5k_eeprom_read_pcal_info_5111()
862 cdata->pwr[3] |= ((val >> 12) & 0xf); in ath5k_eeprom_read_pcal_info_5111()
872 cdata->pwr[8] |= ((val >> 14) & 0x3); in ath5k_eeprom_read_pcal_info_5111()
1252 2 * pcinfo->pwr[pdg][point - 1]; in ath5k_eeprom_convert_pcal_info_2413()
1346 pcinfo->pwr[0][0] = (val >> 12) & 0xf; in ath5k_eeprom_read_pcal_info_2413()
1350 pcinfo->pwr[0][1] = (val >> 6) & 0xf; in ath5k_eeprom_read_pcal_info_2413()
1354 pcinfo->pwr[0][2] = val & 0xf; in ath5k_eeprom_read_pcal_info_2413()
1357 pcinfo->pwr[0][3] = 0; in ath5k_eeprom_read_pcal_info_2413()
1376 pcinfo->pwr[1][1] = val & 0xf; in ath5k_eeprom_read_pcal_info_2413()
1384 pcinfo->pwr[1][3] = 0; in ath5k_eeprom_read_pcal_info_2413()
[all …]
/linux/arch/powerpc/kernel/
A Dvecemu.c41 int exp, pwr; in eexp2() local
57 pwr = (s & 0x7fffff) | 0x800000; in eexp2()
59 pwr <<= exp; in eexp2()
61 pwr >>= -exp; in eexp2()
63 pwr = -pwr; in eexp2()
66 exp = (pwr >> 23) + 126; in eexp2()
73 mant = exp2s[(pwr >> 20) & 7]; in eexp2()
77 : "r" (pwr << 12), "r" (0x172b83ff)); in eexp2()
/linux/drivers/net/wireless/intel/iwlwifi/cfg/
A D7000.c197 {.pwr = 1600, .backoff = 0},
198 {.pwr = 1300, .backoff = 467},
199 {.pwr = 900, .backoff = 1900},
200 {.pwr = 800, .backoff = 2630},
201 {.pwr = 700, .backoff = 3720},
202 {.pwr = 600, .backoff = 5550},
203 {.pwr = 500, .backoff = 9350},
/linux/Documentation/devicetree/bindings/rtc/
A Disil,isl12026.txt14 - "isil,pwr-bsw": If present PWR.BSW bit must be set to the specified
17 - "isil,pwr-sbib": If present PWR.SBIB bit must be set to the specified
26 isil,pwr-bsw = <0>;
27 isil,pwr-sbib = <1>;
/linux/drivers/usb/host/
A Dehci-st.c36 struct reset_control *pwr; member
71 ret = reset_control_deassert(priv->pwr); in st_ehci_platform_power_on()
111 reset_control_assert(priv->pwr); in st_ehci_platform_power_on()
122 reset_control_assert(priv->pwr); in st_ehci_platform_power_off()
203 priv->pwr = in st_ehci_platform_probe()
205 if (IS_ERR(priv->pwr)) { in st_ehci_platform_probe()
206 err = PTR_ERR(priv->pwr); in st_ehci_platform_probe()
209 priv->pwr = NULL; in st_ehci_platform_probe()
A Dohci-st.c34 struct reset_control *pwr; member
51 ret = reset_control_deassert(priv->pwr); in st_ohci_platform_power_on()
91 reset_control_assert(priv->pwr); in st_ohci_platform_power_on()
103 reset_control_assert(priv->pwr); in st_ohci_platform_power_off()
184 priv->pwr = in st_ohci_platform_probe()
186 if (IS_ERR(priv->pwr)) { in st_ohci_platform_probe()
187 err = PTR_ERR(priv->pwr); in st_ohci_platform_probe()
/linux/Documentation/devicetree/bindings/regulator/
A Dst,stm32mp1-pwr-reg.yaml4 $id: http://devicetree.org/schemas/regulator/st,stm32mp1-pwr-reg.yaml#
14 const: st,stm32mp1,pwr-reg
39 pwr@50001000 {
40 compatible = "st,stm32mp1,pwr-reg";
/linux/Documentation/devicetree/bindings/ata/
A Dahci-st.txt17 - reset-names : Associated names must be; "pwr-dwn", "sw-rst" and "pwr-rst"
32 reset-names = "pwr-dwn", "sw-rst", "pwr-rst";
/linux/drivers/soc/rockchip/
A Dpm_domains.c93 .pwr_mask = (pwr), \
104 .pwr_w_mask = (pwr) << 16, \
105 .pwr_mask = (pwr), \
124 #define DOMAIN_PX30(name, pwr, status, req, wakeup) \ argument
127 #define DOMAIN_RK3288(name, pwr, status, req, wakeup) \ argument
130 #define DOMAIN_RK3328(name, pwr, status, req, wakeup) \ argument
131 DOMAIN_M(name, pwr, pwr, req, (req) << 10, req, wakeup)
133 #define DOMAIN_RK3368(name, pwr, status, req, wakeup) \ argument
137 DOMAIN(name, pwr, status, req, req, req, wakeup)
139 #define DOMAIN_RK3568(name, pwr, req, wakeup) \ argument
[all …]
/linux/drivers/soc/samsung/
A Dpm_domains.c39 u32 timeout, pwr; in exynos_pd_power() local
45 pwr = power_on ? pd->local_pwr_cfg : 0; in exynos_pd_power()
46 writel_relaxed(pwr, base); in exynos_pd_power()
51 while ((readl_relaxed(base + 0x4) & pd->local_pwr_cfg) != pwr) { in exynos_pd_power()
/linux/Documentation/devicetree/bindings/arm/tegra/
A Dnvidia,tegra20-pmc.yaml82 nvidia,cpu-pwr-good-en:
96 nvidia,cpu-pwr-good-time:
100 nvidia,cpu-pwr-off-time:
104 nvidia,core-pwr-good-time:
110 nvidia,core-pwr-off-time:
341 "nvidia,suspend-mode": ["nvidia,core-pwr-off-time", "nvidia,cpu-pwr-off-time"]
342 "nvidia,core-pwr-off-time": ["nvidia,core-pwr-good-time"]
343 "nvidia,cpu-pwr-off-time": ["nvidia,cpu-pwr-good-time"]
362 nvidia,cpu-pwr-good-time = <0>;
363 nvidia,cpu-pwr-off-time = <0>;
[all …]

Completed in 37 milliseconds

12345678910>>...14