Home
last modified time | relevance | path

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

/linux/drivers/leds/rgb/
H A Dleds-qcom-lpg.c262 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()
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()
312 return nvmem_device_write(chan->lpg->lpg_chan_sdam, addr, 1, &set_trig); in lpg_sdam_configure_triggers()
348 rc = nvmem_device_write(lpg->lut_sdam, addr, 1, &brightness); in lpg_lut_store_sdam()
351 rc = nvmem_device_write(lpg->lpg_chan_sdam, addr, 1, &brightness); in lpg_lut_store_sdam()
643nvmem_device_write(lpg_chan_sdam, SDAM_PBS_SCRATCH_LUT_COUNTER_OFFSET + chan->sdam_offset, 1, &val… in lpg_sdam_apply_lut_control()
644 nvmem_device_write(lpg_chan_sdam, SDAM_PATTERN_CONFIG_OFFSET + chan->sdam_offset, 1, &conf); in lpg_sdam_apply_lut_control()
645 nvmem_device_write(lpg_chan_sdam, SDAM_END_INDEX_OFFSET + chan->sdam_offset, 1, &hi_idx); in lpg_sdam_apply_lut_control()
[all …]
/linux/drivers/soc/ti/
H A Dpm33xx.c282 nvmem_device_write(nvmem, RTC_SCRATCH_MAGIC_REG * 4, 4, in am33xx_pm_begin()
327 nvmem_device_write(nvmem, RTC_SCRATCH_MAGIC_REG * 4, 4, in am33xx_pm_end()
463 nvmem_device_write(nvmem, RTC_SCRATCH_MAGIC_REG * 4, in am33xx_pm_rtc_setup()
466 nvmem_device_write(nvmem, RTC_SCRATCH_RESUME_REG * 4, in am33xx_pm_rtc_setup()
/linux/include/linux/
H A Dnvmem-consumer.h76 int nvmem_device_write(struct nvmem_device *nvmem, unsigned int offset,
211 static inline int nvmem_device_write(struct nvmem_device *nvmem, in nvmem_device_write() function
/linux/Documentation/driver-api/
H A Dnvmem.rst133 int nvmem_device_write(struct nvmem_device *nvmem, unsigned int offset,
/linux/drivers/nvmem/
H A Dcore.c2096 int nvmem_device_write(struct nvmem_device *nvmem, in nvmem_device_write() function
2113 EXPORT_SYMBOL_GPL(nvmem_device_write);
/linux/drivers/ptp/
H A Dptp_ocp.c3745 err = nvmem_device_write(nvmem, 0x00, count, buf); in disciplining_config_write()
3807 err = nvmem_device_write(nvmem, 0x90, count, buf); in temperature_table_write()