Home
last modified time | relevance | path

Searched refs:rop (Results 1 – 25 of 64) sorted by relevance

123

/drivers/video/fbdev/sis/
Dsis_accel.c82 int rop, int trans_color) in SiS300SetupForScreenToScreenCopy() argument
93 SiS300SetupROP(sisALUConv[rop]) in SiS300SetupForScreenToScreenCopy()
136 SiS300SetupForSolidFill(struct sis_video_info *ivideo, u32 color, int rop) in SiS300SetupForSolidFill() argument
141 SiS300SetupROP(sisPatALUConv[rop]) in SiS300SetupForSolidFill()
172 SiS310SetupForScreenToScreenCopy(struct sis_video_info *ivideo, int rop, int trans_color) in SiS310SetupForScreenToScreenCopy() argument
182 SiS310SetupROP(sisALUConv[rop]) in SiS310SetupForScreenToScreenCopy()
238 SiS310SetupForSolidFill(struct sis_video_info *ivideo, u32 color, int rop) in SiS310SetupForSolidFill() argument
243 SiS310SetupROP(sisPatALUConv[rop]) in SiS310SetupForSolidFill()
340 SiS300SetupForSolidFill(ivideo, col, myrops[rect->rop]); in fbcon_sis_fillrect()
347 SiS310SetupForSolidFill(ivideo, col, myrops[rect->rop]); in fbcon_sis_fillrect()
Dsis_accel.h243 #define SiS300SetupROP(rop) \ argument
244 ivideo->CommandReg = (rop) << 8;
368 #define SiS310SetupROP(rop) \ argument
369 ivideo->CommandReg = (rop) << 8;
/drivers/video/fbdev/i810/
Di810_accel.c162 int xdir, int src, int dest, int rop, in source_copy_blit() argument
170 PUT_RING(xdir | rop << 16 | dpitch | DYN_COLOR_EN | blit_bpp); in source_copy_blit()
196 int rop, int what, int blit_bpp, in color_blit() argument
204 PUT_RING(rop << 16 | pitch | SOLIDPATTERN | DYN_COLOR_EN | blit_bpp); in color_blit()
236 int dsize, int blit_bpp, int rop, in mono_src_copy_imm_blit() argument
245 PUT_RING(DYN_COLOR_EN | blit_bpp | rop << 16 | dpitch); in mono_src_copy_imm_blit()
301 u32 dx, dy, width, height, dest, rop = 0, color = 0; in i810fb_fillrect() local
314 rop = i810fb_rop[rect->rop]; in i810fb_fillrect()
322 color_blit(width, height, info->fix.line_length, dest, rop, color, in i810fb_fillrect()
/drivers/video/fbdev/nvidia/
Dnv_accel.c169 static void NVSetRopSolid(struct fb_info *info, u32 rop, u32 planemask) in NVSetRopSolid() argument
175 if (par->currentRop != (rop + 32)) { in NVSetRopSolid()
177 NVDmaNext(par, NVCopyROP_PM[rop]); in NVSetRopSolid()
178 par->currentRop = rop + 32; in NVSetRopSolid()
180 } else if (par->currentRop != rop) { in NVSetRopSolid()
184 NVDmaNext(par, NVCopyROP[rop]); in NVSetRopSolid()
185 par->currentRop = rop; in NVSetRopSolid()
336 if (rect->rop != ROP_COPY) in nvidiafb_fillrect()
337 NVSetRopSolid(info, rect->rop, ~0); in nvidiafb_fillrect()
348 if (rect->rop != ROP_COPY) in nvidiafb_fillrect()
/drivers/media/platform/vsp1/
Dvsp1_regs.h607 #define VI6_BRU_CTRL_CROP(rop) ((rop) << 4) argument
609 #define VI6_BRU_CTRL_AROP(rop) ((rop) << 0) argument
649 #define VI6_BRU_ROP_CROP(rop) ((rop) << 4) argument
651 #define VI6_BRU_ROP_AROP(rop) ((rop) << 0) argument
/drivers/staging/sm750fb/
Dsm750_cursor.h11 void sm750_hw_cursor_setData(struct lynx_cursor *cursor, u16 rop,
13 void sm750_hw_cursor_setData2(struct lynx_cursor *cursor, u16 rop,
Dsm750_cursor.c85 void sm750_hw_cursor_setData(struct lynx_cursor *cursor, u16 rop, in sm750_hw_cursor_setData() argument
113 if (rop == ROP_XOR) in sm750_hw_cursor_setData()
135 void sm750_hw_cursor_setData2(struct lynx_cursor *cursor, u16 rop, in sm750_hw_cursor_setData2() argument
Dsm750_accel.c91 u32 color, u32 rop) in sm750_hw_fillrect() argument
127 (rop & DE_CONTROL_ROP_MASK); /* dpr0xc */ in sm750_hw_fillrect()
Dsm750.c149 fbcursor->rop, in lynxfb_ops_cursor()
165 unsigned int base, pitch, Bpp, rop; in lynxfb_ops_fillrect() local
184 rop = (region->rop != ROP_COPY) ? HW_ROP2_XOR : HW_ROP2_COPY; in lynxfb_ops_fillrect()
198 color, rop); in lynxfb_ops_fillrect()
/drivers/video/fbdev/
Dffb.c243 u32 rop; member
415 static __inline__ void ffb_rop(struct ffb_par *par, u32 rop) in ffb_rop() argument
417 if (par->rop_cache != rop) { in ffb_rop()
419 upa_writel(rop, &par->fbc->rop); in ffb_rop()
420 par->rop_cache = rop; in ffb_rop()
438 upa_writel(par->rop_cache, &fbc->rop); in ffb_switch_from_graph()
483 BUG_ON(rect->rop != ROP_COPY && rect->rop != ROP_XOR); in ffb_fillrect()
495 ffb_rop(par, rect->rop == ROP_COPY ? in ffb_fillrect()
Dbt431.h204 u16 rop, u16 width, u16 height) in bt431_set_cursor() argument
218 if (rop == ROP_XOR) in bt431_set_cursor()
Dhitfb.c75 u16 dy, u16 width, u16 height, u16 rop, in hitfb_accel_bitblt() argument
83 fb_writew(rop, HD64461_BBTROPR); in hitfb_accel_bitblt()
126 if (rect->rop != ROP_COPY) in hitfb_fillrect()
Dpm3fb.c381 int rop; in pm3fb_fillrect() local
391 if (region->rop == ROP_COPY ) in pm3fb_fillrect()
392 rop = PM3Config2D_ForegroundROP(0x3); /* GXcopy */ in pm3fb_fillrect()
394 rop = PM3Config2D_ForegroundROP(0x6) | /* GXxor */ in pm3fb_fillrect()
421 rop | in pm3fb_fillrect()
691 if (cursor->rop == ROP_COPY) in pm3fb_cursor()
Dhpfb.c162 out_8(fb_regs + WMRR, (region->rop == ROP_COPY ? RR_SET : RR_INVERT)); in hpfb_fillrect()
166 out_8(fb_regs + WMRR, (region->rop == ROP_COPY ? RR_CLEAR : RR_NOOP)); in hpfb_fillrect()
/drivers/gpu/drm/nouveau/
Dnv04_fbcon.c64 PUSH_NVSQ(push, NV04A, 0x02fc, (rect->rop != ROP_COPY) ? 1 : 3); in nv04_fbcon_fillrect()
183 NULL, 0, &nfbdev->rop); in nv04_fbcon_accel_init()
216 PUSH_NVSQ(push, NV043, 0x0000, nfbdev->rop.handle); in nv04_fbcon_accel_init()
249 0x018c, nfbdev->rop.handle); in nv04_fbcon_accel_init()
Dnvc0_fbcon.c50 ret = PUSH_WAIT(push, rect->rop == ROP_COPY ? 7 : 9); in nvc0_fbcon_fillrect()
54 if (rect->rop != ROP_COPY) { in nvc0_fbcon_fillrect()
66 if (rect->rop != ROP_COPY) { in nvc0_fbcon_fillrect()
Dnv50_fbcon.c50 ret = PUSH_WAIT(push, rect->rop == ROP_COPY ? 7 : 11); in nv50_fbcon_fillrect()
54 if (rect->rop != ROP_COPY) { in nv50_fbcon_fillrect()
66 if (rect->rop != ROP_COPY) { in nv50_fbcon_fillrect()
Dnouveau_fbcon.h41 struct nvif_object rop; member
/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dgf100.c1355 int rop, gpc; in gf100_gr_trap_intr() local
1456 for (rop = 0; rop < gr->rop_nr; rop++) { in gf100_gr_trap_intr()
1457 u32 statz = nvkm_rd32(device, ROP_UNIT(rop, 0x070)); in gf100_gr_trap_intr()
1458 u32 statc = nvkm_rd32(device, ROP_UNIT(rop, 0x144)); in gf100_gr_trap_intr()
1460 rop, statz, statc); in gf100_gr_trap_intr()
1461 nvkm_wr32(device, ROP_UNIT(rop, 0x070), 0xc0000000); in gf100_gr_trap_intr()
1462 nvkm_wr32(device, ROP_UNIT(rop, 0x144), 0xc0000000); in gf100_gr_trap_intr()
2259 int gpc, tpc, rop; in gf100_gr_init() local
2349 for (rop = 0; rop < gr->rop_nr; rop++) { in gf100_gr_init()
2350 nvkm_wr32(device, ROP_UNIT(rop, 0x144), 0x40000000); in gf100_gr_init()
[all …]
/drivers/video/fbdev/core/
Dsysfillrect.c275 switch (rect->rop) { in sys_fillrect()
305 switch (rect->rop) { in sys_fillrect()
Dfbcon_cw.c78 region.rop = ROP_COPY; in cw_clear()
185 region.rop = ROP_COPY; in cw_clear_margins()
358 cursor.rop = ROP_XOR; in cw_cursor()
Dbitblit.c72 region.rop = ROP_COPY; in bit_clear()
217 region.rop = ROP_COPY; in bit_clear_margins()
374 cursor.rop = ROP_XOR; in bit_cursor()
Dsoftcursor.c58 switch (cursor->rop) { in soft_cursor()
/drivers/media/platform/s5p-g2d/
Dg2d.h59 u32 rop; member
/drivers/video/fbdev/savage/
Dsavagefb.h130 #define BCI_CMD_SET_ROP(cmd, rop) ((cmd) |= ((rop & 0xFF) << 16)) argument

123