Home
last modified time | relevance | path

Searched refs:at25 (Results 1 – 7 of 7) sorted by relevance

/linux-4.4.14/drivers/misc/eeprom/
Dat25.c67 struct at25_data *at25, in at25_ee_read() argument
80 if (unlikely(offset >= at25->bin.size)) in at25_ee_read()
82 if ((offset + count) > at25->bin.size) in at25_ee_read()
83 count = at25->bin.size - offset; in at25_ee_read()
90 if (at25->chip.flags & EE_INSTR_BIT3_IS_ADDR) in at25_ee_read()
91 if (offset >= (1U << (at25->addrlen * 8))) in at25_ee_read()
96 switch (at25->addrlen) { in at25_ee_read()
110 t[0].len = at25->addrlen + 1; in at25_ee_read()
117 mutex_lock(&at25->lock); in at25_ee_read()
125 status = spi_sync(at25->spi, &m); in at25_ee_read()
[all …]
DMakefile2 obj-$(CONFIG_EEPROM_AT25) += at25.o
DKconfig39 will be called at25.
/linux-4.4.14/Documentation/devicetree/bindings/eeprom/
Dat25.txt1 EEPROMs (SPI) compatible with Atmel at25.
4 - compatible : "atmel,at25".
18 - at25,byte-len : total eeprom size in bytes
19 - at25,addr-mode : addr-mode flags, as defined in include/linux/spi/eeprom.h
20 - at25,page-size : size of the eeprom page
25 at25@0 {
26 compatible = "atmel,at25", "st,m95256";
/linux-4.4.14/arch/arm/boot/dts/
Dphy3250.dts141 eeprom: at25@0 {
150 at25,byte-len = <0x8000>;
151 at25,addr-mode = <2>;
152 at25,page-size = <64>;
154 compatible = "atmel,at25";
/linux-4.4.14/Documentation/devicetree/bindings/spi/
Dspi-octeon.txt22 compatible = "st,m95256", "atmel,at25";
/linux-4.4.14/Documentation/acpi/
Denumeration.txt166 to at25 SPI eeprom driver (this is meant for the above ACPI snippet):
204 Then the at25 SPI driver can get this configuration by calling _DSM on its