/openbsd/regress/sys/arch/sparc64/emul-ldqstq/asi/ |
H A D | asi.c | 119 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 D | asi_asm.S | 35 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 D | Makefile | 3 PROG=asi 5 SRCS=fpregs.S asi.c asi_asm.S
|
/openbsd/sys/arch/sparc64/include/ |
H A D | ctlreg.h | 553 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 D | psl.h | 284 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 D | instr.h | 352 #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 D | emul.c | 75 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 D | busop.c | 58 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 D | busop.h | 77 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 D | locore.s | 472 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 D | machdep.c | 1471 (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 D | interrupt.c | 435 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 D | interrupt.c | 574 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 D | intr.h | 244 #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 D | lebuffer.c | 136 sbt->asi = sbt->parent->asi; in lebufattach()
|
H A D | dma_sbus.c | 278 sbt->asi = sbt->parent->asi; in dma_alloc_bustag()
|
H A D | qla_sbus.c | 94 iot->asi = ASI_PRIMARY_LITTLE; in qla_sbus_attach()
|
/openbsd/regress/sys/arch/sparc64/emul-ldqstq/ |
H A D | Makefile | 3 SUBDIR=asi badfreg goodfreg simm13
|
/openbsd/sys/arch/sparc64/dev/ |
H A D | central.c | 154 bt->asi = bt->parent->asi; in central_alloc_bus_tag()
|
H A D | upa.c | 164 bt->asi = bt->parent->asi; in upa_alloc_bus_tag()
|
H A D | cbus.c | 228 bt->asi = parent->asi; in cbus_alloc_bus_tag()
|
H A D | vbus.c | 280 bt->asi = parent->asi; in vbus_alloc_bus_tag()
|
H A D | ebus_mainbus.c | 178 bt->asi = parent->asi; in ebus_alloc_bus_tag()
|
H A D | fhc.c | 175 bt->asi = bt->parent->asi; in fhc_alloc_bus_tag()
|
H A D | schizo.c | 593 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()
|