Home
last modified time | relevance | path

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

/openbmc/linux/drivers/leds/rgb/
H A Dleds-qcom-lpg.c220 size_t len, unsigned int *lo_idx, unsigned int *hi_idx) in lpg_lut_store() argument
240 *lo_idx = idx; in lpg_lut_store()
246 static void lpg_lut_free(struct lpg *lpg, unsigned int lo_idx, unsigned int hi_idx) in lpg_lut_free() argument
250 len = hi_idx - lo_idx + 1; in lpg_lut_free()
254 bitmap_clear(lpg->lut_bitmap, lo_idx, len); in lpg_lut_free()
471 unsigned int lo_idx = chan->pattern_lo_idx; in lpg_apply_lut_control() local
494 regmap_write(lpg->map, chan->base + LPG_LO_IDX_REG, lo_idx); in lpg_apply_lut_control()
774 unsigned int lo_idx; in lpg_pattern_set() local
883 ret = lpg_lut_store(lpg, pattern, actual_len, &lo_idx, &hi_idx); in lpg_pattern_set()
897 chan->pattern_lo_idx = lo_idx; in lpg_pattern_set()