Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/nvmem/
A Dqcom-spmi-sdam.c66 struct sdam_chip *sdam = priv; in sdam_read() local
76 rc = regmap_bulk_read(sdam->regmap, sdam->base + offset, val, bytes); in sdam_read()
103 rc = regmap_bulk_write(sdam->regmap, sdam->base + offset, val, bytes); in sdam_write()
113 struct sdam_chip *sdam; in sdam_probe() local
118 sdam = devm_kzalloc(&pdev->dev, sizeof(*sdam), GFP_KERNEL); in sdam_probe()
119 if (!sdam) in sdam_probe()
123 if (!sdam->regmap) { in sdam_probe()
134 rc = regmap_read(sdam->regmap, sdam->base + SDAM_SIZE, &val); in sdam_probe()
139 sdam->size = val * 32; in sdam_probe()
149 sdam->sdam_config.priv = sdam; in sdam_probe()
[all …]
A DMakefile58 obj-$(CONFIG_NVMEM_SPMI_SDAM) += nvmem_qcom-spmi-sdam.o
59 nvmem_qcom-spmi-sdam-y += qcom-spmi-sdam.o
/linux-6.3-rc2/Documentation/devicetree/bindings/nvmem/
A Dqcom,spmi-sdam.yaml4 $id: http://devicetree.org/schemas/nvmem/qcom,spmi-sdam.yaml#
23 - qcom,spmi-sdam
48 compatible = "qcom,spmi-sdam";

Completed in 5 milliseconds