Home
last modified time | relevance | path

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

12

/kernel/linux/linux-6.6/drivers/misc/eeprom/
Dat25.c3 * Driver for most of the SPI EEPROMs, such as Atmel AT25 models
25 * mean that some AT25 products are EEPROMs, and others are FLASH.
80 struct at25_data *at25 = priv; in at25_ee_read() local
82 size_t max_chunk = spi_max_transfer_size(at25->spi); in at25_ee_read()
92 if (unlikely(offset >= at25->chip.byte_len)) in at25_ee_read()
94 if ((offset + count) > at25->chip.byte_len) in at25_ee_read()
95 count = at25->chip.byte_len - offset; in at25_ee_read()
101 cp = at25->command; in at25_ee_read()
104 if (at25->chip.flags & EE_INSTR_BIT3_IS_ADDR) in at25_ee_read()
105 if (msg_offset >= BIT(at25->addrlen * 8)) in at25_ee_read()
[all …]
DMakefile3 obj-$(CONFIG_EEPROM_AT25) += at25.o
/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-6.6/arch/arm/boot/dts/aspeed/
Dibm-power10-dual.dtsi90 at25,byte-len = <0x80000>;
91 at25,addr-mode = <4>;
92 at25,page-size = <256>;
94 compatible = "atmel,at25";
106 at25,byte-len = <0x80000>;
107 at25,addr-mode = <4>;
108 at25,page-size = <256>;
110 compatible = "atmel,at25";
123 at25,byte-len = <0x80000>;
124 at25,addr-mode = <4>;
[all …]
Dibm-power10-quad.dtsi741 at25,byte-len = <0x80000>;
742 at25,addr-mode = <4>;
743 at25,page-size = <256>;
745 compatible = "atmel,at25";
757 at25,byte-len = <0x80000>;
758 at25,addr-mode = <4>;
759 at25,page-size = <256>;
761 compatible = "atmel,at25";
774 at25,byte-len = <0x80000>;
775 at25,addr-mode = <4>;
[all …]
Daspeed-bmc-ibm-everest.dts2794 at25,byte-len = <0x80000>;
2795 at25,addr-mode = <4>;
2796 at25,page-size = <256>;
2798 compatible = "atmel,at25";
2810 at25,byte-len = <0x80000>;
2811 at25,addr-mode = <4>;
2812 at25,page-size = <256>;
2814 compatible = "atmel,at25";
2827 at25,byte-len = <0x80000>;
2828 at25,addr-mode = <4>;
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/eeprom/
Dat25.yaml4 $id: http://devicetree.org/schemas/eeprom/at25.yaml#
7 title: SPI EEPROMs or FRAMs compatible with Atmel's AT25
19 # with Atmel's AT25. The compatible string requires two items where the
21 # item is fixed to "atmel,at25". Some existing bindings only have the
22 # "atmel,at25" part and should be fixed by somebody who knows vendor and
39 - const: atmel,at25
43 - const: atmel,at25
81 # Deprecated: at25,byte-len, at25,addr-mode, at25,page-size
82 at25,byte-len:
88 at25,addr-mode:
[all …]
/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-6.6/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-6.6/arch/arm/boot/dts/nxp/lpc/
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>;
/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-6.6/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-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-6.6/Documentation/devicetree/bindings/spi/
Dspi-octeon.txt22 compatible = "st,m95256", "atmel,at25";
/kernel/linux/linux-6.6/arch/arm/boot/dts/xilinx/
Dzynq-zc770-xm013.dts66 compatible = "atmel,at25";
/kernel/linux/linux-6.6/Documentation/firmware-guide/acpi/
Denumeration.rst197 "AT25",
210 to at25 SPI eeprom driver (this is meant for the above ACPI snippet)::
213 { "AT25", 0 },
243 Then the at25 SPI driver can get this configuration by calling device property

12