2 Copyright (c) 2002, Thomas Kurschel
7 VIP host port registers
13 #define RADEON_VIPH_TIMEOUT_STAT 0xc50
14 # define RADEON_VIPH_TIMEOUT_STAT_VIPH_REG_STAT (1 << 4)
15 # define RADEON_VIPH_TIMEOUT_STAT_VIPH_REG_AK (1 << 4)
16 # define RADEON_VIPH_TIMEOUT_STAT_AK_MASK 0xff
17 # define RADEON_VIPH_TIMEOUT_STAT_VIPH_REGR_DIS (1 << 24)
19 #define RADEON_VIPH_CONTROL 0xc40
20 # define RADEON_VIPH_CONTROL_VIPH_REG_RDY (1 << 13)
21 # define RADEON_VIPH_CONTROL_VIPH_MAX_WAIT_SHIFT 16
22 # define RADEON_VIPH_CONTROL_VIPH_DMA_MODE (1 << 20)
23 # define RADEON_VIPH_CONTROL_VIPH_EN (1 << 21)
25 #define RADEON_VIPH_REG_ADDR 0x80
26 #define RADEON_VIPH_REG_DATA 0x84
28 #define RADEON_VIPH_DV_LAT 0xc44
29 # define RADEON_VIPH_DV_LAT_VIPH_DV0_LAT_SHIFT 16
30 # define RADEON_VIPH_DV_LAT_VIPH_DV1_LAT_SHIFT 20
31 # define RADEON_VIPH_DV_LAT_VIPH_DV2_LAT_SHIFT 24
32 # define RADEON_VIPH_DV_LAT_VIPH_DV3_LAT_SHIFT 28
34 #define RADEON_VIPH_DMA_CHUNK 0xc48
35 # define RADEON_VIPH_DMA_CHUNK_VIPH_CH0_CHUNK_SHIFT 0
36 # define RADEON_VIPH_DMA_CHUNK_VIPH_CH1_CHUNK_SHIFT 4
37 # define RADEON_VIPH_DMA_CHUNK_VIPH_CH2_CHUNK_SHIFT 6
38 # define RADEON_VIPH_DMA_CHUNK_VIPH_CH3_CHUNK_SHIFT 8
40 #define RADEON_VIP_VENDOR_DEVICE_ID 0x0000