| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| H A D | port_buffer.c | 64 port_buffer->buffer[i].xoff = in mlx5e_port_query_buffer() 71 port_buffer->buffer[i].xoff, in mlx5e_port_query_buffer() 110 u64 xoff = port_buffer->buffer[i].xoff; in port_set_buffer() local 114 do_div(xoff, port_buff_cell_sz); in port_set_buffer() 118 MLX5_SET(bufferx_reg, buffer, xoff_threshold, xoff); in port_set_buffer() 134 u32 xoff; in calculate_xoff() local 142 xoff = (301 + 216 * priv->dcbx.cable_len / 100) * speed / 1000 + 272 * mtu / 100; in calculate_xoff() 144 mlx5e_dbg(HW, priv, "%s: xoff=%d\n", __func__, xoff); in calculate_xoff() 145 return xoff; in calculate_xoff() 149 u32 xoff, unsigned int max_mtu, u16 port_buff_cell_sz) in update_xoff_threshold() argument [all …]
|
| /OK3568_Linux_fs/external/xserver/fb/ |
| H A D | fbpict.c | 145 int xoff, yoff; in fbGlyphs() local 153 if (!(glyphImage = image_from_pict(pPicture, FALSE, &xoff, &yoff))) in fbGlyphs() 282 create_bits_picture(PicturePtr pict, Bool has_clip, int *xoff, int *yoff) in create_bits_picture() argument 290 fbGetDrawablePixmap(pict->pDrawable, pixmap, *xoff, *yoff); in create_bits_picture() 314 if (*xoff || *yoff) in create_bits_picture() 315 pixman_region_translate(pict->pCompositeClip, *xoff, *yoff); in create_bits_picture() 319 if (*xoff || *yoff) in create_bits_picture() 320 pixman_region_translate(pict->pCompositeClip, -*xoff, -*yoff); in create_bits_picture() 328 *xoff += pict->pDrawable->x; in create_bits_picture() 335 int *xoff, int *yoff, [all …]
|
| H A D | fbgetsp.c | 38 int xoff; in fbGetSpans() local 50 xoff = (int) (((long) pchardstStart) & (FB_MASK >> 3)); in fbGetSpans() 51 dst = (FbBits *) (pchardstStart - xoff); in fbGetSpans() 52 xoff <<= 3; in fbGetSpans() 57 xoff, in fbGetSpans()
|
| H A D | fbsetsp.c | 42 int xoff; in fbSetSpans() local 48 xoff = (int) (((long) src) & (FB_MASK >> 3)); in fbSetSpans() 49 s = (FbBits *) (src - xoff); in fbSetSpans() 50 xoff <<= 3; in fbSetSpans() 66 (x1 - ppt->x) * dstBpp + xoff, in fbSetSpans()
|
| H A D | fbbits.h | 243 int npt, int xorg, int yorg, int xoff, int yoff, FbBits and, FbBits xor) in DOTS() argument 257 bits += bitsStride * (yorg + yoff) + (xorg + xoff); in DOTS() 594 int xoff = pDrawable->x; in POLYLINE() local 623 ((UNIT *) dst) + (yoff + dstYoff) * bitsStride + (xoff + dstXoff); in POLYLINE() 624 ul = coordToInt(pBox->x1 - xoff, pBox->y1 - yoff); in POLYLINE() 625 lr = coordToInt(pBox->x2 - xoff - 1, pBox->y2 - yoff - 1); in POLYLINE() 634 intToX(pt1) + xoff, intToY(pt1) + yoff, in POLYLINE() 635 intToX(pt2) + xoff, intToY(pt2) + yoff, in POLYLINE() 714 int xoff = pDrawable->x; in POLYSEGMENT() local 743 ((UNIT *) dst) + (yoff + dstYoff) * bitsStride + (xoff + dstXoff); in POLYSEGMENT() [all …]
|
| H A D | fbpoint.c | 36 int yorg, int xoff, int yoff, FbBits and, FbBits xor); 45 int xorg, int yorg, int xoff, int yoff, FbBits andOrig, FbBits xorOrig) in fbDots() argument 65 x = (x + xoff) * dstBpp; in fbDots()
|
| H A D | fbpixmap.c | 322 int xoff, yoff; in fbValidateDrawable() local 328 fbGetStipDrawable(pDrawable, bits, stride, bpp, xoff, yoff); in fbValidateDrawable() 349 int xoff, yoff; in fbInitializeDrawable() local 351 fbGetStipDrawable(pDrawable, bits, stride, bpp, xoff, yoff); in fbInitializeDrawable()
|
| H A D | fb.h | 454 #define fbGetDrawablePixmap(pDrawable, pixmap, xoff, yoff) { \ argument 457 (xoff) = __fbPixOffXWin(pixmap); \ 461 (xoff) = __fbPixOffXPix(pixmap); \ 479 #define fbGetDrawable(pDrawable, pointer, stride, bpp, xoff, yoff) { \ argument 481 fbGetDrawablePixmap(pDrawable, _pPix, xoff, yoff); \ 485 #define fbGetStipDrawable(pDrawable, pointer, stride, bpp, xoff, yoff) { \ argument 487 fbGetDrawablePixmap(pDrawable, _pPix, xoff, yoff); \ 551 int xorg, int yorg, int xoff, int yoff, FbBits and, FbBits xor); 599 int xorg, int yorg, int xoff, int yoff, FbBits and, FbBits xor); 647 int xorg, int yorg, int xoff, int yoff, FbBits and, FbBits xor); [all …]
|
| /OK3568_Linux_fs/kernel/fs/jfs/ |
| H A D | jfs_xtree.c | 104 static int xtSearch(struct inode *ip, s64 xoff, s64 *next, int *cmpp, 144 s64 next, size, xoff, xend; in xtLookup() local 191 xoff = offsetXAD(xad); in xtLookup() 193 xend = xoff + xlen; in xtLookup() 198 *paddr = xaddr + (lstart - xoff); in xtLookup() 226 static int xtSearch(struct inode *ip, s64 xoff, s64 *nextp, in xtSearch() argument 283 if (xoff < t64 + lengthXAD(xad)) { in xtSearch() 284 if (xoff >= t64) { in xtSearch() 299 if (xoff < t64 + lengthXAD(xad)) { in xtSearch() 300 if (xoff >= t64) { in xtSearch() [all …]
|
| H A D | jfs_extent.c | 76 s64 nxlen, nxaddr, xoff, hint, xaddr = 0; in extAlloc() local 91 xoff = pno << sbi->l2nbperpage; in extAlloc() 106 if (offsetXAD(xp) + nxlen == xoff && in extAlloc() 146 rc = xtExtend(0, ip, xoff, (int) nxlen, 0); in extAlloc() 148 rc = xtInsert(0, ip, xflag, xoff, (int) nxlen, &nxaddr, 0); in extAlloc() 163 XADoffset(xp, xoff); in extAlloc() 205 s64 xaddr, xlen, nxaddr, delta, xoff; in extRealloc() local 223 xoff = offsetXAD(xp); in extRealloc() 287 if ((rc = xtExtend(0, ip, xoff + xlen, (int) nextend, 0))) { in extRealloc() 298 if ((rc = xtTailgate(0, ip, xoff, (int) ntail, nxaddr, 0))) { in extRealloc() [all …]
|
| H A D | jfs_xtree.h | 95 int xflag, s64 xoff, int xlen, s64 * xaddrp, int flag); 96 extern int xtExtend(tid_t tid, struct inode *ip, s64 xoff, int xlen, 100 s64 xoff, int xlen, s64 xaddr, int flag); 103 extern int xtDelete(tid_t tid, struct inode *ip, s64 xoff, int xlen, 110 struct inode *ip, int xflag, s64 xoff, int maxblocks,
|
| H A D | resize.c | 62 s64 XAddress, XSize, nblocks, xoff, xaddr, t64; in jfs_extendfs() local 381 xoff = newPage << sbi->l2nbperpage; in jfs_extendfs() 388 if ((rc = xtAppend(tid, ipbmap, 0, xoff, nblocks, &xlen, &xaddr, 0))) { in jfs_extendfs()
|
| /OK3568_Linux_fs/external/xserver/render/ |
| H A D | mirect.c | 40 int nRect, xRectangle *rects, int xoff, int yoff) in miColorRects() argument 58 tmpval[3].val = pDst->clipOrigin.x - xoff; in miColorRects() 69 if (xoff || yoff) { in miColorRects() 73 rects[i].x -= xoff; in miColorRects() 78 if (xoff || yoff) { in miColorRects() 82 rects[i].x += xoff; in miColorRects()
|
| /OK3568_Linux_fs/kernel/drivers/video/rockchip/rga/ |
| H A D | rga_reg_info.c | 101 s32 xoff = msg->dst.x_offset; in dst_ctrl_cal() local 118 pos[0] = xoff; in dst_ctrl_cal() 121 pos[2] = xoff; in dst_ctrl_cal() 124 pos[4] = xoff + width - 1; in dst_ctrl_cal() 127 pos[6] = xoff + width - 1; in dst_ctrl_cal() 145 pos[0] = xoff - width + 1; in dst_ctrl_cal() 148 pos[2] = xoff - width + 1; in dst_ctrl_cal() 151 pos[4] = xoff; in dst_ctrl_cal() 154 pos[6] = xoff; in dst_ctrl_cal() 160 pos[0] = xoff - height + 1; in dst_ctrl_cal() [all …]
|
| /OK3568_Linux_fs/external/xserver/hw/dmx/config/ |
| H A D | dmxcompat.c | 95 int *x, int *y, int *xoff, int *yoff, int *xorig, int *yorig) in dmxVDLDisplayEntry() argument 108 *xoff = strtol(end, &end, 10); in dmxVDLDisplayEntry() 128 int x, y, xoff, yoff, xorig, yorig; in dmxVDLRead() local 192 dmxVDLDisplayEntry(buf, name, &len, &x, &y, &xoff, &yoff, in dmxVDLRead() 200 NULL, xoff, yoff, in dmxVDLRead() 201 xoff, yoff)), NULL); in dmxVDLRead()
|
| /OK3568_Linux_fs/external/xserver/exa/ |
| H A D | exa_unaccel.c | 127 int xoff, yoff; in ExaCheckCopyNtoN() local 136 exaGetDrawableDeltas(pSrc, pPixmap, &xoff, &yoff); in ExaCheckCopyNtoN() 137 RegionTranslate(®, xoff + dx, yoff + dy); in ExaCheckCopyNtoN() 150 exaGetDrawableDeltas(pDst, pPixmap, &xoff, &yoff); in ExaCheckCopyNtoN() 151 RegionTranslate(®, xoff, yoff); in ExaCheckCopyNtoN() 187 int xoff, yoff; in ExaFallbackPrepareReg() local 190 exaGetDrawableDeltas(pDrawable, pPixmap, &xoff, &yoff); in ExaFallbackPrepareReg() 191 box.x1 = pDrawable->x + x + xoff; in ExaFallbackPrepareReg() 380 int xoff, yoff; in ExaCheckCopyWindow() local 382 exaGetDrawableDeltas(&pWin->drawable, pPixmap, &xoff, &yoff); in ExaCheckCopyWindow() [all …]
|
| H A D | exa_accel.c | 148 int xoff, yoff; in exaDoPutImage() local 182 pPix = exaGetOffscreenPixmap(pDrawable, &xoff, &yoff); in exaDoPutImage() 212 ok = pExaScr->info->UploadToScreen(pPix, x1 + xoff, y1 + yoff, in exaDoPutImage() 789 int xoff, yoff; in exaPolyFillRect() local 802 exaGetDrawableDeltas(pDrawable, pPixmap, &xoff, &yoff); in exaPolyFillRect() 885 fullX1 + xoff, fullY1 + yoff, in exaPolyFillRect() 886 fullX2 + xoff, fullY2 + yoff); in exaPolyFillRect() 913 partX1 + xoff, partY1 + yoff, in exaPolyFillRect() 914 partX2 + xoff, partY2 + yoff); in exaPolyFillRect() 999 int xoff, yoff; in exaFillRegionSolid() local [all …]
|
| /OK3568_Linux_fs/kernel/net/caif/ |
| H A D | caif_dev.c | 41 bool xoff; member 144 send_xoff = caifd->xoff; in caif_flow_cb() 145 caifd->xoff = false; in caif_flow_cb() 186 if (unlikely(caifd->xoff)) in transmit() 208 if (caifd->xoff) { in transmit() 223 caifd->xoff = true; in transmit() 415 caifd->xoff = false; in caif_device_notify() 450 caifd->xoff = false; in caif_device_notify()
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/aty/ |
| H A D | mach64_cursor.c | 71 u16 xoff, yoff; in atyfb_cursor() local 93 xoff = -x; in atyfb_cursor() 96 xoff = 0; in atyfb_cursor() 120 ((u32) (64 - h + yoff) << 16) | xoff, par); in atyfb_cursor()
|
| /OK3568_Linux_fs/kernel/drivers/accessibility/speakup/ |
| H A D | speakup_dectlk.c | 25 static int xoff; variable 29 return xoff; in synth_full() 182 xoff = 1; in read_buff_add() 184 xoff = 0; in read_buff_add()
|
| /OK3568_Linux_fs/kernel/drivers/tty/serial/ |
| H A D | sunsab.h | 17 u8 xoff; /* XOFF Character */ member 48 u8 xoff; member 84 u8 xoff; member
|
| /OK3568_Linux_fs/kernel/net/atm/ |
| H A D | clip.c | 80 clip_vcc->xoff = 0; /* @@@ may overrun buffer by one packet */ in link_vcc() 103 if (clip_vcc->xoff) in unlink_clip_vcc() 259 old = xchg(&clip_vcc->xoff, 0); in clip_pop() 388 old = xchg(&entry->vccs->xoff, 1); /* assume XOFF ... */ in clip_start_xmit() 397 entry->vccs->xoff = 0; in clip_start_xmit() 403 if (!entry->vccs->xoff) in clip_start_xmit() 429 clip_vcc->xoff = 0; in clip_mkip()
|
| /OK3568_Linux_fs/kernel/drivers/staging/media/zoran/ |
| H A D | zr36016.c | 208 zr36016_writei(ptr, ZR016I_NAX_HI, ptr->xoff >> 8); in zr36016_init() 209 zr36016_writei(ptr, ZR016I_NAX_LO, ptr->xoff & 0xFF); in zr36016_init() 262 ptr->xoff = (norm->h_start ? norm->h_start : 1) + cap->x; in zr36016_set_video()
|
| /OK3568_Linux_fs/u-boot/drivers/video/ |
| H A D | stb_truetype.h | 465 float xoff,yoff,xadvance; member 511 float xoff,yoff,xadvance; member 762 …*info, float scale_x, float scale_y, int codepoint, int *width, int *height, int *xoff, int *yoff); 771 …ale_y, float shift_x, float shift_y, int codepoint, int *width, int *height, int *xoff, int *yoff); 798 …nfo *info, float scale_x, float scale_y, int glyph, int *width, int *height, int *xoff, int *yoff); 799 …t scale_y, float shift_x, float shift_y, int glyph, int *width, int *height, int *xoff, int *yoff); 2420 …at scale_y, float shift_x, float shift_y, int glyph, int *width, int *height, int *xoff, int *yoff) in stbtt_GetGlyphBitmapSubpixel() argument 2445 if (xoff ) *xoff = ix0; in stbtt_GetGlyphBitmapSubpixel() 2460 …info *info, float scale_x, float scale_y, int glyph, int *width, int *height, int *xoff, int *yoff) in stbtt_GetGlyphBitmap() argument 2462 …stbtt_GetGlyphBitmapSubpixel(info, scale_x, scale_y, 0.0f, 0.0f, glyph, width, height, xoff, yoff); in stbtt_GetGlyphBitmap() [all …]
|
| /OK3568_Linux_fs/kernel/arch/powerpc/include/uapi/asm/ |
| H A D | ps3fb.h | 41 __u32 xoff; /* margine x */ member
|