Home
last modified time | relevance | path

Searched refs:asi (Results 1 – 25 of 63) sorted by relevance

123

/openbsd/regress/sys/arch/sparc64/emul-ldqstq/asi/
H A Dasi.c119 if (asi == ASI_PRIMARY || in c_stqa_asi()
121 asi == ASI_SECONDARY || in c_stqa_asi()
129 if (asi == ASI_PRIMARY_LITTLE || in c_stqa_asi()
145 if (asi == ASI_PRIMARY || in c_ldqa_asi()
147 asi == ASI_SECONDARY || in c_ldqa_asi()
171 switch (asi) { in asm_stqa_imm()
204 switch (asi) { in asm_ldqa_imm()
256 asm_ldqa_asi(asi, &q1); in check_asi_asi()
259 c_ldqa_asi(asi, fr3, &q1); in check_asi_asi()
283 asm_ldqa_imm(asi, &q1); in check_asi_imm()
[all …]
H A Dasi_asm.S35 rd %asi, %o2
36 wr %o0, 0, %asi
37 ldqa [%o1] %asi, %f0
39 wr %o2, 0, %asi
43 rd %asi, %o2
44 wr %o0, 0, %asi
45 stqa %f0, [%o1] %asi
47 wr %o2, 0, %asi
H A DMakefile3 PROG=asi
5 SRCS=fpregs.S asi.c asi_asm.S
/openbsd/sys/arch/sparc64/include/
H A Dctlreg.h553 GEN_RD(asi);
592 sparc_wr(asi, asi, 0); \
618 LDC_GEN((va), asi, op, op ## a, type) : op ## a_nc((va), asi))
620 #define LD_GENERIC(va, asi, op, type) (op ## a_nc((va), asi)) argument
623 #define lduba(va, asi) LD_GENERIC(va, asi, ldub, u_int8_t) argument
624 #define lduha(va, asi) LD_GENERIC(va, asi, lduh, u_int16_t) argument
625 #define lduwa(va, asi) LD_GENERIC(va, asi, lduw, u_int32_t) argument
626 #define ldxa(va, asi) LD_GENERIC(va, asi, ldx, u_int64_t) argument
643 sparc_wr(asi, asi, 0); \
680 asi_set(int asi) in asi_set() argument
[all …]
H A Dpsl.h284 stxa_sync(u_int64_t va, u_int64_t asi, u_int64_t val) in stxa_sync() argument
287 stxa_nc(va, asi, val); in stxa_sync()
H A Dinstr.h352 #define _I_OP3_LS_RAR(rd, op3, rs1, asi, rs2) \ argument
353 _I_OP3_GEN(IOP_mem, rd, op3, rs1, (asi) << 5 | (rs2))
358 #define _I_OP3_R_RAR(rd, op3, rs1, asi, rs2) \ argument
359 _I_OP3_GEN(IOP_reg, rd, op3, rs1, (asi) << 5 | (rs2))
/openbsd/sys/arch/sparc64/sparc64/
H A Demul.c75 u_int8_t asi; in emul_qf() local
87 asi = ASI_PRIMARY; in emul_qf()
89 asi = (tf->tf_tstate & TSTATE_ASI) >> TSTATE_ASI_SHIFT; in emul_qf()
91 asi = ins.i_asi.i_asi; in emul_qf()
99 if (asi < ASI_PRIMARY) { in emul_qf()
104 if (asi > ASI_SECONDARY_NOFAULT_LITTLE || in emul_qf()
105 (asi > ASI_SECONDARY_NOFAULT && asi < ASI_PRIMARY_LITTLE)) { in emul_qf()
136 if (err != 0 && (asi & 2) == 0) in emul_qf()
139 if (asi & 8) in emul_qf()
145 if (asi & 8) in emul_qf()
[all …]
H A Dbusop.c58 asi_set(t->asi); in bus_space_read_multi_2()
81 asi_set(t->asi); in bus_space_write_multi_2()
102 asi_set(t->asi); in bus_space_set_multi_2()
120 asi_set(t->asi); in bus_space_read_region_2()
143 asi_set(t->asi); in bus_space_write_region_2()
165 asi_set(t->asi); in bus_space_set_region_2()
184 t->asi, c)); in bus_space_copy_2()
186 asi_set(t->asi); in bus_space_copy_2()
214 asi_set(t->asi); in bus_space_read_multi_4()
237 asi_set(t->asi); in bus_space_write_multi_4()
[all …]
H A Dbusop.h77 t->asi, in bus_space_read_2()
91 t->asi, in bus_space_write_2()
93 stha(h.bh_ptr + o, t->asi, v); in bus_space_write_2()
140 t->asi, in bus_space_read_4()
154 t->asi, in bus_space_write_4()
156 stwa(h.bh_ptr + o, t->asi, v); in bus_space_write_4()
203 t->asi, in bus_space_read_8()
217 t->asi, in bus_space_write_8()
219 stxa(h.bh_ptr + o, t->asi, v); in bus_space_write_8()
266 t->asi, in bus_space_read_1()
[all …]
H A Dlocore.s472 wr %g0, \as, %asi
502 wr %g0, \as, %asi
514 wr %g0, \as, %asi
516 SPILL stwa, %sp, 4, %asi
528 wr %g0, \as, %asi
538 wr %g0, \as, %asi
553 wr %g0, \as, %asi
565 wr %g0, \as, %asi
567 FILL lda, %sp, 4, %asi
1960 wr %g0, ASI_IMMU, %asi
[all …]
H A Dmachdep.c1471 (PHYS_ASI(t0->asi) != PHYS_ASI(t0->sasi)) ) { in sparc_bus_map()
1475 buf, t0->asi, t0->sasi); in sparc_bus_map()
1478 if (PHYS_ASI(t0->asi)) { in sparc_bus_map()
1486 (int)t0->asi, (int)t0->sasi, (int)flags, in sparc_bus_map()
1582 if (PHYS_ASI(t0->asi)) { in sparc_bus_protect()
1613 if (PHYS_ASI(t0->asi)) in sparc_bus_unmap()
1627 if (PHYS_ASI(t0->asi)) { in sparc_bus_mmap()
1641 if (PHYS_ASI(t0->asi)) in sparc_bus_addr()
1715 .asi = ASI_PRIMARY,
1913 if(t->asi == ASI_PRIMARY || t->asi == ASI_PRIMARY_LITTLE) in bus_space_vaddr()
[all …]
/openbsd/sys/arch/alpha/alpha/
H A Dinterrupt.c435 struct alpha_soft_intr *asi; in softintr_init() local
439 asi = &alpha_soft_intrs[i]; in softintr_init()
440 TAILQ_INIT(&asi->softintr_q); in softintr_init()
442 asi->softintr_siq = i; in softintr_init()
454 struct alpha_soft_intr *asi; in softintr_dispatch() local
467 asi = &alpha_soft_intrs[i]; in softintr_dispatch()
527 struct alpha_soft_intr *asi; in softintr_establish() local
532 asi = &alpha_soft_intrs[si]; in softintr_establish()
536 sih->sih_intrhead = asi; in softintr_establish()
555 mtx_enter(&asi->softintr_mtx); in softintr_disestablish()
[all …]
/openbsd/sys/arch/sh/sh/
H A Dinterrupt.c574 struct sh_soft_intr *asi; in softintr_init() local
578 asi = &sh_soft_intrs[i]; in softintr_init()
579 TAILQ_INIT(&asi->softintr_q); in softintr_init()
591 struct sh_soft_intr *asi; in softintr_dispatch() local
597 mtx_enter(&asi->softintr_lock); in softintr_dispatch()
600 mtx_leave(&asi->softintr_lock); in softintr_dispatch()
607 mtx_leave(&asi->softintr_lock); in softintr_dispatch()
623 struct sh_soft_intr *asi; in softintr_establish() local
634 sih->sih_intrhead = asi; in softintr_establish()
655 mtx_enter(&asi->softintr_lock); in softintr_disestablish()
[all …]
/openbsd/sys/arch/alpha/include/
H A Dintr.h244 #define ALPHA_SHARED_INTR_DISABLE(asi, num) \ argument
245 ((asi)[num].intr_maxstrays != 0 && \
246 (asi)[num].intr_nstrays == (asi)[num].intr_maxstrays)
/openbsd/sys/dev/sbus/
H A Dlebuffer.c136 sbt->asi = sbt->parent->asi; in lebufattach()
H A Ddma_sbus.c278 sbt->asi = sbt->parent->asi; in dma_alloc_bustag()
H A Dqla_sbus.c94 iot->asi = ASI_PRIMARY_LITTLE; in qla_sbus_attach()
/openbsd/regress/sys/arch/sparc64/emul-ldqstq/
H A DMakefile3 SUBDIR=asi badfreg goodfreg simm13
/openbsd/sys/arch/sparc64/dev/
H A Dcentral.c154 bt->asi = bt->parent->asi; in central_alloc_bus_tag()
H A Dupa.c164 bt->asi = bt->parent->asi; in upa_alloc_bus_tag()
H A Dcbus.c228 bt->asi = parent->asi; in cbus_alloc_bus_tag()
H A Dvbus.c280 bt->asi = parent->asi; in vbus_alloc_bus_tag()
H A Debus_mainbus.c178 bt->asi = parent->asi; in ebus_alloc_bus_tag()
H A Dfhc.c175 bt->asi = bt->parent->asi; in fhc_alloc_bus_tag()
H A Dschizo.c593 int asi, int sasi) in schizo_alloc_bus_tag() argument
603 sc->sc_dv.dv_xname, name, ss, asi); in schizo_alloc_bus_tag()
608 bt->asi = asi; in schizo_alloc_bus_tag()

123