Home
last modified time | relevance | path

Searched refs:sleep (Results 1 – 25 of 239) sorted by relevance

12345678910

/drivers/regulator/
Dda9062-regulator.c51 struct reg_field sleep; member
67 struct regmap_field *sleep; member
165 ret = regmap_field_read(regl->sleep, &val); in da9062_buck_get_mode()
196 return regmap_field_write(regl->sleep, val); in da9062_ldo_set_mode()
204 ret = regmap_field_read(regl->sleep, &val); in da9062_ldo_get_mode()
378 .sleep = REG_FIELD(DA9062AA_VBUCK1_A,
415 .sleep = REG_FIELD(DA9062AA_VBUCK3_A,
452 .sleep = REG_FIELD(DA9062AA_VBUCK4_A,
485 .sleep = REG_FIELD(DA9062AA_VLDO1_A,
518 .sleep = REG_FIELD(DA9062AA_VLDO2_A,
[all …]
Dda9063-regulator.c80 struct reg_field sleep; member
102 .sleep = BFIELD(DA9063_REG_V##regl_name##_A, DA9063_LDO_SL), \
127 .sleep = BFIELD(DA9063_REG_V##regl_name##_A, DA9063_BUCK_SL), \
149 struct regmap_field *sleep; member
257 ret = regmap_field_read(regl->sleep, &val); in da9063_buck_get_mode()
288 return regmap_field_write(regl->sleep, val); in da9063_ldo_set_mode()
296 ret = regmap_field_read(regl->sleep, &val); in da9063_ldo_get_mode()
794 if (regl->info->sleep.reg) { in da9063_regulator_probe()
795 regl->sleep = devm_regmap_field_alloc(&pdev->dev, in da9063_regulator_probe()
796 da9063->regmap, regl->info->sleep); in da9063_regulator_probe()
[all …]
/drivers/net/netdevsim/
Dudp_tunnels.c21 if (ns->udp_ports.sleep) in nsim_udp_tunnel_set_port()
22 msleep(ns->udp_ports.sleep); in nsim_udp_tunnel_set_port()
50 if (ns->udp_ports.sleep) in nsim_udp_tunnel_unset_port()
51 msleep(ns->udp_ports.sleep); in nsim_udp_tunnel_unset_port()
173 ns->udp_ports.sleep = nsim_dev->udp_ports.sleep; in nsim_udp_tunnels_info_create()
182 if (ns->udp_ports.sleep) in nsim_udp_tunnels_info_create()
216 &nsim_dev->udp_ports.sleep); in nsim_udp_tunnels_debugfs_create()
/drivers/ide/
Dide-park.c20 int reset_timer = time_before(timeout, drive->sleep); in issue_park_cmd()
23 drive->sleep = timeout; in issue_park_cmd()
72 drive->sleep = *(unsigned long *)ide_req(rq)->special; in ide_do_park_unpark()
106 time_after(drive->sleep, now)) in ide_park_show()
107 msecs = jiffies_to_msecs(drive->sleep - now); in ide_park_show()
/drivers/infiniband/hw/hfi1/
Diowait.c44 int (*sleep)(struct sdma_engine *sde, in iowait_init()
62 wait->sleep = sleep; in iowait_init()
/drivers/net/wireless/marvell/mwifiex/
DREADME127 ps_state = <0/1/2/3, full power state/awake state/pre-sleep state/sleep state>
128 is_deep_sleep = <0/1, not deep sleep state/deep sleep state>
131 hs_configured = <0/1, host sleep not configured/configured>
132 hs_activated = <0/1, extended host sleep not activated/activated>
145 num_cmd_sleep_cfm_fail = <number of sleep confirm failed to send to device>
221 This command is used to debug/simulate host sleep feature using
241 echo "-1" > hscfg : Cancel host sleep mode
/drivers/crypto/cavium/cpt/
Dcptvf_mbox.c62 int sleep = 10; in cptvf_send_msg_to_pf_timeout() local
71 msleep(sleep); in cptvf_send_msg_to_pf_timeout()
74 timeout -= sleep; in cptvf_send_msg_to_pf_timeout()
/drivers/macintosh/
Dvia-pmu-backlight.c120 void pmu_backlight_set_sleep(int sleep) in pmu_backlight_set_sleep() argument
125 sleeping = sleep; in pmu_backlight_set_sleep()
127 if (sleep) { in pmu_backlight_set_sleep()
/drivers/crypto/marvell/octeontx/
Dotx_cptvf_mbox.c132 int sleep = 10; in cptvf_send_msg_to_pf_timeout() local
141 msleep(sleep); in cptvf_send_msg_to_pf_timeout()
144 timeout -= sleep; in cptvf_send_msg_to_pf_timeout()
/drivers/media/dvb-frontends/
Ddvb_dummy_fe.c200 .sleep = dvb_dummy_fe_sleep,
234 .sleep = dvb_dummy_fe_sleep,
269 .sleep = dvb_dummy_fe_sleep,
Ddib0070.c130 state->cfg->sleep(state->fe, 0); \
529 if (state->cfg->sleep) in dib0070_wakeup()
530 state->cfg->sleep(fe, 0); in dib0070_wakeup()
537 if (state->cfg->sleep) in dib0070_sleep()
538 state->cfg->sleep(fe, 1); in dib0070_sleep()
732 .sleep = dib0070_sleep,
/drivers/media/common/b2c2/
Dflexcop-fe-tuner.c188 fc->fe_sleep = ops->sleep; in skystar2_rev23_attach()
189 ops->sleep = flexcop_sleep; in skystar2_rev23_attach()
295 fc->fe_sleep = fc->fe->ops.sleep; in skystar2_rev26_attach()
296 fc->fe->ops.sleep = flexcop_sleep; in skystar2_rev26_attach()
334 fc->fe_sleep = fc->fe->ops.sleep; in skystar2_rev27_attach()
335 fc->fe->ops.sleep = flexcop_sleep; in skystar2_rev27_attach()
/drivers/net/ieee802154/
Dat86rf230.c95 bool sleep; member
125 lp->sleep = true; in at86rf230_sleep()
136 lp->sleep = false; in at86rf230_awake()
144 bool sleep = lp->sleep; in __at86rf230_write() local
148 if (sleep) in __at86rf230_write()
154 if (sleep) in __at86rf230_write()
164 bool sleep = lp->sleep; in __at86rf230_read() local
168 if (sleep) in __at86rf230_read()
174 if (sleep) in __at86rf230_read()
199 bool sleep = lp->sleep; in at86rf230_write_subreg() local
[all …]
/drivers/media/pci/saa7134/
Dsaa7134-dvb.c613 .sleep = philips_tda827x_tuner_sleep,
620 .sleep = philips_tda827x_tuner_sleep,
627 .sleep = philips_tda827x_tuner_sleep,
634 .sleep = philips_tda827x_tuner_sleep,
906 .sleep = ads_duo_tuner_sleep,
1308 dev->original_demod_sleep = fe0->dvb.frontend->ops.sleep; in dvb_init()
1309 fe0->dvb.frontend->ops.sleep = philips_europa_demod_sleep; in dvb_init()
1311 fe0->dvb.frontend->ops.tuner_ops.sleep = philips_europa_tuner_sleep; in dvb_init()
1320 dev->original_demod_sleep = fe0->dvb.frontend->ops.sleep; in dvb_init()
1321 fe0->dvb.frontend->ops.sleep = philips_europa_demod_sleep; in dvb_init()
[all …]
/drivers/bluetooth/
Dhci_h5.c91 } sleep; member
157 if (h5->sleep != H5_AWAKE) { in h5_timed_event()
158 h5->sleep = H5_SLEEPING; in h5_timed_event()
356 h5->sleep = H5_SLEEPING; in h5_handle_internal_rx()
360 h5->sleep = H5_AWAKE; in h5_handle_internal_rx()
364 h5->sleep = H5_AWAKE; in h5_handle_internal_rx()
717 if (h5->sleep != H5_AWAKE) { in h5_dequeue()
720 if (h5->sleep == H5_WAKING_UP) in h5_dequeue()
723 h5->sleep = H5_WAKING_UP; in h5_dequeue()
/drivers/staging/olpc_dcon/
Dolpc_dcon.c193 static void dcon_sleep(struct dcon_priv *dcon, bool sleep) in dcon_sleep() argument
199 if (dcon->asleep == sleep) in dcon_sleep()
205 if (sleep) { in dcon_sleep()
212 dcon->asleep = sleep; in dcon_sleep()
221 dcon->asleep = sleep; in dcon_sleep()
510 __ATTR(sleep, 0644, dcon_sleep_show, dcon_sleep_store),
/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_core.c245 static int inv_mpu6050_pwr_mgmt_1_write(struct inv_mpu6050_state *st, bool sleep, in inv_mpu6050_pwr_mgmt_1_write() argument
258 if (sleep) in inv_mpu6050_pwr_mgmt_1_write()
291 unsigned int sleep; in inv_mpu6050_switch_engine() local
371 sleep = 0; in inv_mpu6050_switch_engine()
374 if (sleep < INV_MPU6050_ACCEL_UP_TIME) in inv_mpu6050_switch_engine()
375 sleep = INV_MPU6050_ACCEL_UP_TIME; in inv_mpu6050_switch_engine()
378 if (sleep < INV_MPU6050_GYRO_UP_TIME) in inv_mpu6050_switch_engine()
379 sleep = INV_MPU6050_GYRO_UP_TIME; in inv_mpu6050_switch_engine()
383 if (sleep < INV_MPU6050_GYRO_DOWN_TIME) in inv_mpu6050_switch_engine()
384 sleep = INV_MPU6050_GYRO_DOWN_TIME; in inv_mpu6050_switch_engine()
[all …]
/drivers/net/wireless/marvell/libertas/
DREADME109 p5 is Control the use of external sleep clock (0-2)
229 This command is used to enable/disable host sleep.
230 Note: Host sleep parameters should be configured using
231 "ethtool -s ethX wol X" command before enabling host sleep.
237 echo "1" > hostsleep : enable host sleep.
238 echo "0" > hostsleep : disable host sleep
/drivers/iio/imu/inv_icm42600/
Dinv_icm42600_buffer.c386 unsigned int sleep; in inv_icm42600_buffer_postdisable() local
427 sleep = sleep_sensor; in inv_icm42600_buffer_postdisable()
429 sleep = sleep_temp; in inv_icm42600_buffer_postdisable()
430 if (sleep) in inv_icm42600_buffer_postdisable()
431 msleep(sleep); in inv_icm42600_buffer_postdisable()
/drivers/video/fbdev/omap2/omapfb/dss/
DKconfig106 There is a 20ms sleep after VENC reset which seemed to fix the
110 This option enables the sleep, and is enabled by default. You can
111 disable the sleep if it doesn't cause problems on your platform.
/drivers/gpu/drm/omapdrm/dss/
DKconfig128 There is a 20ms sleep after VENC reset which seemed to fix the
132 This option enables the sleep, and is enabled by default. You can
133 disable the sleep if it doesn't cause problems on your platform.
/drivers/staging/greybus/tools/
Dlbtest130 time.sleep(1)
151 time.sleep(1)
/drivers/media/usb/dvb-usb-v2/
Dmxl111sf.c479 adap_state->fe_sleep = adap->fe[fe_id]->ops.sleep; in mxl111sf_lgdt3305_frontend_attach()
480 adap->fe[fe_id]->ops.sleep = mxl111sf_adap_fe_sleep; in mxl111sf_lgdt3305_frontend_attach()
554 adap_state->fe_sleep = adap->fe[fe_id]->ops.sleep; in mxl111sf_lg2160_frontend_attach()
555 adap->fe[fe_id]->ops.sleep = mxl111sf_adap_fe_sleep; in mxl111sf_lg2160_frontend_attach()
641 adap_state->fe_sleep = adap->fe[fe_id]->ops.sleep; in mxl111sf_lg2161_frontend_attach()
642 adap->fe[fe_id]->ops.sleep = mxl111sf_adap_fe_sleep; in mxl111sf_lg2161_frontend_attach()
728 adap_state->fe_sleep = adap->fe[fe_id]->ops.sleep; in mxl111sf_lg2161_ep6_frontend_attach()
729 adap->fe[fe_id]->ops.sleep = mxl111sf_adap_fe_sleep; in mxl111sf_lg2161_ep6_frontend_attach()
792 adap_state->fe_sleep = adap->fe[fe_id]->ops.sleep; in mxl111sf_attach_demod()
793 adap->fe[fe_id]->ops.sleep = mxl111sf_adap_fe_sleep; in mxl111sf_attach_demod()
/drivers/media/tuners/
Dtda827x.c229 if (priv->cfg && priv->cfg->sleep) in tda827xo_sleep()
230 priv->cfg->sleep(fe); in tda827xo_sleep()
442 if (priv->cfg && priv->cfg->sleep) in tda827xa_sleep()
443 priv->cfg->sleep(fe); in tda827xa_sleep()
804 return fe->ops.tuner_ops.sleep(fe); in tda827x_initial_sleep()
816 .sleep = tda827x_initial_sleep,
832 .sleep = tda827xa_sleep,
857 fe->ops.tuner_ops.sleep = tda827xo_sleep; in tda827x_probe_version()
/drivers/iio/pressure/
Dzpa2326.c352 goto sleep; in zpa2326_power_on()
356 sleep: in zpa2326_power_on()
1664 goto sleep; in zpa2326_probe()
1669 goto sleep; in zpa2326_probe()
1674 goto sleep; in zpa2326_probe()
1693 sleep: in zpa2326_probe()

12345678910