Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/phy/samsung/
Dphy-exynos-mipi-video.c46 u32 enable_val; member
63 .enable_val = EXYNOS4_PHY_ENABLE,
72 .enable_val = EXYNOS4_PHY_ENABLE,
81 .enable_val = EXYNOS4_PHY_ENABLE,
90 .enable_val = EXYNOS4_PHY_ENABLE,
108 .enable_val = EXYNOS4_PHY_ENABLE,
117 .enable_val = EXYNOS4_PHY_ENABLE,
126 .enable_val = EXYNOS4_PHY_ENABLE,
135 .enable_val = EXYNOS4_PHY_ENABLE,
144 .enable_val = EXYNOS4_PHY_ENABLE,
[all …]
/Linux-v5.4/drivers/leds/
Dleds-lm36274.c53 int enable_val = 0; in lm36274_init() local
57 enable_val |= (1 << lm36274_data->led_sources[i]); in lm36274_init()
59 if (!enable_val) { in lm36274_init()
64 enable_val |= LM36274_BL_EN; in lm36274_init()
67 enable_val); in lm36274_init()
/Linux-v5.4/drivers/clocksource/
Djcore-pit.c39 u32 enable_val; member
75 writel(pit->enable_val, pit->base + REG_PITEN); in jcore_pit_set()
141 u32 irqprio, enable_val; in jcore_pit_init() local
214 enable_val = (1U << PIT_ENABLE_SHIFT) in jcore_pit_init()
239 pit->enable_val = enable_val; in jcore_pit_init()
/Linux-v5.4/arch/arm/mach-mmp/
Dclock.h17 uint32_t enable_val; /* value for clock enable (APMU) */ member
44 .enable_val = _eval, \
52 .enable_val = _eval, \
Dclock-mmp2.c54 clk_rst |= clk->enable_val; in sdhc_clk_enable()
63 clk_rst &= ~clk->enable_val; in sdhc_clk_disable()
Dclock.c36 __raw_writel(clk->enable_val, clk->clk_rst); in apmu_clk_enable()
/Linux-v5.4/drivers/regulator/
Dstpmic1_regulator.c208 .enable_val = 1, \
227 .enable_val = 1, \
248 .enable_val = 1, \
267 .enable_val = 1, \
287 .enable_val = 1, \
304 .enable_val = BOOST_ENABLED, \
321 .enable_val = USBSW_OTG_SWITCH_ENABLED, \
341 .enable_val = SWIN_SWOUT_ENABLED, \
Drk808-regulator.c86 .enable_val = (_enval), \
110 .enable_val = (_enval), \
142 .enable_val = (_enval), \
592 if (rdev->desc->enable_val) in rk8xx_is_enabled_wmsk_regmap()
593 return val != rdev->desc->enable_val; in rk8xx_is_enabled_wmsk_regmap()
596 if (rdev->desc->enable_val) in rk8xx_is_enabled_wmsk_regmap()
597 return val == rdev->desc->enable_val; in rk8xx_is_enabled_wmsk_regmap()
926 .enable_val = ENABLE_MASK(RK817_ID_DCDC1),
945 .enable_val = ENABLE_MASK(RK817_ID_DCDC2),
964 .enable_val = ENABLE_MASK(RK817_ID_DCDC3),
[all …]
Dhelpers.c37 if (rdev->desc->enable_val) in regulator_is_enabled_regmap()
38 return val != rdev->desc->enable_val; in regulator_is_enabled_regmap()
41 if (rdev->desc->enable_val) in regulator_is_enabled_regmap()
42 return val == rdev->desc->enable_val; in regulator_is_enabled_regmap()
64 val = rdev->desc->enable_val; in regulator_enable_regmap()
88 val = rdev->desc->enable_val; in regulator_disable_regmap()
Dcpcap-regulator.c122 .enable_val = (mode_val), \
178 if (rdev->desc->enable_val & CPCAP_REG_OFF_MODE_SEC) { in cpcap_regulator_enable()
198 if (rdev->desc->enable_val & CPCAP_REG_OFF_MODE_SEC) { in cpcap_regulator_disable()
206 if (error && (rdev->desc->enable_val & CPCAP_REG_OFF_MODE_SEC)) { in cpcap_regulator_disable()
Dmax77693-regulator.c177 .enable_val = CHG_CNFG_00_CHG_MASK | CHG_CNFG_00_BUCK_MASK,
217 .enable_val = MAX77843_CHG_MASK,
Dstw481x-vmmc.c50 .enable_val = STW_CONF1_PDN_VMMC,
Dtps6105x-regulator.c50 .enable_val = TPS6105X_REG0_MODE_VOLTAGE <<
Ds5m8767.c924 int enable_reg, enable_val; in s5m8767_pmic_probe() local
941 &enable_val); in s5m8767_pmic_probe()
948 regulators[id].enable_val = enable_val; in s5m8767_pmic_probe()
Duniphier-regulator.c145 .enable_val = USB3VBUS_REG_EN | USB3VBUS_REG,
Dsc2731-regulator.c142 .enable_val = 0, \
Dpbias-regulator.c225 drvdata[data_idx].desc.enable_val = info->enable; in pbias_regulator_probe()
Dpalmas-regulator.c476 pmic->desc[id].enable_val = pmic->current_reg_mode[id]; in palmas_set_mode_smps()
1259 desc->enable_val = SMPS_CTRL_MODE_ON; in palmas_smps_registration()
1364 desc->enable_val = SMPS_CTRL_MODE_ON; in tps65917_smps_registration()
Dtps65090-regulator.c194 .enable_val = _en_bits, \
Dpfuze100-regulator.c820 desc->enable_val = 0x8; in pfuze100_regulator_probe()
Daxp20x-regulator.c289 .enable_val = (_enable_val), \
Dqcom_spmi-regulator.c2024 vreg->desc.enable_val = SPMI_COMMON_ENABLE; in qcom_spmi_regulator_probe()
/Linux-v5.4/drivers/media/platform/seco-cec/
Dseco-cec.c154 u16 enable_val = 0; in secocec_adap_log_addr() local
158 status = smb_rd16(SECOCEC_ENABLE_REG_1, &enable_val); in secocec_adap_log_addr()
163 enable_val & ~SECOCEC_ENABLE_REG_1_CEC); in secocec_adap_log_addr()
176 enable_val | SECOCEC_ENABLE_REG_1_CEC); in secocec_adap_log_addr()
/Linux-v5.4/include/linux/regulator/
Ddriver.h370 unsigned int enable_val; member
/Linux-v5.4/drivers/power/supply/
Ducs1002_power.c486 .enable_val = F_PWR_EN_SET,