Lines Matching refs:desc
1233 arm_smmu_write_strtab_l1_desc(__le64 *dst, struct arm_smmu_strtab_l1_desc *desc) in arm_smmu_write_strtab_l1_desc() argument
1237 val |= FIELD_PREP(STRTAB_L1_DESC_SPAN, desc->span); in arm_smmu_write_strtab_l1_desc()
1238 val |= desc->l2ptr_dma & STRTAB_L1_DESC_L2PTR_MASK; in arm_smmu_write_strtab_l1_desc()
1423 struct arm_smmu_strtab_l1_desc *desc = &cfg->l1_desc[sid >> STRTAB_SPLIT]; in arm_smmu_init_l2_strtab() local
1425 if (desc->l2ptr) in arm_smmu_init_l2_strtab()
1431 desc->span = STRTAB_SPLIT + 1; in arm_smmu_init_l2_strtab()
1432 desc->l2ptr = dmam_alloc_coherent(smmu->dev, size, &desc->l2ptr_dma, in arm_smmu_init_l2_strtab()
1434 if (!desc->l2ptr) { in arm_smmu_init_l2_strtab()
1441 arm_smmu_init_bypass_stes(desc->l2ptr, 1 << STRTAB_SPLIT, false); in arm_smmu_init_l2_strtab()
1442 arm_smmu_write_strtab_l1_desc(strtab, desc); in arm_smmu_init_l2_strtab()
3147 static void arm_smmu_write_msi_msg(struct msi_desc *desc, struct msi_msg *msg) in arm_smmu_write_msi_msg() argument
3150 struct device *dev = msi_desc_to_dev(desc); in arm_smmu_write_msi_msg()
3152 phys_addr_t *cfg = arm_smmu_msi_cfg[desc->msi_index]; in arm_smmu_write_msi_msg()