Home
last modified time | relevance | path

Searched refs:cg_status (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/media/platform/mediatek/vcodec/decoder/
H A Dmtk_vcodec_dec_hw.c68 u32 cg_status; in mtk_vdec_hw_irq_handler() local
76 cg_status = readl(dev->reg_base[VDEC_HW_SYS] + VDEC_HW_ACTIVE_ADDR); in mtk_vdec_hw_irq_handler()
77 if (cg_status & VDEC_HW_ACTIVE_MASK) { in mtk_vdec_hw_irq_handler()
78 mtk_v4l2_vdec_err(ctx, "vdec active is not 0x0 (0x%08x)", cg_status); in mtk_vdec_hw_irq_handler()
H A Dmtk_vcodec_dec_drv.c44 u32 cg_status; in mtk_vcodec_is_hw_active() local
50 cg_status = readl(dev->reg_base[VDEC_SYS] + VDEC_HW_ACTIVE_ADDR); in mtk_vcodec_is_hw_active()
51 return !FIELD_GET(VDEC_HW_ACTIVE_MASK, cg_status); in mtk_vcodec_is_hw_active()
/linux/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_ethtool.c185 bool cg_status; in dpaa_get_ethtool_stats() local
227 cg_status = false; in dpaa_get_ethtool_stats()
229 if (qman_query_cgr_congested(&priv->cgr_data.cgr, &cg_status) == 0) { in dpaa_get_ethtool_stats()
240 data[offset++] = cg_status; in dpaa_get_ethtool_stats()