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