Lines Matching refs:op
53 static int hw_bitblt_1(void __iomem *engine, u8 op, u32 width, u32 height, in hw_bitblt_1() argument
61 if (!op || op > 3) { in hw_bitblt_1()
62 printk(KERN_WARNING "hw_bitblt_1: Invalid operation: %d\n", op); in hw_bitblt_1()
66 if (op != VIA_BITBLT_FILL && !src_mem && src_addr == dst_addr) { in hw_bitblt_1()
79 if (op == VIA_BITBLT_FILL) { in hw_bitblt_1()
97 if (op != VIA_BITBLT_FILL) { in hw_bitblt_1()
98 if (src_x & (op == VIA_BITBLT_MONO ? 0xFFFF8000 : 0xFFFFF000) in hw_bitblt_1()
124 if (op != VIA_BITBLT_COLOR) in hw_bitblt_1()
127 if (op == VIA_BITBLT_MONO) in hw_bitblt_1()
130 if (op != VIA_BITBLT_FILL) { in hw_bitblt_1()
149 if (op == VIA_BITBLT_FILL) in hw_bitblt_1()
161 if (op == VIA_BITBLT_FILL) in hw_bitblt_1()
167 if (op == VIA_BITBLT_MONO) in hw_bitblt_1()
174 if (op == VIA_BITBLT_FILL || !src_mem) in hw_bitblt_1()
177 tmp = (width * height * (op == VIA_BITBLT_MONO ? 1 : (dst_bpp >> 3)) + in hw_bitblt_1()
186 static int hw_bitblt_2(void __iomem *engine, u8 op, u32 width, u32 height, in hw_bitblt_2() argument
194 if (!op || op > 3) { in hw_bitblt_2()
195 printk(KERN_WARNING "hw_bitblt_2: Invalid operation: %d\n", op); in hw_bitblt_2()
199 if (op != VIA_BITBLT_FILL && !src_mem && src_addr == dst_addr) { in hw_bitblt_2()
212 if (op == VIA_BITBLT_FILL) { in hw_bitblt_2()
230 if (op == VIA_BITBLT_FILL) in hw_bitblt_2()
266 if (op != VIA_BITBLT_FILL) { in hw_bitblt_2()
267 if (src_x & (op == VIA_BITBLT_MONO ? 0xFFFF8000 : 0xFFFFF000) in hw_bitblt_2()
286 if (op == VIA_BITBLT_FILL) { in hw_bitblt_2()
288 } else if (op == VIA_BITBLT_MONO) { in hw_bitblt_2()
293 if (op == VIA_BITBLT_FILL) in hw_bitblt_2()
299 if (op == VIA_BITBLT_MONO) in hw_bitblt_2()
306 if (op == VIA_BITBLT_FILL || !src_mem) in hw_bitblt_2()
309 tmp = (width * height * (op == VIA_BITBLT_MONO ? 1 : (dst_bpp >> 3)) + in hw_bitblt_2()