Lines Matching +full:cmdq +full:- +full:sync
1 /* SPDX-License-Identifier: GPL-2.0-only */
88 /* CR1 cacheability fields don't quite follow the usual TCR-style encoding */
169 #define Q_IDX(llq, p) ((p) & ((1 << (llq)->max_n_shift) - 1))
170 #define Q_WRP(llq, p) ((p) & (1 << (llq)->max_n_shift))
173 #define Q_ENT(q, p) ((q)->base + \
174 Q_IDX(&((q)->llq), p) * \
175 (q)->ent_dwords)
185 #define Q_MAX_SZ_SHIFT (PAGE_SHIFT + MAX_ORDER - 1)
306 #define CMDQ_MAX_SZ_SHIFT (Q_MAX_SZ_SHIFT - CMDQ_ENT_SZ_SHIFT)
376 #define EVTQ_MAX_SZ_SHIFT (Q_MAX_SZ_SHIFT - EVTQ_ENT_SZ_SHIFT)
402 #define PRIQ_MAX_SZ_SHIFT (Q_MAX_SZ_SHIFT - PRIQ_ENT_SZ_SHIFT)
416 /* High-level queue structures */
434 /* Command-specific fields */
501 } sync; member
564 /* High-level stream table and context descriptor structures */
649 struct arm_smmu_cmdq cmdq; member
780 return -ENODEV; in arm_smmu_master_enable_sva()
785 return -ENODEV; in arm_smmu_master_disable_sva()
796 return ERR_PTR(-ENODEV); in arm_smmu_sva_bind()