Home
last modified time | relevance | path

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

12345678910>>...28

/OK3568_Linux_fs/kernel/arch/x86/platform/intel-mid/
H A Dpwr.c106 static u32 mid_pwr_get_state(struct mid_pwr *pwr, int reg) in mid_pwr_get_state() argument
108 return readl(pwr->regs + PM_SSS(reg)); in mid_pwr_get_state()
111 static void mid_pwr_set_state(struct mid_pwr *pwr, int reg, u32 value) in mid_pwr_set_state() argument
113 writel(value, pwr->regs + PM_SSC(reg)); in mid_pwr_set_state()
116 static void mid_pwr_set_wake(struct mid_pwr *pwr, int reg, u32 value) in mid_pwr_set_wake() argument
118 writel(value, pwr->regs + PM_WKC(reg)); in mid_pwr_set_wake()
121 static void mid_pwr_interrupt_disable(struct mid_pwr *pwr) in mid_pwr_interrupt_disable() argument
123 writel(~PM_ICS_IE, pwr->regs + PM_ICS); in mid_pwr_interrupt_disable()
126 static bool mid_pwr_is_busy(struct mid_pwr *pwr) in mid_pwr_is_busy() argument
128 return !!(readl(pwr->regs + PM_STS) & PM_STS_BUSY); in mid_pwr_is_busy()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/phy/rf/
H A Dhalrf_pwr_table.c82 struct halrf_pwr_info *pwr = &rf->pwr_info; in halrf_get_regulation_info() local
100 if (pwr->regulation_idx != 0xff) in halrf_get_regulation_info()
101 return pwr->regulation_idx; in halrf_get_regulation_info()
126 if (pwr->regulation[band][pw_lmt_type] != true) { in halrf_get_regulation_info()
134 return regulation_to_pw_lmt_regu_type(pwr->mp_regulation); in halrf_get_regulation_info()
162 struct halrf_pwr_info *pwr = &rf->pwr_info; in halrf_power_by_rate_store_to_array() local
174 pwr->tx_pwr_by_rate[band][HALRF_DATA_RATE_CCK1] = (s8)(data & 0xff); in halrf_power_by_rate_store_to_array()
175 pwr->tx_pwr_by_rate[band][HALRF_DATA_RATE_CCK2] = (s8)((data & 0xff00) >> 8); in halrf_power_by_rate_store_to_array()
176 pwr->tx_pwr_by_rate[band][HALRF_DATA_RATE_CCK5_5] = (s8)((data & 0xff0000) >> 16); in halrf_power_by_rate_store_to_array()
177 pwr->tx_pwr_by_rate[band][HALRF_DATA_RATE_CCK11] = (s8)((data & 0xff000000) >> 24); in halrf_power_by_rate_store_to_array()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/phy/rf/
H A Dhalrf_pwr_table.c82 struct halrf_pwr_info *pwr = &rf->pwr_info; in halrf_get_regulation_info() local
100 if (pwr->regulation_idx != 0xff) in halrf_get_regulation_info()
101 return pwr->regulation_idx; in halrf_get_regulation_info()
126 if (pwr->regulation[band][pw_lmt_type] != true) { in halrf_get_regulation_info()
134 return regulation_to_pw_lmt_regu_type(pwr->mp_regulation); in halrf_get_regulation_info()
162 struct halrf_pwr_info *pwr = &rf->pwr_info; in halrf_power_by_rate_store_to_array() local
174 pwr->tx_pwr_by_rate[band][HALRF_DATA_RATE_CCK1] = (s8)(data & 0xff); in halrf_power_by_rate_store_to_array()
175 pwr->tx_pwr_by_rate[band][HALRF_DATA_RATE_CCK2] = (s8)((data & 0xff00) >> 8); in halrf_power_by_rate_store_to_array()
176 pwr->tx_pwr_by_rate[band][HALRF_DATA_RATE_CCK5_5] = (s8)((data & 0xff0000) >> 16); in halrf_power_by_rate_store_to_array()
177 pwr->tx_pwr_by_rate[band][HALRF_DATA_RATE_CCK11] = (s8)((data & 0xff000000) >> 24); in halrf_power_by_rate_store_to_array()
[all …]
/OK3568_Linux_fs/kernel/drivers/input/misc/
H A Dtps65218-pwrbutton.c65 struct tps6521x_pwrbutton *pwr = _pwr; in tps6521x_pb_irq() local
66 const struct tps6521x_data *tps_data = pwr->data; in tps6521x_pb_irq()
70 error = regmap_read(pwr->regmap, tps_data->reg_status, &reg); in tps6521x_pb_irq()
72 dev_err(pwr->dev, "can't read register: %d\n", error); in tps6521x_pb_irq()
77 input_report_key(pwr->idev, KEY_POWER, 1); in tps6521x_pb_irq()
78 pm_wakeup_event(pwr->dev, 0); in tps6521x_pb_irq()
80 input_report_key(pwr->idev, KEY_POWER, 0); in tps6521x_pb_irq()
83 input_sync(pwr->idev); in tps6521x_pb_irq()
92 struct tps6521x_pwrbutton *pwr; in tps6521x_pb_probe() local
102 pwr = devm_kzalloc(dev, sizeof(*pwr), GFP_KERNEL); in tps6521x_pb_probe()
[all …]
H A Drk805-pwrkey.c21 struct input_dev *pwr = _pwr; in pwrkey_fall_irq() local
23 input_report_key(pwr, KEY_POWER, 1); in pwrkey_fall_irq()
24 input_sync(pwr); in pwrkey_fall_irq()
31 struct input_dev *pwr = _pwr; in pwrkey_rise_irq() local
33 input_report_key(pwr, KEY_POWER, 0); in pwrkey_rise_irq()
34 input_sync(pwr); in pwrkey_rise_irq()
41 struct input_dev *pwr; in rk805_pwrkey_probe() local
52 pwr = devm_input_allocate_device(&pdev->dev); in rk805_pwrkey_probe()
53 if (!pwr) { in rk805_pwrkey_probe()
58 pwr->name = "rk805 pwrkey"; in rk805_pwrkey_probe()
[all …]
H A Dmc13783-pwrbutton.c33 struct input_dev *pwr; member
68 input_report_key(priv->pwr, priv->keymap[0], val); in button_irq()
75 input_report_key(priv->pwr, priv->keymap[1], val); in button_irq()
82 input_report_key(priv->pwr, priv->keymap[2], val); in button_irq()
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()
131 __set_bit(pdata->b1on_key, pwr->keybit); in mc13783_pwrbutton_probe()
[all …]
H A Dtwl4030-pwrbutton.c38 struct input_dev *pwr = _pwr; in powerbutton_irq() local
44 pm_wakeup_event(pwr->dev.parent, 0); in powerbutton_irq()
45 input_report_key(pwr, KEY_POWER, value & PWR_PWRON_IRQ); in powerbutton_irq()
46 input_sync(pwr); in powerbutton_irq()
48 dev_err(pwr->dev.parent, "twl4030: i2c error %d while reading" 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()
67 input_set_capability(pwr, EV_KEY, KEY_POWER); in twl4030_pwrbutton_probe()
68 pwr->name = "twl4030_pwrbutton"; in twl4030_pwrbutton_probe()
[all …]
H 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
370 pwr = devm_input_allocate_device(&pdev->dev); in pmic8xxx_pwrkey_probe()
371 if (!pwr) { in pmic8xxx_pwrkey_probe()
376 input_set_capability(pwr, EV_KEY, KEY_POWER); in pmic8xxx_pwrkey_probe()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/phy/rf/halrf_8852b/
H A Dhalrf_8852b_api.c79 struct halrf_pwr_info *pwr = &rf->pwr_info; in halrf_wl_tx_power_control_8852b() local
96 pwr->coex_pwr_ctl_enable = false; in halrf_wl_tx_power_control_8852b()
97 pwr->coex_pwr = 0; in halrf_wl_tx_power_control_8852b()
101 pwr->dpk_pwr_ctl_enable = false; in halrf_wl_tx_power_control_8852b()
102 pwr->dpk_pwr = 0; in halrf_wl_tx_power_control_8852b()
107 pwr->dpk_pwr_ctl_enable = true; in halrf_wl_tx_power_control_8852b()
108 pwr->dpk_pwr = all_time_control & 0x1ff; in halrf_wl_tx_power_control_8852b()
111 pwr->dpk_pwr); in halrf_wl_tx_power_control_8852b()
114 pwr->coex_pwr_ctl_enable = true; in halrf_wl_tx_power_control_8852b()
115 pwr->coex_pwr = all_time_control & 0x1ff; in halrf_wl_tx_power_control_8852b()
[all …]
H A Dhalrf_set_pwr_table_8852b.c878 struct halrf_pwr_info *pwr = &rf->pwr_info; in _halrf_set_tx_shape_8852b() local
892 if (pwr->set_tx_ptrn_shap_en == true) { in _halrf_set_tx_shape_8852b()
907 pwr->tx_shap_idx[PW_LMT_BAND_2_4G][TX_SHAPE_CCK][reg], in _halrf_set_tx_shape_8852b()
909 pwr->tx_shap_idx[PW_LMT_BAND_2_4G][TX_SHAPE_OFDM][reg]); in _halrf_set_tx_shape_8852b()
911 tpu->tx_ptrn_shap_idx = pwr->tx_shap_idx[PW_LMT_BAND_2_4G][TX_SHAPE_CCK][reg]; in _halrf_set_tx_shape_8852b()
912 pwr->set_tx_ptrn_shap_idx[PW_LMT_BAND_2_4G][TX_SHAPE_CCK] = in _halrf_set_tx_shape_8852b()
913 pwr->tx_shap_idx[PW_LMT_BAND_2_4G][TX_SHAPE_CCK][reg]; in _halrf_set_tx_shape_8852b()
916 pwr->tx_shap_idx[PW_LMT_BAND_2_4G][TX_SHAPE_CCK][reg], phy); /*cck*/ in _halrf_set_tx_shape_8852b()
921 tpu->tx_ptrn_shap_idx = pwr->tx_shap_idx[PW_LMT_BAND_2_4G][TX_SHAPE_OFDM][reg]; in _halrf_set_tx_shape_8852b()
923 pwr->set_tx_ptrn_shap_idx[PW_LMT_BAND_2_4G][TX_SHAPE_OFDM] = in _halrf_set_tx_shape_8852b()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/phy/rf/halrf_8852b/
H A Dhalrf_8852b_api.c79 struct halrf_pwr_info *pwr = &rf->pwr_info; in halrf_wl_tx_power_control_8852b() local
96 pwr->coex_pwr_ctl_enable = false; in halrf_wl_tx_power_control_8852b()
97 pwr->coex_pwr = 0; in halrf_wl_tx_power_control_8852b()
101 pwr->dpk_pwr_ctl_enable = false; in halrf_wl_tx_power_control_8852b()
102 pwr->dpk_pwr = 0; in halrf_wl_tx_power_control_8852b()
107 pwr->dpk_pwr_ctl_enable = true; in halrf_wl_tx_power_control_8852b()
108 pwr->dpk_pwr = all_time_control & 0x1ff; in halrf_wl_tx_power_control_8852b()
111 pwr->dpk_pwr); in halrf_wl_tx_power_control_8852b()
114 pwr->coex_pwr_ctl_enable = true; in halrf_wl_tx_power_control_8852b()
115 pwr->coex_pwr = all_time_control & 0x1ff; in halrf_wl_tx_power_control_8852b()
[all …]
H A Dhalrf_set_pwr_table_8852b.c878 struct halrf_pwr_info *pwr = &rf->pwr_info; in _halrf_set_tx_shape_8852b() local
892 if (pwr->set_tx_ptrn_shap_en == true) { in _halrf_set_tx_shape_8852b()
907 pwr->tx_shap_idx[PW_LMT_BAND_2_4G][TX_SHAPE_CCK][reg], in _halrf_set_tx_shape_8852b()
909 pwr->tx_shap_idx[PW_LMT_BAND_2_4G][TX_SHAPE_OFDM][reg]); in _halrf_set_tx_shape_8852b()
911 tpu->tx_ptrn_shap_idx = pwr->tx_shap_idx[PW_LMT_BAND_2_4G][TX_SHAPE_CCK][reg]; in _halrf_set_tx_shape_8852b()
912 pwr->set_tx_ptrn_shap_idx[PW_LMT_BAND_2_4G][TX_SHAPE_CCK] = in _halrf_set_tx_shape_8852b()
913 pwr->tx_shap_idx[PW_LMT_BAND_2_4G][TX_SHAPE_CCK][reg]; in _halrf_set_tx_shape_8852b()
916 pwr->tx_shap_idx[PW_LMT_BAND_2_4G][TX_SHAPE_CCK][reg], phy); /*cck*/ in _halrf_set_tx_shape_8852b()
921 tpu->tx_ptrn_shap_idx = pwr->tx_shap_idx[PW_LMT_BAND_2_4G][TX_SHAPE_OFDM][reg]; in _halrf_set_tx_shape_8852b()
923 pwr->set_tx_ptrn_shap_idx[PW_LMT_BAND_2_4G][TX_SHAPE_OFDM] = in _halrf_set_tx_shape_8852b()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/ti/wl12xx/
H A Ddebugfs.c62 WL12XX_DEBUGFS_FWSTATS_FILE(pwr, ps_enter, "%u");
63 WL12XX_DEBUGFS_FWSTATS_FILE(pwr, elp_enter, "%u");
64 WL12XX_DEBUGFS_FWSTATS_FILE(pwr, missing_bcns, "%u");
65 WL12XX_DEBUGFS_FWSTATS_FILE(pwr, wake_on_host, "%u");
66 WL12XX_DEBUGFS_FWSTATS_FILE(pwr, wake_on_timer_exp, "%u");
67 WL12XX_DEBUGFS_FWSTATS_FILE(pwr, tx_with_ps, "%u");
68 WL12XX_DEBUGFS_FWSTATS_FILE(pwr, tx_without_ps, "%u");
69 WL12XX_DEBUGFS_FWSTATS_FILE(pwr, rcvd_beacons, "%u");
70 WL12XX_DEBUGFS_FWSTATS_FILE(pwr, power_save_off, "%u");
71 WL12XX_DEBUGFS_FWSTATS_FILE(pwr, enable_ps, "%u");
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/ti/wl1251/
H A Ddebugfs.c144 DEBUGFS_FWSTATS_FILE(pwr, ps_enter, 20, "%u");
145 DEBUGFS_FWSTATS_FILE(pwr, elp_enter, 20, "%u");
146 DEBUGFS_FWSTATS_FILE(pwr, missing_bcns, 20, "%u");
147 DEBUGFS_FWSTATS_FILE(pwr, wake_on_host, 20, "%u");
148 DEBUGFS_FWSTATS_FILE(pwr, wake_on_timer_exp, 20, "%u");
149 DEBUGFS_FWSTATS_FILE(pwr, tx_with_ps, 20, "%u");
150 DEBUGFS_FWSTATS_FILE(pwr, tx_without_ps, 20, "%u");
151 DEBUGFS_FWSTATS_FILE(pwr, rcvd_beacons, 20, "%u");
152 DEBUGFS_FWSTATS_FILE(pwr, power_save_off, 20, "%u");
153 DEBUGFS_FWSTATS_FILE(pwr, enable_ps, 20, "%u");
[all …]
/OK3568_Linux_fs/u-boot/board/samsung/trats/
H A Dtrats.c60 struct exynos4_power *pwr = in trats_low_power_mode() local
65 writel(0x0, &pwr->arm_core1_configuration); in trats_low_power_mode()
97 writel(0x0, &pwr->xxti_configuration); /* XXTI */ in trats_low_power_mode()
98 writel(0x0, &pwr->cam_configuration); /* CAM */ in trats_low_power_mode()
99 writel(0x0, &pwr->tv_configuration); /* TV */ in trats_low_power_mode()
100 writel(0x0, &pwr->mfc_configuration); /* MFC */ in trats_low_power_mode()
101 writel(0x0, &pwr->g3d_configuration); /* G3D */ in trats_low_power_mode()
102 writel(0x0, &pwr->gps_configuration); /* GPS */ in trats_low_power_mode()
103 writel(0x0, &pwr->gps_alive_configuration); /* GPS_ALIVE */ in trats_low_power_mode()
367 struct exynos4_power *pwr = in board_power_init() local
[all …]
/OK3568_Linux_fs/kernel/tools/perf/
H A Dbuiltin-timechart.c355 struct power_event *pwr = zalloc(sizeof(*pwr)); in c_state_end() local
357 if (!pwr) in c_state_end()
360 pwr->state = cpus_cstate_state[cpu]; in c_state_end()
361 pwr->start_time = cpus_cstate_start_times[cpu]; in c_state_end()
362 pwr->end_time = timestamp; in c_state_end()
363 pwr->cpu = cpu; in c_state_end()
364 pwr->type = CSTATE; in c_state_end()
365 pwr->next = tchart->power_events; in c_state_end()
367 tchart->power_events = pwr; in c_state_end()
372 struct power_event *pwr; in p_state_change() local
[all …]
/OK3568_Linux_fs/u-boot/drivers/usb/phy/
H A Dtwl4030.c106 u8 pwr, clk; in twl4030_phy_power() local
109 pwr = twl4030_usb_read(TWL4030_USB_PHY_PWR_CTRL); in twl4030_phy_power()
110 pwr &= ~PHYPWD; in twl4030_phy_power()
111 twl4030_usb_write(TWL4030_USB_PHY_PWR_CTRL, pwr); in twl4030_phy_power()
127 u8 clk, sts, pwr; in twl4030_usb_ulpi_init() local
160 pwr = twl4030_usb_read(TWL4030_USB_POWER_CTRL); in twl4030_usb_ulpi_init()
161 pwr |= OTG_ENAB; in twl4030_usb_ulpi_init()
162 twl4030_usb_write(TWL4030_USB_POWER_CTRL_SET, pwr); in twl4030_usb_ulpi_init()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/core/
H A Drtw_rm_util.c149 s8 pwr; in rm_get_frame_rsni() local
152 pwr = pframe->u.hdr.attrib.phy_info.recv_signal_power; in rm_get_frame_rsni()
155 return rtw_acs_get_rsni(prm->psta->padapter, pwr, ch); in rm_get_frame_rsni()
160 s8 pwr; in rm_get_bcn_rsni() local
163 pwr = (u8)pnetwork->network.Rssi; in rm_get_bcn_rsni()
166 return rtw_acs_get_rsni(prm->psta->padapter, pwr, ch); in rm_get_bcn_rsni()
170 int rm_get_tx_power(PADAPTER adapter, enum rf_path path, enum MGN_RATE rate, s8 *pwr) in rm_get_tx_power() argument
194 *pwr = phy_get_tx_power_final_absolute_value(adapter, path, rate, bw, ch); in rm_get_tx_power()
199 int rm_get_rx_sensitivity(PADAPTER adapter, enum channel_width bw, enum MGN_RATE rate, s8 *pwr) in rm_get_rx_sensitivity() argument
374 *pwr = rx_sensitivity; in rm_get_rx_sensitivity()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/core/
H A Drtw_rm_util.c149 s8 pwr; in rm_get_frame_rsni() local
152 pwr = pframe->u.hdr.attrib.phy_info.recv_signal_power; in rm_get_frame_rsni()
155 return rtw_acs_get_rsni(prm->psta->padapter, pwr, ch); in rm_get_frame_rsni()
160 s8 pwr; in rm_get_bcn_rsni() local
163 pwr = (u8)pnetwork->network.Rssi; in rm_get_bcn_rsni()
166 return rtw_acs_get_rsni(prm->psta->padapter, pwr, ch); in rm_get_bcn_rsni()
170 int rm_get_tx_power(PADAPTER adapter, enum rf_path path, enum MGN_RATE rate, s8 *pwr) in rm_get_tx_power() argument
194 *pwr = phy_get_tx_power_final_absolute_value(adapter, path, rate, bw, ch); in rm_get_tx_power()
199 int rm_get_rx_sensitivity(PADAPTER adapter, enum channel_width bw, enum MGN_RATE rate, s8 *pwr) in rm_get_rx_sensitivity() argument
374 *pwr = rx_sensitivity; in rm_get_rx_sensitivity()
[all …]
/OK3568_Linux_fs/kernel/drivers/soc/rockchip/
H A Dpm_domains.c171 #define DOMAIN(_name, pwr, status, req, idle, ack, wakeup, keepon) \ argument
174 .pwr_mask = (pwr), \
183 #define DOMAIN_M(_name, pwr, status, req, idle, ack, wakeup, keepon) \ argument
186 .pwr_w_mask = (pwr) << 16, \
187 .pwr_mask = (pwr), \
197 #define DOMAIN_M_A(pwr, status, req, idle, ack, always, wakeup, keepon) \ argument
199 .pwr_w_mask = (pwr) << 16, \
200 .pwr_mask = (pwr), \
211 #define DOMAIN_M_C_SD(_name, pwr, status, req, idle, ack, clk, mem, wakeup, keepon) \ argument
214 .pwr_w_mask = (pwr) << 16, \
[all …]
/OK3568_Linux_fs/kernel/drivers/ata/
H 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()
/OK3568_Linux_fs/kernel/drivers/net/wireless/ti/wl18xx/
H A Ddebugfs.c110 WL18XX_DEBUGFS_FWSTATS_FILE(pwr, missing_bcns_cnt, "%u");
111 WL18XX_DEBUGFS_FWSTATS_FILE(pwr, rcvd_bcns_cnt, "%u");
112 WL18XX_DEBUGFS_FWSTATS_FILE(pwr, connection_out_of_sync, "%u");
113 WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY(pwr, cont_miss_bcns_spread,
115 WL18XX_DEBUGFS_FWSTATS_FILE(pwr, rcvd_awake_bcns_cnt, "%u");
116 WL18XX_DEBUGFS_FWSTATS_FILE(pwr, sleep_time_count, "%u");
117 WL18XX_DEBUGFS_FWSTATS_FILE(pwr, sleep_time_avg, "%u");
118 WL18XX_DEBUGFS_FWSTATS_FILE(pwr, sleep_cycle_avg, "%u");
119 WL18XX_DEBUGFS_FWSTATS_FILE(pwr, sleep_percent, "%u");
120 WL18XX_DEBUGFS_FWSTATS_FILE(pwr, ap_sleep_active_conf, "%u");
[all …]
/OK3568_Linux_fs/kernel/drivers/phy/samsung/
H 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()
H 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()
/OK3568_Linux_fs/u-boot/drivers/usb/host/
H A Dohci-ep93xx.c18 unsigned long pwr = readl(&syscon->pwrcnt); in usb_cpu_init() local
19 writel(pwr | SYSCON_PWRCNT_USH_EN, &syscon->pwrcnt); in usb_cpu_init()
27 unsigned long pwr = readl(&syscon->pwrcnt); in usb_cpu_stop() local
28 writel(pwr & ~SYSCON_PWRCNT_USH_EN, &syscon->pwrcnt); in usb_cpu_stop()

12345678910>>...28