3 #include <linux/kernel.h>
4 #include <linux/string.h>
5 #include <linux/module.h>
12 unsigned long *busno,
unsigned long *
phys,
unsigned long *
size)
14 const u32 *dma_window;
16 const unsigned char *prop;
18 dma_window = dma_window_prop;
21 *busno = *(dma_window++);
28 *phys = of_read_number(dma_window, cells);
34 *size = of_read_number(dma_window, cells);