Lines Matching refs:qdma_set_field

86 static void qdma_set_field(const struct qdma_device *qdev, u32 *data,  in qdma_set_field()  function
138 qdma_set_field(qdev, &value, QDMA_REGF_CMD_INDX, index); in qdma_context_cmd_execute()
139 qdma_set_field(qdev, &value, QDMA_REGF_CMD_CMD, cmd); in qdma_context_cmd_execute()
140 qdma_set_field(qdev, &value, QDMA_REGF_CMD_TYPE, type); in qdma_context_cmd_execute()
185 qdma_set_field(qdev, data, QDMA_REGF_DESC_BASE, ctxt->desc_base); in qdma_prep_sw_desc_context()
186 qdma_set_field(qdev, data, QDMA_REGF_IRQ_VEC, ctxt->vec); in qdma_prep_sw_desc_context()
187 qdma_set_field(qdev, data, QDMA_REGF_FUNCTION_ID, qdev->fid); in qdma_prep_sw_desc_context()
189 qdma_set_field(qdev, data, QDMA_REGF_DESC_SIZE, QDMA_DESC_SIZE_32B); in qdma_prep_sw_desc_context()
190 qdma_set_field(qdev, data, QDMA_REGF_RING_ID, QDMA_DEFAULT_RING_ID); in qdma_prep_sw_desc_context()
191 qdma_set_field(qdev, data, QDMA_REGF_QUEUE_MODE, QDMA_QUEUE_OP_MM); in qdma_prep_sw_desc_context()
192 qdma_set_field(qdev, data, QDMA_REGF_IRQ_ENABLE, 1); in qdma_prep_sw_desc_context()
193 qdma_set_field(qdev, data, QDMA_REGF_WBK_ENABLE, 1); in qdma_prep_sw_desc_context()
194 qdma_set_field(qdev, data, QDMA_REGF_WBI_CHECK, 1); in qdma_prep_sw_desc_context()
195 qdma_set_field(qdev, data, QDMA_REGF_IRQ_ARM, 1); in qdma_prep_sw_desc_context()
196 qdma_set_field(qdev, data, QDMA_REGF_IRQ_AGG, 1); in qdma_prep_sw_desc_context()
197 qdma_set_field(qdev, data, QDMA_REGF_WBI_INTVL_ENABLE, 1); in qdma_prep_sw_desc_context()
198 qdma_set_field(qdev, data, QDMA_REGF_QUEUE_ENABLE, 1); in qdma_prep_sw_desc_context()
199 qdma_set_field(qdev, data, QDMA_REGF_MRKR_DISABLE, 1); in qdma_prep_sw_desc_context()
207 qdma_set_field(qdev, data, QDMA_REGF_INTR_AGG_BASE, ctxt->agg_base); in qdma_prep_intr_context()
208 qdma_set_field(qdev, data, QDMA_REGF_INTR_VECTOR, ctxt->vec); in qdma_prep_intr_context()
209 qdma_set_field(qdev, data, QDMA_REGF_INTR_SIZE, ctxt->size); in qdma_prep_intr_context()
210 qdma_set_field(qdev, data, QDMA_REGF_INTR_VALID, ctxt->valid); in qdma_prep_intr_context()
211 qdma_set_field(qdev, data, QDMA_REGF_INTR_COLOR, ctxt->color); in qdma_prep_intr_context()
212 qdma_set_field(qdev, data, QDMA_REGF_INTR_FUNCTION_ID, qdev->fid); in qdma_prep_intr_context()
220 qdma_set_field(qdev, data, QDMA_REGF_QUEUE_BASE, ctxt->qbase); in qdma_prep_fmap_context()
221 qdma_set_field(qdev, data, QDMA_REGF_QUEUE_MAX, ctxt->qmax); in qdma_prep_fmap_context()
798 qdma_set_field(qdev, &value, QDMA_REGF_ERR_INT_FUNC, qdev->fid); in qdma_arm_err_intr()
799 qdma_set_field(qdev, &value, QDMA_REGF_ERR_INT_VEC, qdev->err_irq_idx); in qdma_arm_err_intr()
800 qdma_set_field(qdev, &value, QDMA_REGF_ERR_INT_ARM, 1); in qdma_arm_err_intr()