Lines Matching refs:initfq

1002 	struct qm_mcc_initfq initfq;  in dpaa_fq_init()  local
1024 memset(&initfq, 0, sizeof(initfq)); in dpaa_fq_init()
1026 initfq.we_mask = cpu_to_be16(QM_INITFQ_WE_FQCTRL); in dpaa_fq_init()
1028 initfq.fqd.fq_ctrl = cpu_to_be16(QM_FQCTRL_PREFERINCACHE); in dpaa_fq_init()
1034 initfq.fqd.fq_ctrl |= cpu_to_be16(QM_FQCTRL_AVOIDBLOCK); in dpaa_fq_init()
1037 initfq.we_mask |= cpu_to_be16(QM_INITFQ_WE_DESTWQ); in dpaa_fq_init()
1039 qm_fqd_set_destwq(&initfq.fqd, dpaa_fq->channel, dpaa_fq->wq); in dpaa_fq_init()
1050 initfq.we_mask |= cpu_to_be16(QM_INITFQ_WE_CGID); in dpaa_fq_init()
1051 initfq.fqd.fq_ctrl |= cpu_to_be16(QM_FQCTRL_CGE); in dpaa_fq_init()
1052 initfq.fqd.cgid = (u8)priv->cgr_data.cgr.cgrid; in dpaa_fq_init()
1062 initfq.we_mask |= cpu_to_be16(QM_INITFQ_WE_OAC); in dpaa_fq_init()
1063 qm_fqd_set_oac(&initfq.fqd, QM_OAC_CG); in dpaa_fq_init()
1064 qm_fqd_set_oal(&initfq.fqd, in dpaa_fq_init()
1071 initfq.we_mask |= cpu_to_be16(QM_INITFQ_WE_TDTHRESH); in dpaa_fq_init()
1072 qm_fqd_set_taildrop(&initfq.fqd, DPAA_FQ_TD, 1); in dpaa_fq_init()
1073 initfq.fqd.fq_ctrl = cpu_to_be16(QM_FQCTRL_TDE); in dpaa_fq_init()
1081 initfq.we_mask |= in dpaa_fq_init()
1090 qm_fqd_context_a_set64(&initfq.fqd, in dpaa_fq_init()
1100 initfq.we_mask |= cpu_to_be16(QM_INITFQ_WE_CGID); in dpaa_fq_init()
1101 initfq.fqd.fq_ctrl |= cpu_to_be16(QM_FQCTRL_CGE); in dpaa_fq_init()
1102 initfq.fqd.cgid = (u8)priv->ingress_cgr.cgrid; in dpaa_fq_init()
1106 initfq.we_mask |= cpu_to_be16(QM_INITFQ_WE_OAC); in dpaa_fq_init()
1107 qm_fqd_set_oac(&initfq.fqd, QM_OAC_CG); in dpaa_fq_init()
1108 qm_fqd_set_oal(&initfq.fqd, in dpaa_fq_init()
1116 initfq.we_mask |= cpu_to_be16(QM_INITFQ_WE_CONTEXTA); in dpaa_fq_init()
1117 initfq.fqd.fq_ctrl |= cpu_to_be16(QM_FQCTRL_HOLDACTIVE | in dpaa_fq_init()
1119 initfq.fqd.context_a.stashing.exclusive = in dpaa_fq_init()
1122 qm_fqd_set_stashing(&initfq.fqd, 1, 2, in dpaa_fq_init()
1127 err = qman_init_fq(fq, QMAN_INITFQ_FLAG_SCHED, &initfq); in dpaa_fq_init()