Lines Matching refs:temp

105     uint32_t temp = (bbcfg & MEC_BBLED_CFG_WDT_RELOAD_MSK) >> MEC_BBLED_CFG_WDT_RELOAD_POS;  in bbled_set_wdt_reload()  local
108 ((temp << MEC_BBLED_CONFIG_WDTRLD_Pos) & MEC_BBLED_CONFIG_WDTRLD_Msk)); in bbled_set_wdt_reload()
331 uint32_t temp = 0; in mec_hal_bbled_breathe_config() local
343 temp = (((uint32_t)br_cfg->min_hold << MEC_BBLED_LIMITS_MIN_Pos) & MEC_BBLED_LIMITS_MIN_Msk); in mec_hal_bbled_breathe_config()
344 temp |= (((uint32_t)br_cfg->max_hold << MEC_BBLED_LIMITS_MAX_Pos) & MEC_BBLED_LIMITS_MAX_Msk); in mec_hal_bbled_breathe_config()
345 regs->LIMITS = temp; in mec_hal_bbled_breathe_config()
347 temp = ((uint32_t)br_cfg->lo_delay << MEC_BBLED_DELAY_LO_Pos) & MEC_BBLED_DELAY_LO_Msk; in mec_hal_bbled_breathe_config()
348 temp |= (((uint32_t)br_cfg->hi_delay << MEC_BBLED_DELAY_HI_Pos) & MEC_BBLED_DELAY_HI_Msk); in mec_hal_bbled_breathe_config()
349 regs->DELAY = temp; in mec_hal_bbled_breathe_config()
360 uint32_t temp = 0; in mec_hal_bbled_breathe_config_get() local
369 temp = regs->DELAY; in mec_hal_bbled_breathe_config_get()
370 br_cfg->lo_delay = (uint16_t)((temp & MEC_BBLED_DELAY_LO_Msk) >> MEC_BBLED_DELAY_LO_Pos); in mec_hal_bbled_breathe_config_get()
371 br_cfg->hi_delay = (uint16_t)((temp & MEC_BBLED_DELAY_HI_Msk) >> MEC_BBLED_DELAY_HI_Pos); in mec_hal_bbled_breathe_config_get()
373 temp = regs->LIMITS; in mec_hal_bbled_breathe_config_get()
374 br_cfg->min_hold = (uint8_t)((temp & MEC_BBLED_LIMITS_MIN_Msk) >> MEC_BBLED_LIMITS_MIN_Pos); in mec_hal_bbled_breathe_config_get()
375 br_cfg->max_hold = (uint8_t)((temp & MEC_BBLED_LIMITS_MAX_Msk) >> MEC_BBLED_LIMITS_MAX_Pos); in mec_hal_bbled_breathe_config_get()