Searched defs:linux_dev_v2_funcs (Results 1 – 2 of 2) sorted by relevance
/linux-5.19.10/arch/sparc/include/asm/ |
D | openprom.h | 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); [all …]
|
/linux-5.19.10/arch/m68k/include/asm/ |
D | openprom.h | 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); [all …]
|