Home
last modified time | relevance | path

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

/third_party/uboot/u-boot-2020.01/scripts/dtc/libfdt/
Dfdt_wip.c19 int proplen; in fdt_setprop_inplace_namelen_partial() local
22 &proplen); in fdt_setprop_inplace_namelen_partial()
24 return proplen; in fdt_setprop_inplace_namelen_partial()
26 if (proplen < (len + idx)) in fdt_setprop_inplace_namelen_partial()
37 int proplen; in fdt_setprop_inplace() local
39 propval = fdt_getprop(fdt, nodeoffset, name, &proplen); in fdt_setprop_inplace()
41 return proplen; in fdt_setprop_inplace()
43 if (proplen != len) in fdt_setprop_inplace()
Dfdt_rw.c206 int proplen; in fdt_add_property_() local
220 proplen = sizeof(**prop) + FDT_TAGALIGN(len); in fdt_add_property_()
222 err = fdt_splice_struct_(fdt, *prop, 0, proplen); in fdt_add_property_()
322 int len, proplen; in fdt_delprop() local
330 proplen = sizeof(*prop) + FDT_TAGALIGN(len); in fdt_delprop()
331 return fdt_splice_struct_(fdt, prop, proplen, 0); in fdt_delprop()
Dfdt_ro.c653 const void *propval, int proplen) in fdt_node_offset_by_prop_value() argument
670 if (val && (len == proplen) in fdt_node_offset_by_prop_value()
Dlibfdt.h979 const void *propval, int proplen);
/third_party/uboot/u-boot-2020.01/arch/arm/mach-imx/imx8/
Dfdt.c127 int proplen; in config_smmu_fdt_device_sid() local
131 prop = fdt_getprop(blob, device_offset, "fsl,sc_rsrc_id", &proplen); in config_smmu_fdt_device_sid()
136 name, sid, (int)(proplen / sizeof(fdt32_t))); in config_smmu_fdt_device_sid()
137 for (i = 0; i < proplen / sizeof(fdt32_t); ++i) { in config_smmu_fdt_device_sid()
175 int offset, proplen, i, ret; in config_smmu_fdt() local
181 prop = fdt_getprop(blob, offset, "mmu-masters", &proplen); in config_smmu_fdt()
185 for (i = 0; i < proplen / 8; ++i) { in config_smmu_fdt()
211 prop = fdt_getprop(blob, offset, "iommus", &proplen); in config_smmu_fdt()
214 debug("node %s iommus proplen %d\n", name, proplen); in config_smmu_fdt()
216 if (proplen == 12) { in config_smmu_fdt()
[all …]
/third_party/uboot/u-boot-2020.01/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()
/third_party/libusb/libusb/os/
Dsunos_usb.c458 int proplen; in sunos_fill_in_dev_info() local
466 proplen = di_prop_lookup_bytes(DDI_DEV_T_ANY, node, in sunos_fill_in_dev_info()
468 if (proplen <= 0) { in sunos_fill_in_dev_info()
474 proplen = di_prop_lookup_bytes(DDI_DEV_T_ANY, node, in sunos_fill_in_dev_info()
476 if (proplen <= 0) { in sunos_fill_in_dev_info()
481 dpriv->raw_cfgdescr = calloc(1, proplen); in sunos_fill_in_dev_info()
485 bcopy(rdata, dpriv->raw_cfgdescr, proplen); in sunos_fill_in_dev_info()
1010 int proplen; in sunos_get_active_config_descriptor() local
1023 proplen = di_prop_lookup_bytes(DDI_DEV_T_ANY, node, in sunos_get_active_config_descriptor()
1025 if (proplen <= 0) { in sunos_get_active_config_descriptor()
[all …]
/third_party/uboot/u-boot-2020.01/drivers/core/
Dof_access.c381 int proplen) in of_device_has_prop_value() argument
385 if (!prop || !prop->value || prop->length != proplen) in of_device_has_prop_value()
387 return !memcmp(prop->value, propval, proplen); in of_device_has_prop_value()
392 const void *propval, int proplen) in of_find_node_by_prop_value() argument
397 if (of_device_has_prop_value(np, propname, propval, proplen) && in of_find_node_by_prop_value()
Dofnode.c812 const void *propval, int proplen) in ofnode_by_prop_value() argument
817 propval, proplen)); in ofnode_by_prop_value()
821 propname, propval, proplen)); in ofnode_by_prop_value()
/third_party/uboot/u-boot-2020.01/include/dm/
Dof_access.h211 int proplen);
Dofnode.h743 const void *propval, int proplen);
/third_party/uboot/u-boot-2020.01/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()
/third_party/uboot/u-boot-2020.01/lib/libfdt/
Dfdt_ro.c657 const void *propval, int proplen) in fdt_node_offset_by_prop_value() argument
674 if (val && (len == proplen) in fdt_node_offset_by_prop_value()