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.c630 q->llq.max_n_shift = in tegra241_vcmdq_alloc_smmu_cmdq()
642 q->q_base |= FIELD_PREP(VCMDQ_LOG2SIZE, q->llq.max_n_shift); in tegra241_vcmdq_alloc_smmu_cmdq()
1113 u32 log2size, max_n_shift; in tegra241_vintf_alloc_lvcmdq_user() local
1145 max_n_shift = FIELD_GET(IDR1_CMDQS, in tegra241_vintf_alloc_lvcmdq_user()
1148 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()
581 .max_n_shift = cmdq->q.llq.max_n_shift, in __arm_smmu_cmdq_poll_set_valid_map()
762 .max_n_shift = cmdq->q.llq.max_n_shift, in arm_smmu_cmdq_write_entries()
801 llq.max_n_shift = cmdq->q.llq.max_n_shift; in arm_smmu_cmdq_issue_cmdlist()
3723 qsz = ((1 << q->llq.max_n_shift) * dwords) << 3; in arm_smmu_init_one_queue()
3729 q->llq.max_n_shift--; in arm_smmu_init_one_queue()
3741 1 << q->llq.max_n_shift, name); in arm_smmu_init_one_queue()
3750 q->q_base |= FIELD_PREP(Q_BASE_LOG2SIZE, q->llq.max_n_shift); in arm_smmu_init_one_queue()
3759 unsigned int nents = 1 << cmdq->q.llq.max_n_shift; in arm_smmu_cmdq_init()
4423 smmu->cmdq.q.llq.max_n_shift = min_t(u32, CMDQ_MAX_SZ_SHIFT, in arm_smmu_device_hw_probe()
[all …]