Lines Matching refs:to
71 * That's why we have to create a dedicated read-method to copy data from there
72 * to the passed buffer.
74 static void dw_spi_bt1_dirmap_copy_from_map(void *to, void __iomem *from, size_t len)
87 memcpy(to, (char *)&data + shift, chunk);
89 to += chunk;
95 memcpy(to, &data, 4);
97 to += 4;
103 memcpy(to, &data, len);
178 * bus speed especially when it comes to the concurrent access to the
179 * APB bus resources. Thus we have no choice but to set a constraint on
180 * the SPI bus frequency for the memory operations which require to
199 * IO access to the DW APB SSI registers. Note the mux controller
200 * must be setup to preserve the registers being accessible by default
209 * used to access a peripheral memory device just by reading/writing
210 * data from/to it. Note the system APB bus will stall during each IO
211 * from/to the dirmap region until the operation is finished. So don't
238 * SPI bus speed due to relatively slow APB bus and races for it'
241 * though, but still tends to be not fast enough at low CPU