30 u16 val2 = val | (val << 8);
31 u32 val4 = val2 | (val2 << 16);
34 if ((count > 0) && ((
unsigned long)dst & 1)) {
35 cx18_writeb(cx, (
u8) val, dst);
39 if ((count > 1) && ((
unsigned long)dst & 2)) {
40 cx18_writew(cx, val2, dst);
45 cx18_writel(cx, val4, dst);
50 cx18_writew(cx, val2, dst);
55 cx18_writeb(cx, (
u8) val, dst);
94 val = cx18_read_reg(cx, 0xD000F8);
95 val = (val & ~0x1f00) | ((addr >> 17) & 0x1f00);
96 cx18_write_reg(cx, val, 0xD000F8);