Lines Matching defs:linux_dev_v2_funcs
31 struct linux_dev_v2_funcs { struct
32 phandle (*v2_inst2pkg)(int d); /* Convert ihandle to phandle */
33 char * (*v2_dumb_mem_alloc)(char *va, unsigned int sz);
34 void (*v2_dumb_mem_free)(char *va, unsigned int sz);
37 char * (*v2_dumb_mmap)(char *virta, int which_io, unsigned int paddr, unsigned int sz);
38 void (*v2_dumb_munmap)(char *virta, unsigned int size);
40 int (*v2_dev_open)(char *devpath);
41 void (*v2_dev_close)(int d);
42 int (*v2_dev_read)(int d, char *buf, int nbytes);
43 int (*v2_dev_write)(int d, const char *buf, int nbytes);
44 int (*v2_dev_seek)(int d, int hi, int lo);
47 void (*v2_wheee2)(void);
48 void (*v2_wheee3)(void);