Searched refs:lpg_chan_sdam (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/leds/rgb/ |
H A D | leds-qcom-lpg.c | 121 struct nvmem_device *lpg_chan_sdam; member 257 if (!lpg->lpg_chan_sdam) in lpg_clear_pbs_trigger() 262 rc = nvmem_device_write(lpg->lpg_chan_sdam, SDAM_REG_PBS_SEQ_EN, 1, &val); in lpg_clear_pbs_trigger() 268 rc = nvmem_device_write(lpg->lpg_chan_sdam, SDAM_PBS_TRIG_CLR, 1, &val); in lpg_clear_pbs_trigger() 282 if (!lpg->lpg_chan_sdam) in lpg_set_pbs_trigger() 286 rc = nvmem_device_write(lpg->lpg_chan_sdam, SDAM_REG_PBS_SEQ_EN, 1, &val); in lpg_set_pbs_trigger() 291 rc = nvmem_device_write(lpg->lpg_chan_sdam, SDAM_PBS_TRIG_SET, 1, &val); in lpg_set_pbs_trigger() 309 if (!chan->lpg->lpg_chan_sdam) in lpg_sdam_configure_triggers() 312 return nvmem_device_write(chan->lpg->lpg_chan_sdam, addr, 1, &set_trig); in lpg_sdam_configure_triggers() 351 rc = nvmem_device_write(lpg->lpg_chan_sdam, addr, 1, &brightness); in lpg_lut_store_sdam() [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | pmi632.dtsi | 193 nvmem-names = "lpg_chan_sdam";
|