Home
last modified time | relevance | path

Searched refs:sdam (Results 1 – 9 of 9) sorted by relevance

/linux-6.12.1/drivers/nvmem/
Dqcom-spmi-sdam.c34 static bool sdam_is_valid(struct sdam_chip *sdam, unsigned int offset, in sdam_is_valid() argument
37 unsigned int sdam_mem_end = SDAM_MEM_START + sdam->size - 1; in sdam_is_valid()
66 struct sdam_chip *sdam = priv; in sdam_read() local
67 struct device *dev = sdam->sdam_config.dev; in sdam_read()
70 if (!sdam_is_valid(sdam, offset, bytes)) { in sdam_read()
76 rc = regmap_bulk_read(sdam->regmap, sdam->base + offset, val, bytes); in sdam_read()
87 struct sdam_chip *sdam = priv; in sdam_write() local
88 struct device *dev = sdam->sdam_config.dev; in sdam_write()
91 if (!sdam_is_valid(sdam, offset, bytes)) { in sdam_write()
103 rc = regmap_bulk_write(sdam->regmap, sdam->base + offset, val, bytes); in sdam_write()
[all …]
DMakefile65 obj-$(CONFIG_NVMEM_SPMI_SDAM) += nvmem_qcom-spmi-sdam.o
66 nvmem_qcom-spmi-sdam-y += qcom-spmi-sdam.o
/linux-6.12.1/arch/arm64/boot/dts/qcom/
Dpmk8550.dtsi55 compatible = "qcom,spmi-sdam";
Dsa8540p-pmics.dtsi43 compatible = "qcom,spmi-sdam";
Dpmk8350.dtsi80 compatible = "qcom,spmi-sdam";
Dpmi632.dtsi165 compatible = "qcom,spmi-sdam";
Dsa8775p-pmics.dtsi146 compatible = "qcom,spmi-sdam";
Dsc8280xp-pmics.dtsi143 compatible = "qcom,spmi-sdam";
Dx1e80100-pmics.dtsi231 compatible = "qcom,spmi-sdam";