Home
last modified time | relevance | path

Searched refs:namep (Results 1 – 25 of 26) sorted by relevance

12

/OK3568_Linux_fs/kernel/arch/powerpc/platforms/powermac/
H A Dbootx_init.c223 char *namep; in bootx_scan_dt_build_strings() local
226 namep = np->full_name ? (char *)(base + np->full_name) : NULL; in bootx_scan_dt_build_strings()
227 if (namep == NULL) { in bootx_scan_dt_build_strings()
229 namep = ""; in bootx_scan_dt_build_strings()
231 DBG("* strings: %s\n", namep); in bootx_scan_dt_build_strings()
233 if (!strcmp(namep, "/chosen")) { in bootx_scan_dt_build_strings()
246 strlcpy(bootx_disp_path, namep, sizeof(bootx_disp_path)); in bootx_scan_dt_build_strings()
254 namep = pp->name ? (char *)(base + pp->name) : NULL; in bootx_scan_dt_build_strings()
255 if (namep == NULL || strcmp(namep, "name") == 0) in bootx_scan_dt_build_strings()
258 soff = bootx_dt_find_string(namep); in bootx_scan_dt_build_strings()
[all …]
/OK3568_Linux_fs/external/xserver/hw/xfree86/fbdevhw/
H A Dfbdevhw.c263 fbdev_open_pci(struct pci_device *pPci, char **namep) in fbdev_open_pci() argument
288 if (namep) { in fbdev_open_pci()
289 *namep = xnfalloc(16); in fbdev_open_pci()
290 strncpy(*namep, fix.id, 16); in fbdev_open_pci()
300 if (namep) in fbdev_open_pci()
301 *namep = NULL; in fbdev_open_pci()
308 fbdev_open(int scrnIndex, const char *dev, char **namep) in fbdev_open() argument
348 if (namep) { in fbdev_open()
350 *namep = NULL; in fbdev_open()
356 *namep = xnfalloc(16); in fbdev_open()
[all …]
H A Dfbdevhwstub.c23 fbdevHWProbe(struct pci_device *pPci, char *device, char **namep) in fbdevHWProbe() argument
H A Dfbdevhw.h20 char **namep);
/OK3568_Linux_fs/kernel/arch/powerpc/kernel/
H A Dprom_init.c2504 char *prev_name, *namep, *sstart; in scan_dt_build_strings() local
2514 namep = make_room(mem_start, mem_end, MAX_PROPERTY_NAME, 1); in scan_dt_build_strings()
2515 if (call_prom("nextprop", 3, 1, node, prev_name, namep) != 1) { in scan_dt_build_strings()
2517 *mem_start = (unsigned long)namep; in scan_dt_build_strings()
2522 if (prom_strcmp(namep, "name") == 0) { in scan_dt_build_strings()
2523 *mem_start = (unsigned long)namep; in scan_dt_build_strings()
2528 soff = dt_find_string(namep); in scan_dt_build_strings()
2530 *mem_start = (unsigned long)namep; in scan_dt_build_strings()
2531 namep = sstart + soff; in scan_dt_build_strings()
2534 *mem_start = (unsigned long)namep + prom_strlen(namep) + 1; in scan_dt_build_strings()
[all …]
/OK3568_Linux_fs/kernel/scripts/dtc/libfdt/
H A Dfdt_rw.c237 char *namep; in fdt_set_name() local
243 namep = (char *)(uintptr_t)fdt_get_name(fdt, nodeoffset, &oldlen); in fdt_set_name()
244 if (!namep) in fdt_set_name()
249 err = fdt_splice_struct_(fdt, namep, FDT_TAGALIGN(oldlen+1), in fdt_set_name()
254 memcpy(namep, name, newlen+1); in fdt_set_name()
H A Dfdt_ro.c470 const char **namep, int *lenp) in fdt_getprop_by_offset() argument
477 if (namep) { in fdt_getprop_by_offset()
489 *namep = name; in fdt_getprop_by_offset()
491 *namep = fdt_string(fdt, fdt32_ld(&prop->nameoff)); in fdt_getprop_by_offset()
H A Dlibfdt.h735 const char **namep, int *lenp);
/OK3568_Linux_fs/u-boot/scripts/dtc/libfdt/
H A Dfdt_rw.c251 char *namep; in fdt_set_name() local
257 namep = (char *)(uintptr_t)fdt_get_name(fdt, nodeoffset, &oldlen); in fdt_set_name()
258 if (!namep) in fdt_set_name()
263 err = _fdt_splice_struct(fdt, namep, FDT_TAGALIGN(oldlen+1), in fdt_set_name()
268 memcpy(namep, name, newlen+1); in fdt_set_name()
H A Dfdt_ro.c337 const char **namep, int *lenp) in fdt_getprop_by_offset() argument
344 if (namep) in fdt_getprop_by_offset()
345 *namep = fdt_string(fdt, fdt32_to_cpu(prop->nameoff)); in fdt_getprop_by_offset()
H A Dlibfdt.h636 const char **namep, int *lenp);
/OK3568_Linux_fs/u-boot/drivers/gpio/
H A Dgpio-uclass.c624 const char **namep) in get_function() argument
634 if (namep) in get_function()
635 *namep = uc_priv->name[offset]; in get_function()
652 int gpio_get_function(struct udevice *dev, int offset, const char **namep) in gpio_get_function() argument
654 return get_function(dev, offset, true, namep); in gpio_get_function()
657 int gpio_get_raw_function(struct udevice *dev, int offset, const char **namep) in gpio_get_raw_function() argument
659 return get_function(dev, offset, false, namep); in gpio_get_raw_function()
/OK3568_Linux_fs/kernel/fs/xfs/
H A Dxfs_iops.c87 struct xfs_name *namep, in xfs_dentry_to_name() argument
90 namep->name = dentry->d_name.name; in xfs_dentry_to_name()
91 namep->len = dentry->d_name.len; in xfs_dentry_to_name()
92 namep->type = XFS_DIR3_FT_UNKNOWN; in xfs_dentry_to_name()
97 struct xfs_name *namep, in xfs_dentry_mode_to_name() argument
101 namep->name = dentry->d_name.name; in xfs_dentry_mode_to_name()
102 namep->len = dentry->d_name.len; in xfs_dentry_mode_to_name()
103 namep->type = xfs_mode_to_ftype(mode); in xfs_dentry_mode_to_name()
105 if (unlikely(namep->type == XFS_DIR3_FT_UNKNOWN)) in xfs_dentry_mode_to_name()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/
H A Ddebugfs.c168 const char *namep; in mlx5_cmdif_debugfs_init() local
176 namep = mlx5_command_str(i); in mlx5_cmdif_debugfs_init()
177 if (strcmp(namep, "unknown command opcode")) { in mlx5_cmdif_debugfs_init()
178 stats->root = debugfs_create_dir(namep, *cmd); in mlx5_cmdif_debugfs_init()
/OK3568_Linux_fs/u-boot/include/asm-generic/
H A Dgpio.h181 int gpio_get_function(struct udevice *dev, int offset, const char **namep);
199 int gpio_get_raw_function(struct udevice *dev, int offset, const char **namep);
/OK3568_Linux_fs/kernel/fs/nfs/
H A Dnfs42xattr.c180 char *namep; in nfs4_xattr_alloc_entry() local
208 namep = buf + sizeof(struct nfs4_xattr_entry); in nfs4_xattr_alloc_entry()
209 memcpy(namep, name, slen); in nfs4_xattr_alloc_entry()
211 namep = NULL; in nfs4_xattr_alloc_entry()
236 entry->xattr_name = namep; in nfs4_xattr_alloc_entry()
/OK3568_Linux_fs/external/xserver/os/
H A Dauth.c240 const char **namep, unsigned short *data_lenp, char **datap) in AuthorizationFromID() argument
248 *namep = protocols[i].name; in AuthorizationFromID()
/OK3568_Linux_fs/u-boot/lib/libfdt/
H A Dfdt_ro.c316 const char **namep, int *lenp) in fdt_getprop_by_offset() argument
323 if (namep) in fdt_getprop_by_offset()
324 *namep = fdt_string(fdt, fdt32_to_cpu(prop->nameoff)); in fdt_getprop_by_offset()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/qib/
H A Dqib_iba6120.c2506 static u32 qib_read_6120cntrs(struct qib_devdata *dd, loff_t pos, char **namep, in qib_read_6120cntrs() argument
2511 if (namep) { in qib_read_6120cntrs()
2516 *namep = (char *)cntr6120names; in qib_read_6120cntrs()
2540 char **namep, u64 **cntrp) in qib_read_6120portcntrs() argument
2544 if (namep) { in qib_read_6120portcntrs()
2549 *namep = (char *)portcntr6120names; in qib_read_6120portcntrs()
H A Dqib_iba7220.c3159 static u32 qib_read_7220cntrs(struct qib_devdata *dd, loff_t pos, char **namep, in qib_read_7220cntrs() argument
3169 if (namep) { in qib_read_7220cntrs()
3170 *namep = (char *)cntr7220names; in qib_read_7220cntrs()
3194 char **namep, u64 **cntrp) in qib_read_7220portcntrs() argument
3202 if (namep) { in qib_read_7220portcntrs()
3203 *namep = (char *)portcntr7220names; in qib_read_7220portcntrs()
H A Dqib_iba7322.c5021 static u32 qib_read_7322cntrs(struct qib_devdata *dd, loff_t pos, char **namep, in qib_read_7322cntrs() argument
5026 if (namep) { in qib_read_7322cntrs()
5031 *namep = (char *) cntr7322names; in qib_read_7322cntrs()
5057 char **namep, u64 **cntrp) in qib_read_7322portcntrs() argument
5061 if (namep) { in qib_read_7322portcntrs()
5066 *namep = (char *)portcntr7322names; in qib_read_7322portcntrs()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/hfi1/
H A Dchip.h1432 u32 hfi1_read_cntrs(struct hfi1_devdata *dd, char **namep, u64 **cntrp);
1433 u32 hfi1_read_portcntrs(struct hfi1_pportdata *ppd, char **namep, u64 **cntrp);
H A Dchip.c12224 u32 hfi1_read_cntrs(struct hfi1_devdata *dd, char **namep, u64 **cntrp) in hfi1_read_cntrs() argument
12229 if (namep) { in hfi1_read_cntrs()
12231 *namep = dd->cntrnames; in hfi1_read_cntrs()
12295 u32 hfi1_read_portcntrs(struct hfi1_pportdata *ppd, char **namep, u64 **cntrp) in hfi1_read_portcntrs() argument
12300 if (namep) { in hfi1_read_portcntrs()
12302 *namep = ppd->dd->portcntrnames; in hfi1_read_portcntrs()
/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dannotate.c73 static int disasm_line__parse(char *line, const char **namep, char **rawp);
458 static int comment__symbol(char *raw, char *comment, u64 *addrp, char **namep) in comment__symbol() argument
479 *namep = strdup(name); in comment__symbol()
1124 static int disasm_line__parse(char *line, const char **namep, char **rawp) in disasm_line__parse() argument
1138 *namep = strdup(name); in disasm_line__parse()
1140 if (*namep == NULL) in disasm_line__parse()
/OK3568_Linux_fs/external/xserver/include/
H A Dos.h492 const char **namep,

12