Lines Matching +full:qman +full:- +full:portal
1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright © 2021-2023 Dmitry Salychev
40 * DPAA2 QBMan software portal.
57 * Number of times to retry DPIO portal operations while waiting for portal to
61 * unresponsive, but not give up too easily if the portal really is busy for
74 /* Registers in the cache-inhibited area of the software portal. */
96 /* Registers in the cache-enabled area of the software portal. */
105 /* Registers in the cache-enabled area of the software portal (memory-backed). */
113 /* Shifts in the portal's configuration register. */
141 * Read trigger bit is used to trigger QMan to read a command from memory,
143 * to QMan.
185 * Portal flags.
191 #define DPAA2_SWP_LOCKED 0x4000u /* Wait till portal's unlocked */
197 #define DPAA2_SWP_STAT_PORTAL_DISABLED 0xFD /* QBMan portal disabled */
218 mtx_assert(&(__swp)->lock, MA_NOTOWNED); \
219 mtx_lock(&(__swp)->lock); \
220 *(__flags) = (__swp)->flags; \
221 (__swp)->flags |= DPAA2_SWP_LOCKED; \
225 mtx_assert(&(__swp)->lock, MA_OWNED); \
226 (__swp)->flags &= ~DPAA2_SWP_LOCKED; \
227 mtx_unlock(&(__swp)->lock); \
295 * offset_fmt_sl: Frame data offset, frame format and short-length fields.
297 * to communicate some out-of-band information to the
301 * structure. QMan may use the FLC field for 3 purposes:
371 * @brief Descriptor of the QBMan software portal.
373 * cena_res: Unmapped cache-enabled part of the portal's I/O memory.
374 * cena_map: Mapped cache-enabled part of the portal's I/O memory.
375 * cinh_res: Unmapped cache-inhibited part of the portal's I/O memory.
376 * cinh_map: Mapped cache-inhibited part of the portal's I/O memory.
379 * portal.
380 * swp_version: Hardware IP version of the software portal.
383 * swp_id: Software portal ID.
406 * @brief Command holds data to be written to the software portal.
414 * @brief Command response holds data received from the software portal.
422 * @brief QBMan software portal.
424 * res: Unmapped cache-enabled and cache-inhibited parts of the portal.
425 * map: Mapped cache-enabled and cache-inhibited parts of the portal.
426 * desc: Descriptor of the QBMan software portal.
427 * lock: Lock to guard an access to the portal.
461 } cfg; /* Software portal configuration. */
500 /* Read/write registers of a software portal. */
516 /* Software portal commands. */