Searched refs:msk (Results 1 – 6 of 6) sorted by relevance
192 uint8_t val, nval, msk; in regulator_adp5360_init() local201 msk = 0U; in regulator_adp5360_init()210 msk |= ADP5360_BUCK_OUTPUT_DLY_MSK; in regulator_adp5360_init()215 if (msk != 0U) { in regulator_adp5360_init()217 (val & ~msk) | nval); in regulator_adp5360_init()224 msk = 0U; in regulator_adp5360_init()233 msk |= ADP5360_BUCK_CFG_SS_MSK; in regulator_adp5360_init()240 msk |= ADP5360_BUCK_CFG_BUCK_ILIM_MSK; in regulator_adp5360_init()244 msk |= ADP5360_BUCK_CFG_BST_ILIM_MSK; in regulator_adp5360_init()251 msk |= ADP5360_BUCK_CFG_STP_MSK; in regulator_adp5360_init()[all …]
28 uint32_t msk = 0, val = 0; in config_drive_slew() local31 msk |= MCHP_GPIO_CTRL2_SLEW_MASK; in config_drive_slew()39 msk |= MCHP_GPIO_CTRL2_DRV_STR_MASK; in config_drive_slew()44 if (!msk) { in config_drive_slew()48 regs->CTRL2[idx] = (regs->CTRL2[idx] & ~msk) | (val & msk); in config_drive_slew()
129 uint32_t msk = (MCHP_GPIO_CTRL_PWRG_MASK in gpio_xec_configure() local170 msk |= BIT(MCHP_GPIO_CTRL_OUTVAL_POS); in gpio_xec_configure()194 msk |= MCHP_GPIO_CTRL_PUD_MASK; in gpio_xec_configure()208 pcr1 = (pcr1 & ~msk) | (pcr1_new & msk); in gpio_xec_configure()
15 #define alt_replbits_word(dest, msk, src) \ argument16 (sys_write32((sys_read32(dest) & ~(msk)) | ((src) & (msk)), dest))
422 uint32_t msk = 0u; in saf_flash_pd_cfg() local425 msk = BIT(SAF_PWRDN_CTRL_CS0_PD_EN_POS) | BIT(SAF_PWRDN_CTRL_CS0_PD_EN_POS); in saf_flash_pd_cfg()433 msk = BIT(SAF_PWRDN_CTRL_CS1_PD_EN_POS) | BIT(SAF_PWRDN_CTRL_CS1_PD_EN_POS); in saf_flash_pd_cfg()442 regs->SAF_PWRDN_CTRL = (regs->SAF_PWRDN_CTRL & ~msk) | pdval; in saf_flash_pd_cfg()
271 static bool mcr20a_mask_irqb(const struct device *dev, bool msk) in mcr20a_mask_irqb() argument275 if (msk) { in mcr20a_mask_irqb()