Lines Matching refs:mask
182 uint8_t mask; in buck_set_voltage() local
208 mask = BIT(chan); in buck_set_voltage()
209 return mfd_npm1300_reg_update(config->mfd, BUCK_BASE, BUCK_OFFSET_SW_CTRL, mask, mask); in buck_set_voltage()
398 uint8_t mask; in regulator_npm1300_set_buck_pin_ctrl() local
404 mask = BIT(6U) | BIT_MASK(3U); in regulator_npm1300_set_buck_pin_ctrl()
409 mask = BIT(7U) | (BIT_MASK(3U) << 3U); in regulator_npm1300_set_buck_pin_ctrl()
418 mask); in regulator_npm1300_set_buck_pin_ctrl()
421 mask); in regulator_npm1300_set_buck_pin_ctrl()
424 mask); in regulator_npm1300_set_buck_pin_ctrl()
528 static int get_enabled_reg(const struct device *dev, uint8_t base, uint8_t offset, uint8_t mask, in get_enabled_reg() argument
540 *enabled = (data & mask) != 0U; in get_enabled_reg()