Mercurial > mplayer.hg
comparison vidix/s3_regs.h @ 36764:b11dc6175323
vidix/s3: Fix loads of 'void *' used in arithmetic warnings.
author | reimar |
---|---|
date | Sun, 16 Feb 2014 16:29:58 +0000 |
parents | 0f1b5b68af32 |
children |
comparison
equal
deleted
inserted
replaced
36763:7ac80299454d | 36764:b11dc6175323 |
---|---|
216 | 216 |
217 #define VID_AND32(p,i,val) VID_WR32(p,i,VID_RD32(p,i)&(val)) | 217 #define VID_AND32(p,i,val) VID_WR32(p,i,VID_RD32(p,i)&(val)) |
218 #define VID_OR32(p,i,val) VID_WR32(p,i,VID_RD32(p,i)|(val)) | 218 #define VID_OR32(p,i,val) VID_WR32(p,i,VID_RD32(p,i)|(val)) |
219 #define VID_XOR32(p,i,val) VID_WR32(p,i,VID_RD32(p,i)^(val)) | 219 #define VID_XOR32(p,i,val) VID_WR32(p,i,VID_RD32(p,i)^(val)) |
220 | 220 |
221 #define VGAIN8(addr) VID_RD08(info->control_base+0x8000, addr) | 221 #define VGAIN8(addr) VID_RD08((uint8_t *)info->control_base+0x8000, addr) |
222 #define VGAIN16(addr) VID_RD16(info->control_base+0x8000, addr) | 222 #define VGAIN16(addr) VID_RD16((uint8_t *)info->control_base+0x8000, addr) |
223 #define VGAIN(addr) VID_RD32(info->control_base+0x8000, addr) | 223 #define VGAIN(addr) VID_RD32((uint8_t *)info->control_base+0x8000, addr) |
224 | 224 |
225 #define VGAOUT8(addr,val) VID_WR08(info->control_base+0x8000, addr, val) | 225 #define VGAOUT8(addr,val) VID_WR08((uint8_t *)info->control_base+0x8000, addr, val) |
226 #define VGAOUT16(addr,val) VID_WR16(info->control_base+0x8000, addr, val) | 226 #define VGAOUT16(addr,val) VID_WR16((uint8_t *)info->control_base+0x8000, addr, val) |
227 #define VGAOUT(addr,val) VID_WR32(info->control_base+0x8000, addr, val) | 227 #define VGAOUT(addr,val) VID_WR32((uint8_t *)info->control_base+0x8000, addr, val) |
228 | 228 |
229 #define INREG(addr) VID_RD32(info->control_base, addr) | 229 #define INREG(addr) VID_RD32(info->control_base, addr) |
230 #define OUTREG(addr,val) VID_WR32(info->control_base, addr, val) | 230 #define OUTREG(addr,val) VID_WR32(info->control_base, addr, val) |
231 #define INREG8(addr) VID_RD08(info->control_base, addr) | 231 #define INREG8(addr) VID_RD08(info->control_base, addr) |
232 #define OUTREG8(addr,val) VID_WR08(info->control_base, addr, val) | 232 #define OUTREG8(addr,val) VID_WR08(info->control_base, addr, val) |