Lines Matching refs:evtq
1567 struct arm_smmu_queue *q = &smmu->evtq.q;
2719 iopf_queue_remove_device(master->smmu->evtq.iopf, dev);
2964 /* evtq */
2965 ret = arm_smmu_init_one_queue(smmu, &smmu->evtq.q, smmu->page1,
2967 EVTQ_ENT_DWORDS, "evtq");
2973 smmu->evtq.iopf = iopf_queue_alloc(dev_name(smmu->dev));
2974 if (!smmu->evtq.iopf)
3184 /* Allocate MSIs for evtq, gerror and priq. Ignore cmdq */
3191 smmu->evtq.q.irq = msi_get_virq(dev, EVTQ_MSI_INDEX);
3206 irq = smmu->evtq.q.irq;
3211 "arm-smmu-v3-evtq", smmu);
3213 dev_warn(smmu->dev, "failed to enable evtq irq\n");
3215 dev_warn(smmu->dev, "no evtq irq - events will not be reported!\n");
3365 writeq_relaxed(smmu->evtq.q.q_base, smmu->base + ARM_SMMU_EVTQ_BASE);
3366 writel_relaxed(smmu->evtq.q.llq.prod, smmu->page1 + ARM_SMMU_EVTQ_PROD);
3367 writel_relaxed(smmu->evtq.q.llq.cons, smmu->page1 + ARM_SMMU_EVTQ_CONS);
3595 smmu->evtq.q.llq.max_n_shift = min_t(u32, EVTQ_MAX_SZ_SHIFT,
3621 smmu->evtq.max_stalls = FIELD_GET(IDR5_STALL_MAX, reg);
3860 smmu->evtq.q.irq = irq;
3914 iopf_queue_free(smmu->evtq.iopf);