Home
last modified time | relevance | path

Searched full:swp (Results 1 – 25 of 67) sorted by relevance

123

/freebsd/sys/dev/dpaa2/
H A Ddpaa2_swp.c182 dpaa2_swp_init_portal(struct dpaa2_swp **swp, struct dpaa2_swp_desc *desc, in dpaa2_swp_init_portal() argument
188 if (!swp || !desc) in dpaa2_swp_init_portal()
304 *swp = p; in dpaa2_swp_init_portal()
310 dpaa2_swp_free_portal(struct dpaa2_swp *swp) in dpaa2_swp_free_portal() argument
314 KASSERT(swp != NULL, ("%s: swp is NULL", __func__)); in dpaa2_swp_free_portal()
316 DPAA2_SWP_LOCK(swp, &flags); in dpaa2_swp_free_portal()
317 swp->flags |= DPAA2_SWP_DESTROYED; in dpaa2_swp_free_portal()
318 DPAA2_SWP_UNLOCK(swp); in dpaa2_swp_free_portal()
323 mtx_destroy(&swp->lock); in dpaa2_swp_free_portal()
324 free(swp, M_DPAA2_SWP); in dpaa2_swp_free_portal()
[all …]
H A Ddpaa2_io.c150 dpaa2_swp_free_portal(sc->swp); in dpaa2_io_detach()
223 sc->swp = NULL; in dpaa2_io_attach()
312 error = dpaa2_swp_init_portal(&sc->swp, &sc->swp_desc, DPAA2_SWP_DEF); in dpaa2_io_attach()
356 struct dpaa2_swp *swp = sc->swp; in dpaa2_io_enq_multiple_fq() local
366 return (dpaa2_swp_enq_mult(swp, &ed, fd, &flags, frames_n)); in dpaa2_io_enq_multiple_fq()
380 return (dpaa2_swp_conf_wq_channel(sc->swp, ctx->fq_chan_id, in dpaa2_io_conf_wq_channel()
396 return (dpaa2_swp_query_bp(sc->swp, bpid, conf)); in dpaa2_io_query_bp()
408 return (dpaa2_swp_release_bufs(sc->swp, bpid, buf, buf_num)); in dpaa2_io_release_bufs()
423 dpaa2_swp_set_intr_trigger(sc->swp, DPAA2_SWP_INTR_DQRI); in dpaa2_io_setup_irqs()
424 dpaa2_swp_clear_intr_status(sc->swp, 0xFFFFFFFFu); in dpaa2_io_setup_irqs()
[all …]
H A Ddpaa2_swp.h157 /* "Write Enable" bitmask for a command to configure SWP WQ Channel.*/
209 #define DPAA2_SWP_CMD_SIZE 64u /* SWP Command */
210 #define DPAA2_SWP_RSP_SIZE 64u /* SWP Command Response */
493 int dpaa2_swp_init_portal(struct dpaa2_swp **swp, struct dpaa2_swp_desc *desc,
495 void dpaa2_swp_free_portal(struct dpaa2_swp *swp);
501 void dpaa2_swp_write_reg(struct dpaa2_swp *swp, uint32_t o, uint32_t v);
502 uint32_t dpaa2_swp_read_reg(struct dpaa2_swp *swp, uint32_t o);
507 void dpaa2_swp_set_intr_trigger(struct dpaa2_swp *swp, uint32_t mask);
508 uint32_t dpaa2_swp_get_intr_trigger(struct dpaa2_swp *swp);
509 uint32_t dpaa2_swp_read_intr_status(struct dpaa2_swp *swp);
[all …]
H A Ddpaa2_io.h91 struct dpaa2_swp *swp; member
/freebsd/sys/kern/
H A Dkern_switch.c271 rqsw_t *swp);
276 rqsw_t sw_bit, rqsw_t *swp);
278 rqsw_t sw_bit, rqsw_t *swp);
280 rqsw_t sw_bit, rqsw_t *swp);
305 * and a pointer to the corresponding status word in 'swp'.
310 rqsw_t *swp; in runq_sw_apply() local
318 swp = &rq->rq_status.rq_sw[sw_idx]; in runq_sw_apply()
320 return (op(idx, sw_idx, sw_bit, swp)); in runq_sw_apply()
324 runq_sw_set_not_empty_op(int idx, int sw_idx, rqsw_t sw_bit, rqsw_t *swp) in runq_sw_set_not_empty_op() argument
326 rqsw_t old_sw __unused = *swp; in runq_sw_set_not_empty_op()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/aarch64/
H A Dlse.S92 // swp has _acq semantics.
201 #define SWP GLUE4(swp, A, L, S) s(0), s(0), [x1] macro
203 #define SWP .inst 0x38208020 + B + N macro
205 DEFINE_COMPILERRT_OUTLINE_FUNCTION_UNMANGLED(NAME(swp))
207 SWP // s(0), s(0), [x1]
217 END_COMPILERRT_OUTLINE_FUNCTION(NAME(swp))
/freebsd/tests/sys/compat32/aarch64/
H A Dswp_cond_test_impl.S263 movw r0, :lower16:.L.swp
264 movt r0, :upper16:.L.swp
265 ldr r1, =(.L.swpEnd - .L.swp - 1)
378 .L.swp:
379 .asciz " - swp"
381 .size .L.swp, .L.swpEnd - .L.swp
H A Dswp_test_impl.S41 /* swp it */
42 swp r0, r1, [r0]
84 /* swp it in */
197 .asciz "ok 1 - swp\n"
/freebsd/sys/arm64/arm64/
H A Dundefined.c77 "Enable SWP/SWPB emulation");
193 * swp, swpb only; there are no Thumb swp/swpb instructions so we can in swp_emulate()
211 /* Enforce alignment for swp. */ in swp_emulate()
243 /* No thumb SWP/SWPB */ in swp_emulate()
/freebsd/contrib/libder/
H A D.gitignore1 .*.swp
/freebsd/contrib/nvi/
H A D.gitignore1 *.swp
/freebsd/sys/netpfil/ipfilter/netinet/
H A Dip_raudio_pxy.c185 u_char swp; in ipf_p_raudio_in() local
256 swp = ip->ip_p; in ipf_p_raudio_in()
323 ip->ip_p = swp; in ipf_p_raudio_in()
/freebsd/crypto/openssh/
H A D.gitignore20 **/.*.swp
/freebsd/sys/conf/
H A Doptions.arm6416 # Emulate SWP/SWPB for COMPAT_FREEBSD32
/freebsd/sys/contrib/device-tree/Bindings/net/nfc/
H A Dst-nci-spi.txt14 - uicc-present: Specifies that the uicc swp signal can be physically
H A Dst21nfca.txt14 - uicc-present: Specifies that the uicc swp signal can be physically
H A Dst-nci-i2c.txt15 - uicc-present: Specifies that the uicc swp signal can be physically
H A Dst,st21nfca.yaml33 Specifies that the uicc swp signal can be physically connected to the
H A Dst,st-nci.yaml36 Specifies that the uicc swp signal can be physically connected to the
/freebsd/sys/contrib/openzfs/
H A D.gitignore74 *.swp
/freebsd/lib/libcompiler_rt/
H A DMakefile22 . for pat in cas swp ldadd ldclr ldeor ldset
/freebsd/sys/fs/tmpfs/
H A Dtmpfs_subr.c169 old = object->un_pager.swp.writemappings; in tmpfs_pager_update_writecount()
170 object->un_pager.swp.writemappings += (vm_ooffset_t)end - start; in tmpfs_pager_update_writecount()
171 new = object->un_pager.swp.writemappings; in tmpfs_pager_update_writecount()
185 old = object->un_pager.swp.writemappings; in tmpfs_pager_release_writecount()
189 object->un_pager.swp.writemappings -= (vm_ooffset_t)end - start; in tmpfs_pager_release_writecount()
190 new = object->un_pager.swp.writemappings; in tmpfs_pager_release_writecount()
233 node = obj->un_pager.swp.swp_priv; in tmpfs_pager_freespace()
256 node = obj->un_pager.swp.swp_priv; in tmpfs_page_inserted()
275 node = obj->un_pager.swp.swp_priv; in tmpfs_page_removed()
666 nnode->tn_reg.tn_aobj->un_pager.swp.swp_priv = nnode; in tmpfs_alloc_node()
[all …]
/freebsd/tools/regression/compat32/aarch64/
H A Dswp_test_impl.S227 * ARM documentation on SWP/SWPB.
234 swp r1, r2, [r0] /* Swap in lock value. */
/freebsd/contrib/llvm-project/lld/
H A D.gitignore16 .*.swp
/freebsd/sys/arm64/include/
H A Dmd_var.h67 * XXX These are implemented primarily for swp/swpb emulation at the moment, and

123