Lines Matching full:vpu
3 * Hantro VPU codec driver
11 void hantro_g2_check_idle(struct hantro_dev *vpu) in hantro_g2_check_idle() argument
18 /* Make sure the VPU is idle */ in hantro_g2_check_idle()
19 status = vdpu_read(vpu, G2_REG_INTERRUPT); in hantro_g2_check_idle()
21 dev_warn(vpu->dev, "device still running, aborting"); in hantro_g2_check_idle()
23 vdpu_write(vpu, status, G2_REG_INTERRUPT); in hantro_g2_check_idle()
30 struct hantro_dev *vpu = dev_id; in hantro_g2_irq() local
34 status = vdpu_read(vpu, G2_REG_INTERRUPT); in hantro_g2_irq()
38 vdpu_write(vpu, 0, G2_REG_INTERRUPT); in hantro_g2_irq()
39 vdpu_write(vpu, G2_REG_CONFIG_DEC_CLK_GATE_E, G2_REG_CONFIG); in hantro_g2_irq()
41 hantro_irq_done(vpu, state); in hantro_g2_irq()