Searched refs:reg_op_mode (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/drivers/leds/ |
D | leds-lp55xx-common.c | 114 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 …]
|
D | leds-lp8501.c | 96 .reg_op_mode = {
|
D | leds-lp5521.c | 222 .reg_op_mode = {
|
D | leds-lp55xx-common.h | 138 const struct lp55xx_reg reg_op_mode; /* addr, shift */ member
|
D | leds-lp5523.c | 304 .reg_op_mode = {
|
D | leds-lp5562.c | 347 .reg_op_mode = {
|
D | leds-lp5569.c | 474 .reg_op_mode = {
|