Home
last modified time | relevance | path

Searched refs:REG_FIELD (Results 1 – 11 of 11) sorted by relevance

/linux-4.19.296/drivers/regulator/
Dda9062-regulator.c443 .sleep = REG_FIELD(DA9062AA_VBUCK1_A,
447 .suspend_sleep = REG_FIELD(DA9062AA_VBUCK1_B,
452 .mode = REG_FIELD(DA9062AA_BUCK1_CFG,
456 .suspend = REG_FIELD(DA9062AA_DVC_1,
460 .ilimit = REG_FIELD(DA9062AA_BUCK_ILIM_C,
481 .sleep = REG_FIELD(DA9062AA_VBUCK3_A,
485 .suspend_sleep = REG_FIELD(DA9062AA_VBUCK3_B,
490 .mode = REG_FIELD(DA9062AA_BUCK3_CFG,
494 .suspend = REG_FIELD(DA9062AA_DVC_1,
498 .ilimit = REG_FIELD(DA9062AA_BUCK_ILIM_A,
[all …]
Dda9063-regulator.c34 REG_FIELD(_reg, __builtin_ffs((int)_mask) - 1, \
/linux-4.19.296/drivers/reset/sti/
Dreset-syscfg.h34 .reset = REG_FIELD(_rr, _rb, _rb), \
35 .ack = REG_FIELD(_ar, _ab, _ab), }
39 .reset = REG_FIELD(_rr, _rb, _rb), }
/linux-4.19.296/drivers/iio/health/
Dafe4404.c71 [F_TIA_GAIN_SEP] = REG_FIELD(AFE4404_TIA_GAIN_SEP, 0, 2),
72 [F_TIA_CF_SEP] = REG_FIELD(AFE4404_TIA_GAIN_SEP, 3, 5),
73 [F_TIA_GAIN] = REG_FIELD(AFE4404_TIA_GAIN, 0, 2),
74 [TIA_CF] = REG_FIELD(AFE4404_TIA_GAIN, 3, 5),
76 [F_ILED1] = REG_FIELD(AFE440X_LEDCNTRL, 0, 5),
77 [F_ILED2] = REG_FIELD(AFE440X_LEDCNTRL, 6, 11),
78 [F_ILED3] = REG_FIELD(AFE440X_LEDCNTRL, 12, 17),
80 [F_OFFDAC_AMB2] = REG_FIELD(AFE4404_OFFDAC, 0, 4),
81 [F_OFFDAC_LED1] = REG_FIELD(AFE4404_OFFDAC, 5, 9),
82 [F_OFFDAC_AMB1] = REG_FIELD(AFE4404_OFFDAC, 10, 14),
[all …]
Dafe4403.c56 [F_RF_LED1] = REG_FIELD(AFE4403_TIAGAIN, 0, 2),
57 [F_CF_LED1] = REG_FIELD(AFE4403_TIAGAIN, 3, 7),
58 [F_RF_LED] = REG_FIELD(AFE4403_TIA_AMB_GAIN, 0, 2),
59 [F_CF_LED] = REG_FIELD(AFE4403_TIA_AMB_GAIN, 3, 7),
61 [F_ILED1] = REG_FIELD(AFE440X_LEDCNTRL, 0, 7),
62 [F_ILED2] = REG_FIELD(AFE440X_LEDCNTRL, 8, 15),
/linux-4.19.296/drivers/iio/light/
Dstk3310.c69 REG_FIELD(STK3310_REG_STATE, 0, 2);
71 REG_FIELD(STK3310_REG_ALSCTRL, 4, 5);
73 REG_FIELD(STK3310_REG_PSCTRL, 4, 5);
75 REG_FIELD(STK3310_REG_ALSCTRL, 0, 3);
77 REG_FIELD(STK3310_REG_PSCTRL, 0, 3);
79 REG_FIELD(STK3310_REG_INT, 0, 2);
81 REG_FIELD(STK3310_REG_FLAG, 4, 4);
83 REG_FIELD(STK3310_REG_FLAG, 0, 0);
Dapds9960.c343 REG_FIELD(APDS9960_REG_ENABLE, 4, 4);
346 REG_FIELD(APDS9960_REG_GCONF_4, 1, 1);
349 REG_FIELD(APDS9960_REG_ENABLE, 5, 5);
352 REG_FIELD(APDS9960_REG_ENABLE, 1, 1);
355 REG_FIELD(APDS9960_REG_ENABLE, 6, 6);
358 REG_FIELD(APDS9960_REG_ENABLE, 2, 2);
Dltr501.c78 REG_FIELD(LTR501_ALS_MEAS_RATE, 3, 4);
80 REG_FIELD(LTR501_INTR, 1, 1);
82 REG_FIELD(LTR501_INTR, 0, 0);
84 REG_FIELD(LTR501_ALS_MEAS_RATE, 0, 2);
86 REG_FIELD(LTR501_PS_MEAS_RATE, 0, 3);
88 REG_FIELD(LTR501_INTR_PRST, 0, 3);
90 REG_FIELD(LTR501_INTR_PRST, 4, 7);
/linux-4.19.296/drivers/pwm/
Dpwm-sti.c109 [PWMCLK_PRESCALE_LOW] = REG_FIELD(STI_PWM_CTRL, 0, 3),
110 [PWMCLK_PRESCALE_HIGH] = REG_FIELD(STI_PWM_CTRL, 11, 14),
111 [CPTCLK_PRESCALE] = REG_FIELD(STI_PWM_CTRL, 4, 8),
112 [PWM_OUT_EN] = REG_FIELD(STI_PWM_CTRL, 9, 9),
113 [PWM_CPT_EN] = REG_FIELD(STI_PWM_CTRL, 10, 10),
114 [PWM_CPT_INT_EN] = REG_FIELD(STI_INT_EN, 1, 4),
115 [PWM_CPT_INT_STAT] = REG_FIELD(STI_INT_STA, 1, 4),
/linux-4.19.296/drivers/cpufreq/
Dsti-cpufreq.c140 [PCODE] = REG_FIELD(0, 16, 19),
141 [SUBSTRATE] = REG_FIELD(0, 0, 2),
/linux-4.19.296/include/linux/
Dregmap.h1053 #define REG_FIELD(_reg, _lsb, _msb) { \ macro