Home
last modified time | relevance | path

Searched refs:buflen (Results 1 – 16 of 16) sorted by relevance

/arch/powerpc/boot/
Ddevtree.c207 int naddr, int nsize, int buflen) in find_range() argument
212 for (i = 0; i + nrange <= buflen; i += nrange) { in find_range()
240 int buflen, offset; in dt_xlate() local
276 buflen = getprop(node, "ranges", prop_buf, in dt_xlate()
278 if (buflen == 0) in dt_xlate()
280 if (buflen < 0 || buflen > sizeof(prop_buf)) in dt_xlate()
284 naddr, prev_nsize, buflen / 4); in dt_xlate()
325 int dt_xlate_addr(void *node, u32 *buf, int buflen, unsigned long *xlated_addr) in dt_xlate_addr() argument
328 if (buflen > sizeof(prop_buf)) in dt_xlate_addr()
331 memcpy(prop_buf, buf, buflen); in dt_xlate_addr()
[all …]
Dof.h14 const int buflen);
16 const int buflen);
Dops.h40 const int buflen);
42 const void *buf, const int buflen);
96 int dt_xlate_addr(void *node, u32 *buf, int buflen, unsigned long *xlated_addr);
106 static inline int getprop(void *devp, const char *name, void *buf, int buflen) in getprop() argument
108 return (dt_ops.getprop) ? dt_ops.getprop(devp, name, buf, buflen) : -1; in getprop()
112 const void *buf, int buflen) in setprop() argument
114 return (dt_ops.setprop) ? dt_ops.setprop(devp, name, buf, buflen) : -1; in setprop()
Doflib.c204 const int buflen) in of_getprop() argument
206 return of_call_prom("getprop", 4, 1, phandle, name, buf, buflen); in of_getprop()
210 const int buflen) in of_setprop() argument
212 return of_call_prom("setprop", 4, 1, phandle, name, buf, buflen); in of_setprop()
Dlibfdt-wrapper.c82 void *buf, const int buflen) in fdt_wrapper_getprop() argument
90 memcpy(buf, p, min(len, buflen)); in fdt_wrapper_getprop()
/arch/sparc/include/asm/
Dmemctrl.h4 typedef int (*dimm_printer_t)(int synd_code, unsigned long paddr, char *buf, int buflen);
Doplib_64.h145 char *buf, int buflen);
/arch/powerpc/kernel/
Dudbg.c125 int udbg_read(char *buf, int buflen) in udbg_read() argument
133 for (i = 0; i < buflen; ++i) { in udbg_read()
/arch/powerpc/include/asm/
Dudbg.h24 extern int udbg_read(char *buf, int buflen);
/arch/x86/platform/olpc/
Dolpc_dt.c113 const int buflen, int *len) in olpc_dt_pkg2path() argument
115 const void *args[] = { (void *)node, buf, (void *)buflen }; in olpc_dt_pkg2path()
/arch/arm/boot/compressed/
Dofw-shark.c161 OF_getprop(ofw_handle_t openfirmware, int handle, char *prop, void *buf, unsigned int buflen) in OF_getprop() argument
181 args[6] = buflen; in OF_getprop()
/arch/sparc/prom/
Dmisc_64.c324 char *buf, int buflen) in prom_getunumber() argument
333 args[5] = buflen; in prom_getunumber()
/arch/tile/include/hv/
Dhypervisor.h1387 HV_VirtAddr buf, int buflen);
1444 int buflen);
/arch/sparc/kernel/
Dchmc.c294 char *buf, int buflen) in jbusmc_print_dimm() argument
540 char *buf, int buflen) in chmc_print_dimm() argument
Dtraps_64.c139 static int sprintf_dimm(int synd_code, unsigned long paddr, char *buf, int buflen) in sprintf_dimm() argument
146 ret = dimm_handler(synd_code, paddr, buf, buflen); in sprintf_dimm()
148 if (prom_getunumber(synd_code, paddr, buf, buflen) == -1) in sprintf_dimm()
/arch/ia64/kernel/
Dperfmon.c2184 static char *pfmfs_dname(struct dentry *dentry, char *buffer, int buflen) in pfmfs_dname() argument
2186 return dynamic_dname(dentry, buffer, buflen, "pfm:[%lu]", in pfmfs_dname()