/u-boot/arch/x86/include/asm/ |
A D | coreboot_tables.h | 28 u32 tag; member 50 u32 tag; member 58 u32 tag; member 66 u32 tag; member 85 u32 tag; member 93 u32 tag; member 124 u32 tag; member 139 u32 tag; member 147 u32 tag; member 175 u32 tag; member [all …]
|
/u-boot/drivers/cache/ |
A D | cache-l2x0.c | 14 u32 tag[3] = { 0, 0, 0 }; in l2c310_of_parse_and_init() local 42 if (!dev_read_u32_array(dev, "arm,tag-latency", tag, 3)) in l2c310_of_parse_and_init() 43 saved_reg |= L310_LATENCY_CTRL_RD(tag[0] - 1) | in l2c310_of_parse_and_init() 44 L310_LATENCY_CTRL_WR(tag[1] - 1) | in l2c310_of_parse_and_init() 45 L310_LATENCY_CTRL_SETUP(tag[2] - 1); in l2c310_of_parse_and_init() 49 if (!dev_read_u32_array(dev, "arm,data-latency", tag, 3)) in l2c310_of_parse_and_init() 50 saved_reg |= L310_LATENCY_CTRL_RD(tag[0] - 1) | in l2c310_of_parse_and_init() 51 L310_LATENCY_CTRL_WR(tag[1] - 1) | in l2c310_of_parse_and_init() 52 L310_LATENCY_CTRL_SETUP(tag[2] - 1); in l2c310_of_parse_and_init()
|
/u-boot/drivers/tpm/ |
A D | tpm2_tis_sandbox.c | 83 if (tag != TPM2_ST_NO_SESSIONS) { in sandbox_tpm2_check_session() 96 if (tag != TPM2_ST_SESSIONS) { in sandbox_tpm2_check_session() 224 put_unaligned_be16(tag, recv); in sandbox_tpm2_fill_buf() 225 recv += sizeof(tag); in sandbox_tpm2_fill_buf() 268 u16 tag, mode, new_pw_sz; in sandbox_tpm2_xfer() local 282 tag = get_unaligned_be16(sent); in sandbox_tpm2_xfer() 283 sent += sizeof(tag); in sandbox_tpm2_xfer() 400 put_unaligned_be16(tag, recv); in sandbox_tpm2_xfer() 401 recv += sizeof(tag); in sandbox_tpm2_xfer() 498 put_unaligned_be16(tag, recv); in sandbox_tpm2_xfer() [all …]
|
/u-boot/common/ |
A D | bloblist.c | 47 if (tag < 0 || tag >= BLOBLISTT_COUNT) in bloblist_tag_name() 50 return tag_name[tag]; in bloblist_tag_name() 86 if (rec->tag == tag) in bloblist_findrec() 120 rec->tag = tag; in bloblist_addrec() 139 rec = bloblist_findrec(tag); in bloblist_ensurerec() 157 void *bloblist_find(uint tag, int size) in bloblist_find() argument 161 rec = bloblist_findrec(tag); in bloblist_find() 174 if (bloblist_addrec(tag, size, align, &rec)) in bloblist_add() 193 void *bloblist_ensure(uint tag, int size) in bloblist_ensure() argument 197 if (bloblist_ensurerec(tag, &rec, size, 0)) in bloblist_ensure() [all …]
|
/u-boot/arch/arm/mach-bcm283x/ |
A D | mbox.c | 109 struct bcm2835_mbox_tag_hdr *tag; in bcm2835_mbox_call_prop() local 150 tag = (void *)(buffer + 1); in bcm2835_mbox_call_prop() 152 while (tag->tag) { in bcm2835_mbox_call_prop() 153 if (!(tag->val_len & BCM2835_MBOX_TAG_VAL_LEN_RESPONSE)) { in bcm2835_mbox_call_prop() 162 tag->val_len &= ~BCM2835_MBOX_TAG_VAL_LEN_RESPONSE; in bcm2835_mbox_call_prop() 163 tag = (void *)(((u8 *)tag) + sizeof(*tag) + tag->val_buf_size); in bcm2835_mbox_call_prop()
|
/u-boot/include/ |
A D | bloblist.h | 108 u32 tag; member 124 void *bloblist_find(uint tag, int size); 141 void *bloblist_add(uint tag, int size, int align); 155 int bloblist_ensure_size(uint tag, int size, int align, void **blobp); 167 void *bloblist_ensure(uint tag, int size); 180 int bloblist_ensure_size_ret(uint tag, int *sizep, void **blobp); 243 const char *bloblist_tag_name(enum bloblist_tag_t tag);
|
/u-boot/arch/nds32/include/asm/ |
A D | setup.h | 23 u32 tag; member 126 struct tag { struct 142 u32 tag; argument 143 int (*parse)(const struct tag *); 146 #define tag_member_present(tag, member) \ argument 147 ((unsigned long)(&((struct tag *)0L)->member + 1) \ 148 <= (tag)->hdr.size * 4) 150 #define tag_next(t) ((struct tag *)((u32 *)(t) + (t)->hdr.size)) 159 #define __tagtable(tag, fn) \ argument 160 static struct tagtable __tagtable_##fn __tag = { tag, fn }
|
/u-boot/arch/arm/include/asm/ |
A D | setup.h | 88 u32 tag; member 208 struct tag { struct 234 u32 tag; argument 235 int (*parse)(const struct tag *); 239 #define __tagtable(tag, fn) \ argument 240 static struct tagtable __tagtable_##fn __tag = { tag, fn } 242 #define tag_member_present(tag,member) \ argument 243 ((unsigned long)(&((struct tag *)0L)->member + 1) \ 244 <= (tag)->hdr.size * 4) 246 #define tag_next(t) ((struct tag *)((u32 *)(t) + (t)->hdr.size)) [all …]
|
/u-boot/arch/nds32/lib/ |
A D | bootm.c | 40 static struct tag *params; 137 params = (struct tag *)bd->bi_boot_params; in setup_start_tag() 139 params->hdr.tag = ATAG_CORE; in setup_start_tag() 155 params->hdr.tag = ATAG_MEM; in setup_memory_tags() 183 params->hdr.tag = ATAG_CMDLINE; in setup_commandline_tag() 200 params->hdr.tag = ATAG_INITRD2; in setup_initrd_tag() 211 void setup_serial_tag(struct tag **tmp) in setup_serial_tag() 213 struct tag *params = *tmp; in setup_serial_tag() 218 params->hdr.tag = ATAG_SERIAL; in setup_serial_tag() 234 params->hdr.tag = ATAG_REVISION; in setup_revision_tag() [all …]
|
/u-boot/lib/crypto/ |
A D | rsa_helper.c | 23 int rsa_get_n(void *context, size_t hdrlen, unsigned char tag, in rsa_get_n() argument 57 int rsa_get_e(void *context, size_t hdrlen, unsigned char tag, in rsa_get_e() argument 72 int rsa_get_d(void *context, size_t hdrlen, unsigned char tag, in rsa_get_d() argument 87 int rsa_get_p(void *context, size_t hdrlen, unsigned char tag, in rsa_get_p() argument 102 int rsa_get_q(void *context, size_t hdrlen, unsigned char tag, in rsa_get_q() argument 117 int rsa_get_dp(void *context, size_t hdrlen, unsigned char tag, in rsa_get_dp() argument 132 int rsa_get_dq(void *context, size_t hdrlen, unsigned char tag, in rsa_get_dq() argument 147 int rsa_get_qinv(void *context, size_t hdrlen, unsigned char tag, in rsa_get_qinv() argument
|
A D | pkcs7_parser.c | 217 unsigned char tag, in pkcs7_note_OID() argument 274 unsigned char tag, in pkcs7_sig_note_pkey_algo() argument 312 unsigned char tag, in pkcs7_note_signeddata_version() argument 346 unsigned char tag, in pkcs7_note_signerinfo_version() argument 429 unsigned char tag, in pkcs7_note_certificate_list() argument 467 unsigned char tag, in pkcs7_note_data() argument 518 if (tag != ASN1_OTS) 600 unsigned char tag, argument 613 unsigned char tag, argument 626 unsigned char tag, argument [all …]
|
A D | x509_cert_parser.c | 167 unsigned char tag, in x509_note_OID() argument 204 unsigned char tag, in x509_note_pkey_algo() argument 266 unsigned char tag, in x509_note_signature() argument 298 unsigned char tag, in x509_note_serial() argument 415 unsigned char tag, in x509_note_issuer() argument 459 unsigned char tag, in x509_extract_key_data() argument 488 unsigned char tag, in x509_process_extension() argument 622 unsigned char tag, in x509_note_not_before() argument 630 unsigned char tag, in x509_note_not_after() argument 664 unsigned char tag, in x509_akid_note_name() argument [all …]
|
/u-boot/tools/libfdt/ |
A D | fdt_rw.c | 13 int tag = FDT_PROP; in fdt_remove_unused_strings() local 21 for (offset = 0; tag != FDT_END; offset = next_offset) { in fdt_remove_unused_strings() 22 tag = fdt_next_tag(old, offset, &next_offset); in fdt_remove_unused_strings() 23 if (tag != FDT_PROP) in fdt_remove_unused_strings()
|
/u-boot/lib/ |
A D | asn1_decoder.c | 68 unsigned char tag, tmp; in asn1_find_indefinite_length() local 80 tag = data[dp++]; in asn1_find_indefinite_length() 81 if (tag == ASN1_EOC) { in asn1_find_indefinite_length() 93 if (unlikely((tag & 0x1f) == ASN1_LONG_TAG)) { in asn1_find_indefinite_length() 236 tag = data[dp++]; in asn1_ber_decoder() 237 if (unlikely((tag & 0x1f) == ASN1_LONG_TAG)) in asn1_ber_decoder() 241 pr_debug("- any %02x\n", tag); in asn1_ber_decoder() 252 tmp = optag ^ tag; in asn1_ber_decoder() 271 if (unlikely(!(tag & ASN1_CONS_BIT))) in asn1_ber_decoder() 313 tag, len, flags & FLAG_CONS ? " CONS" : ""); in asn1_ber_decoder() [all …]
|
/u-boot/arch/xtensa/include/asm/ |
A D | bootparam.h | 35 #define bp_tag_next(tag) \ argument 36 ((struct bp_tag *)((unsigned long)((tag) + 1) + (tag)->size))
|
/u-boot/board/toradex/common/ |
A D | tdx-cfg-block.c | 280 struct toradex_tag *tag; in read_tdx_cfg_block() local 309 if (tag->flags != TAG_FLAG_VALID || tag->id != TAG_VALID) { in read_tdx_cfg_block() 325 if (tag->id == TAG_INVALID) in read_tdx_cfg_block() 329 switch (tag->id) { in read_tdx_cfg_block() 344 offset += tag->len * 4; in read_tdx_cfg_block() 582 struct toradex_tag *tag; in write_tag() local 588 tag->id = tag_id; in write_tag() 607 struct toradex_tag *tag; in read_tdx_cfg_block_carrier() local 627 if (tag->flags != TAG_FLAG_VALID || tag->id != TAG_VALID) { in read_tdx_cfg_block_carrier() 643 switch (tag->id) { in read_tdx_cfg_block_carrier() [all …]
|
/u-boot/board/nokia/rx51/ |
A D | rx51.c | 120 while (omap[i].hdr.tag) { in init_omap_tags() 121 switch (omap[i].hdr.tag) { in init_omap_tags() 146 while (t->hdr.tag) { in reuse_omap_atags() 147 switch (t->hdr.tag) { in reuse_omap_atags() 187 struct tag *t = (struct tag *)gd->bd->bi_boot_params; in reuse_atags() 190 if (t->hdr.tag != ATAG_CORE) in reuse_atags() 197 while (t->hdr.tag != ATAG_NONE) { in reuse_atags() 198 switch (t->hdr.tag) { in reuse_atags() 265 struct tag *params; in setup_board_tags() 299 for (i = 0; omap[i].hdr.tag; i++) { in setup_board_tags() [all …]
|
/u-boot/arch/arm/lib/ |
A D | bootm.c | 45 static struct tag *params; 133 params = (struct tag *)bd->bi_boot_params; in setup_start_tag() 135 params->hdr.tag = ATAG_CORE; in setup_start_tag() 150 params->hdr.tag = ATAG_MEM; in setup_memory_tags() 176 params->hdr.tag = ATAG_CMDLINE; in setup_commandline_tag() 191 params->hdr.tag = ATAG_INITRD2; in setup_initrd_tag() 200 static void setup_serial_tag(struct tag **tmp) in setup_serial_tag() 202 struct tag *params = *tmp; in setup_serial_tag() 206 params->hdr.tag = ATAG_SERIAL; in setup_serial_tag() 219 params->hdr.tag = ATAG_REVISION; in setup_revision_tag() [all …]
|
/u-boot/drivers/usb/gadget/ |
A D | f_rockusb.c | 358 debug("cbw: tag=%x\n", cbw->tag); in printcbw() 377 debug("csw: tag:%x\n", csw->tag); in printcsw() 388 csw->tag = tag; in rockusb_tx_write_csw() 448 rockusb_tx_write_csw(f_rkusb->tag, 0, CSW_GOOD, in tx_handler_ul_image() 471 rockusb_tx_write_csw(f_rkusb->tag, 0, CSW_FAIL, in tx_handler_ul_image() 572 f_rkusb->tag = cbw->tag; in cb_read_storage_id() 614 f_rkusb->tag = cbw->tag; in cb_get_chip_version() 629 f_rkusb->tag = cbw->tag; in cb_read_lba() 671 f_rkusb->tag = cbw->tag; in cb_write_lba() 712 f_rkusb->tag = cbw->tag; in cb_erase_lba() [all …]
|
/u-boot/tools/ |
A D | asn1_compiler.c | 1229 e->tag); in dump_element() 1239 tag, in dump_element() 1446 (tag && tag->flags & ELEMENT_SKIPPABLE)) in render_element() 1503 if (!tag || !(tag->flags & ELEMENT_TAG_SPECIFIED)) in render_element() 1504 tag = e; in render_element() 1507 tag->tag != 14 && in render_element() 1508 tag->tag != 15 && in render_element() 1509 tag->tag != 31) in render_element() 1513 asn1_universal_tags[tag->tag]); in render_element() 1518 tag->tag); in render_element() [all …]
|
/u-boot/scripts/dtc/libfdt/ |
A D | fdt.c | 157 uint32_t tag; in fdt_next_tag() local 165 tag = fdt32_to_cpu(*tagp); in fdt_next_tag() 169 switch (tag) { in fdt_next_tag() 206 return tag; in fdt_next_tag() 230 uint32_t tag; in fdt_next_node() local 238 tag = fdt_next_tag(fdt, offset, &nextoffset); in fdt_next_node() 240 switch (tag) { in fdt_next_node() 262 } while (tag != FDT_BEGIN_NODE); in fdt_next_node()
|
/u-boot/arch/sandbox/cpu/ |
A D | cpu.c | 113 if (mentry->tag == paddr) { in phys_to_virt() 136 mentry->tag); in find_tag() 161 debug("%s: Used map from %p to %lx\n", __func__, ptr, mentry->tag); in virt_to_phys() 163 return mentry->tag; in virt_to_phys() 220 mentry->tag = state->next_tag++; in map_to_sysmem() 224 (ulong)mentry->tag); in map_to_sysmem() 231 return mentry->tag; in map_to_sysmem()
|
/u-boot/fs/ext4/ |
A D | ext4_journal.c | 338 struct ext3_journal_block_tag *tag; in recover_transaction() local 361 flags = be32_to_cpu(tag->flags); in recover_transaction() 366 debug("\t\ttag %u\n", be32_to_cpu(tag->block)); in recover_transaction() 368 if (check_blknr_for_revoke(be32_to_cpu(tag->block), in recover_transaction() 404 struct ext3_journal_block_tag *tag = NULL; in ext4fs_check_journal_state() local 469 tag = (struct ext3_journal_block_tag *) in ext4fs_check_journal_state() 474 flags = be32_to_cpu(tag->flags); in ext4fs_check_journal_state() 478 debug("\t\ttag %u\n", be32_to_cpu(tag->block)); in ext4fs_check_journal_state() 558 struct ext3_journal_block_tag tag; in update_descriptor_block() local 591 tag.block = cpu_to_be32(journal_ptr[i]->blknr); in update_descriptor_block() [all …]
|
/u-boot/arch/arm/include/asm/arch-rockchip/ |
A D | f_rockusb.h | 86 u32 tag; /* Unique per command id */ member 101 u32 tag; /* Same as original command */ member 121 unsigned int tag; member
|
/u-boot/tools/binman/ |
A D | control.py | 75 def _FinishTag(tag, msg, result): argument 76 if tag: 77 result[tag] = msg.rstrip() 78 tag = None 80 return tag, msg 85 tag = None 92 tag = m_tag.group(1) 93 elif tag: 95 _FinishTag(tag, msg, result) 118 for tag in tags: [all …]
|