Home
last modified time | relevance | path

Searched refs:alu (Results 1 – 25 of 43) sorted by relevance

12

/OK3568_Linux_fs/kernel/drivers/net/dsa/microchip/
H A Dksz_common.c235 struct alu_struct alu; in ksz_port_fdb_dump() local
238 alu.is_static = false; in ksz_port_fdb_dump()
239 ret = dev->dev_ops->r_dyn_mac_table(dev, i, alu.mac, &fid, in ksz_port_fdb_dump()
243 ret = cb(alu.mac, alu.fid, alu.is_static, data); in ksz_port_fdb_dump()
268 struct alu_struct alu; in ksz_port_mdb_add() local
272 alu.port_forward = 0; in ksz_port_mdb_add()
274 if (!dev->dev_ops->r_sta_mac_table(dev, index, &alu)) { in ksz_port_mdb_add()
276 if (!memcmp(alu.mac, mdb->addr, ETH_ALEN) && in ksz_port_mdb_add()
277 alu.fid == mdb->vid) in ksz_port_mdb_add()
292 memset(&alu, 0, sizeof(alu)); in ksz_port_mdb_add()
[all …]
H A Dksz8795.c345 struct alu_struct *alu) in ksz8795_r_sta_mac_table() argument
354 alu->mac[5] = (u8)data_lo; in ksz8795_r_sta_mac_table()
355 alu->mac[4] = (u8)(data_lo >> 8); in ksz8795_r_sta_mac_table()
356 alu->mac[3] = (u8)(data_lo >> 16); in ksz8795_r_sta_mac_table()
357 alu->mac[2] = (u8)(data_lo >> 24); in ksz8795_r_sta_mac_table()
358 alu->mac[1] = (u8)data_hi; in ksz8795_r_sta_mac_table()
359 alu->mac[0] = (u8)(data_hi >> 8); in ksz8795_r_sta_mac_table()
360 alu->port_forward = (data_hi & STATIC_MAC_TABLE_FWD_PORTS) >> in ksz8795_r_sta_mac_table()
362 alu->is_override = in ksz8795_r_sta_mac_table()
365 alu->is_use_fid = (data_hi & STATIC_MAC_TABLE_USE_FID) ? 1 : 0; in ksz8795_r_sta_mac_table()
[all …]
H A Dksz9477.c712 static void ksz9477_convert_alu(struct alu_struct *alu, u32 *alu_table) in ksz9477_convert_alu() argument
714 alu->is_static = !!(alu_table[0] & ALU_V_STATIC_VALID); in ksz9477_convert_alu()
715 alu->is_src_filter = !!(alu_table[0] & ALU_V_SRC_FILTER); in ksz9477_convert_alu()
716 alu->is_dst_filter = !!(alu_table[0] & ALU_V_DST_FILTER); in ksz9477_convert_alu()
717 alu->prio_age = (alu_table[0] >> ALU_V_PRIO_AGE_CNT_S) & in ksz9477_convert_alu()
719 alu->mstp = alu_table[0] & ALU_V_MSTP_M; in ksz9477_convert_alu()
721 alu->is_override = !!(alu_table[1] & ALU_V_OVERRIDE); in ksz9477_convert_alu()
722 alu->is_use_fid = !!(alu_table[1] & ALU_V_USE_FID); in ksz9477_convert_alu()
723 alu->port_forward = alu_table[1] & ALU_V_PORT_MAP; in ksz9477_convert_alu()
725 alu->fid = (alu_table[2] >> ALU_V_FID_S) & ALU_V_FID_M; in ksz9477_convert_alu()
[all …]
/OK3568_Linux_fs/external/xserver/fb/
H A Dfbrop.h35 #define FbInitializeMergeRop(alu,pm) {\ argument
37 _bits = &FbMergeRopBits[alu]; \
44 #define FbDestInvarientRop(alu,pm) ((pm) == FB_ALLONES && \ argument
45 (((alu) >> 1 & 5) == ((alu) & 5)))
120 #define FbStipple1RopPick(alu,b) (((alu) >> (2 - (((b) & 1) << 1))) & 3) argument
122 #define FbOpaqueStipple1Rop(alu,fg,bg) (FbStipple1RopPick(alu,fg) | \ argument
123 (FbStipple1RopPick(alu,bg) << 2))
125 #define FbStipple1Rop(alu,fg) (FbStipple1RopPick(alu,fg) | 4) argument
H A Dfbimage.c53 pGC->alu, TRUE, x, y, w, h, src, srcStride, leftPad); in fbPutImage()
64 pGC->alu, in fbPutImage()
73 pGC->alu, pPriv->pm, x, y, w, h, src, srcStride); in fbPutImage()
80 int alu, in fbPutZImage() argument
117 (x2 - x1) * dstBpp, (y2 - y1), alu, pm, dstBpp); in fbPutZImage()
129 int alu, in fbPutXYImage() argument
148 alu = FbOpaqueStipple1Rop(alu, fg, bg); in fbPutXYImage()
150 alu = FbStipple1Rop(alu, fg); in fbPutXYImage()
153 fgand = fbAnd(alu, fg, pm); in fbPutXYImage()
154 fgxor = fbXor(alu, fg, pm); in fbPutXYImage()
[all …]
H A Dfbfill.c32 int alu, FbBits pm, int bpp, int xRot, int yRot) in fbTile() argument
58 dstStride, x, w, h, alu, pm, bpp, FALSE, FALSE); in fbTile()
141 int alu; in fbFill() local
148 alu = FbStipple1Rop(pGC->alu, pGC->fgPixel); in fbFill()
150 alu = FbOpaqueStipple1Rop(pGC->alu, pGC->fgPixel, pGC->bgPixel); in fbFill()
154 width, height, stip, stipStride, stipWidth, stipHeight, alu, in fbFill()
210 pGC->alu, in fbFill()
H A Dfbgc.c169 pPriv->and = fbAnd(pGC->alu, pPriv->fg, pPriv->pm); in fbValidateGC()
170 pPriv->xor = fbXor(pGC->alu, pPriv->fg, pPriv->pm); in fbValidateGC()
171 pPriv->bgand = fbAnd(pGC->alu, pPriv->bg, pPriv->pm); in fbValidateGC()
172 pPriv->bgxor = fbXor(pGC->alu, pPriv->bg, pPriv->pm); in fbValidateGC()
H A Dfbblt.c50 int height, int alu, FbBits pm, int bpp, Bool reverse, Bool upsidedown) in fbBlt() argument
62 if (alu == GXcopy && pm == FB_ALLONES && in fbBlt()
95 FbInitializeMergeRop(alu, pm); in fbBlt()
298 int dstX, int width, int height, int alu, FbBits pm, int bpp) in fbBltStip() argument
302 width, height, alu, pm, bpp, FALSE, FALSE); in fbBltStip()
H A Dfbcopy.c40 CARD8 alu = pGC ? pGC->alu : GXcopy; in fbCopyNtoN() local
56 if (pm == FB_ALLONES && alu == GXcopy && !reverse && !upsidedown) { in fbCopyNtoN()
76 (pbox->y2 - pbox->y1), alu, pm, dstBpp, reverse, upsidedown); in fbCopyNtoN()
118 FbOpaqueStipple1Rop(pGC->alu, in fbCopy1toN()
H A Dfbsetsp.c71 1, pGC->alu, pPriv->pm, dstBpp, FALSE, FALSE); in fbSetSpans()
/OK3568_Linux_fs/external/xserver/exa/
H A Dexa_accel.c76 pGC->alu, in exaFillSpans()
165 if (!EXA_PM_IS_SOLID(pDrawable, pGC->planemask) || pGC->alu != GXcopy) in exaDoPutImage()
269 pGC ? pGC->alu : GXcopy, in exaCopyNtoNTwoDir()
290 pGC ? pGC->alu : GXcopy, in exaCopyNtoNTwoDir()
316 pGC ? pGC->alu : GXcopy, in exaCopyNtoNTwoDir()
343 pGC ? pGC->alu : GXcopy, in exaCopyNtoNTwoDir()
415 pGC->fillStyle, pGC->alu, in exaHWCopyNtoN()
485 pGC ? pGC->alu : GXcopy, pGC ? pGC->planemask : FB_ALLONES)) { in exaHWCopyNtoN()
522 !(pGC->alu == GXcopy && in exaHWCopyNtoN()
773 Pixel pixel, CARD32 planemask, CARD32 alu,
[all …]
H A Dexa_priv.h457 unsigned int fillStyle, unsigned char alu, in exaGCReadsDestination() argument
460 return ((alu != GXcopy && alu != GXclear && alu != GXset && in exaGCReadsDestination()
461 alu != GXcopyInverted) || fillStyle == FillStippled || in exaGCReadsDestination()
471 DDXPointPtr pPatOrg, CARD32 planemask, CARD32 alu,
H A Dexa.h194 int alu, Pixel planemask, Pixel fg);
268 int dx, int dy, int alu, Pixel planemask);
/OK3568_Linux_fs/external/xserver/glamor/
H A Dglamor_pixmap.c123 glamor_set_alu(ScreenPtr screen, unsigned char alu) in glamor_set_alu() argument
128 if (alu != GXcopy) in glamor_set_alu()
134 if (alu == GXcopy) { in glamor_set_alu()
139 switch (alu) { in glamor_set_alu()
186 glamor_fallback("unsupported alu %x\n", alu); in glamor_set_alu()
H A Dglamor_transform.c139 int alu = use_alu ? gc->alu : GXcopy; in glamor_set_solid() local
146 if (!glamor_set_alu(pixmap->drawable.pScreen, alu)) { in glamor_set_solid()
147 switch (gc->alu) { in glamor_set_solid()
212 if (!glamor_set_alu(pixmap->drawable.pScreen, gc->alu)) in glamor_set_tiled()
H A Dglamor_copy.c217 if (gc && gc->alu != GXcopy) in glamor_copy_cpu_fbo()
307 if (gc && gc->alu != GXcopy) in glamor_copy_fbo_cpu()
381 if (!glamor_set_alu(screen, gc ? gc->alu : GXcopy)) in glamor_copy_fbo_fbo_draw()
534 if (!glamor_set_alu(screen, gc ? gc->alu : GXcopy)) in glamor_copy_fbo_fbo_temp()
/OK3568_Linux_fs/external/xserver/hw/xfree86/drivers/modesetting/
H A Dexa.c50 int alu; member
56 int alu; member
205 int alu, Pixel planemask, Pixel fg) in ms_exa_prepare_solid() argument
222 switch (alu) { in ms_exa_prepare_solid()
233 ctx->prepare_args.solid.alu = alu; in ms_exa_prepare_solid()
253 val[0].val = ctx->prepare_args.solid.alu; in ms_exa_solid_bail()
311 int dx, int dy, int alu, Pixel planemask) in ms_exa_prepare_copy() argument
331 switch (alu) { in ms_exa_prepare_copy()
343 ctx->prepare_args.copy.alu = alu; in ms_exa_prepare_copy()
364 val[0].val = ctx->prepare_args.copy.alu; in ms_exa_copy_bail()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/config/arm/
H A Daarch-common-protos.h134 const int alu; member
139 const struct alu_cost_table alu; member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/config/arm/
H A Daarch-common-protos.h134 const int alu; member
139 const struct alu_cost_table alu; member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/config/aarch64/
H A Daarch64-fusion-pairs.def37 AARCH64_FUSION_PAIR ("alu+branch", ALU_BRANCH)
38 AARCH64_FUSION_PAIR ("alu+cbz", ALU_CBZ)
/OK3568_Linux_fs/external/xserver/hw/kdrive/ephyr/
H A Dephyr_draw.c93 ephyrPrepareSolid(PixmapPtr pPix, int alu, Pixel pm, Pixel fg) in ephyrPrepareSolid() argument
108 tmpval[0].val = alu; in ephyrPrepareSolid()
160 ephyrPrepareCopy(PixmapPtr pSrc, PixmapPtr pDst, int dx, int dy, int alu, in ephyrPrepareCopy() argument
178 tmpval[0].val = alu; in ephyrPrepareCopy()
/OK3568_Linux_fs/kernel/arch/arm/probes/uprobes/
H A Dactions-arm.c130 const struct decode_header *d, bool alu) in decode_wb_pc() argument
137 auprobe->posthandler = alu ? uprobe_aluwrite_pc in decode_wb_pc()
H A Dcore.h24 const struct decode_header *d, bool alu);
/OK3568_Linux_fs/external/xserver/dix/
H A Dgc.c145 pGC->alu = newalu; in ChangeGC()
475 pGC->alu = GXcopy; /* dst <- src */ in NewGCObject()
633 pgcDst->alu = pgcSrc->alu; in CopyGC()
1049 pGC->alu = GXcopy; in GetScratchGC()
/OK3568_Linux_fs/kernel/drivers/video/fbdev/
H A Dcg6.c214 u32 alu; member
332 sbus_writel(0xea80ff00, &fbc->alu); in cg6_fillrect()
370 sbus_writel(0xe880cccc, &fbc->alu); in cg6_copyarea()
415 sbus_writel(0xe880fc30, &fbc->alu); in cg6_imageblit()

12