Home
last modified time | relevance | path

Searched full:asi (Results 1 – 25 of 343) sorted by relevance

12345678910>>...14

/kernel/linux/linux-5.10/arch/sparc/lib/
DNGpage.S7 #include <asm/asi.h>
21 rd %asi, %g3
22 wr %g0, ASI_BLK_INIT_QUAD_LDD_P, %asi
29 ldda [%i1 + 0x00] %asi, %o2
30 ldda [%i1 + 0x10] %asi, %o4
31 ldda [%i1 + 0x20] %asi, %l2
32 ldda [%i1 + 0x30] %asi, %l4
33 stxa %o2, [%i0 + 0x00] %asi
34 stxa %o3, [%i0 + 0x08] %asi
35 stxa %o4, [%i0 + 0x10] %asi
[all …]
Dxor.S14 #include <asm/asi.h>
35 rd %asi, %g1
36 wr %g0, ASI_BLK_P, %asi
39 ldda [%o1] %asi, %f0
40 ldda [%o2] %asi, %f16
42 2: ldda [%o1 + 64] %asi, %f32
51 stda %f16, [%o1] %asi
52 ldda [%o2 + 64] %asi, %f48
53 ldda [%o1 + 128] %asi, %f0
65 stda %f48, [%o1 - 64] %asi
[all …]
DNGbzero.S6 #include <asm/asi.h>
38 /* %o5: saved %asi, restored at NGbzero_done
39 * %g7: store-init %asi to use
40 * %o4: non-store-init %asi to use
42 rd %asi, %o5
45 wr %o4, 0x0, %asi
55 1: EX_ST(stba %o2, [%o0 + 0x00] %asi)
66 1: EX_ST(stxa %o2, [%o0 + 0x00] %asi)
72 wr %g7, 0x0, %asi
76 EX_ST(stxa %o2, [%o0 + 0x00] %asi)
[all …]
DGENbzero.S6 #include <asm/asi.h>
39 /* %o5: saved %asi, restored at GENbzero_done
40 * %o4: store %asi to use
42 rd %asi, %o5
44 wr %o4, 0x0, %asi
54 1: EX_ST(stba %o2, [%o0 + 0x00] %asi)
65 1: EX_ST(stxa %o2, [%o0 + 0x00] %asi)
74 EX_ST(stxa %o2, [%o0 + 0x00] %asi)
75 EX_ST(stxa %o2, [%o0 + 0x08] %asi)
76 EX_ST(stxa %o2, [%o0 + 0x10] %asi)
[all …]
Dbzero.S98 EX_ST(prefetcha [%o0 + 0x00] %asi, #n_writes)
101 1: EX_ST(stba %g0, [%o0 + 0x00] %asi)
108 EX_ST(stwa %g0, [%o0 + 0x00] %asi)
116 EX_ST(prefetcha [%o0 + 0x040] %asi, #n_writes)
117 EX_ST(prefetcha [%o0 + 0x080] %asi, #n_writes)
118 EX_ST(prefetcha [%o0 + 0x0c0] %asi, #n_writes)
119 EX_ST(prefetcha [%o0 + 0x100] %asi, #n_writes)
120 EX_ST(prefetcha [%o0 + 0x140] %asi, #n_writes)
121 4: EX_ST(prefetcha [%o0 + 0x180] %asi, #n_writes)
122 EX_ST(stxa %g0, [%o0 + 0x00] %asi)
[all …]
/kernel/linux/linux-6.6/arch/sparc/lib/
DNGpage.S7 #include <asm/asi.h>
21 rd %asi, %g3
22 wr %g0, ASI_BLK_INIT_QUAD_LDD_P, %asi
29 ldda [%i1 + 0x00] %asi, %o2
30 ldda [%i1 + 0x10] %asi, %o4
31 ldda [%i1 + 0x20] %asi, %l2
32 ldda [%i1 + 0x30] %asi, %l4
33 stxa %o2, [%i0 + 0x00] %asi
34 stxa %o3, [%i0 + 0x08] %asi
35 stxa %o4, [%i0 + 0x10] %asi
[all …]
Dxor.S15 #include <asm/asi.h>
35 rd %asi, %g1
36 wr %g0, ASI_BLK_P, %asi
39 ldda [%o1] %asi, %f0
40 ldda [%o2] %asi, %f16
42 2: ldda [%o1 + 64] %asi, %f32
51 stda %f16, [%o1] %asi
52 ldda [%o2 + 64] %asi, %f48
53 ldda [%o1 + 128] %asi, %f0
65 stda %f48, [%o1 - 64] %asi
[all …]
DNGbzero.S6 #include <asm/asi.h>
38 /* %o5: saved %asi, restored at NGbzero_done
39 * %g7: store-init %asi to use
40 * %o4: non-store-init %asi to use
42 rd %asi, %o5
45 wr %o4, 0x0, %asi
55 1: EX_ST(stba %o2, [%o0 + 0x00] %asi)
66 1: EX_ST(stxa %o2, [%o0 + 0x00] %asi)
72 wr %g7, 0x0, %asi
76 EX_ST(stxa %o2, [%o0 + 0x00] %asi)
[all …]
DGENbzero.S6 #include <asm/asi.h>
39 /* %o5: saved %asi, restored at GENbzero_done
40 * %o4: store %asi to use
42 rd %asi, %o5
44 wr %o4, 0x0, %asi
54 1: EX_ST(stba %o2, [%o0 + 0x00] %asi)
65 1: EX_ST(stxa %o2, [%o0 + 0x00] %asi)
74 EX_ST(stxa %o2, [%o0 + 0x00] %asi)
75 EX_ST(stxa %o2, [%o0 + 0x08] %asi)
76 EX_ST(stxa %o2, [%o0 + 0x10] %asi)
[all …]
Dbzero.S98 EX_ST(prefetcha [%o0 + 0x00] %asi, #n_writes)
101 1: EX_ST(stba %g0, [%o0 + 0x00] %asi)
108 EX_ST(stwa %g0, [%o0 + 0x00] %asi)
116 EX_ST(prefetcha [%o0 + 0x040] %asi, #n_writes)
117 EX_ST(prefetcha [%o0 + 0x080] %asi, #n_writes)
118 EX_ST(prefetcha [%o0 + 0x0c0] %asi, #n_writes)
119 EX_ST(prefetcha [%o0 + 0x100] %asi, #n_writes)
120 EX_ST(prefetcha [%o0 + 0x140] %asi, #n_writes)
121 4: EX_ST(prefetcha [%o0 + 0x180] %asi, #n_writes)
122 EX_ST(stxa %g0, [%o0 + 0x00] %asi)
[all …]
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dsys32.S44 1: ldswa [%o1 + 0x0] %asi, %o0
46 2: ldswa [%o1 + 0x8] %asi, %o2
48 3: ldswa [%o1 + 0x4] %asi, %o1
53 4: ldswa [%o1 + 0x0] %asi, %o0
55 5: ldswa [%o1 + 0x8] %asi, %o2
57 6: lduwa [%o1 + 0x4] %asi, %o1
62 7: ldswa [%o1 + 0x0] %asi, %o0
64 8: ldswa [%o1 + 0x8] %asi, %o2
66 9: lduwa [%o1 + 0x4] %asi, %o1
71 10: ldswa [%o1 + 0x0] %asi, %o0
[all …]
Duna_asm_64.S12 rd %asi, %o4
13 wr %o3, 0, %asi
22 4: stba %g1, [%o0] %asi
24 5: stba %g7, [%o0 + 1] %asi
26 6: stba %g1, [%o0 + 2] %asi
27 7: stba %g7, [%o0 + 3] %asi
29 8: stba %g2, [%o0 + 4] %asi
31 9: stba %g1, [%o0 + 5] %asi
32 10: stba %g7, [%o0 + 6] %asi
34 11: stba %g3, [%o0 + 7] %asi
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dantsel.c79 brcms_c_antsel_init_cfg(struct antsel_info *asi, struct brcms_antselcfg *antsel, in brcms_c_antsel_init_cfg() argument
82 if (asi->antsel_type == ANTSEL_2x3) { in brcms_c_antsel_init_cfg()
84 ((asi->antsel_avail && auto_sel) ? ANT_SELCFG_AUTO : 0); in brcms_c_antsel_init_cfg()
91 } else if (asi->antsel_type == ANTSEL_2x4) { in brcms_c_antsel_init_cfg()
111 struct antsel_info *asi; in brcms_c_antsel_attach() local
114 asi = kzalloc(sizeof(struct antsel_info), GFP_ATOMIC); in brcms_c_antsel_attach()
115 if (!asi) in brcms_c_antsel_attach()
118 asi->wlc = wlc; in brcms_c_antsel_attach()
119 asi->pub = wlc->pub; in brcms_c_antsel_attach()
120 asi->antsel_type = ANTSEL_NA; in brcms_c_antsel_attach()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dantsel.c79 brcms_c_antsel_init_cfg(struct antsel_info *asi, struct brcms_antselcfg *antsel, in brcms_c_antsel_init_cfg() argument
82 if (asi->antsel_type == ANTSEL_2x3) { in brcms_c_antsel_init_cfg()
84 ((asi->antsel_avail && auto_sel) ? ANT_SELCFG_AUTO : 0); in brcms_c_antsel_init_cfg()
91 } else if (asi->antsel_type == ANTSEL_2x4) { in brcms_c_antsel_init_cfg()
111 struct antsel_info *asi; in brcms_c_antsel_attach() local
114 asi = kzalloc(sizeof(struct antsel_info), GFP_ATOMIC); in brcms_c_antsel_attach()
115 if (!asi) in brcms_c_antsel_attach()
118 asi->wlc = wlc; in brcms_c_antsel_attach()
119 asi->pub = wlc->pub; in brcms_c_antsel_attach()
120 asi->antsel_type = ANTSEL_NA; in brcms_c_antsel_attach()
[all …]
/kernel/linux/linux-5.10/arch/sparc/include/asm/
Dttable.h235 * For the user cases we used to use the %asi register, but
236 * it turns out that the "wr xxx, %asi" costs ~5 cycles, so
237 * now we use immediate ASI loads and stores instead. Kudos
297 #define SPILL_1_GENERIC(ASI) \ argument
299 stxa %l0, [%g1 + %g0] ASI; \
301 stxa %l1, [%g1 + %g3] ASI; \
303 stxa %l2, [%g1 + %g0] ASI; \
304 stxa %l3, [%g1 + %g3] ASI; \
306 stxa %l4, [%g1 + %g0] ASI; \
307 stxa %l5, [%g1 + %g3] ASI; \
[all …]
/kernel/linux/linux-6.6/arch/sparc/include/asm/
Dttable.h235 * For the user cases we used to use the %asi register, but
236 * it turns out that the "wr xxx, %asi" costs ~5 cycles, so
237 * now we use immediate ASI loads and stores instead. Kudos
297 #define SPILL_1_GENERIC(ASI) \ argument
299 stxa %l0, [%g1 + %g0] ASI; \
301 stxa %l1, [%g1 + %g3] ASI; \
303 stxa %l2, [%g1 + %g0] ASI; \
304 stxa %l3, [%g1 + %g3] ASI; \
306 stxa %l4, [%g1 + %g0] ASI; \
307 stxa %l5, [%g1 + %g3] ASI; \
[all …]
/kernel/linux/linux-6.6/arch/sparc/kernel/
Duna_asm_64.S12 rd %asi, %o4
13 wr %o3, 0, %asi
22 4: stba %g1, [%o0] %asi
24 5: stba %g7, [%o0 + 1] %asi
26 6: stba %g1, [%o0 + 2] %asi
27 7: stba %g7, [%o0 + 3] %asi
29 8: stba %g2, [%o0 + 4] %asi
31 9: stba %g1, [%o0 + 5] %asi
32 10: stba %g7, [%o0 + 6] %asi
34 11: stba %g3, [%o0 + 7] %asi
[all …]
/kernel/linux/linux-6.6/arch/arm/probes/kprobes/
Dactions-thumb.c25 struct arch_probes_insn *asi, struct pt_regs *regs) in t32_simulate_table_branch() argument
45 struct arch_probes_insn *asi, struct pt_regs *regs) in t32_simulate_mrs() argument
54 struct arch_probes_insn *asi, struct pt_regs *regs) in t32_simulate_cond_branch() argument
68 t32_decode_cond_branch(probes_opcode_t insn, struct arch_probes_insn *asi, in t32_decode_cond_branch() argument
72 asi->insn_check_cc = probes_condition_checks[cc]; in t32_decode_cond_branch()
73 asi->insn_handler = t32_simulate_cond_branch; in t32_decode_cond_branch()
79 struct arch_probes_insn *asi, struct pt_regs *regs) in t32_simulate_branch() argument
107 struct arch_probes_insn *asi, struct pt_regs *regs) in t32_simulate_ldr_literal() argument
144 t32_decode_ldmstm(probes_opcode_t insn, struct arch_probes_insn *asi, in t32_decode_ldmstm() argument
147 enum probes_insn ret = kprobe_decode_ldmstm(insn, asi, d); in t32_decode_ldmstm()
[all …]
Dcheckers-common.c14 struct arch_probes_insn *asi, in checker_stack_use_none() argument
17 asi->stack_space = 0; in checker_stack_use_none()
22 struct arch_probes_insn *asi, in checker_stack_use_unknown() argument
25 asi->stack_space = -1; in checker_stack_use_unknown()
31 struct arch_probes_insn *asi, in checker_stack_use_imm_0xx() argument
35 asi->stack_space = imm; in checker_stack_use_imm_0xx()
44 struct arch_probes_insn *asi, in checker_stack_use_t32strd() argument
48 asi->stack_space = imm << 2; in checker_stack_use_t32strd()
53 struct arch_probes_insn *asi, in checker_stack_use_imm_x0x() argument
57 asi->stack_space = imm; in checker_stack_use_imm_x0x()
[all …]
Dactions-common.c19 struct arch_probes_insn *asi, in simulate_ldm1stm1() argument
61 struct arch_probes_insn *asi, in simulate_stm1_pc() argument
67 simulate_ldm1stm1(insn, asi, regs); in simulate_stm1_pc()
72 struct arch_probes_insn *asi, in simulate_ldm1_pc() argument
75 simulate_ldm1stm1(insn, asi, regs); in simulate_ldm1_pc()
81 struct arch_probes_insn *asi, struct pt_regs *regs) in emulate_generic_r0_12_noflags() argument
84 register void *rfn asm("lr") = asi->insn_fn; in emulate_generic_r0_12_noflags()
111 struct arch_probes_insn *asi, struct pt_regs *regs) in emulate_generic_r2_14_noflags() argument
113 emulate_generic_r0_12_noflags(insn, asi, in emulate_generic_r2_14_noflags()
119 struct arch_probes_insn *asi, struct pt_regs *regs) in emulate_ldm_r3_15() argument
[all …]
/kernel/linux/linux-5.10/arch/arm/probes/kprobes/
Dactions-thumb.c25 struct arch_probes_insn *asi, struct pt_regs *regs) in t32_simulate_table_branch() argument
45 struct arch_probes_insn *asi, struct pt_regs *regs) in t32_simulate_mrs() argument
54 struct arch_probes_insn *asi, struct pt_regs *regs) in t32_simulate_cond_branch() argument
68 t32_decode_cond_branch(probes_opcode_t insn, struct arch_probes_insn *asi, in t32_decode_cond_branch() argument
72 asi->insn_check_cc = probes_condition_checks[cc]; in t32_decode_cond_branch()
73 asi->insn_handler = t32_simulate_cond_branch; in t32_decode_cond_branch()
79 struct arch_probes_insn *asi, struct pt_regs *regs) in t32_simulate_branch() argument
107 struct arch_probes_insn *asi, struct pt_regs *regs) in t32_simulate_ldr_literal() argument
144 t32_decode_ldmstm(probes_opcode_t insn, struct arch_probes_insn *asi, in t32_decode_ldmstm() argument
147 enum probes_insn ret = kprobe_decode_ldmstm(insn, asi, d); in t32_decode_ldmstm()
[all …]
Dcheckers-common.c14 struct arch_probes_insn *asi, in checker_stack_use_none() argument
17 asi->stack_space = 0; in checker_stack_use_none()
22 struct arch_probes_insn *asi, in checker_stack_use_unknown() argument
25 asi->stack_space = -1; in checker_stack_use_unknown()
31 struct arch_probes_insn *asi, in checker_stack_use_imm_0xx() argument
35 asi->stack_space = imm; in checker_stack_use_imm_0xx()
44 struct arch_probes_insn *asi, in checker_stack_use_t32strd() argument
48 asi->stack_space = imm << 2; in checker_stack_use_t32strd()
53 struct arch_probes_insn *asi, in checker_stack_use_imm_x0x() argument
57 asi->stack_space = imm; in checker_stack_use_imm_x0x()
[all …]
Dactions-common.c19 struct arch_probes_insn *asi, in simulate_ldm1stm1() argument
61 struct arch_probes_insn *asi, in simulate_stm1_pc() argument
67 simulate_ldm1stm1(insn, asi, regs); in simulate_stm1_pc()
72 struct arch_probes_insn *asi, in simulate_ldm1_pc() argument
75 simulate_ldm1stm1(insn, asi, regs); in simulate_ldm1_pc()
81 struct arch_probes_insn *asi, struct pt_regs *regs) in emulate_generic_r0_12_noflags() argument
84 register void *rfn asm("lr") = asi->insn_fn; in emulate_generic_r0_12_noflags()
109 struct arch_probes_insn *asi, struct pt_regs *regs) in emulate_generic_r2_14_noflags() argument
111 emulate_generic_r0_12_noflags(insn, asi, in emulate_generic_r2_14_noflags()
117 struct arch_probes_insn *asi, struct pt_regs *regs) in emulate_ldm_r3_15() argument
[all …]
/kernel/linux/linux-5.10/arch/sparc/power/
Dhibernate_asm.S64 rd %asi, %g1
65 wr %g0, ASI_PHYS_USE_EC, %asi
75 ldxa [%l0 ] %asi, %l1 /* address */
76 ldxa [%l0 + 8] %asi, %l2 /* orig_address */
92 ldxa [%l0 + 16] %asi, %l0
103 ldxa [%g3 + SC_REG_CWP] %asi, %g2
105 ldxa [%g3 + SC_REG_WSTATE] %asi, %g2
107 ldxa [%g3 + SC_REG_FP] %asi, %fp
110 ldxa [%g3 + SC_REG_PSTATE] %asi, %g2
112 ldxa [%g3 + SC_REG_TICK] %asi, %g2
[all …]
/kernel/linux/linux-6.6/arch/sparc/power/
Dhibernate_asm.S64 rd %asi, %g1
65 wr %g0, ASI_PHYS_USE_EC, %asi
75 ldxa [%l0 ] %asi, %l1 /* address */
76 ldxa [%l0 + 8] %asi, %l2 /* orig_address */
92 ldxa [%l0 + 16] %asi, %l0
103 ldxa [%g3 + SC_REG_CWP] %asi, %g2
105 ldxa [%g3 + SC_REG_WSTATE] %asi, %g2
107 ldxa [%g3 + SC_REG_FP] %asi, %fp
110 ldxa [%g3 + SC_REG_PSTATE] %asi, %g2
112 ldxa [%g3 + SC_REG_TICK] %asi, %g2
[all …]

12345678910>>...14