/u-boot/include/dm/ |
H A D | tag.h | 37 * @sibling: List of dm-tag nodes 39 * @tag: Tag type 46 enum dm_tag_t tag; member in struct:dmtag_node 54 * dev_tag_set_ptr() - set a tag's value as a pointer 56 * @tag: Tag type 59 * Set the value, @ptr, as of @tag associated with the device, @dev 63 int dev_tag_set_ptr(struct udevice *dev, enum dm_tag_t tag, void *ptr); 66 * dev_tag_set_val() set a tag's value as an integer 68 * @tag: Tag type 71 * Set the value, @val, as of @tag associate [all...] |
/u-boot/drivers/core/ |
H A D | tag.c | 10 #include <dm/tag.h> 32 const char *tag_get_name(enum dm_tag_t tag) argument 34 return tag_name[tag]; 37 int dev_tag_set_ptr(struct udevice *dev, enum dm_tag_t tag, void *ptr) argument 41 if (!dev || tag >= DM_TAG_COUNT) 45 if (node->dev == dev && node->tag == tag) 54 node->tag = tag; 61 int dev_tag_set_val(struct udevice *dev, enum dm_tag_t tag, ulon argument 85 dev_tag_get_ptr(struct udevice *dev, enum dm_tag_t tag, void **ptrp) argument 102 dev_tag_get_val(struct udevice *dev, enum dm_tag_t tag, ulong *valp) argument 119 dev_tag_del(struct udevice *dev, enum dm_tag_t tag) argument [all...] |
/u-boot/drivers/cache/ |
H A D | cache-l2x0.c | 14 u32 tag[3] = { 0, 0, 0 }; local 42 if (!dev_read_u32_array(dev, "arm,tag-latency", tag, 3)) 43 saved_reg |= L310_LATENCY_CTRL_RD(tag[0] - 1) | 44 L310_LATENCY_CTRL_WR(tag[1] - 1) | 45 L310_LATENCY_CTRL_SETUP(tag[2] - 1); 49 if (!dev_read_u32_array(dev, "arm,data-latency", tag, 3)) 50 saved_reg |= L310_LATENCY_CTRL_RD(tag[0] - 1) | 51 L310_LATENCY_CTRL_WR(tag[1] - 1) | 52 L310_LATENCY_CTRL_SETUP(tag[ [all...] |
/u-boot/arch/mips/mach-octeon/include/mach/ |
H A D | cvmx-global-resources.h | 80 * Creates a tag from the specified characters. 87 struct global_resource_tag tag; local 89 tag.lo = TAG_INIT_PART(a, b, c, d, e, f, g, h); 90 tag.hi = TAG_INIT_PART(i, j, k, l, m, n, o, p); 91 return tag; 103 * @param tag is the tag of the range. The taga is created using the method 107 int cvmx_create_global_resource_range(struct global_resource_tag tag, int nelements); 111 * Allocate nelements in the global resource range with the specified tag. It 115 * @param tag i [all...] |
/u-boot/arch/xtensa/include/asm/ |
H A D | bootparam.h | 22 #define BP_TAG_FIRST 0x7B0B /* first tag with a version number */ 23 #define BP_TAG_LAST 0x7E0B /* last tag */ 30 unsigned short id; /* tag id */ 35 #define bp_tag_next(tag) \ 36 ((struct bp_tag *)((unsigned long)((tag) + 1) + (tag)->size))
|
/u-boot/tools/libfdt/ |
H A D | fdt_rw.c | 13 int tag = FDT_PROP; local 21 for (offset = 0; tag != FDT_END; offset = next_offset) { 22 tag = fdt_next_tag(old, offset, &next_offset); 23 if (tag != FDT_PROP)
|
/u-boot/arch/mips/mach-octeon/ |
H A D | cvmx-fpa-resource.c | 86 struct global_resource_tag tag; local 92 tag = get_fpa3_aura_resource_tag(node); 94 if (cvmx_create_global_resource_range(tag, cvmx_fpa3_num_auras()) != 102 rv = cvmx_reserve_global_resource_range(tag, owner, 105 rv = cvmx_resource_alloc_reverse(tag, owner); 120 struct global_resource_tag tag = get_fpa3_aura_resource_tag(aura.node); local 126 return cvmx_free_global_resource_range_multiple(tag, &laura, 1); 135 struct global_resource_tag tag; local 141 tag = get_fpa3_pool_resource_tag(node); 143 if (cvmx_create_global_resource_range(tag, cvmx_fpa3_num_pool 168 struct global_resource_tag tag = get_fpa3_pool_resource_tag(pool.node); local 187 struct global_resource_tag tag; local 214 struct global_resource_tag tag; local [all...] |
H A D | cvmx-global-resources.c | 98 struct global_resource_tag tag; member in struct:cvmx_global_resource_entry 281 u64 cvmx_get_global_resource(struct global_resource_tag tag, int no_lock) argument 300 if (tag_lo == tag.lo && tag_hi == tag.hi) { 323 u64 cvmx_create_global_resource(struct global_resource_tag tag, u64 size, argument 337 cvmx_get_global_resource(tag, CVMX_GLOBAL_RESOURCE_NO_LOCKING); 349 __cvmx_get_tagname(&tag, tagname); 362 __cvmx_get_tagname(&tag, tagname); 372 CVMX_RESOURCE_TAG_SET_FIELD(resource_entry_addr, lo, tag.lo); 373 CVMX_RESOURCE_TAG_SET_FIELD(resource_entry_addr, hi, tag 385 cvmx_create_global_resource_range(struct global_resource_tag tag, int nelements) argument 408 cvmx_allocate_global_resource_range(struct global_resource_tag tag, u64 owner, int nelements, int alignment) argument 428 cvmx_resource_alloc_reverse(struct global_resource_tag tag, u64 owner) argument 446 cvmx_reserve_global_resource_range(struct global_resource_tag tag, u64 owner, int base, int nelements) argument 458 cvmx_free_global_resource_range_with_base(struct global_resource_tag tag, int base, int nelements) argument 474 cvmx_free_global_resource_range_multiple(struct global_resource_tag tag, int bases[], int nelements) argument [all...] |
H A D | cvmx-pko3-resources.c | 147 * @param tag processed global resource tag 153 int cvmx_pko_alloc_global_resource(struct global_resource_tag tag, argument 159 if (cvmx_create_global_resource_range(tag, max_num_queues)) { 161 (unsigned long)tag.hi, (unsigned long)tag.lo); 165 res = cvmx_reserve_global_resource_range(tag, owner, base_queue, 168 res = cvmx_allocate_global_resource_range(tag, owner, 172 debug("ERROR: Failed to %s PKO3 tag %lx:%lx, %i %i %i %i.\n", 174 (unsigned long)tag 195 struct global_resource_tag tag = local [all...] |
/u-boot/board/ste/stemmy/ |
H A D | stemmy.c | 21 static const struct tag *fw_atags_copy; 31 static const struct tag *fw_atags_get(void) 33 const struct tag *tags = (const struct tag *)fw_atags; 35 if (tags->hdr.tag != ATAG_CORE) { 36 log_err("Invalid atags: tag 0x%x at %p\n", tags->hdr.tag, tags); 45 const struct tag *t, *tags = fw_atags_get(); 51 if (t->hdr.tag != ATAG_MEM) 63 const struct tag * 135 skip_atag(u32 tag) argument [all...] |
/u-boot/arch/arm/mach-bcm283x/ |
H A D | mbox.c | 109 struct bcm2835_mbox_tag_hdr *tag; local 148 /* Validate each tag's response status */ 150 tag = (void *)(buffer + 1); 152 while (tag->tag) { 153 if (!(tag->val_len & BCM2835_MBOX_TAG_VAL_LEN_RESPONSE)) { 162 tag->val_len &= ~BCM2835_MBOX_TAG_VAL_LEN_RESPONSE; 163 tag = (void *)(((u8 *)tag) + sizeof(*tag) [all...] |
/u-boot/arch/x86/include/asm/ |
H A D | coreboot_tables.h | 128 u32 tag; member in struct:cb_record 150 u32 tag; member in struct:cb_memory 158 u32 tag; member in struct:cb_hwrpb 166 u32 tag; member in struct:cb_mainboard 185 u32 tag; member in struct:cb_string 193 u32 tag; member in struct:cb_serial 224 u32 tag; member in struct:cb_console 239 u32 tag; member in struct:cb_forward 247 u32 tag; member in struct:cb_framebuffer 276 u32 tag; member in struct:cb_gpios 285 u32 tag; member in struct:cb_fdt 293 u32 tag; member in struct:cb_vdat 324 u32 tag; member in struct:cb_cbmem_tab 332 u32 tag; member in struct:cb_vbnv 342 u32 tag; member in struct:cb_x86_rom_mtrr 359 u32 tag; member in struct:cb_board_id 372 u32 tag; member in struct:cb_macs 382 u32 tag; member in struct:cb_ram_code 389 u32 tag; member in struct:cb_spi_flash 399 u32 tag; member in struct:lb_range 407 u32 tag; member in struct:cb_boot_media_params 420 u32 tag; member in struct:cb_cbmem_entry 429 u32 tag; member in struct:cb_tsc_info 443 u32 tag; member in struct:cb_cmos_option_table 454 u32 tag; member in struct:cb_cmos_entries 466 u32 tag; member in struct:cb_cmos_enums 477 u32 tag; member in struct:cb_cmos_defaults 489 u32 tag; member in struct:cb_cmos_checksum [all...] |
/u-boot/drivers/net/ |
H A D | dsa_sandbox.c | 61 struct dsa_sandbox_tag *tag = packet; local 69 tag->magic = DSA_SANDBOX_MAGIC; 70 tag->port = port; 78 struct dsa_sandbox_tag *tag = packet; local 83 if (tag->magic != DSA_SANDBOX_MAGIC) 86 *port = tag->port; 87 if (!sb_dsa_port_enabled(dev, tag->port)) 104 struct dsa_sandbox_tag *tag = packet; local 111 if (tag->magic != DSA_SANDBOX_MAGIC) 114 port_index = tag [all...] |
/u-boot/arch/arm/include/asm/ |
H A D | setup.h | 19 * tag way. 88 u32 tag; member in struct:tag_header 208 struct tag { struct 234 u32 tag; member in struct:tagtable 235 int (*parse)(const struct tag *); 239 #define __tagtable(tag, fn) \ 240 static struct tagtable __tagtable_##fn __tag = { tag, fn } 242 #define tag_member_present(tag,member) \ 243 ((unsigned long)(&((struct tag *)0L)->member + 1) \ 244 <= (tag) [all...] |
/u-boot/include/ |
H A D | imx_container.h | 28 u8 tag; member in struct:container_hdr 52 u8 tag; member in struct:signature_block_hdr 64 u8 tag; member in struct:generate_key_blob_hdr 75 return container->tag == CONTAINER_HDR_TAG &&
|
H A D | bloblist.h | 12 * since a 32-bit tag provides enough space for all the tags we will even need. 141 * tag in one of the areas above if you want that. 257 * Searches the bloblist and returns the blob with the matching tag 259 * @tag: Tag to search for (enum bloblist_tag_t) 264 void *bloblist_find(uint tag, int size); 272 * particular tag. It is typically safe to call in the first phase of U-Boot 275 * @tag: Tag to add (enum bloblist_tag_t) 281 void *bloblist_add(uint tag, int size, int align_log2); 288 * @tag: Tag to add (enum bloblist_tag_t) 295 int bloblist_ensure_size(uint tag, in [all...] |
/u-boot/drivers/tpm/ |
H A D | tpm2_tis_sandbox.c | 212 * Check the tag validity depending on the command (authentication required or 216 static int sandbox_tpm2_check_session(struct udevice *dev, u32 command, u16 tag, argument 230 if (tag != TPM2_ST_NO_SESSIONS) { 247 if (tag != TPM2_ST_SESSIONS) { 376 static int sandbox_tpm2_fill_buf(u8 *recv, size_t *recv_len, u16 tag, u32 rc) argument 378 *recv_len = sizeof(tag) + sizeof(u32) + sizeof(rc); 380 /* Write tag */ 381 put_unaligned_be16(tag, recv); 382 recv += sizeof(tag); 427 u16 tag, mod local [all...] |
/u-boot/common/ |
H A D | bloblist.c | 35 enum bloblist_tag_t tag; member in struct:tag_name 69 const char *bloblist_tag_name(enum bloblist_tag_t tag) argument 74 if (tag_name[i].tag == tag) 132 static struct bloblist_rec *bloblist_findrec(uint tag) argument 141 if (rec_tag(rec) == tag) 148 static int bloblist_addrec(uint tag, int size, int align_log2, argument 190 rec->tag_and_hdr_size = tag | sizeof(*rec) << BLOBLISTR_HDR_SIZE_SHIFT; 202 static int bloblist_ensurerec(uint tag, struct bloblist_rec **recp, int size, argument 207 rec = bloblist_findrec(tag); 225 bloblist_find(uint tag, int size) argument 238 bloblist_add(uint tag, int size, int align_log2) argument 248 bloblist_ensure_size(uint tag, int size, int align_log2, void **blobp) argument 261 bloblist_ensure(uint tag, int size) argument 271 bloblist_ensure_size_ret(uint tag, int *sizep, void **blobp) argument 328 bloblist_resize(uint tag, int new_size) argument [all...] |
/u-boot/scripts/dtc/libfdt/ |
H A D | fdt.h | 37 fdt32_t tag; member in struct:fdt_node_header 42 fdt32_t tag; member in struct:fdt_property
|
/u-boot/lib/crypto/ |
H A D | rsa_helper.c | 24 int rsa_get_n(void *context, size_t hdrlen, unsigned char tag, argument 58 int rsa_get_e(void *context, size_t hdrlen, unsigned char tag, argument 73 int rsa_get_d(void *context, size_t hdrlen, unsigned char tag, argument 88 int rsa_get_p(void *context, size_t hdrlen, unsigned char tag, argument 103 int rsa_get_q(void *context, size_t hdrlen, unsigned char tag, argument 118 int rsa_get_dp(void *context, size_t hdrlen, unsigned char tag, argument 133 int rsa_get_dq(void *context, size_t hdrlen, unsigned char tag, argument 148 int rsa_get_qinv(void *context, size_t hdrlen, unsigned char tag, argument
|
H A D | x509_cert_parser.c | 168 unsigned char tag, 188 unsigned char tag, 194 hdrlen, tag, (unsigned long)value - ctx->data, vlen); 205 unsigned char tag, 267 unsigned char tag, 299 unsigned char tag, 312 unsigned char tag, 341 unsigned char tag, 416 unsigned char tag, 422 return x509_fabricate_name(ctx, hdrlen, tag, 167 x509_note_OID(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) argument 187 x509_note_tbs_certificate(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) argument 204 x509_note_pkey_algo(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) argument 266 x509_note_signature(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) argument 298 x509_note_serial(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) argument 311 x509_extract_name_segment(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) argument 340 x509_fabricate_name(struct x509_parse_context *ctx, size_t hdrlen, unsigned char tag, char **_name, size_t vlen) argument 415 x509_note_issuer(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) argument 425 x509_note_subject(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) argument 438 x509_note_params(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) argument 459 x509_extract_key_data(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) argument 488 x509_process_extension(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) argument 545 x509_decode_time(time64_t *_t, size_t hdrlen, unsigned char tag, const unsigned char *value, size_t vlen) argument 622 x509_note_not_before(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) argument 630 x509_note_not_after(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) argument 641 x509_akid_note_kid(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) argument 664 x509_akid_note_name(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) argument 680 x509_akid_note_serial(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) argument [all...] |
/u-boot/tools/buildman/ |
H A D | bsettings.py | 61 def set_item(section, tag, value): 66 settings.set(section, tag, value) 104 # flag and build tag to snapper boards:
|
/u-boot/board/Synology/common/ |
H A D | legacy.c | 47 void setup_board_tags(struct tag **in_params) 50 struct tag *params; 73 params->hdr.tag = ATAG_MV_UBOOT;
|
/u-boot/board/toradex/common/ |
H A D | tdx-cfg-block.c | 363 struct toradex_tag *tag; local 390 /* Expect a valid tag first */ 391 tag = (struct toradex_tag *)config_block; 392 if (tag->flags != TAG_FLAG_VALID || tag->id != TAG_VALID) { 401 * check if there is enough space for storing tag and value of the 406 tag = (struct toradex_tag *)(config_block + offset); 408 if (tag->id == TAG_INVALID) 411 if (tag->flags == TAG_FLAG_VALID) { 412 switch (tag 499 get_cfgblock_barcode(char *barcode, struct toradex_hw *tag, u32 *serial) argument 527 struct toradex_tag *tag; local 552 struct toradex_tag *tag; local [all...] |
/u-boot/arch/arm/lib/ |
H A D | bootm.c | 44 static struct tag *params; 88 params = (struct tag *)bd->bi_boot_params; 90 params->hdr.tag = ATAG_CORE; 105 params->hdr.tag = ATAG_MEM; 131 params->hdr.tag = ATAG_CMDLINE; 146 params->hdr.tag = ATAG_INITRD2; 155 static void setup_serial_tag(struct tag **tmp) 157 struct tag *params = *tmp; 161 params->hdr.tag = ATAG_SERIAL; 169 static void setup_revision_tag(struct tag **in_param [all...] |