Home
last modified time | relevance | path

Searched full:at25 (Results 1 – 25 of 43) sorted by relevance

12

/kernel/linux/linux-4.19/drivers/misc/eeprom/
Dat25.c2 * at25.c -- support most SPI EEPROMs, such as Atmel AT25 models
26 * mean that some AT25 products are EEPROMs, and others are FLASH.
69 struct at25_data *at25 = priv; in at25_ee_read() local
78 if (unlikely(offset >= at25->chip.byte_len)) in at25_ee_read()
80 if ((offset + count) > at25->chip.byte_len) in at25_ee_read()
81 count = at25->chip.byte_len - offset; in at25_ee_read()
88 if (at25->chip.flags & EE_INSTR_BIT3_IS_ADDR) in at25_ee_read()
89 if (offset >= (1U << (at25->addrlen * 8))) in at25_ee_read()
94 switch (at25->addrlen) { in at25_ee_read()
110 t[0].len = at25->addrlen + 1; in at25_ee_read()
[all …]
DMakefile3 obj-$(CONFIG_EEPROM_AT25) += at25.o
DKconfig42 will be called at25.
/kernel/linux/linux-5.10/drivers/misc/eeprom/
Dat25.c3 * at25.c -- support most SPI EEPROMs, such as Atmel AT25 models
22 * mean that some AT25 products are EEPROMs, and others are FLASH.
65 struct at25_data *at25 = priv; in at25_ee_read() local
74 if (unlikely(offset >= at25->chip.byte_len)) in at25_ee_read()
76 if ((offset + count) > at25->chip.byte_len) in at25_ee_read()
77 count = at25->chip.byte_len - offset; in at25_ee_read()
84 if (at25->chip.flags & EE_INSTR_BIT3_IS_ADDR) in at25_ee_read()
85 if (offset >= (1U << (at25->addrlen * 8))) in at25_ee_read()
90 switch (at25->addrlen) { in at25_ee_read()
106 t[0].len = at25->addrlen + 1; in at25_ee_read()
[all …]
DMakefile3 obj-$(CONFIG_EEPROM_AT25) += at25.o
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/eeprom/
Dat25.yaml4 $id: "http://devicetree.org/schemas/eeprom/at25.yaml#"
7 title: SPI EEPROMs compatible with Atmel's AT25
17 # with Atmel's AT25. The compatible string requires two items where the
19 # item is fixed to "atmel,at25". Some existing bindings only have the
20 # "atmel,at25" part and should be fixed by somebody who knows vendor and
35 - const: atmel,at25
39 - const: atmel,at25
80 # Deprecated: at25,byte-len, at25,addr-mode, at25,page-size
81 at25,byte-len:
87 at25,addr-mode:
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Daspeed-bmc-ibm-rainier.dts230 at25,byte-len = <0x80000>;
231 at25,addr-mode = <4>;
232 at25,page-size = <256>;
234 compatible = "atmel,at25";
246 at25,byte-len = <0x80000>;
247 at25,addr-mode = <4>;
248 at25,page-size = <256>;
250 compatible = "atmel,at25";
262 at25,byte-len = <0x80000>;
263 at25,addr-mode = <4>;
[all …]
Dzynq-zc770-xm013.dts66 at25,byte-len = <8192>;
67 at25,addr-mode = <2>;
68 at25,page-size = <32>;
70 compatible = "atmel,at25";
Dlpc3250-phy3250.dts203 eeprom: at25@0 {
204 compatible = "atmel,at25";
216 at25,byte-len = <0x8000>;
217 at25,addr-mode = <2>;
218 at25,page-size = <64>;
Dimx6q-dms-ba16.dts51 compatible = "atmel,at25256B", "atmel,at25";
Dlogicpd-torpedo-baseboard.dtsi337 at25@0 {
338 compatible = "atmel,at25";
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/eeprom/
Dat25.txt1 EEPROMs (SPI) compatible with Atmel at25.
4 - compatible : Should be "<vendor>,<type>", and generic value "atmel,at25".
25 - at25,byte-len : total eeprom size in bytes
26 - at25,addr-mode : addr-mode flags, as defined in include/linux/spi/eeprom.h
27 - at25,page-size : size of the eeprom page
33 compatible = "st,m95256", "atmel,at25";
/kernel/linux/linux-4.19/arch/arm/boot/dts/
Dzynq-zc770-xm013.dts66 at25,byte-len = <8192>;
67 at25,addr-mode = <2>;
68 at25,page-size = <32>;
70 compatible = "atmel,at25";
Dlpc3250-phy3250.dts193 eeprom: at25@0 {
194 compatible = "atmel,at25";
206 at25,byte-len = <0x8000>;
207 at25,addr-mode = <2>;
208 at25,page-size = <64>;
Dimx6q-dms-ba16.dts51 compatible = "atmel,at25256B", "atmel,at25";
/kernel/linux/linux-4.19/arch/arm64/boot/dts/broadcom/northstar2/
Dns2-svk.dts131 at25@0 {
132 compatible = "atmel,at25";
135 at25,byte-len = <0x8000>;
136 at25,addr-mode = <2>;
137 at25,page-size = <64>;
/kernel/linux/linux-5.10/arch/arm64/boot/dts/broadcom/northstar2/
Dns2-svk.dts131 at25@0 {
132 compatible = "atmel,at25";
135 at25,byte-len = <0x8000>;
136 at25,addr-mode = <2>;
137 at25,page-size = <64>;
/kernel/linux/linux-4.19/arch/mips/txx9/generic/
Dspi_eeprom.c22 /* register board information for at25 driver */
26 .modalias = "at25", in spi_eeprom_register()
82 .name = "at25",
/kernel/linux/linux-5.10/arch/mips/txx9/generic/
Dspi_eeprom.c22 /* register board information for at25 driver */
26 .modalias = "at25", in spi_eeprom_register()
82 .name = "at25",
/kernel/linux/linux-5.10/include/linux/spi/
Deeprom.h9 * by the "at25" driver. On SPI, most EEPROMS understand the same core
30 * other AT25 like chips.
/kernel/linux/linux-4.19/include/linux/spi/
Deeprom.h9 * by the "at25" driver. On SPI, most EEPROMS understand the same core
30 * other AT25 like chips.
/kernel/linux/linux-4.19/Documentation/acpi/
Denumeration.txt153 "AT25",
166 to at25 SPI eeprom driver (this is meant for the above ACPI snippet):
170 { "AT25", 0 },
204 Then the at25 SPI driver can get this configuration by calling _DSM on its
/kernel/linux/linux-5.10/Documentation/firmware-guide/acpi/
Denumeration.rst160 "AT25",
173 to at25 SPI eeprom driver (this is meant for the above ACPI snippet)::
177 { "AT25", 0 },
211 Then the at25 SPI driver can get this configuration by calling _DSM on its
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/spi/
Dspi-octeon.txt22 compatible = "st,m95256", "atmel,at25";
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/spi/
Dspi-octeon.txt22 compatible = "st,m95256", "atmel,at25";

12