Home
last modified time | relevance | path

Searched refs:tag (Results 1 – 25 of 150) sorted by relevance

123456

/arch/arm/kernel/
Datags_compat.c81 static struct tag * __init memtag(struct tag *tag, unsigned long start, unsigned long size) in memtag() argument
83 tag = tag_next(tag); in memtag()
84 tag->hdr.tag = ATAG_MEM; in memtag()
85 tag->hdr.size = tag_size(tag_mem32); in memtag()
86 tag->u.mem.size = size; in memtag()
87 tag->u.mem.start = start; in memtag()
89 return tag; in memtag()
94 struct tag *tag = taglist; in build_tag_list() local
119 tag->hdr.tag = ATAG_CORE; in build_tag_list()
120 tag->hdr.size = tag_size(tag_core); in build_tag_list()
[all …]
Datags_parse.c53 static int __init parse_tag_core(const struct tag *tag) in parse_tag_core() argument
55 if (tag->hdr.size > 2) { in parse_tag_core()
56 if ((tag->u.core.flags & 1) == 0) in parse_tag_core()
58 ROOT_DEV = old_decode_dev(tag->u.core.rootdev); in parse_tag_core()
65 static int __init parse_tag_mem32(const struct tag *tag) in parse_tag_mem32() argument
67 return arm_add_memory(tag->u.mem.start, tag->u.mem.size); in parse_tag_mem32()
73 static int __init parse_tag_videotext(const struct tag *tag) in parse_tag_videotext() argument
75 screen_info.orig_x = tag->u.videotext.x; in parse_tag_videotext()
76 screen_info.orig_y = tag->u.videotext.y; in parse_tag_videotext()
77 screen_info.orig_video_page = tag->u.videotext.video_page; in parse_tag_videotext()
[all …]
Datags_proc.c28 void __init save_atags(const struct tag *tags) in save_atags()
40 struct tag *tag = (struct tag *)atags_copy; in init_atags_procfs() local
44 if (tag->hdr.tag != ATAG_CORE) { in init_atags_procfs()
49 for (; tag->hdr.size; tag = tag_next(tag)) in init_atags_procfs()
53 size = (char *)tag - atags_copy + sizeof(struct tag_header); in init_atags_procfs()
55 WARN_ON(tag->hdr.tag != ATAG_NONE); in init_atags_procfs()
/arch/sparc/include/asm/
Dspitfire.h97 static inline void spitfire_put_dcache_tag(unsigned long addr, unsigned long tag) in spitfire_put_dcache_tag() argument
102 : "r" (tag), "r" (addr), "i" (ASI_DCACHE_TAG)); in spitfire_put_dcache_tag()
111 static inline void spitfire_put_icache_tag(unsigned long addr, unsigned long tag) in spitfire_put_icache_tag() argument
116 : "r" (tag), "r" (addr), "i" (ASI_IC_TAG)); in spitfire_put_icache_tag()
135 unsigned long tag; in spitfire_get_dtlb_tag() local
138 : "=r" (tag) in spitfire_get_dtlb_tag()
140 return tag; in spitfire_get_dtlb_tag()
168 unsigned long tag; in spitfire_get_itlb_tag() local
171 : "=r" (tag) in spitfire_get_itlb_tag()
173 return tag; in spitfire_get_itlb_tag()
[all …]
/arch/x86/math-emu/
Dreg_divide.c34 int tag, deststnr; in FPU_div() local
81 tag = FPU_u_div(&x, &y, dest, control_w, sign); in FPU_div()
83 if (tag < 0) in FPU_div()
84 return tag; in FPU_div()
86 FPU_settagi(deststnr, tag); in FPU_div()
87 return tag; in FPU_div()
103 tag = FPU_u_div(&x, &y, dest, control_w, sign); in FPU_div()
104 if (tag < 0) in FPU_div()
105 return tag; in FPU_div()
107 FPU_settagi(deststnr, tag); in FPU_div()
[all …]
Dfpu_tags.c39 void FPU_settag0(int tag) in FPU_settag0() argument
44 fpu_tag_word |= (tag & 3) << (regnr * 2); in FPU_settag0()
47 void FPU_settagi(int stnr, int tag) in FPU_settagi() argument
52 fpu_tag_word |= (tag & 3) << (regnr * 2); in FPU_settagi()
55 void FPU_settag(int regnr, int tag) in FPU_settag() argument
59 fpu_tag_word |= (tag & 3) << (regnr * 2); in FPU_settag()
95 void FPU_copy_to_regi(FPU_REG const *r, u_char tag, int stnr) in FPU_copy_to_regi() argument
98 FPU_settagi(stnr, tag); in FPU_copy_to_regi()
101 void FPU_copy_to_reg1(FPU_REG const *r, u_char tag) in FPU_copy_to_reg1() argument
104 FPU_settagi(1, tag); in FPU_copy_to_reg1()
[all …]
Dreg_mul.c37 int tag; in FPU_mul() local
42 tag = in FPU_mul()
45 if (tag < 0) { in FPU_mul()
47 return tag; in FPU_mul()
49 FPU_settagi(deststnr, tag); in FPU_mul()
50 return tag; in FPU_mul()
67 tag = FPU_u_mul(&x, &y, dest, control_w, sign, in FPU_mul()
69 if (tag < 0) { in FPU_mul()
71 return tag; in FPU_mul()
73 FPU_settagi(deststnr, tag); in FPU_mul()
[all …]
Dfpu_trig.c40 int tag, st0_tag = TAG_Valid; in trig_arg() local
51 tag = FPU_u_div(st0_ptr, &CONST_PI2, &tmp, PR_64_BITS | RC_CHOP | 0x3f, in trig_arg()
54 FPU_round_to_int(&tmp, tag); /* Fortunately, this can't overflow in trig_arg()
154 int tag; in convert_l2reg() local
174 tag = FPU_normalize(dest); in convert_l2reg()
175 FPU_settagi(deststnr, tag); in convert_l2reg()
233 static void f2xm1(FPU_REG *st0_ptr, u_char tag) in f2xm1() argument
239 if (tag == TAG_Valid) { in f2xm1()
253 if (tag == TAG_Zero) in f2xm1()
256 if (tag == TAG_Special) in f2xm1()
[all …]
Dreg_add_sub.c45 int diff, tag, expa, expb; in FPU_add() local
55 tag = in FPU_add()
71 tag = in FPU_add()
75 tag = in FPU_add()
87 if (tag < 0) { in FPU_add()
89 return tag; in FPU_add()
91 FPU_settagi(deststnr, tag); in FPU_add()
92 return tag; in FPU_add()
134 int diff, tag = 0, expa, expb, deststnr; in FPU_sub() local
185 tag = in FPU_sub()
[all …]
Dpoly_l2.c33 int tag; in poly_l2() local
51 tag = FPU_normalize_nuo(&x); in poly_l2()
53 if (tag == TAG_Zero) { in poly_l2()
93 tag = FPU_round(st1_ptr, 1, 0, FULL_PRECISION, sign ^ st1_sign); in poly_l2()
94 FPU_settagi(1, tag); in poly_l2()
109 u_char tag; in poly_l2p1() local
129 tag = FPU_round(dest, 1, 0, FULL_PRECISION, sign0 ^ sign1); in poly_l2p1()
130 FPU_settagi(1, tag); in poly_l2p1()
132 if (tag == TAG_Valid) in poly_l2p1()
/arch/mips/cavium-octeon/executive/
Dcvmx-l2c.c319 uint64_t tag = addr >> shift; in cvmx_l2c_lock_line() local
332 if (l2c_tadx_tag.s.valid && l2c_tadx_tag.s.tag == tag) in cvmx_l2c_lock_line()
465 union cvmx_l2c_tag tag; in cvmx_l2c_unlock_line() local
478 tag = cvmx_l2c_get_tag(assoc, index); in cvmx_l2c_unlock_line()
480 if (tag.s.V && (tag.s.addr == tag_addr)) { in cvmx_l2c_unlock_line()
482 return tag.s.L; in cvmx_l2c_unlock_line()
487 union cvmx_l2c_tag tag; in cvmx_l2c_unlock_line() local
495 tag = cvmx_l2c_get_tag(assoc, index); in cvmx_l2c_unlock_line()
497 if (tag.s.V && (tag.s.addr == tag_addr)) { in cvmx_l2c_unlock_line()
499 return tag.s.L; in cvmx_l2c_unlock_line()
[all …]
/arch/xtensa/kernel/
Dsetup.c91 u32 tag; member
95 #define __tagtable(tag, fn) static tagtable_t __tagtable_##fn \ argument
96 __section(".taglist") __attribute__((used)) = { tag, fn }
100 static int __init parse_tag_mem(const bp_tag_t *tag) in parse_tag_mem() argument
102 struct bp_meminfo *mi = (struct bp_meminfo *)(tag->data); in parse_tag_mem()
114 static int __init parse_tag_initrd(const bp_tag_t* tag) in parse_tag_initrd() argument
116 struct bp_meminfo *mi = (struct bp_meminfo *)(tag->data); in parse_tag_initrd()
130 static int __init parse_tag_fdt(const bp_tag_t *tag) in parse_tag_fdt() argument
132 dtb_start = __va(tag->data[0]); in parse_tag_fdt()
140 static int __init parse_tag_cmdline(const bp_tag_t* tag) in parse_tag_cmdline() argument
[all …]
/arch/powerpc/xmon/
Dspu-dis.c88 enum spu_insns tag; in print_insn_spu() local
100 tag = (enum spu_insns)(index - spu_opcodes); in print_insn_spu()
102 if (tag == M_BI || tag == M_BISL || tag == M_IRET || tag == M_BISLED in print_insn_spu()
103 || tag == M_BIHNZ || tag == M_BIHZ || tag == M_BINZ || tag == M_BIZ in print_insn_spu()
104 || tag == M_SYNC || tag == M_HBR) in print_insn_spu()
108 printf(tag == M_SYNC ? "c" : "p"); in print_insn_spu()
/arch/sparc/kernel/
Dds.c71 struct ds_msg_tag tag; member
76 struct ds_msg_tag tag; member
81 struct ds_msg_tag tag; member
86 struct ds_msg_tag tag; member
94 struct ds_msg_tag tag; member
100 struct ds_msg_tag tag; member
106 struct ds_msg_tag tag; member
111 struct ds_msg_tag tag; member
116 struct ds_msg_tag tag; member
121 struct ds_msg_tag tag; member
[all …]
Dviohs.c35 struct vio_msg_tag *tag, int len) in send_ctrl() argument
37 tag->sid = vio_send_sid(vio); in send_ctrl()
38 return vio_ldc_send(vio, tag, len); in send_ctrl()
41 static void init_tag(struct vio_msg_tag *tag, u8 type, u8 stype, u16 stype_env) in init_tag() argument
43 tag->type = type; in init_tag()
44 tag->stype = stype; in init_tag()
45 tag->stype_env = stype_env; in init_tag()
55 init_tag(&pkt.tag, VIO_TYPE_CTRL, VIO_SUBTYPE_INFO, VIO_VER_INFO); in send_version()
63 return send_ctrl(vio, &pkt.tag, sizeof(pkt)); in send_version()
194 init_tag(&u.pkt.tag, VIO_TYPE_CTRL, VIO_SUBTYPE_INFO, VIO_DRING_REG); in send_dreg()
[all …]
/arch/arm/include/uapi/asm/
Dsetup.h27 __u32 tag; member
147 struct tag { struct
173 __u32 tag; argument
174 int (*parse)(const struct tag *);
177 #define tag_member_present(tag,member) \ argument
178 ((unsigned long)(&((struct tag *)0L)->member + 1) \
179 <= (tag)->hdr.size * 4)
181 #define tag_next(t) ((struct tag *)((__u32 *)(t) + (t)->hdr.size))
/arch/arm/include/asm/
Dsetup.h18 #define __tagtable(tag, fn) \ argument
19 static const struct tagtable __tagtable_##fn __tag = { tag, fn }
26 extern void save_atags(const struct tag *tags);
28 static inline void save_atags(const struct tag *tags) { } in save_atags()
/arch/powerpc/include/asm/
Ddbell.h94 static inline void ppc_msgsnd(enum ppc_dbell type, u32 flags, u32 tag) in ppc_msgsnd() argument
97 (tag & 0x07ffffff); in ppc_msgsnd()
117 u32 tag = get_hard_smp_processor_id(cpu); in doorbell_global_ipi() local
122 ppc_msgsnd(PPC_DBELL_MSGTYPE, 0, tag); in doorbell_global_ipi()
132 u32 tag = cpu_thread_in_core(cpu); in doorbell_core_ipi() local
137 ppc_msgsnd(PPC_DBELL_MSGTYPE, 0, tag); in doorbell_core_ipi()
/arch/mips/include/asm/octeon/
Dcvmx-pow.h220 uint64_t tag:32; member
222 uint64_t tag:32;
687 uint64_t tag:32; member
689 uint64_t tag:32;
742 uint64_t tag:32; member
744 uint64_t tag:32;
847 uint64_t tag:32; member
849 uint64_t tag:32;
1276 result.s.tag = load_resp.s_sstatus2.tag; in cvmx_pow_get_current_tag()
1534 static inline void cvmx_pow_tag_sw_nocheck(uint32_t tag, in cvmx_pow_tag_sw_nocheck() argument
[all …]
/arch/mips/sgi-ip22/
Dip28-berr.c73 #define tag cache_tags.tags[0] in save_cache_tags() macro
75 tag[0].lo = read_c0_taglo(); /* PA[35:18], VA[13:12] */ in save_cache_tags()
76 tag[0].hi = read_c0_taghi(); /* PA[39:36] */ in save_cache_tags()
78 tag[1].lo = read_c0_taglo(); /* PA[35:18], VA[13:12] */ in save_cache_tags()
79 tag[1].hi = read_c0_taghi(); /* PA[39:36] */ in save_cache_tags()
80 #undef tag in save_cache_tags()
90 #define tag cache_tags.tagd[i] in save_cache_tags() macro
93 tag[0].lo = read_c0_taglo(); /* PA[35:12] */ in save_cache_tags()
94 tag[0].hi = read_c0_taghi(); /* PA[39:36] */ in save_cache_tags()
96 tag[1].lo = read_c0_taglo(); /* PA[35:12] */ in save_cache_tags()
[all …]
/arch/mips/rb532/
Dprom.c37 static inline int match_tag(char *arg, const char *tag) in match_tag() argument
39 return strncmp(arg, tag, strlen(tag)) == 0; in match_tag()
42 static inline unsigned long tag2ul(char *arg, const char *tag) in tag2ul() argument
46 num = arg + strlen(tag); in tag2ul()
/arch/arm/mach-omap2/
Dboard-generic.c92 static void __init rx51_set_system_rev(const struct tag *tags) in rx51_set_system_rev()
94 const struct tag *tag; in rx51_set_system_rev() local
96 if (tags->hdr.tag != ATAG_CORE) in rx51_set_system_rev()
99 for_each_tag(tag, tags) { in rx51_set_system_rev()
100 if (tag->hdr.tag == ATAG_REVISION) { in rx51_set_system_rev()
101 system_rev = tag->u.revision.rev; in rx51_set_system_rev()
112 const struct tag *tags = (const struct tag *)(PAGE_OFFSET + 0x100); in rx51_reserve()
/arch/arm64/crypto/
Dghash-ce-glue.c57 u32 const rk[], int rounds, u8 tag[]);
61 const u8 tag[], u64 authsize);
351 u8 *tag; in gcm_encrypt() local
371 tag = (u8 *)&lengths; in gcm_encrypt()
378 tag = NULL; in gcm_encrypt()
384 tag); in gcm_encrypt()
430 tag = (u8 *)&lengths; in gcm_encrypt()
431 ghash_do_update(1, dg, tag, &ctx->ghash_key, in gcm_encrypt()
437 put_unaligned_be64(dg[1], tag); in gcm_encrypt()
438 put_unaligned_be64(dg[0], tag + 8); in gcm_encrypt()
[all …]
/arch/arm/mach-rpc/include/mach/
Duncompress.h115 struct tag *t = (struct tag *)params; in arch_decomp_setup()
118 if (t->hdr.tag == ATAG_CORE) { in arch_decomp_setup()
120 if (t->hdr.tag == ATAG_VIDEOTEXT) { in arch_decomp_setup()
125 } else if (t->hdr.tag == ATAG_VIDEOLFB) { in arch_decomp_setup()
128 } else if (t->hdr.tag == ATAG_MEM) { in arch_decomp_setup()
/arch/arm64/include/asm/
Dmte-kasan.h92 u8 tag = 0xF0 | (u8)(((u64)(ptr)) >> MTE_TAG_SHIFT); in mte_get_ptr_tag() local
94 return tag; in mte_get_ptr_tag()
150 static inline void mte_set_mem_tag_range(void *addr, size_t size, u8 tag, in mte_set_mem_tag_range() argument
160 curr = (u64)__tag_set(addr, tag); in mte_set_mem_tag_range()
237 u8 tag, bool init) in mte_set_mem_tag_range() argument

123456