Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/leds/
Dleds-lp55xx-common.c114 lp55xx_write(chip, cfg->reg_op_mode.addr, LP55xx_MODE_DISABLE_ALL_ENG); in lp55xx_stop_all_engine()
125 mask = LP55xx_MODE_ENGn_MASK(idx, cfg->reg_op_mode.shift); in lp55xx_load_engine()
126 val = LP55xx_MODE_LOAD_ENG << LP55xx_MODE_ENGn_SHIFT(idx, cfg->reg_op_mode.shift); in lp55xx_load_engine()
128 lp55xx_update_bits(chip, cfg->reg_op_mode.addr, mask, val); in lp55xx_load_engine()
145 ret = lp55xx_read(chip, cfg->reg_op_mode.addr, &mode); in lp55xx_run_engine_common()
155 if (LP55xx_MODE_ENGn_GET(i, mode, cfg->reg_op_mode.shift) != LP55xx_MODE_LOAD_ENG) in lp55xx_run_engine_common()
158 mode &= ~LP55xx_MODE_ENGn_MASK(i, cfg->reg_op_mode.shift); in lp55xx_run_engine_common()
159 mode |= LP55xx_MODE_RUN_ENG << LP55xx_MODE_ENGn_SHIFT(i, cfg->reg_op_mode.shift); in lp55xx_run_engine_common()
164 lp55xx_write(chip, cfg->reg_op_mode.addr, mode); in lp55xx_run_engine_common()
333 mask = LP55xx_MODE_ENGn_MASK(idx, cfg->reg_op_mode.shift); in lp55xx_stop_engine()
[all …]
Dleds-lp8501.c96 .reg_op_mode = {
Dleds-lp5521.c222 .reg_op_mode = {
Dleds-lp55xx-common.h138 const struct lp55xx_reg reg_op_mode; /* addr, shift */ member
Dleds-lp5523.c304 .reg_op_mode = {
Dleds-lp5562.c347 .reg_op_mode = {
Dleds-lp5569.c474 .reg_op_mode = {