Lines Matching defs:linux_dev_v2_funcs
39 struct linux_dev_v2_funcs { struct
40 int (*v2_inst2pkg)(int d); /* Convert ihandle to phandle */
41 char * (*v2_dumb_mem_alloc)(char *va, unsigned sz);
42 void (*v2_dumb_mem_free)(char *va, unsigned sz);
45 char * (*v2_dumb_mmap)(char *virta, int which_io, unsigned paddr, unsigned sz);
46 void (*v2_dumb_munmap)(char *virta, unsigned size);
48 int (*v2_dev_open)(char *devpath);
49 void (*v2_dev_close)(int d);
50 int (*v2_dev_read)(int d, char *buf, int nbytes);
51 int (*v2_dev_write)(int d, char *buf, int nbytes);
52 int (*v2_dev_seek)(int d, int hi, int lo);
55 void (*v2_wheee2)(void);
56 void (*v2_wheee3)(void);