Home
last modified time | relevance | path

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

/external/arm-trusted-firmware/drivers/mtd/spi-mem/
Dspi_mem.c192 int bus_subnode = 0; in spi_mem_init_slave() local
200 fdt_for_each_subnode(bus_subnode, fdt, bus_node) { in spi_mem_init_slave()
209 fdt_for_each_subnode(bus_subnode, fdt, bus_node) { in spi_mem_init_slave()
211 cuint = fdt_getprop(fdt, bus_subnode, "reg", NULL); in spi_mem_init_slave()
220 cuint = fdt_getprop(fdt, bus_subnode, in spi_mem_init_slave()
227 if ((fdt_getprop(fdt, bus_subnode, "spi-cpol", NULL)) != NULL) { in spi_mem_init_slave()
230 if ((fdt_getprop(fdt, bus_subnode, "spi-cpha", NULL)) != NULL) { in spi_mem_init_slave()
233 if ((fdt_getprop(fdt, bus_subnode, "spi-cs-high", NULL)) != in spi_mem_init_slave()
237 if ((fdt_getprop(fdt, bus_subnode, "spi-3wire", NULL)) != in spi_mem_init_slave()
241 if ((fdt_getprop(fdt, bus_subnode, "spi-half-duplex", NULL)) != in spi_mem_init_slave()
[all …]