Lines Matching refs:dsparb2

259 #define VLV_FIFO_START(dsparb, dsparb2, lo_shift, hi_shift) \  argument
260 ((((dsparb) >> (lo_shift)) & 0xff) | ((((dsparb2) >> (hi_shift)) & 0x1) << 8))
269 u32 dsparb, dsparb2, dsparb3; in vlv_get_fifo_size() local
274 dsparb2 = intel_uncore_read(&dev_priv->uncore, DSPARB2); in vlv_get_fifo_size()
275 sprite0_start = VLV_FIFO_START(dsparb, dsparb2, 0, 0); in vlv_get_fifo_size()
276 sprite1_start = VLV_FIFO_START(dsparb, dsparb2, 8, 4); in vlv_get_fifo_size()
280 dsparb2 = intel_uncore_read(&dev_priv->uncore, DSPARB2); in vlv_get_fifo_size()
281 sprite0_start = VLV_FIFO_START(dsparb, dsparb2, 16, 8); in vlv_get_fifo_size()
282 sprite1_start = VLV_FIFO_START(dsparb, dsparb2, 24, 12); in vlv_get_fifo_size()
285 dsparb2 = intel_uncore_read(&dev_priv->uncore, DSPARB2); in vlv_get_fifo_size()
287 sprite0_start = VLV_FIFO_START(dsparb3, dsparb2, 0, 16); in vlv_get_fifo_size()
288 sprite1_start = VLV_FIFO_START(dsparb3, dsparb2, 8, 20); in vlv_get_fifo_size()
1761 u32 dsparb, dsparb2, dsparb3; in vlv_atomic_update_fifo() local
1789 dsparb2 = intel_uncore_read_fw(uncore, DSPARB2); in vlv_atomic_update_fifo()
1796 dsparb2 &= ~(VLV_FIFO(SPRITEA_HI, 0x1) | in vlv_atomic_update_fifo()
1798 dsparb2 |= (VLV_FIFO(SPRITEA_HI, sprite0_start >> 8) | in vlv_atomic_update_fifo()
1802 intel_uncore_write_fw(uncore, DSPARB2, dsparb2); in vlv_atomic_update_fifo()
1806 dsparb2 = intel_uncore_read_fw(uncore, DSPARB2); in vlv_atomic_update_fifo()
1813 dsparb2 &= ~(VLV_FIFO(SPRITEC_HI, 0xff) | in vlv_atomic_update_fifo()
1815 dsparb2 |= (VLV_FIFO(SPRITEC_HI, sprite0_start >> 8) | in vlv_atomic_update_fifo()
1819 intel_uncore_write_fw(uncore, DSPARB2, dsparb2); in vlv_atomic_update_fifo()
1823 dsparb2 = intel_uncore_read_fw(uncore, DSPARB2); in vlv_atomic_update_fifo()
1830 dsparb2 &= ~(VLV_FIFO(SPRITEE_HI, 0xff) | in vlv_atomic_update_fifo()
1832 dsparb2 |= (VLV_FIFO(SPRITEE_HI, sprite0_start >> 8) | in vlv_atomic_update_fifo()
1836 intel_uncore_write_fw(uncore, DSPARB2, dsparb2); in vlv_atomic_update_fifo()