Searched refs:REG_FIELD (Results 1 – 11 of 11) sorted by relevance
/linux-4.19.296/drivers/regulator/ |
D | da9062-regulator.c | 443 .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 …]
|
D | da9063-regulator.c | 34 REG_FIELD(_reg, __builtin_ffs((int)_mask) - 1, \
|
/linux-4.19.296/drivers/reset/sti/ |
D | reset-syscfg.h | 34 .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/ |
D | afe4404.c | 71 [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 …]
|
D | afe4403.c | 56 [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/ |
D | stk3310.c | 69 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);
|
D | apds9960.c | 343 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);
|
D | ltr501.c | 78 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/ |
D | pwm-sti.c | 109 [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/ |
D | sti-cpufreq.c | 140 [PCODE] = REG_FIELD(0, 16, 19), 141 [SUBSTRATE] = REG_FIELD(0, 0, 2),
|
/linux-4.19.296/include/linux/ |
D | regmap.h | 1053 #define REG_FIELD(_reg, _lsb, _msb) { \ macro
|