Home
last modified time | relevance | path

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

1234

/OK3568_Linux_fs/external/xserver/fb/
H A Dfbrop.h79 #define fbXorT(rop,fg,pm,t) ((((fg) & fbFillFromBit((rop) >> 1,t)) | \ argument
80 (~(fg) & fbFillFromBit((rop) >> 3,t))) & (pm))
82 #define fbAndT(rop,fg,pm,t) ((((fg) & fbFillFromBit (rop ^ (rop>>1),t)) | \ argument
83 (~(fg) & fbFillFromBit((rop>>2) ^ (rop>>3),t))) | \
86 #define fbXor(rop,fg,pm) fbXorT(rop,fg,pm,FbBits) argument
88 #define fbAnd(rop,fg,pm) fbAndT(rop,fg,pm,FbBits) argument
90 #define fbXorStip(rop,fg,pm) fbXorT(rop,fg,pm,FbStip) argument
92 #define fbAndStip(rop,fg,pm) fbAndT(rop,fg,pm,FbStip) argument
/OK3568_Linux_fs/kernel/drivers/video/fbdev/sis/
H A 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()
H A Dsis_accel.h243 #define SiS300SetupROP(rop) \ argument
244 ivideo->CommandReg = (rop) << 8;
368 #define SiS310SetupROP(rop) \ argument
369 ivideo->CommandReg = (rop) << 8;
/OK3568_Linux_fs/kernel/drivers/video/fbdev/i810/
H A 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()
/OK3568_Linux_fs/kernel/drivers/video/fbdev/nvidia/
H A 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()
/OK3568_Linux_fs/kernel/drivers/crypto/rockchip/cryptodev_linux/
H A Drk_cryptodev.c613 if (unlikely(copy_from_user(&kcop->rop, arg, sizeof(kcop->rop)))) in kcop_rsa_from_user()
622 if (unlikely(copy_to_user(arg, &kcop->rop, sizeof(kcop->rop)))) { in kcop_rsa_to_user()
635 struct crypt_rsa_op *rop = &krop->rop; in crypto_rsa_run() local
641 bool is_priv_key = (rop->flags & COP_FLAG_RSA_PRIV) == COP_FLAG_RSA_PRIV; in crypto_rsa_run()
644 if (rop->key_len > RK_RSA_BER_KEY_MAX) in crypto_rsa_run()
647 if (rop->in_len > RK_RSA_KEY_MAX_BYTES || in crypto_rsa_run()
648 rop->out_len > RK_RSA_KEY_MAX_BYTES) in crypto_rsa_run()
665 key = kzalloc(rop->key_len, GFP_KERNEL); in crypto_rsa_run()
671 if (unlikely(copy_from_user(key, u64_to_user_ptr(rop->key), rop->key_len))) { in crypto_rsa_run()
676 in = kzalloc(rop->in_len, GFP_KERNEL); in crypto_rsa_run()
[all …]
/OK3568_Linux_fs/external/xserver/hw/xfree86/common/
H A Dxaarop.h265 #define NO_SRC_ROP(rop) \ argument
266 ((rop == GXnoop) || (rop == GXset) || (rop == GXclear) || (rop == GXinvert))
/OK3568_Linux_fs/kernel/drivers/media/platform/vsp1/
H A 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
/OK3568_Linux_fs/kernel/include/video/
H A Dpm3fb.h944 #define PM3Config2D_ForegroundROP(rop) (((rop) & 0xf) << 7) argument
946 #define PM3Config2D_BackgroundROP(rop) (((rop) & 0xf) << 12) argument
1004 #define PM3FillConfig2D_ForegroundROP(rop) (((rop) & 0xf) << 7) argument
1006 #define PM3FillConfig2D_BackgroundROP(rop) (((rop) & 0xf) << 12) argument
/OK3568_Linux_fs/kernel/drivers/staging/sm750fb/
H A 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,
H A 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
H A Dsm750_accel.c91 u32 color, u32 rop) in sm750_hw_fillrect() argument
127 (rop & DE_CONTROL_ROP_MASK); /* dpr0xc */ in sm750_hw_fillrect()
/OK3568_Linux_fs/external/security/librkcrypto/src/
H A Drkcrypto_core.c935 struct crypt_rsa_op rop; in rk_rsa_crypt_common() local
969 memset(&rop, 0x00, sizeof(rop)); in rk_rsa_crypt_common()
971 rop.op = op; in rk_rsa_crypt_common()
972 rop.flags = flag; in rk_rsa_crypt_common()
973 rop.key = (unsigned long)asn1_key | (__u64)0; in rk_rsa_crypt_common()
974 rop.key_len = asn1_key_len; in rk_rsa_crypt_common()
975 rop.in = (unsigned long)in | (__u64)0; in rk_rsa_crypt_common()
976 rop.in_len = in_len; in rk_rsa_crypt_common()
977 rop.out = (unsigned long)out | (__u64)0; in rk_rsa_crypt_common()
979 res = xioctl(cryptodev_fd, RIOCCRYPT_RSA_CRYPT, &rop); in rk_rsa_crypt_common()
[all …]
/OK3568_Linux_fs/kernel/drivers/video/fbdev/
H A 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()
H A Dbt431.h204 u16 rop, u16 width, u16 height) in bt431_set_cursor() argument
218 if (rop == ROP_XOR) in bt431_set_cursor()
H A 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()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/
H A 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()
H A 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()
H A 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()
H A Dnouveau_fbcon.h41 struct nvif_object rop; member
/OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A 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 …]
/OK3568_Linux_fs/u-boot/include/linux/
H A Dfb.h218 __u32 rop; member
252 __u16 rop; /* bitop operation */ member
361 __u16 rop; /* bitop operation */ member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dfb.h354 __u32 rop; member
388 __u16 rop; /* bitop operation */ member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dfb.h354 __u32 rop; member
388 __u16 rop; /* bitop operation */ member
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dfb.h357 __u32 rop; member
391 __u16 rop; /* bitop operation */ member

1234