Searched defs:linux_dev_v2_funcs (Results 1 – 2 of 2) sorted by relevance
/linux-3.4.99/arch/sparc/include/asm/ |
D | openprom.h | 30 struct linux_dev_v2_funcs { struct 31 phandle (*v2_inst2pkg)(int d); /* Convert ihandle to phandle */ 32 char * (*v2_dumb_mem_alloc)(char *va, unsigned sz); 33 void (*v2_dumb_mem_free)(char *va, unsigned sz); 36 char * (*v2_dumb_mmap)(char *virta, int which_io, unsigned paddr, unsigned sz); 37 void (*v2_dumb_munmap)(char *virta, unsigned size); 39 int (*v2_dev_open)(char *devpath); 40 void (*v2_dev_close)(int d); 41 int (*v2_dev_read)(int d, char *buf, int nbytes); 42 int (*v2_dev_write)(int d, const char *buf, int nbytes); [all …]
|
/linux-3.4.99/arch/m68k/include/asm/ |
D | openprom.h | 38 struct linux_dev_v2_funcs { struct 39 int (*v2_inst2pkg)(int d); /* Convert ihandle to phandle */ 40 char * (*v2_dumb_mem_alloc)(char *va, unsigned sz); 41 void (*v2_dumb_mem_free)(char *va, unsigned sz); 44 char * (*v2_dumb_mmap)(char *virta, int which_io, unsigned paddr, unsigned sz); 45 void (*v2_dumb_munmap)(char *virta, unsigned size); 47 int (*v2_dev_open)(char *devpath); 48 void (*v2_dev_close)(int d); 49 int (*v2_dev_read)(int d, char *buf, int nbytes); 50 int (*v2_dev_write)(int d, char *buf, int nbytes); [all …]
|