Home
last modified time | relevance | path

Searched +full:offset +full:- +full:y (Results 1 – 25 of 1082) sorted by relevance

12345678910>>...44

/OK3568_Linux_fs/u-boot/board/toradex/common/
H A Dtdx-cfg-block.c4 * SPDX-License-Identifier: GPL-2.0+
8 #include "tdx-cfg-block.h"
16 #include <asm/arch-pxa/pxa.h>
26 #include <asm/mach-types.h>
102 int offset = CONFIG_TDX_CFG_BLOCK_OFFSET; in tdx_cfg_block_mmc_storage() local
111 ret = -ENODEV; in tdx_cfg_block_mmc_storage()
114 if (part != mmc_get_blk_desc(mmc)->hwpart) { in tdx_cfg_block_mmc_storage()
117 ret = -ENODEV; in tdx_cfg_block_mmc_storage()
121 if (offset < 0) in tdx_cfg_block_mmc_storage()
122 offset += mmc->capacity; in tdx_cfg_block_mmc_storage()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/test-drivers/vivid/
H A Dvivid-touch-cap.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * vivid-touch-cap.c - touch support functions.
6 #include "vivid-core.h"
7 #include "vivid-kthread-touch.h"
8 #include "vivid-vid-common.h"
9 #include "vivid-touch-cap.h"
16 struct v4l2_pix_format *f = &dev->tch_format; in touch_cap_queue_setup()
17 unsigned int size = f->sizeimage; in touch_cap_queue_setup()
21 return -EINVAL; in touch_cap_queue_setup()
26 if (vq->num_buffers + *nbuffers < 2) in touch_cap_queue_setup()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/common/v4l2-tpg/
H A Dv4l2-tpg-core.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * v4l2-tpg-core.c - Test Pattern Generator
12 #include <media/tpg/v4l2-tpg.h>
54 * Sine table: sin[0] = 127 * sin(-180 degrees)
59 0, -4, -7, -11, -13, -18, -20, -22, -26, -29, -33, -35, -37, -41, -43, -48,
60 -50, -52, -56, -58, -62, -63, -65, -69, -71, -75, -76, -78, -82, -83, -87, -88,
61 -90, -93, -94, -97, -99, -101, -103, -104, -107, -108, -110, -111, -112, -114, -115, -117,
62 -118, -119, -120, -121, -122, -123, -123, -124, -125, -125, -126, -126, -127, -127, -127, -127,
63 -127, -127, -127, -127, -126, -126, -125, -125, -124, -124, -123, -122, -121, -120, -119, -118,
64 -117, -116, -114, -113, -111, -110, -109, -107, -105, -103, -101, -100, -97, -96, -93, -91,
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/ipu-v3/
H A Dipu-ic-csc.c1 // SPDX-License-Identifier: GPL-2.0+
11 #include "ipu-prv.h"
24 .offset = { 0, 0, 0, },
29 * RGB full-range to RGB limited-range
41 .offset = { 64, 64, 64, },
46 * RGB limited-range to RGB full-range
48 * R_full = 1.1644 * (R_lim - 16)
49 * G_full = 1.1644 * (G_lim - 16)
50 * B_full = 1.1644 * (B_lim - 16)
58 .offset = { -37, -37, -37, },
[all …]
H A Dipu-cpmem.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright 2005-2012 Freescale Semiconductor, Inc. All Rights Reserved.
11 #include "ipu-prv.h"
95 struct ipu_cpmem *cpmem = ch->ipu->cpmem_priv; in ipu_get_cpmem()
97 return cpmem->base + ch->num; in ipu_get_cpmem()
108 u32 mask = (1 << size) - 1; in ipu_ch_param_write_field()
113 val = readl(&base->word[word].data[i]); in ipu_ch_param_write_field()
116 writel(val, &base->word[word].data[i]); in ipu_ch_param_write_field()
118 if ((bit + size - 1) / 32 > i) { in ipu_ch_param_write_field()
119 val = readl(&base->word[word].data[i + 1]); in ipu_ch_param_write_field()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/selftests/
H A Di915_vma.c42 if (vma->vm != rcu_access_pointer(ctx->vm)) { in assert_vma()
47 if (vma->size != obj->base.size) { in assert_vma()
49 vma->size, obj->base.size); in assert_vma()
53 if (vma->ggtt_view.type != I915_GGTT_VIEW_NORMAL) { in assert_vma()
55 vma->ggtt_view.type); in assert_vma()
75 if (vma->vm != vm) { in checked_vma_instance()
77 vma->vm, vm); in checked_vma_instance()
89 return ERR_PTR(-EINVAL); in checked_vma_instance()
92 if (i915_vma_compare(vma, vma->vm, in checked_vma_instance()
93 i915_vma_is_ggtt(vma) ? &vma->ggtt_view : NULL)) { in checked_vma_instance()
[all …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-multimedia/ffmpeg/ffmpeg/
H A D0001-avcodec-smcenc-stop-accessing-out-of-bounds-frame.patch6 Upstream-Status: Backport [https://github.com/FFmpeg/FFmpeg/commit/13c13109759090b7f7182480d075e13b…
8 Signed-off-by: <narpat.mali@windriver.com>
10 ---
11 libavcodec/smcenc.c | 18 ++++++++++++++----
12 1 file changed, 14 insertions(+), 4 deletions(-)
14 diff --git a/libavcodec/smcenc.c b/libavcodec/smcenc.c
16 --- a/libavcodec/smcenc.c
18 @@ -61,6 +61,7 @@ typedef struct SMCContext {
26 @@ -117,6 +118,7 @@ static void smc_encode_stream(SMCContext *s, const AVFrame *frame,
27 const uint8_t *prev_pixels = (const uint8_t *)s->prev_frame->data[0];
[all …]
/OK3568_Linux_fs/external/recovery/update_engine/
H A Ddo_patch.c1 /*-
2 * Copyright 2003-2005 Colin Percival
49 off_t y; in offtin() local
51 y = buf[7] & 0x7F; in offtin()
52 y = y * 256; y += buf[6]; in offtin()
53 y = y * 256; y += buf[5]; in offtin()
54 y = y * 256; y += buf[4]; in offtin()
55 y = y * 256; y += buf[3]; in offtin()
56 y = y * 256; y += buf[2]; in offtin()
57 y = y * 256; y += buf[1]; in offtin()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qgeocameratiles/
H A Dtst_qgeocameratiles.cpp8 ** $QT_BEGIN_LICENSE:GPL-EXCEPT$
14 ** and conditions see https://www.qt.io/terms-conditions. For further
15 ** information use the contact form at https://www.qt.io/contact-us.
20 ** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
23 ** be met: https://www.gnu.org/licenses/gpl-3.0.html.
51 double y; member
80 row += QStringLiteral(" - "); in row()
82 row += QStringLiteral(" - ("); in row()
86 row += QStringLiteral(") - "); in row()
94 for (int y = 0; y < tileH; ++y) { in row() local
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/text/
H A Dget_anchors.cpp12 return (textLeft - textRight) != 0.0f ? in getAngleWindowSize()
19 for (auto it = line.begin(), end = line.end() - 1; it != end; it++) { in getLineLength()
26 const float offset, in resample() argument
37 float markedDistance = offset - spacing; in resample()
44 for (auto it = line.begin(), end = line.end() - 1; it != end; it++, i++) { in resample()
54 float t = (markedDistance - distance) / segmentDist, in resample()
56 y = util::interpolate(float(a.y), float(b.y), t); in resample() local
61 if (x >= 0 && x < util::EXTENT && y >= 0 && y < util::EXTENT && in resample()
62 markedDistance - halfLabelLength >= 0.0f && in resample()
64 Anchor anchor(::round(x), ::round(y), angle, 0.5f, i); in resample()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/rmi4/
H A Drmi_2d_sensor.txt12 http://www.synaptics.com/sites/default/files/511-000136-01-Rev-E-RMI4-Interfacing-Guide.pdf
16 - touchscreen-inverted-x
17 - touchscreen-inverted-y
18 - touchscreen-swapped-x-y
19 - touchscreen-x-mm
20 - touchscreen-y-mm
23 - syna,clip-x-low: Sets a minimum value for X.
24 - syna,clip-y-low: Sets a minimum value for Y.
25 - syna,clip-x-high: Sets a maximum value for X.
26 - syna,clip-y-high: Sets a maximum value for Y.
[all …]
/OK3568_Linux_fs/external/xserver/hw/xfree86/common/
H A Dxf86Cursor.c2 * Copyright (c) 1994-2003 by The XFree86 Project, Inc.
29 #include <xorg-config.h>
55 DDXPointRec offset; member
63 static Bool xf86CursorOffScreen(ScreenPtr *pScreen, int *x, int *y);
65 static void xf86WarpCursor(DeviceIntPtr pDev, ScreenPtr pScreen, int x, int y);
67 static void xf86PointerMoved(ScrnInfoPtr pScrn, int x, int y);
78 * xf86InitViewport --
88 pScr->PointerMoved = xf86PointerMoved; in xf86InitViewport()
93 if (pScr->display) { in xf86InitViewport()
94 if (pScr->display->frameX0 < 0) { in xf86InitViewport()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/renderer/buckets/
H A Dhillshade_bucket.cpp81 static_cast<int16_t>(id.y * vertexExtent) }; in setMask()
83 static_cast<int16_t>(tlVertex.y + vertexExtent) }; in setMask()
91 …m::layoutVertex({ tlVertex.x, tlVertex.y }, { static_cast<uint16_t>(tlVertex.x), static_cast<uint1… in setMask()
93 …m::layoutVertex({ brVertex.x, tlVertex.y }, { static_cast<uint16_t>(brVertex.x), static_cast<uint1… in setMask()
95 …m::layoutVertex({ tlVertex.x, brVertex.y }, { static_cast<uint16_t>(tlVertex.x), static_cast<uint1… in setMask()
97 …m::layoutVertex({ brVertex.x, brVertex.y }, { static_cast<uint16_t>(brVertex.x), static_cast<uint1… in setMask()
101 const uint16_t offset = segment.vertexLength; in setMask() local
105 indices.emplace_back(offset, offset + 1, offset + 2); in setMask()
106 indices.emplace_back(offset + 1, offset + 2, offset + 3); in setMask()
114 return demdata.getImage()->valid(); in hasData()
/OK3568_Linux_fs/kernel/arch/m68k/mac/
H A Dmisc.c1 // SPDX-License-Identifier: GPL-2.0
3 * Miscellaneous Mac68K-specific stuff
30 * Offset between Unix time (1970-based) and Mac time (1904-based). Cuda and PMU
32 * need to be changed to interpret wrapped times as post-2040.
41 static unsigned char cuda_pram_read_byte(int offset) in cuda_pram_read_byte() argument
46 (offset >> 8) & 0xFF, offset & 0xFF) < 0) in cuda_pram_read_byte()
53 static void cuda_pram_write_byte(unsigned char data, int offset) in cuda_pram_write_byte() argument
58 (offset >> 8) & 0xFF, offset & 0xFF, data) < 0) in cuda_pram_write_byte()
66 static unsigned char pmu_pram_read_byte(int offset) in pmu_pram_read_byte() argument
71 offset & 0xFF, 1) < 0) in pmu_pram_read_byte()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/touchscreen/
H A Dedt-ft5x06.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/input/touchscreen/edt-ft5x06.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: FocalTech EDT-FT5x06 Polytouch Bindings
18 - Dmitry Torokhov <dmitry.torokhov@gmail.com>
21 - $ref: touchscreen.yaml#
22 - if:
27 - evervision,ev-ft5726
31 offset-x: true
[all …]
/OK3568_Linux_fs/kernel/drivers/input/sensors/accel/
H A Dda223_core.c1 /* Core file for MiraMEMS 3-Axis Accelerometer's driver.
3 * mir3da_core.c - Linux kernel modules for 3-Axis Accelerometer
5 * Copyright (C) 2011-2013 MiraMEMS Sensing Technology Co., Ltd.
142 … { -1, 0x00, 0x00 }, \
143 … { -1, 0x00, 0x00 }, \
171 static int mir3da_auto_calibrate(MIR_HANDLE handle, int x, int y, int z);
198 static int gsensor_mod = -1; /* Initial value */
199 static int gsensor_type = -1; /* Initial value */
202 static int is_da217 = -1;
204 #define MI_DATA(format, ...) if(DEBUG_DATA&mir3da_Log_level){mir3da_gsensor_drv.method->…
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/stringloops/
H A Dmemcmp.c1 // SPDX-License-Identifier: GPL-2.0
32 vmx_count--; in exit_vmx_ops()
40 unsigned long offset, size; in test_one() local
42 for (offset = 0; offset < max_offset; offset++) { in test_one()
43 for (size = size_start; size < (max_size - offset); size++) { in test_one()
44 int x, y; in test_one() local
47 y = memcmp(s1+offset, s2+offset, size); in test_one()
48 x = test_memcmp(s1+offset, s2+offset, size); in test_one()
50 if (((x ^ y) < 0) && /* Trick to compare sign */ in test_one()
51 ((x | y) != 0)) { /* check for zero */ in test_one()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/omapdrm/
H A Dtcm-sita.c8 * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
58 *pos = num_bits - w; in r2l_b2t_1d()
63 if (bit - *pos >= w) { in r2l_b2t_1d()
70 search_count = num_bits - bit + w; in r2l_b2t_1d()
71 *pos = bit - w; in r2l_b2t_1d()
74 return (area_found) ? 0 : -ENOMEM; in r2l_b2t_1d()
80 * a = align in slots (mask, 2^n-1, 0 is unaligned)
81 * offset = offset in bytes from 4KiB
87 static int l2r_t2b(u16 w, u16 h, u16 a, s16 offset, in l2r_t2b() argument
95 unsigned long bit_offset = (offset > 0) ? offset / slot_bytes : 0; in l2r_t2b()
[all …]
H A Dtcm.h45 u16 y; member
60 unsigned int y_offset; /* offset to use for y coordinates */
68 s16 offset, u16 slot_bytes,
99 * @return 0 on success, non-0 error value on error. The call
101 * even on failure. Some error codes: -ENODEV: invalid
107 tcm->deinit(tcm); in tcm_deinit()
116 * @param align Alignment requirement for top-left corner of area. Not
120 * @param offset Offset requirement, in bytes. This is the offset
125 * @return 0 on success. Non-0 error code on failure. Also,
127 * failure. Some error codes: -ENODEV: invalid manager,
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/vc4/
H A Dvc4_render_cl.c2 * Copyright © 2014-2015 Broadcom
28 * tiles of a framebuffer and optionally call out to binner-generated
33 * user-submitted command list is hard to get right and has high CPU overhead,
58 *(u8 *)(setup->rcl->vaddr + setup->next_offset) = val; in rcl_u8()
59 setup->next_offset += 1; in rcl_u8()
64 *(u16 *)(setup->rcl->vaddr + setup->next_offset) = val; in rcl_u16()
65 setup->next_offset += 2; in rcl_u16()
70 *(u32 *)(setup->rcl->vaddr + setup->next_offset) = val; in rcl_u32()
71 setup->next_offset += 4; in rcl_u32()
75 * Emits a no-op STORE_TILE_BUFFER_GENERAL.
[all …]
/OK3568_Linux_fs/external/xserver/Xext/
H A Dshm.c32 #include <dix-config.h>
61 #include "protocol-versions.h"
64 /* Needed for Solaris cross-zone shared memory extension */
72 #define SHMPERM_UID(p) p->ipcx_uid
73 #define SHMPERM_CUID(p) p->ipcx_cuid
74 #define SHMPERM_GID(p) p->ipcx_gid
75 #define SHMPERM_CGID(p) p->ipcx_cgid
76 #define SHMPERM_MODE(p) p->ipcx_mode
77 #define SHMPERM_ZONEID(p) p->ipcx_zoneid
84 #define SHMPERM_UID(p) p->uid
[all …]
/OK3568_Linux_fs/kernel/kernel/time/
H A Dtimeconv.c1 // SPDX-License-Identifier: LGPL-2.0+
19 * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20 * Boston, MA 02111-1307, USA.
24 * Converts the calendar time to broken-down time representation
25 * Based on code from glibc-2.6
27 * 2009-7-14:
28 * Moved from glibc-2.6 to kernel by Zhaolei<zhaolei@cn.fujitsu.com>
46 return a / b - (a % b < 0); in math_div()
52 long leaps1 = math_div(y1 - 1, 4) - math_div(y1 - 1, 100) in leaps_between()
53 + math_div(y1 - 1, 400); in leaps_between()
[all …]
/OK3568_Linux_fs/kernel/drivers/hid/
H A Dhid-udraw-ps3.c1 // SPDX-License-Identifier: GPL-2.0-only
11 #include "hid-ids.h"
21 * https://vvvv.org/contribution/udraw-hid
26 * - the touch area which works as a touchpad
27 * - the tablet area which works as a touchpad/drawing tablet
28 * - a joypad with a d-pad, and 7 buttons
29 * - an accelerometer device
47 * in order, X, Y and Z
66 #define MAX_PRESSURE (255 - PRESSURE_OFFSET)
76 * The device's two-finger support is pretty unreliable, as
[all …]
/OK3568_Linux_fs/buildroot/package/pixman/
H A D0003-Support-PIXMAN_i420-format.patch2 From: Jeffy Chen <jeffy.chen@rock-chips.com>
6 Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
7 ---
8 pixman/pixman-access.c | 77 ++++++++++++++++++++++++++++++++++++++++++
9 pixman/pixman.c | 4 ++-
11 3 files changed, 82 insertions(+), 1 deletion(-)
13 diff --git a/pixman/pixman-access.c b/pixman/pixman-access.c
15 --- a/pixman/pixman-access.c
16 +++ b/pixman/pixman-access.c
17 @@ -192,6 +192,15 @@
[all …]
/OK3568_Linux_fs/external/xserver/hw/dmx/config/
H A Ddmxparse.c21 * NON-INFRINGEMENT. IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
40 * used in a stand-alone fashion (i.e., independent from the DMX server
44 #include <dmx-config.h>
88 memset(area + orig_bytes, 0, bytes - orig_bytes); in dmxConfigRealloc()
117 pToken->token = token; in dmxConfigCreateToken()
118 pToken->line = line; in dmxConfigCreateToken()
119 pToken->comment = comment; in dmxConfigCreateToken()
128 dmxConfigFree((void *) p->comment); in dmxConfigFreeToken()
138 pString->token = token; in dmxConfigCreateString()
139 pString->line = line; in dmxConfigCreateString()
[all …]

12345678910>>...44