Lines Matching +full:icid +full:- +full:base
1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright © 2021-2022 Dmitry Salychev
63 #define DPAA2_CMD_STAT_AUTH_ERR 0x3 /* Illegal object-portal-icid */
73 /* Driver-specific return codes. */
87 /* ------------------------- MNG command IDs -------------------------------- */
97 /* ------------------------- DPRC command IDs ------------------------------- */
128 /* ------------------------- DPIO command IDs ------------------------------- */
145 /* ------------------------- DPNI command IDs ------------------------------- */
190 /* ------------------------- DPBP command IDs ------------------------------- */
203 /* ------------------------- DPMAC command IDs ------------------------------ */
223 /* ------------------------- DPCON command IDs ------------------------------ */
237 /* ------------------------- DPMCP command IDs ------------------------------ */
252 mtx_assert(&(__mcp)->lock, MA_NOTOWNED); \
253 mtx_lock(&(__mcp)->lock); \
254 *(__flags) = (__mcp)->flags; \
255 (__mcp)->flags |= DPAA2_PORTAL_LOCKED; \
259 mtx_assert(&(__mcp)->lock, MA_OWNED); \
260 (__mcp)->flags &= ~DPAA2_PORTAL_LOCKED; \
261 mtx_unlock(&(__mcp)->lock); \
361 * icid: Container's isolation context ID.
367 uint32_t icid; member
373 * base_paddr: Region base physical address.
374 * base_offset: Region base offset.
392 * (DPSW, DPDMUX), 0 - otherwise.
393 * type: Endpoint object type, null-terminated string.
407 * are 0-7, depending on the number of priorities in that channel.
419 * options: Options of the MC portal (disabled high-prio commands, etc.).
451 __hdr = (struct dpaa2_cmd_header *)&((__cmd)->header); \
452 __hdr->srcid = 0; \
453 __hdr->status = DPAA2_CMD_STAT_OK; \
454 __hdr->token = 0; \
455 __hdr->cmdid = 0; \
456 __hdr->flags_hw = DPAA2_CMD_DEF; \
457 __hdr->flags_sw = DPAA2_CMD_DEF; \
459 __hdr->flags_hw |= DPAA2_HW_FLAG_HIGH_PRIO; \
462 __hdr->flags_sw |= DPAA2_SW_FLAG_INTR_DIS; \
465 (__cmd)->params[__dcpi] = 0; \