Home
last modified time | relevance | path

Searched refs:nvmem_device_read (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/drivers/nvmem/layouts/
H A Dsl28vpd.c65 ret = nvmem_device_read(nvmem, 0, sizeof(data_v1), &data_v1); in sl28vpd_v1_check_crc()
93 ret = nvmem_device_read(nvmem, 0, sizeof(hdr), &hdr); in sl28vpd_add_cells()
H A Donie-tlv.c193 ret = nvmem_device_read(nvmem, 0, sizeof(hdr), &hdr); in onie_tlv_parse_table()
214 ret = nvmem_device_read(nvmem, 0, table_len, table); in onie_tlv_parse_table()
/openbmc/linux/include/linux/
H A Dnvmem-consumer.h74 int nvmem_device_read(struct nvmem_device *nvmem, unsigned int offset,
198 static inline int nvmem_device_read(struct nvmem_device *nvmem, in nvmem_device_read() function
/openbmc/linux/drivers/nvmem/
H A Du-boot-env.c153 bytes = nvmem_device_read(nvmem, 0, dev_size, buf); in u_boot_env_parse()
H A Dcore.c2013 int nvmem_device_read(struct nvmem_device *nvmem, in nvmem_device_read() function
2029 EXPORT_SYMBOL_GPL(nvmem_device_read);
/openbmc/linux/drivers/soc/ti/
H A Dpm33xx.c468 nvmem_device_read(nvmem, RTC_SCRATCH_MAGIC_REG * 4, in am33xx_pm_rtc_setup()
/openbmc/linux/Documentation/driver-api/
H A Dnvmem.rst131 int nvmem_device_read(struct nvmem_device *nvmem, unsigned int offset,
/openbmc/linux/arch/mips/pci/
H A Dpci-xtalk-bridge.c582 ret = nvmem_device_read(nvmem, 0, 64, prom); in bridge_get_partnum()
/openbmc/linux/drivers/power/supply/
H A Dcpcap-battery.c418 } else if (nvmem_device_read(nvmem, 2, 1, &battery_id) < 0) { in cpcap_battery_detect_battery_type()
/openbmc/linux/drivers/net/ethernet/sgi/
H A Dioc3-eth.c211 ret = nvmem_device_read(nvmem, 0, 16, prom); in ioc3eth_get_mac_addr()
/openbmc/linux/drivers/ptp/
H A Dptp_ocp.c1492 ret = nvmem_device_read(nvmem, map->off, map->len, in ptp_ocp_read_eeprom()
3363 err = nvmem_device_read(nvmem, off, count, buf); in disciplining_config_read()
3425 err = nvmem_device_read(nvmem, 0x90 + off, count, buf); in temperature_table_read()