Home
last modified time | relevance | path

Searched refs:proplen (Results 1 – 19 of 19) sorted by relevance

/external/dtc/tests/
Dtestutils.c92 uint32_t tag, nameoff, proplen; in check_property() local
104 proplen = fdt32_to_cpu(prop->len); in check_property()
113 if (proplen != retlen) in check_property()
116 name, retlen, proplen); in check_property()
117 if (proplen != len) in check_property()
119 name, proplen, len); in check_property()
128 int proplen; in check_getprop() local
130 propval = fdt_getprop(fdt, nodeoffset, name, &proplen); in check_getprop()
132 FAIL("fdt_getprop(\"%s\"): %s", name, fdt_strerror(proplen)); in check_getprop()
134 if (proplen != len) in check_getprop()
[all …]
Dnode_offset_by_prop_value.c32 int proplen, va_list ap) in vcheck_search() argument
41 propval, proplen); in vcheck_search()
51 int proplen, ...) in check_search() argument
55 va_start(ap, proplen); in check_search()
56 vcheck_search(fdt, propname, propval, proplen, ap); in check_search()
Dsized_cells.c36 int proplen; in check_compare_properties() local
38 propval = fdt_getprop(fdt, 0, name_one, &proplen); in check_compare_properties()
43 fdt_strerror(proplen)); in check_compare_properties()
45 check_getprop(fdt, 0, name_two, proplen, propval); in check_compare_properties()
/external/u-boot/scripts/dtc/libfdt/
Dfdt_wip.c64 int proplen; in fdt_setprop_inplace_namelen_partial() local
67 &proplen); in fdt_setprop_inplace_namelen_partial()
69 return proplen; in fdt_setprop_inplace_namelen_partial()
71 if (proplen < (len + idx)) in fdt_setprop_inplace_namelen_partial()
82 int proplen; in fdt_setprop_inplace() local
84 propval = fdt_getprop(fdt, nodeoffset, name, &proplen); in fdt_setprop_inplace()
86 return proplen; in fdt_setprop_inplace()
88 if (proplen != len) in fdt_setprop_inplace()
Dfdt_rw.c224 int proplen; in fdt_add_property_() local
237 proplen = sizeof(**prop) + FDT_TAGALIGN(len); in fdt_add_property_()
239 err = fdt_splice_struct_(fdt, *prop, 0, proplen); in fdt_add_property_()
335 int len, proplen; in fdt_delprop() local
343 proplen = sizeof(*prop) + FDT_TAGALIGN(len); in fdt_delprop()
344 return fdt_splice_struct_(fdt, prop, proplen, 0); in fdt_delprop()
Dfdt_ro.c570 const void *propval, int proplen) in fdt_node_offset_by_prop_value() argument
587 if (val && (len == proplen) in fdt_node_offset_by_prop_value()
Dlibfdt.h887 const void *propval, int proplen);
/external/dtc/libfdt/
Dfdt_wip.c64 int proplen; in fdt_setprop_inplace_namelen_partial() local
67 &proplen); in fdt_setprop_inplace_namelen_partial()
69 return proplen; in fdt_setprop_inplace_namelen_partial()
71 if (proplen < (len + idx)) in fdt_setprop_inplace_namelen_partial()
82 int proplen; in fdt_setprop_inplace() local
84 propval = fdt_getprop(fdt, nodeoffset, name, &proplen); in fdt_setprop_inplace()
86 return proplen; in fdt_setprop_inplace()
88 if (proplen != len) in fdt_setprop_inplace()
Dfdt_rw.c224 int proplen; in _fdt_add_property() local
237 proplen = sizeof(**prop) + FDT_TAGALIGN(len); in _fdt_add_property()
239 err = _fdt_splice_struct(fdt, *prop, 0, proplen); in _fdt_add_property()
321 int len, proplen; in fdt_delprop() local
329 proplen = sizeof(*prop) + FDT_TAGALIGN(len); in fdt_delprop()
330 return _fdt_splice_struct(fdt, prop, proplen, 0); in fdt_delprop()
Dfdt_ro.c500 const void *propval, int proplen) in fdt_node_offset_by_prop_value() argument
517 if (val && (len == proplen) in fdt_node_offset_by_prop_value()
Dlibfdt.h884 const void *propval, int proplen);
/external/u-boot/drivers/input/
Dkey_matrix.c143 int proplen; in key_matrix_decode_fdt() local
146 prop = dev_read_prop(dev, "linux,keymap", &proplen); in key_matrix_decode_fdt()
153 plain_keycode = create_keymap(config, prop, proplen, KEY_FN, in key_matrix_decode_fdt()
160 prop = dev_read_prop(dev, "linux,fn-keymap", &proplen); in key_matrix_decode_fdt()
165 config->fn_keycode = create_keymap(config, prop, proplen, -1, NULL); in key_matrix_decode_fdt()
/external/libusb/libusb/os/
Dsunos_usb.c90 int proplen; in sunos_fill_in_dev_info() local
98 proplen = di_prop_lookup_bytes(DDI_DEV_T_ANY, node, in sunos_fill_in_dev_info()
100 if (proplen <= 0) { in sunos_fill_in_dev_info()
113 proplen = di_prop_lookup_bytes(DDI_DEV_T_ANY, node, in sunos_fill_in_dev_info()
115 if (proplen <= 0) { in sunos_fill_in_dev_info()
120 dpriv->raw_cfgdescr = calloc(1, proplen); in sunos_fill_in_dev_info()
124 bcopy(rdata, dpriv->raw_cfgdescr, proplen); in sunos_fill_in_dev_info()
656 int proplen; in sunos_get_active_config_descriptor() local
668 proplen = di_prop_lookup_bytes(DDI_DEV_T_ANY, node, in sunos_get_active_config_descriptor()
670 if (proplen <= 0) { in sunos_get_active_config_descriptor()
[all …]
/external/vboot_reference/host/arch/arm/lib/
Dcrossystem_arch.c256 size_t proplen = 0; in VbGetVarGpio() local
265 ret = ReadFdtBlock(name, &pp, &proplen); in VbGetVarGpio()
266 if (ret || !pp || proplen != 12) { in VbGetVarGpio()
/external/kernel-headers/original/uapi/linux/
Dfsl_hypervisor.h181 __u32 proplen; member
/external/dtc/
Dflattree.c681 uint32_t proplen, stroff; in flat_read_property() local
685 proplen = flat_read_word(dtbuf); in flat_read_property()
690 if ((flags & FTF_VARALIGN) && (proplen >= 8)) in flat_read_property()
693 val = flat_read_data(dtbuf, proplen); in flat_read_property()
/external/u-boot/scripts/dtc/
Dflattree.c681 uint32_t proplen, stroff; in flat_read_property() local
685 proplen = flat_read_word(dtbuf); in flat_read_property()
690 if ((flags & FTF_VARALIGN) && (proplen >= 8)) in flat_read_property()
693 val = flat_read_data(dtbuf, proplen); in flat_read_property()
/external/u-boot/lib/libfdt/
Dfdt_ro.c479 const void *propval, int proplen) in fdt_node_offset_by_prop_value() argument
496 if (val && (len == proplen) in fdt_node_offset_by_prop_value()
/external/ipsec-tools/src/racoon/
Dipsec_doi.c1332 int proplen; local
1352 proplen = pa->len;
1355 "proposal #%u len=%d\n", prop->p_no, proplen);
1357 if (proplen == 0) {
1359 "invalid proposal with length %d\n", proplen);
2680 int proplen, trnslen; local
2685 proplen = sizeof(*prop);
2704 proplen += trnslen;
2717 prop->h.len = htons(proplen);
2721 return proplen;