Lines Matching refs:pos
32 uint8_t pos = MAX37190_FANXDYNAMICS_SPEEDRANGE_POS; in max31790_set_fandynamics_speedrange() local
34 *destination &= ~GENMASK(pos + length - 1, pos); in max31790_set_fandynamics_speedrange()
35 *destination |= FIELD_PREP(GENMASK(pos + length - 1, pos), value); in max31790_set_fandynamics_speedrange()
41 uint8_t pos = MAX37190_FANXDYNAMICS_PWMRATEOFCHANGE_POS; in max31790_set_fandynamics_pwmrateofchange() local
43 *destination &= ~GENMASK(pos + length - 1, pos); in max31790_set_fandynamics_pwmrateofchange()
44 *destination |= FIELD_PREP(GENMASK(pos + length - 1, pos), value); in max31790_set_fandynamics_pwmrateofchange()
50 uint8_t pos = (channel / 3) * 4; in max31790_set_pwmfrequency() local
52 *destination &= ~GENMASK(pos + length - 1, pos); in max31790_set_pwmfrequency()
53 *destination |= FIELD_PREP(GENMASK(pos + length - 1, pos), value); in max31790_set_pwmfrequency()
59 uint8_t pos = (channel / 3) * 4; in max31790_get_pwmfrequency() local
61 return FIELD_GET(GENMASK(pos + length - 1, pos), value); in max31790_get_pwmfrequency()
67 uint8_t pos = MAX37190_FANXCONFIGURATION_SPINUP_POS; in max31790_set_fanconfiguration_spinup() local
69 *destination &= ~GENMASK(pos + length - 1, pos); in max31790_set_fanconfiguration_spinup()
70 *destination |= FIELD_PREP(GENMASK(pos + length - 1, pos), value); in max31790_set_fanconfiguration_spinup()