Home
last modified time | relevance | path

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

12345678910>>...42

/openbmc/u-boot/board/toradex/common/
H A Dtdx-cfg-block.c1 // SPDX-License-Identifier: GPL-2.0+
7 #include "tdx-cfg-block.h"
15 #include <asm/arch-pxa/pxa.h>
25 #include <asm/mach-types.h>
95 [37] = "Apalis iMX8 QuadMax 4GB Wi-Fi / Bluetooth",
98 [40] = "Colibri iMX6ULL 512MB Wi-Fi / Bluetooth IT",
108 int offset = CONFIG_TDX_CFG_BLOCK_OFFSET; in tdx_cfg_block_mmc_storage() local
117 ret = -ENODEV; in tdx_cfg_block_mmc_storage()
120 if (part != mmc_get_blk_desc(mmc)->hwpart) { in tdx_cfg_block_mmc_storage()
123 ret = -ENODEV; in tdx_cfg_block_mmc_storage()
[all …]
/openbmc/linux/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 …]
/openbmc/u-boot/env/
H A DKconfig16 default y
20 while U-Boot is running, but once U-Boot exits it will not be
21 stored. U-Boot will therefore always start up with a default
31 - CONFIG_ENV_OFFSET:
32 - CONFIG_ENV_SIZE:
34 These two #defines specify the offset and size of the
41 - CONFIG_ENV_EEPROM_IS_ON_I2C
45 - CONFIG_I2C_ENV_EEPROM_BUS
58 default y if ARCH_BCM283X
59 default y if ARCH_SUNXI && MMC
[all …]
/openbmc/qemu/tests/qemu-iotests/tests/
H A Dwrite-zeroes-unmap.out1 QA output created by write-zeroes-unmap
3 === defaults - write zeros ===
6 QEMU X.Y.Z monitor - type 'help' for more information
7 (qemu) qemu-io none0 "write -z 0 1m"
8 wrote 1048576/1048576 bytes at offset 0
13 === defaults - write zeros unmap ===
16 QEMU X.Y.Z monitor - type 'help' for more information
17 (qemu) qemu-io none0 "write -zu 0 1m"
18 wrote 1048576/1048576 bytes at offset 0
23 === defaults - write actual zeros ===
[all …]
H A Dqcow2-internal-snapshots.out1 QA output created by qcow2-internal-snapshots
6 QEMU X.Y.Z monitor - type 'help' for more information
7 (qemu) qemu-io disk0 "write -P0x11 0 1M"
8 wrote 1048576/1048576 bytes at offset 0
11 (qemu) qemu-io disk0 "write -P0x22 0 512k"
12 wrote 524288/524288 bytes at offset 0
18 1 snap0 SIZE yyyy-mm-dd hh:mm:ss 0000:00:00.000 --
23 QEMU X.Y.Z monitor - type 'help' for more information
24 (qemu) qemu-io disk0 "read -P0x11 0 1M"
25 read 1048576/1048576 bytes at offset 0
[all …]
/openbmc/linux/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 …]
/openbmc/linux/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 …]
/openbmc/openbmc/poky/meta/recipes-devtools/gcc/gcc/
H A Dgcc.git-ab884fffe3fc82a710bea66ad651720d71c938b8.patch23 any %z with the current offset. Although format_abbrev_str also checks
27 Since making this change on trunk, the tzdata-2024b release started
37 https://mm.icann.org/pipermail/tz/2024-April/058891.html
41 tzdata file uses "-" for an empty letters field, which libstdc++ was
43 preserve the "-" in the Rule object, so that "" can be used for the case
48 Upstream-Status: Backport [https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=5ceea2ac106d6dd1aa8175670…
50 Signed-off-by: Markus Volk <f_l_k@t-online.de>
51 ---
52 libstdc++-v3/src/c++20/tzdb.cc | 265 +++++++++++-------
54 libstdc++-v3/testsuite/std/time/tzdb/1.cc | 6 +-
[all …]
/openbmc/linux/drivers/gpu/drm/i915/selftests/
H A Di915_vma.c43 if (vma->vm != ctx->vm) { in assert_vma()
48 if (vma->size != obj->base.size) { in assert_vma()
50 vma->size, obj->base.size); in assert_vma()
54 if (vma->gtt_view.type != I915_GTT_VIEW_NORMAL) { in assert_vma()
56 vma->gtt_view.type); in assert_vma()
76 if (vma->vm != vm) { in checked_vma_instance()
78 vma->vm, vm); in checked_vma_instance()
90 return ERR_PTR(-EINVAL); in checked_vma_instance()
93 if (i915_vma_compare(vma, vma->vm, in checked_vma_instance()
94 i915_vma_is_ggtt(vma) ? &vma->gtt_view : NULL)) { in checked_vma_instance()
[all …]
/openbmc/qemu/ui/
H A Dtrace-events20 # gtk-egl.c
21 # gtk-gl-area.c
24 gd_update(const char *tab, int x, int y, int w, int h) "tab=%s, x=%d, y=%d, w=%d, h=%d"
31 gd_motion_event(int ww, int wh, int ws, int x, int y) "ww=%d, wh=%d, ws=%d, x=%d, y=%d"
33 # vnc-auth-sasl.c
34 # vnc-auth-vencrypt.c
35 # vnc-ws.c
40 vnc_key_event_map(bool down, int sym, int keycode, const char *name) "down %d, sym 0x%x -> keycode …
58 vnc_client_throttle_threshold(void *state, void *ioc, size_t oldoffset, size_t offset, int client_w…
59 …te, void *ioc, int job_update, size_t offset) "VNC client throttle incremental state=%p ioc=%p job
[all …]
H A Dvnc-enc-tight.c47 #include "vnc-enc-tight.h"
48 #include "vnc-palette.h"
75 static int tight_send_framebuffer_update(VncState *vs, int x, int y,
114 static int send_png_rect(VncState *vs, int x, int y, int w, int h,
119 if (vs->tight->type != VNC_ENCODING_TIGHT_PNG) { in tight_can_send_png_rect()
123 if (surface_bytes_per_pixel(vs->vd->ds) == 1 || in tight_can_send_png_rect()
124 vs->client_pf.bytes_per_pixel == 1) { in tight_can_send_png_rect()
141 int x, y, d, dx; in tight_detect_smooth_image24() local
147 unsigned char *buf = vs->tight->tight.buffer; in tight_detect_smooth_image24()
150 * If client is big-endian, color samples begin from the second in tight_detect_smooth_image24()
[all …]
/openbmc/linux/arch/x86/entry/syscalls/
H A DMakefile1 # SPDX-License-Identifier: GPL-2.0
6 $(shell mkdir -p $(out) $(uapi))
13 offset := macro
17 cmd_syshdr = $(CONFIG_SHELL) $(syshdr) --abis $(abis) --emit-nr \
18 $(if $(offset),--offset $(offset)) \
19 $(if $(prefix),--prefix $(prefix)) \
22 cmd_systbl = $(CONFIG_SHELL) $(systbl) --abis $(abis) $< $@
25 cmd_hypercalls = $(CONFIG_SHELL) '$<' $@ $(filter-out $<, $(real-prereqs))
37 $(uapi)/unistd_x32.h: offset := __X32_SYSCALL_BIT macro
60 $(out)/xen-hypercalls.h: $(srctree)/scripts/xen-hypercalls.sh FORCE
[all …]
/openbmc/linux/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
18 - Dmitry Torokhov <dmitry.torokhov@gmail.com>
21 - $ref: touchscreen.yaml#
22 - if:
27 - evervision,ev-ft5726
31 offset-x: true
[all …]
/openbmc/linux/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 …]
H A Dstrlen.c1 // SPDX-License-Identifier: GPL-2.0
17 unsigned long offset; in test_one() local
19 for (offset = 0; offset < SIZE; offset++) { in test_one()
20 int x, y; in test_one() local
23 y = strlen(s + offset); in test_one()
24 x = test_strlen(s + offset); in test_one()
26 if (x != y) { in test_one()
27 printf("strlen() returned %d, should have returned %d (%p offset %ld)\n", x, y, s, offset); in test_one()
29 for (i = offset; i < SIZE; i++) in test_one()
48 …len %3.3d : time = %.6f\n", test_strlen(s), ts_end.tv_sec - ts_start.tv_sec + (ts_end.tv_nsec - ts… in bench_test()
[all …]
/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmw_surface_cache.h3 * SPDX-License-Identifier: GPL-2.0 OR MIT
37 return (tmp > (uint64_t) ((u32) -1)) ? (u32) -1 : tmp; in clamped_umul32()
41 * vmw_surface_get_desc - Look up the appropriate SVGA3dSurfaceDesc for the
54 * vmw_surface_get_mip_size - Given a base level size and the mip level,
74 block_size->width = __KERNEL_DIV_ROUND_UP(pixel_size->width, in vmw_surface_get_size_in_blocks()
75 desc->blockSize.width); in vmw_surface_get_size_in_blocks()
76 block_size->height = __KERNEL_DIV_ROUND_UP(pixel_size->height, in vmw_surface_get_size_in_blocks()
77 desc->blockSize.height); in vmw_surface_get_size_in_blocks()
78 block_size->depth = __KERNEL_DIV_ROUND_UP(pixel_size->depth, in vmw_surface_get_size_in_blocks()
79 desc->blockSize.depth); in vmw_surface_get_size_in_blocks()
[all …]
/openbmc/linux/drivers/gpu/drm/omapdrm/
H A Dtcm-sita.c1 // SPDX-License-Identifier: GPL-2.0-only
9 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/
50 *pos = num_bits - w; in r2l_b2t_1d()
55 if (bit - *pos >= w) { in r2l_b2t_1d()
62 search_count = num_bits - bit + w; in r2l_b2t_1d()
63 *pos = bit - w; in r2l_b2t_1d()
66 return (area_found) ? 0 : -ENOMEM; in r2l_b2t_1d()
72 * a = align in slots (mask, 2^n-1, 0 is unaligned)
73 * offset = offset in bytes from 4KiB
79 static int l2r_t2b(u16 w, u16 h, u16 a, s16 offset, in l2r_t2b() argument
[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 …]
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dskl_universal_plane.c1 // SPDX-License-Identifier: MIT
271 const struct drm_framebuffer *fb = plane_state->hw.fb; in glk_plane_ratio()
273 if (fb->format->cpp[0] == 8) { in glk_plane_ratio()
298 const struct drm_framebuffer *fb = plane_state->hw.fb; in skl_plane_ratio()
300 if (fb->format->cpp[0] == 8) { in skl_plane_ratio()
324 int cpp = fb->format->cpp[color_plane]; in skl_plane_max_width()
326 switch (fb->modifier) { in skl_plane_max_width()
332 * - Ytile (already limited to 4k) in skl_plane_max_width()
333 * - FP16 (already limited to 4k) in skl_plane_max_width()
334 * - render compression (already limited to 4k) in skl_plane_max_width()
[all …]
H A Dintel_fb.c1 // SPDX-License-Identifier: MIT
16 #define check_array_bounds(i915, a, i) drm_WARN_ON(&(i915)->drm, (i) >= ARRAY_SIZE(a))
21 * the cache-line pairs. The compression state of the cache-line pair
22 * is specified by 2 bits in the CCS. Each CCS cache-line represents
23 * an area on the main surface of 16 x16 sets of 128 byte Y-tiled
24 * cache-line-pairs. CCS is always Y tiled."
44 * Gen-12 compression uses 4 bits of CCS data for each cache line pair in the
45 * main surface. And each 64B CCS cache line represents an area of 4x1 Y-tiles
46 * in the main surface. With 4 byte pixels and each Y-tile having dimensions of
132 #define DISPLAY_VER_ALL { 0, -1 }
[all …]
/openbmc/linux/arch/m68k/mac/
H A Dmisc.c1 // SPDX-License-Identifier: GPL-2.0
3 * Miscellaneous Mac68K-specific stuff
29 * Offset between Unix time (1970-based) and Mac time (1904-based). Cuda and PMU
31 * need to be changed to interpret wrapped times as post-2040.
40 static unsigned char cuda_pram_read_byte(int offset) in cuda_pram_read_byte() argument
45 (offset >> 8) & 0xFF, offset & 0xFF) < 0) in cuda_pram_read_byte()
52 static void cuda_pram_write_byte(unsigned char data, int offset) in cuda_pram_write_byte() argument
57 (offset >> 8) & 0xFF, offset & 0xFF, data) < 0) in cuda_pram_write_byte()
65 static unsigned char pmu_pram_read_byte(int offset) in pmu_pram_read_byte() argument
70 offset & 0xFF, 1) < 0) in pmu_pram_read_byte()
[all …]
/openbmc/linux/drivers/media/platform/amphion/
H A Dvpu_malone.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright 2020-2021 NXP
16 #include <media/videobuf2-v4l2.h>
17 #include <media/videobuf2-dma-contig.h>
49 //x means source data , y means destination data
50 #define STREAM_CONFIG_FORMAT_SET(x, y) CONFIG_SET(x, y, 0, 0x0000000F) argument
51 #define STREAM_CONFIG_STRBUFIDX_SET(x, y) CONFIG_SET(x, y, 8, 0x00000300) argument
52 #define STREAM_CONFIG_NOSEQ_SET(x, y) CONFIG_SET(x, y, 10, 0x00000400) argument
53 #define STREAM_CONFIG_DEBLOCK_SET(x, y) CONFIG_SET(x, y, 11, 0x00000800) argument
54 #define STREAM_CONFIG_DERING_SET(x, y) CONFIG_SET(x, y, 12, 0x00001000) argument
[all …]
/openbmc/linux/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 …]
/openbmc/linux/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 …]
/openbmc/qemu/tests/qemu-iotests/
H A D051.out7 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=,if=none,id=drive0
8 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=,if=none,id=drive0: Block format '…
10 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=on,if=none,id=drive0
11 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=on,if=none,id=drive0: Block format…
13 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=1234,if=none,id=drive0
14 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=1234,if=none,id=drive0: Block form…
16 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=foo,if=none,id=drive0
17 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=foo,if=none,id=drive0: Block forma…
22 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,file.unknown_opt=
23 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,file.unknown_opt=: Block protocol 'file' doesn…
[all …]

12345678910>>...42