Home
last modified time | relevance | path

Searched refs:max_n_shift (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/iommu/arm/arm-smmu-v3/
H A Dtegra241-cmdqv.c628 q->llq.max_n_shift = in tegra241_vcmdq_alloc_smmu_cmdq()
640 q->q_base |= FIELD_PREP(VCMDQ_LOG2SIZE, q->llq.max_n_shift); in tegra241_vcmdq_alloc_smmu_cmdq()
1056 u32 log2size, max_n_shift; in tegra241_vintf_alloc_lvcmdq_user() local
1088 max_n_shift = FIELD_GET(IDR1_CMDQS, in tegra241_vintf_alloc_lvcmdq_user()
1091 hw_queue->length > (1 << (max_n_shift + CMDQ_ENT_SZ_SHIFT))) { in tegra241_vintf_alloc_lvcmdq_user()
H A Darm-smmu-v3.c134 space = (1 << q->max_n_shift) - (prod - cons); in queue_has_space()
592 .max_n_shift = cmdq->q.llq.max_n_shift, in __arm_smmu_cmdq_poll_set_valid_map()
773 .max_n_shift = cmdq->q.llq.max_n_shift, in arm_smmu_cmdq_write_entries()
812 llq.max_n_shift = cmdq->q.llq.max_n_shift; in arm_smmu_cmdq_issue_cmdlist()
3784 qsz = ((1 << q->llq.max_n_shift) * dwords) << 3; in arm_smmu_init_one_queue()
3790 q->llq.max_n_shift--; in arm_smmu_init_one_queue()
3802 1 << q->llq.max_n_shift, name); in arm_smmu_init_one_queue()
3811 q->q_base |= FIELD_PREP(Q_BASE_LOG2SIZE, q->llq.max_n_shift); in arm_smmu_init_one_queue()
3820 unsigned int nents = 1 << cmdq->q.llq.max_n_shift; in arm_smmu_cmdq_init()
4478 smmu->cmdq.q.llq.max_n_shift = min_t(u32, CMDQ_MAX_SZ_SHIFT, in arm_smmu_device_hw_probe()
[all …]