Home
last modified time | relevance | path

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

/openbmc/u-boot/common/
H A Dimage-fit.c111 static void fit_get_debug(const void *fit, int noffset, in fit_get_debug() argument
115 prop_name, (ulong)fit, noffset, fit_get_name(fit, noffset, NULL), in fit_get_debug()
129 int noffset; in fit_get_subimage_count() local
135 noffset = fdt_next_node(fit, images_noffset, &ndepth); in fit_get_subimage_count()
136 (noffset >= 0) && (ndepth > 0); in fit_get_subimage_count()
137 noffset = fdt_next_node(fit, noffset, &ndepth)) { in fit_get_subimage_count()
162 static void fit_image_print_data(const void *fit, int noffset, const char *p, in fit_image_print_data() argument
174 fit_get_name(fit, noffset, NULL)); in fit_image_print_data()
176 if (fit_image_hash_get_algo(fit, noffset, &algo)) { in fit_image_print_data()
181 keyname = fdt_getprop(fit, noffset, "key-name-hint", NULL); in fit_image_print_data()
[all …]
H A Dimage-sig.c213 const void *fit, int noffset, int required_keynode, in fit_image_setup_verify() argument
224 if (fit_image_hash_get_algo(fit, noffset, &algo_name)) { in fit_image_setup_verify()
229 padding_name = fdt_getprop(fit, noffset, "padding", NULL); in fit_image_setup_verify()
234 info->keyname = fdt_getprop(fit, noffset, "key-name-hint", NULL); in fit_image_setup_verify()
236 info->node_offset = noffset; in fit_image_setup_verify()
253 int fit_image_check_sig(const void *fit, int noffset, const void *data, in fit_image_check_sig() argument
262 if (fit_image_setup_verify(&info, fit, noffset, required_keynode, in fit_image_check_sig()
266 if (fit_image_hash_get_value(fit, noffset, &fit_value, in fit_image_check_sig()
287 int noffset; in fit_image_verify_sig() local
293 fdt_for_each_subnode(noffset, fit, image_noffset) { in fit_image_verify_sig()
[all …]
H A Dupdate.c215 static int update_fit_getparams(const void *fit, int noffset, ulong *addr, in update_fit_getparams() argument
220 if (fit_image_get_data(fit, noffset, &data, (size_t *)size)) in update_fit_getparams()
223 if (fit_image_get_load(fit, noffset, (ulong *)fladdr)) in update_fit_getparams()
235 int images_noffset, ndepth, noffset; in update_tftp() local
293 noffset = fdt_next_node(fit, images_noffset, &ndepth); in update_tftp()
294 while (noffset >= 0 && ndepth > 0) { in update_tftp()
298 fit_image_name = (char *)fit_get_name(fit, noffset, NULL); in update_tftp()
301 if (!fit_image_verify(fit, noffset)) { in update_tftp()
308 if (update_fit_getparams(fit, noffset, &update_addr, in update_tftp()
323 } else if (fit_image_check_type(fit, noffset, in update_tftp()
[all …]
H A Dbootm.c1005 int noffset; in bootm_host_load_image() local
1014 noffset = fit_image_load(&images, (ulong)fit, in bootm_host_load_image()
1018 if (noffset < 0) in bootm_host_load_image()
1019 return noffset; in bootm_host_load_image()
1020 if (fit_image_get_type(fit, noffset, &image_type)) { in bootm_host_load_image()
1025 if (fit_image_get_comp(fit, noffset, &imape_comp)) { in bootm_host_load_image()
/openbmc/u-boot/tools/
H A Dimage-host.c30 static int fit_set_hash_value(void *fit, int noffset, uint8_t *value, in fit_set_hash_value() argument
35 ret = fdt_setprop(fit, noffset, FIT_VALUE_PROP, value, value_len); in fit_set_hash_value()
38 FIT_VALUE_PROP, fit_get_name(fit, noffset, NULL), in fit_set_hash_value()
60 int noffset, const void *data, size_t size) in fit_image_process_hash() argument
68 node_name = fit_get_name(fit, noffset, NULL); in fit_image_process_hash()
70 if (fit_image_hash_get_algo(fit, noffset, &algo)) { in fit_image_process_hash()
82 ret = fit_set_hash_value(fit, noffset, value, value_len); in fit_image_process_hash()
107 static int fit_image_write_sig(void *fit, int noffset, uint8_t *value, in fit_image_write_sig() argument
120 ret = fdt_setprop(fit, noffset, FIT_VALUE_PROP, value, value_len); in fit_image_write_sig()
122 ret = fdt_setprop_string(fit, noffset, "signer-name", in fit_image_write_sig()
[all …]
H A Dfit_image.c758 int noffset; in fit_extract_contents() local
789 noffset = fdt_next_node(fit, images_noffset, &ndepth); in fit_extract_contents()
790 (noffset >= 0) && (ndepth > 0); in fit_extract_contents()
791 noffset = fdt_next_node(fit, noffset, &ndepth)) { in fit_extract_contents()
799 count, fit_get_name(fit, noffset, NULL)); in fit_extract_contents()
801 fit_image_print(fit, noffset, p); in fit_extract_contents()
803 return fit_image_extract(fit, noffset, in fit_extract_contents()
/openbmc/u-boot/include/
H A Dimage.h974 void fit_image_print(const void *fit, int noffset, const char *p);
1006 int noffset, int *len) in fit_get_name() argument
1008 return fdt_get_name(fit_hdr, noffset, len); in fit_get_name()
1011 int fit_get_desc(const void *fit, int noffset, char **desc);
1012 int fit_get_timestamp(const void *fit, int noffset, time_t *timestamp);
1015 int fit_image_get_os(const void *fit, int noffset, uint8_t *os);
1016 int fit_image_get_arch(const void *fit, int noffset, uint8_t *arch);
1017 int fit_image_get_type(const void *fit, int noffset, uint8_t *type);
1018 int fit_image_get_comp(const void *fit, int noffset, uint8_t *comp);
1019 int fit_image_get_load(const void *fit, int noffset, ulong *load);
[all …]
/openbmc/u-boot/cmd/
H A Dsource.c55 int noffset; in source() local
123 noffset = fit_image_get_node (fit_hdr, fit_uname); in source()
124 if (noffset < 0) { in source()
129 if (!fit_image_check_type (fit_hdr, noffset, IH_TYPE_SCRIPT)) { in source()
136 if (!fit_image_verify(fit_hdr, noffset)) { in source()
143 if (fit_image_get_data (fit_hdr, noffset, &fit_data, &fit_len)) { in source()
H A Dximg.c45 int noffset; in do_imgextract() local
140 noffset = fit_image_get_node(fit_hdr, uname); in do_imgextract()
141 if (noffset < 0) { in do_imgextract()
146 if (!fit_image_check_comp(fit_hdr, noffset, IH_COMP_NONE) in do_imgextract()
156 if (!fit_image_verify(fit_hdr, noffset)) { in do_imgextract()
163 if (fit_image_get_data(fit_hdr, noffset, in do_imgextract()
169 if (fit_image_get_comp(fit_hdr, noffset, &comp)) { in do_imgextract()
H A Dfpga.c320 int noffset; in do_fpga_loadmk() local
334 noffset = fit_image_get_node(fit_hdr, fit_uname); in do_fpga_loadmk()
335 if (noffset < 0) { in do_fpga_loadmk()
341 if (!fit_image_verify(fit_hdr, noffset)) { in do_fpga_loadmk()
347 if (fit_image_get_data(fit_hdr, noffset, &fit_data, in do_fpga_loadmk()
/openbmc/linux/net/mac80211/
H A Dtdls.c378 size_t offset = 0, noffset; in ieee80211_tdls_add_setup_start_ies() local
398 noffset = ieee80211_ie_split(extra_ies, extra_ies_len, in ieee80211_tdls_add_setup_start_ies()
402 skb_put_data(skb, extra_ies + offset, noffset - offset); in ieee80211_tdls_add_setup_start_ies()
403 offset = noffset; in ieee80211_tdls_add_setup_start_ies()
427 noffset = ieee80211_ie_split(extra_ies, extra_ies_len, in ieee80211_tdls_add_setup_start_ies()
431 skb_put_data(skb, extra_ies + offset, noffset - offset); in ieee80211_tdls_add_setup_start_ies()
432 offset = noffset; in ieee80211_tdls_add_setup_start_ies()
494 noffset = ieee80211_ie_split(extra_ies, extra_ies_len, in ieee80211_tdls_add_setup_start_ies()
498 skb_put_data(skb, extra_ies + offset, noffset - offset); in ieee80211_tdls_add_setup_start_ies()
499 offset = noffset; in ieee80211_tdls_add_setup_start_ies()
[all …]
H A Dutil.c1954 size_t noffset; in ieee80211_build_preq_ies_band() local
2008 noffset = ieee80211_ie_split(ie, ie_len, in ieee80211_build_preq_ies_band()
2012 if (end - pos < noffset - *offset) in ieee80211_build_preq_ies_band()
2014 memcpy(pos, ie + *offset, noffset - *offset); in ieee80211_build_preq_ies_band()
2015 pos += noffset - *offset; in ieee80211_build_preq_ies_band()
2016 *offset = noffset; in ieee80211_build_preq_ies_band()
2051 noffset = ieee80211_ie_split(ie, ie_len, in ieee80211_build_preq_ies_band()
2054 if (end - pos < noffset - *offset) in ieee80211_build_preq_ies_band()
2056 memcpy(pos, ie + *offset, noffset - *offset); in ieee80211_build_preq_ies_band()
2057 pos += noffset - *offset; in ieee80211_build_preq_ies_band()
[all …]
H A Dmlme.c902 size_t noffset; in ieee80211_add_before_ht_elems() local
935 noffset = ieee80211_ie_split_ric(elems, elems_len, in ieee80211_add_before_ht_elems()
941 skb_put_data(skb, elems + offset, noffset - offset); in ieee80211_add_before_ht_elems()
943 return noffset; in ieee80211_add_before_ht_elems()
963 size_t noffset; in ieee80211_add_before_vht_elems() local
969 noffset = ieee80211_ie_split(elems, elems_len, in ieee80211_add_before_vht_elems()
972 skb_put_data(skb, elems + offset, noffset - offset); in ieee80211_add_before_vht_elems()
974 return noffset; in ieee80211_add_before_vht_elems()
997 size_t noffset; in ieee80211_add_before_he_elems() local
1003 noffset = ieee80211_ie_split(elems, elems_len, in ieee80211_add_before_he_elems()
[all …]
/openbmc/u-boot/lib/rsa/
H A Drsa-verify.c406 int ndepth, noffset; in rsa_verify() local
452 for (ndepth = 0, noffset = fdt_next_node(info->fit, sig_node, &ndepth); in rsa_verify()
453 (noffset >= 0) && (ndepth > 0); in rsa_verify()
454 noffset = fdt_next_node(info->fit, noffset, &ndepth)) { in rsa_verify()
455 if (ndepth == 1 && noffset != node) { in rsa_verify()
457 noffset); in rsa_verify()
H A Drsa-sign.c654 static int fdt_add_bignum(void *blob, int noffset, const char *prop_name, in fdt_add_bignum() argument
708 ret = fdt_setprop(blob, noffset, prop_name, buf, size); in fdt_add_bignum()
/openbmc/qemu/system/
H A Ddevice_tree.c673 int noffset, poffset, len; in qemu_fdt_randomize_seeds() local
677 for (noffset = fdt_next_node(fdt, 0, NULL); in qemu_fdt_randomize_seeds()
678 noffset >= 0; in qemu_fdt_randomize_seeds()
679 noffset = fdt_next_node(fdt, noffset, NULL)) { in qemu_fdt_randomize_seeds()
680 for (poffset = fdt_first_property_offset(fdt, noffset); in qemu_fdt_randomize_seeds()
/openbmc/linux/fs/f2fs/
H A Dnode.c683 int offset[4], unsigned int noffset[4]) in get_node_path()
693 noffset[0] = 0; in get_node_path()
702 noffset[n] = 1; in get_node_path()
710 noffset[n] = 2; in get_node_path()
718 noffset[n] = 3; in get_node_path()
720 noffset[n] = 4 + offset[n - 1]; in get_node_path()
728 noffset[n] = 4 + dptrs_per_blk; in get_node_path()
730 noffset[n] = 5 + dptrs_per_blk + offset[n - 1]; in get_node_path()
738 noffset[n] = 5 + (dptrs_per_blk * 2); in get_node_path()
740 noffset[n] = 6 + (dptrs_per_blk * 2) + in get_node_path()
[all …]
/openbmc/u-boot/common/spl/
H A Dspl_fit.c334 static int spl_fit_image_get_os(const void *fit, int noffset, uint8_t *os) in spl_fit_image_get_os() argument
339 return fit_image_get_os(fit, noffset, os); in spl_fit_image_get_os()
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Dnpc.h548 u8 noffset; member