Lines Matching refs:offset

36 #define WRITE_REG8(offset, value) 			\
37 (*(volatile unsigned char *)(gfx_virt_regptr + (offset))) = (value)
39 #define WRITE_REG16(offset, value) \
40 (*(volatile unsigned short *)(gfx_virt_regptr + (offset))) = (value)
42 #define WRITE_REG32(offset, value) \
43 (*(volatile unsigned long *)(gfx_virt_regptr + (offset))) = (value)
45 #define READ_REG16(offset) \
46 (*(volatile unsigned short *)(gfx_virt_regptr + (offset)))
48 #define READ_REG32(offset) \
49 (*(volatile unsigned long *)(gfx_virt_regptr + (offset)))
53 #define WRITE_GP8(offset, value) \
54 (*(volatile unsigned char *)(gfx_virt_gpptr + (offset))) = (value)
56 #define WRITE_GP16(offset, value) \
57 (*(volatile unsigned short *)(gfx_virt_gpptr + (offset))) = (value)
59 #define WRITE_GP32(offset, value) \
60 (*(volatile unsigned long *)(gfx_virt_gpptr + (offset))) = (value)
62 #define READ_GP16(offset) \
63 (*(volatile unsigned short *)(gfx_virt_gpptr + (offset)))
65 #define READ_GP32(offset) \
66 (*(volatile unsigned long *)(gfx_virt_gpptr + (offset)))
70 #define WRITE_FB32(offset, value) \
71 (*(volatile unsigned long *)(gfx_virt_fbptr + (offset))) = (value)
73 #define WRITE_FB16(offset, value) \
74 (*(volatile unsigned short *)(gfx_virt_fbptr + (offset))) = (value)
76 #define WRITE_FB8(offset, value) \
77 (*(volatile unsigned char *)(gfx_virt_fbptr + (offset))) = (value)
81 #define READ_VID32(offset) \
82 (*(volatile unsigned long *)(gfx_virt_vidptr + (offset)))
84 #define WRITE_VID32(offset, value) \
85 (*(volatile unsigned long *)(gfx_virt_vidptr + (offset))) = (value)
89 #define READ_VIP32(offset) \
90 (*(volatile unsigned long *)(gfx_virt_vipptr + (offset)))
92 #define WRITE_VIP32(offset, value) \
93 (*(volatile unsigned long *)(gfx_virt_vipptr + (offset))) = (value)
97 #define WRITE_SCRATCH32(offset, value) \
98 (*(volatile unsigned long *)(gfx_virt_spptr + (offset))) = (value)
100 #define WRITE_SCRATCH16(offset, value) \
101 (*(volatile unsigned short *)(gfx_virt_spptr + (offset))) = (value)
103 #define WRITE_SCRATCH8(offset, value) \
104 (*(volatile unsigned char *)(gfx_virt_spptr + (offset))) = (value)
106 #define READ_SCRATCH16(offset) \
107 (*(volatile unsigned short *)(gfx_virt_spptr + (offset)))
109 #define READ_SCRATCH32(offset) \
110 (*(volatile unsigned long *)(gfx_virt_spptr + (offset)))
140 * scratch_base - offset into the GX base for the first BLT buffer byte.
158 * array_offset - offset into the array from which to pull the first
179 * fboffset - offset to the beginning frame buffer location.
184 * array_offset - offset into the array from which to pull the first
212 * array_offset - offset into the array from which to pull the first
242 * fboffset - offset to the beginning frame buffer location.
247 * array_offset - offset into the array from which to pull the first
266 * spoffset - offset to the beginning frame buffer location.
270 * array_offset - offset into the array from which to pull the first
293 * array_offset - offset into the array from which to pull the first
324 * array_offset - offset into the array from which to pull the first