Home
last modified time | relevance | path

Searched refs:power_mode (Results 1 – 14 of 14) sorted by relevance

/linux-4.19.296/drivers/iio/light/
Dus5182d.c144 u8 power_mode; member
263 if (data->power_mode == US5182D_ONESHOT) { in us5182d_als_enable()
289 if (data->power_mode == US5182D_ONESHOT) { in us5182d_px_enable()
347 if (data->power_mode == US5182D_ONESHOT) in us5182d_shutdown_en()
374 if (data->power_mode == US5182D_ONESHOT) in us5182d_set_power_state()
396 if (data->power_mode == US5182D_ONESHOT) { in us5182d_read_value()
656 data->power_mode = US5182D_CONTINUOUS; in us5182d_write_event_config()
677 data->power_mode = US5182D_CONTINUOUS; in us5182d_write_event_config()
703 data->power_mode = US5182D_ONESHOT; in us5182d_write_event_config()
744 data->power_mode = US5182D_CONTINUOUS; in us5182d_init()
[all …]
/linux-4.19.296/drivers/regulator/
Dmax77620-regulator.c211 int power_mode, int id) in max77620_regulator_set_power_mode() argument
228 ret = regmap_update_bits(pmic->rmap, addr, mask, power_mode << shift); in max77620_regulator_set_power_mode()
234 pmic->current_power_mode[id] = power_mode; in max77620_regulator_set_power_mode()
496 int power_mode; in max77620_regulator_set_mode() local
503 power_mode = MAX77620_POWER_MODE_NORMAL; in max77620_regulator_set_mode()
507 power_mode = MAX77620_POWER_MODE_NORMAL; in max77620_regulator_set_mode()
511 power_mode = MAX77620_POWER_MODE_LPM; in max77620_regulator_set_mode()
534 ret = max77620_regulator_set_power_mode(pmic, power_mode, id); in max77620_regulator_set_mode()
538 pmic->enable_power_mode[id] = power_mode; in max77620_regulator_set_mode()
/linux-4.19.296/include/linux/platform_data/
Dmmc-s3cmci.h40 void (*set_power)(unsigned char power_mode,
/linux-4.19.296/include/linux/input/
Dadxl34x.h244 u8 power_mode; member
/linux-4.19.296/drivers/pci/hotplug/
Dcpqphp_core.c46 static bool power_mode; variable
58 module_param(power_mode, bool, 0644);
59 MODULE_PARM_DESC(power_mode, "Power mode enabled or not");
724 power_mode = 0; in one_time_init()
1236 if (!power_mode) in cpqhpc_probe()
1246 if (!power_mode) { in cpqhpc_probe()
/linux-4.19.296/drivers/memstick/host/
Drtsx_usb_ms.c49 int power_mode; member
584 if (value == host->power_mode) in rtsx_usb_ms_set_param()
599 host->power_mode = value; in rtsx_usb_ms_set_param()
744 host->power_mode = MEMSTICK_POWER_OFF; in rtsx_usb_ms_drv_probe()
/linux-4.19.296/drivers/iio/accel/
Dmma8452.c826 int ret, us, power_mode; in mma8452_read_event_value() local
848 power_mode = mma8452_get_power_mode(data); in mma8452_read_event_value()
849 if (power_mode < 0) in mma8452_read_event_value()
850 return power_mode; in mma8452_read_event_value()
852 us = ret * mma8452_time_step_us[power_mode][ in mma8452_read_event_value()
/linux-4.19.296/drivers/hid/
Dhid-cp2112.c95 u8 power_mode; /* 0x00 = bus powered member
936 CP2112_CONFIG_ATTR(power_mode, ({
937 if (sscanf(buf, "%hhi", &cfg.power_mode) != 1)
941 }), "%u\n", cfg.power_mode);
/linux-4.19.296/include/linux/mmc/
Dhost.h40 unsigned char power_mode; /* power supply mode */ member
/linux-4.19.296/drivers/media/dvb-frontends/
Dmxl5xx_defs.h672 u8 power_mode; /* enumeration values are defined in MXL_HYDRA_PWR_MODE_E (device API.h) */ member
Ddrxk_hard.c1690 enum drx_power_mode power_mode = DRXK_POWER_DOWN_OFDM; in power_down_dvbt() local
1735 status = ctrl_power_mode(state, &power_mode); in power_down_dvbt()
3340 enum drx_power_mode power_mode = DRX_POWER_UP; in power_up_dvbt() local
3344 status = ctrl_power_mode(state, &power_mode); in power_up_dvbt()
4133 enum drx_power_mode power_mode = DRXK_POWER_DOWN_OFDM; in power_up_qam() local
4137 status = ctrl_power_mode(state, &power_mode); in power_up_qam()
6055 enum drx_power_mode power_mode = DRXK_POWER_DOWN_OFDM; in init_drxk() local
6170 power_mode = DRXK_POWER_DOWN_OFDM; in init_drxk()
6171 status = ctrl_power_mode(state, &power_mode); in init_drxk()
/linux-4.19.296/drivers/gpio/
Dgpio-omap.c76 int power_mode; member
1414 if (bank->power_mode != OFF_MODE) { in omap_gpio_runtime_suspend()
1415 bank->power_mode = 0; in omap_gpio_runtime_suspend()
1570 bank->power_mode = pwr_mode; in omap2_gpio_prepare_for_idle()
/linux-4.19.296/drivers/media/dvb-frontends/drx39xyj/
Ddrxj.c11350 enum drx_power_mode power_mode = DRX_POWER_UP; in drxj_open() local
11368 rc = ctrl_power_mode(demod, &power_mode); in drxj_open()
11373 if (power_mode != DRX_POWER_UP) { in drxj_open()
11559 enum drx_power_mode power_mode = DRX_POWER_UP; in drxj_close() local
11569 rc = ctrl_power_mode(demod, &power_mode); in drxj_close()
11580 power_mode = DRX_POWER_DOWN; in drxj_close()
11581 rc = ctrl_power_mode(demod, &power_mode); in drxj_close()
11943 enum drx_power_mode power_mode; in drx39xxj_set_powerstate() local
11946 power_mode = DRX_POWER_UP; in drx39xxj_set_powerstate()
11948 power_mode = DRX_POWER_DOWN; in drx39xxj_set_powerstate()
[all …]
/linux-4.19.296/include/net/
Dcfg80211.h1572 enum nl80211_mesh_power_mode power_mode; member