Home
last modified time | relevance | path

Searched refs:initfq (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/freescale/dpaa/
Ddpaa_eth.c1002 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()
[all …]
/linux-6.1.9/drivers/soc/fsl/qbman/
Dqman.c266 struct qm_mcc_initfq initfq; member
1886 mcc->initfq = *opts; in qman_init_fq()
1888 mcc->initfq.count = 0; in qman_init_fq()
1897 mcc->initfq.we_mask |= cpu_to_be16(QM_INITFQ_WE_CONTEXTB); in qman_init_fq()
1898 mcc->initfq.fqd.context_b = cpu_to_be32(fq_to_tag(fq)); in qman_init_fq()
1903 if (!(be16_to_cpu(mcc->initfq.we_mask) & in qman_init_fq()
1905 mcc->initfq.we_mask |= in qman_init_fq()
1907 memset(&mcc->initfq.fqd.context_a, 0, in qman_init_fq()
1908 sizeof(mcc->initfq.fqd.context_a)); in qman_init_fq()
1920 qm_fqd_stashing_set64(&mcc->initfq.fqd, phys_fq); in qman_init_fq()
[all …]