Lines Matching refs:qm_in

363 static inline u32 qm_in(struct qm_portal *p, u32 offset)  in qm_in()  function
431 eqcr->ci = qm_in(portal, QM_REG_EQCR_CI_CINH) & (QM_EQCR_SIZE - 1); in qm_eqcr_init()
433 pi = qm_in(portal, QM_REG_EQCR_PI_CINH) & (QM_EQCR_SIZE - 1); in qm_eqcr_init()
435 eqcr->vbit = (qm_in(portal, QM_REG_EQCR_PI_CINH) & QM_EQCR_SIZE) ? in qm_eqcr_init()
439 eqcr->ithresh = qm_in(portal, QM_REG_EQCR_ITR); in qm_eqcr_init()
444 cfg = (qm_in(portal, QM_REG_CFG) & 0x00ffffff) | in qm_eqcr_init()
455 u8 pi = qm_in(portal, QM_REG_EQCR_PI_CINH) & (QM_EQCR_SIZE - 1); in qm_eqcr_finish()
456 u8 ci = qm_in(portal, QM_REG_EQCR_CI_CINH) & (QM_EQCR_SIZE - 1); in qm_eqcr_finish()
597 qm_out(portal, QM_REG_CFG, (qm_in(portal, QM_REG_CFG) & 0xff0fffff) | in qm_dqrr_set_maxfill()
615 dqrr->pi = qm_in(portal, QM_REG_DQRR_PI_CINH) & (QM_DQRR_SIZE - 1); in qm_dqrr_init()
616 dqrr->ci = qm_in(portal, QM_REG_DQRR_CI_CINH) & (QM_DQRR_SIZE - 1); in qm_dqrr_init()
619 dqrr->vbit = (qm_in(portal, QM_REG_DQRR_PI_CINH) & QM_DQRR_SIZE) ? in qm_dqrr_init()
621 dqrr->ithresh = qm_in(portal, QM_REG_DQRR_ITR); in qm_dqrr_init()
630 cfg = (qm_in(portal, QM_REG_CFG) & 0xff000f00) | in qm_dqrr_init()
769 mr->pi = qm_in(portal, QM_REG_MR_PI_CINH) & (QM_MR_SIZE - 1); in qm_mr_init()
770 mr->ci = qm_in(portal, QM_REG_MR_CI_CINH) & (QM_MR_SIZE - 1); in qm_mr_init()
773 mr->vbit = (qm_in(portal, QM_REG_MR_PI_CINH) & QM_MR_SIZE) in qm_mr_init()
775 mr->ithresh = qm_in(portal, QM_REG_MR_ITR); in qm_mr_init()
780 cfg = (qm_in(portal, QM_REG_CFG) & 0xfffff0ff) | in qm_mr_init()
1052 *ithresh = qm_in(&portal->p, QM_REG_DQRR_ITR); in qman_dqrr_get_ithresh()
1059 *iperiod = qm_in(&portal->p, QM_REG_ITPR); in qman_portal_get_iperiod()
1169 u32 is = qm_in(&p->p, QM_REG_ISR) & p->irq_sources; in portal_isr()
1715 ier = qm_in(&p->p, QM_REG_IER); in qman_p_irqsource_remove()