Searched refs:br_cfg (Results 1 – 2 of 2) sorted by relevance
329 … mec_hal_bbled_breathe_config(struct mec_bbled_regs *regs, struct mec_bbled_breathe_config *br_cfg) in mec_hal_bbled_breathe_config() argument334 if (!regs || !br_cfg) { in mec_hal_bbled_breathe_config()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()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()351 regs->UPDSS = br_cfg->upd_steps; in mec_hal_bbled_breathe_config()352 regs->UPINVL = br_cfg->upd_intervals; in mec_hal_bbled_breathe_config()358 struct mec_bbled_breathe_config *br_cfg) in mec_hal_bbled_breathe_config_get() argument362 if (!regs || !br_cfg) { in mec_hal_bbled_breathe_config_get()[all …]
131 struct mec_bbled_breathe_config *br_cfg);133 struct mec_bbled_breathe_config *br_cfg);