Searched refs:max_n_shift (Results 1 – 2 of 2) sorted by relevance
175 #define Q_IDX(llq, p) ((p) & ((1 << (llq)->max_n_shift) - 1))176 #define Q_WRP(llq, p) ((p) & (1 << (llq)->max_n_shift))524 u32 max_n_shift; member
112 space = (1 << q->max_n_shift) - (prod - cons); in queue_has_space()537 .max_n_shift = cmdq->q.llq.max_n_shift, in __arm_smmu_cmdq_poll_set_valid_map()716 .max_n_shift = cmdq->q.llq.max_n_shift, in arm_smmu_cmdq_write_entries()755 llq.max_n_shift = cmdq->q.llq.max_n_shift; in arm_smmu_cmdq_issue_cmdlist()2900 qsz = ((1 << q->llq.max_n_shift) * dwords) << 3; in arm_smmu_init_one_queue()2906 q->llq.max_n_shift--; in arm_smmu_init_one_queue()2918 1 << q->llq.max_n_shift, name); in arm_smmu_init_one_queue()2936 unsigned int nents = 1 << cmdq->q.llq.max_n_shift; in arm_smmu_cmdq_init()3581 smmu->cmdq.q.llq.max_n_shift = min_t(u32, CMDQ_MAX_SZ_SHIFT, in arm_smmu_device_hw_probe()3595 smmu->evtq.q.llq.max_n_shift = min_t(u32, EVTQ_MAX_SZ_SHIFT, in arm_smmu_device_hw_probe()[all …]