Searched refs:nvmem_device_write (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/leds/rgb/ |
H A D | leds-qcom-lpg.c | 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() 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() 643 …nvmem_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 D | pm33xx.c | 282 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 D | nvmem-consumer.h | 76 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 D | nvmem.rst | 133 int nvmem_device_write(struct nvmem_device *nvmem, unsigned int offset,
|
/linux/drivers/nvmem/ |
H A D | core.c | 2096 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 D | ptp_ocp.c | 3745 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()
|