Lines Matching full:destination
29 static void max31790_set_fandynamics_speedrange(uint8_t *destination, uint8_t value) in max31790_set_fandynamics_speedrange() argument
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()
38 static void max31790_set_fandynamics_pwmrateofchange(uint8_t *destination, uint8_t value) in max31790_set_fandynamics_pwmrateofchange() argument
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()
47 static void max31790_set_pwmfrequency(uint8_t *destination, uint8_t channel, uint8_t value) in max31790_set_pwmfrequency() argument
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()
64 static void max31790_set_fanconfiguration_spinup(uint8_t *destination, uint8_t value) in max31790_set_fanconfiguration_spinup() argument
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()