Home
last modified time | relevance | path

Searched refs:msk (Results 1 – 6 of 6) sorted by relevance

/Zephyr-Core-3.7.0/drivers/regulator/
Dregulator_adp5360.c192 uint8_t val, nval, msk; in regulator_adp5360_init() local
201 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 …]
/Zephyr-Core-3.7.0/drivers/pinctrl/
Dpinctrl_mchp_xec.c28 uint32_t msk = 0, val = 0; in config_drive_slew() local
31 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()
/Zephyr-Core-3.7.0/drivers/gpio/
Dgpio_mchp_xec_v2.c129 uint32_t msk = (MCHP_GPIO_CTRL_PWRG_MASK in gpio_xec_configure() local
170 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()
/Zephyr-Core-3.7.0/drivers/ethernet/
Deth_cyclonev_priv.h15 #define alt_replbits_word(dest, msk, src) \ argument
16 (sys_write32((sys_read32(dest) & ~(msk)) | ((src) & (msk)), dest))
/Zephyr-Core-3.7.0/drivers/espi/
Despi_saf_mchp_xec_v2.c422 uint32_t msk = 0u; in saf_flash_pd_cfg() local
425 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()
/Zephyr-Core-3.7.0/drivers/ieee802154/
Dieee802154_mcr20a.c271 static bool mcr20a_mask_irqb(const struct device *dev, bool msk) in mcr20a_mask_irqb() argument
275 if (msk) { in mcr20a_mask_irqb()