Home
last modified time | relevance | path

Searched +full:high +full:- +full:to +full:- +full:low (Results 1 – 25 of 1056) sorted by relevance

12345678910>>...43

/kernel/linux/linux-5.10/arch/x86/include/asm/
Dmsr.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 #include "msr-index.h"
47 * both i386 and x86_64 returns 64-bit value in edx:eax, but gcc's "A"
53 /* Using 64-bit values saves one instruction clearing the high half of low */
54 #define DECLARE_ARGS(val, low, high) unsigned long low, high argument
55 #define EAX_EDX_VAL(val, low, high) ((low) | (high) << 32) argument
56 #define EAX_EDX_RET(val, low, high) "=a" (low), "=d" (high) argument
58 #define DECLARE_ARGS(val, low, high) unsigned long long val argument
59 #define EAX_EDX_VAL(val, low, high) (val) argument
60 #define EAX_EDX_RET(val, low, high) "=A" (val) argument
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/falcon/
Dbitfield.h1 /* SPDX-License-Identifier: GPL-2.0-only */
4 * Copyright 2005-2006 Fen Systems Ltd.
5 * Copyright 2006-2013 Solarflare Communications Inc.
14 * Efx NICs make extensive use of bitfields up to 128 bits
15 * wide. Since there is no native 128-bit datatype on most systems,
16 * and since 64-bit datatypes are inefficient on 32-bit systems and
20 * The NICs are PCI devices and therefore little-endian. Since most
21 * of the quantities that we deal with are DMAed to/from host memory,
23 * ef4_dword_t) to be little-endian.
46 /* Low bit number of the specified field */
[all …]
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
Dpixfmt-z16.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 .. _V4L2-PIX-FMT-Z16:
10 16-bit depth data with distance values at each pixel
16 This is a 16-bit format, representing depth data. Each pixel is a
17 distance to the respective point in the image coordinates. Distance unit
18 can vary and has to be negotiated with the device separately. Each pixel
19 is stored in a 16-bit word in the little endian byte order.
27 .. flat-table::
28 :header-rows: 0
29 :stub-columns: 0
[all …]
Dpixfmt-srggb10-ipu3.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 .. _v4l2-pix-fmt-ipu3-sbggr10:
4 .. _v4l2-pix-fmt-ipu3-sgbrg10:
5 .. _v4l2-pix-fmt-ipu3-sgrbg10:
6 .. _v4l2-pix-fmt-ipu3-srggb10:
12 10-bit Bayer formats
19 to 32 bytes leaving 6 most significant bits padding in the last byte.
22 In other respects this format is similar to :ref:`V4L2-PIX-FMT-SRGGB10`.
30 .. flat-table::
32 * - start + 0:
[all …]
Dpixfmt-y16.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 .. _V4L2-PIX-FMT-Y16:
10 Grey-scale image
16 This is a grey-scale image with a depth of 16 bits per pixel. The least
17 significant byte is stored at lower memory addresses (little-endian).
22 example 10 bits per pixel with values in range 0 to 1023.
30 .. flat-table::
31 :header-rows: 0
32 :stub-columns: 0
34 * - start + 0:
[all …]
Dpixfmt-tch-tu16.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 .. _V4L2-TCH-FMT-TU16:
11 16-bit unsigned little endian raw touch data
17 This format represents unsigned 16-bit data from a touch controller.
20 0 to 65535.
26 .. flat-table::
27 :header-rows: 0
28 :stub-columns: 0
31 * - start + 0:
32 - R'\ :sub:`00low`
[all …]
Dpixfmt-y16-be.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 .. _V4L2-PIX-FMT-Y16-BE:
10 Grey-scale image
16 This is a grey-scale image with a depth of 16 bits per pixel. The most
17 significant byte is stored at lower memory addresses (big-endian).
22 example 10 bits per pixel with values in range 0 to 1023.
30 .. flat-table::
31 :header-rows: 0
32 :stub-columns: 0
34 * - start + 0:
[all …]
Dpixfmt-tch-td16.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 .. _V4L2-TCH-FMT-DELTA-TD16:
11 16-bit signed little endian Touch Delta
19 Delta values may range from -32768 to 32767. Typically the values will vary
27 .. flat-table::
28 :header-rows: 0
29 :stub-columns: 0
32 * - start + 0:
33 - D'\ :sub:`00low`
34 - D'\ :sub:`00high`
[all …]
Dpixfmt-srggb10.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 .. _V4L2-PIX-FMT-SRGGB10:
4 .. _v4l2-pix-fmt-sbggr10:
5 .. _v4l2-pix-fmt-sgbrg10:
6 .. _v4l2-pix-fmt-sgrbg10:
16 10-bit Bayer formats expanded to 16 bits
23 sample. Each sample is stored in a 16-bit word, with 6 unused
24 high bits filled with zeros. Each n-pixel row contains n/2 green samples and
31 Each cell is one byte, the 6 most significant bits in the high bytes
37 .. flat-table::
[all …]
Dpixfmt-srggb12.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 .. _V4L2-PIX-FMT-SRGGB12:
4 .. _v4l2-pix-fmt-sbggr12:
5 .. _v4l2-pix-fmt-sgbrg12:
6 .. _v4l2-pix-fmt-sgrbg12:
17 12-bit Bayer formats expanded to 16 bits
24 colour. Each colour component is stored in a 16-bit word, with 4 unused
25 high bits filled with zeros. Each n-pixel row contains n/2 green samples
32 Each cell is one byte, the 4 most significant bits in the high bytes are
38 .. flat-table::
[all …]
Dpixfmt-srggb14.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 .. _V4L2-PIX-FMT-SRGGB14:
4 .. _v4l2-pix-fmt-sbggr14:
5 .. _v4l2-pix-fmt-sgbrg14:
6 .. _v4l2-pix-fmt-sgrbg14:
14 14-bit Bayer formats expanded to 16 bits
21 colour. Each sample is stored in a 16-bit word, with two unused high
22 bits filled with zeros. Each n-pixel row contains n/2 green samples
29 Each cell is one byte, the two most significant bits in the high bytes are
34 .. flat-table::
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
Dbitfield.h1 /* SPDX-License-Identifier: GPL-2.0-only */
4 * Copyright 2005-2006 Fen Systems Ltd.
5 * Copyright 2006-2013 Solarflare Communications Inc.
14 * Efx NICs make extensive use of bitfields up to 128 bits
15 * wide. Since there is no native 128-bit datatype on most systems,
16 * and since 64-bit datatypes are inefficient on 32-bit systems and
20 * The NICs are PCI devices and therefore little-endian. Since most
21 * of the quantities that we deal with are DMAed to/from host memory,
23 * efx_dword_t) to be little-endian.
46 /* Low bit number of the specified field */
[all …]
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dstacktrace.h1 /* SPDX-License-Identifier: GPL-2.0-only */
28 unsigned long low; member
29 unsigned long high; member
41 * longer valid to unwind to.
43 * @prev_fp: The fp that pointed to this frame record, or a synthetic value
44 * of 0. This is used to ensure that within a stack, each
47 * value of STACK_TYPE_UNKNOWN. This is used to detect a
48 * transition from one stack to another.
72 static inline bool on_stack(unsigned long sp, unsigned long low, in on_stack() argument
73 unsigned long high, enum stack_type type, in on_stack() argument
[all …]
/kernel/linux/linux-5.10/include/linux/
Dmath64.h1 /* SPDX-License-Identifier: GPL-2.0 */
15 * div_u64_rem - unsigned 64bit divide with 32bit divisor with remainder
18 * @remainder: pointer to unsigned 32bit remainder
22 * This is commonly provided by 32bit archs to provide an optimized 64bit
32 * div_s64_rem - signed 64bit divide with 32bit divisor with remainder
35 * @remainder: pointer to signed 32bit remainder
46 * div64_u64_rem - unsigned 64bit divide with 64bit divisor and remainder
49 * @remainder: pointer to unsigned 64bit remainder
60 * div64_u64 - unsigned 64bit divide with 64bit divisor
72 * div64_s64 - signed 64bit divide with 64bit divisor
[all …]
/kernel/uniproton/src/utility/lib/
Dprt_lib_math64.c2 * Copyright (c) 2009-2023 Huawei Technologies Co., Ltd. All rights reserved.
5 * You can use this software according to the terms and conditions of the Mulan PSL v2.
9 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
12 * Create: 2009-12-22
21 OS_SEC_ALW_INLINE INLINE void OsAdd64X(U32 oldLow, U32 oldHigh, U32 *low, U32 *high) in OsAdd64X() argument
23 if (*low > OS_MAX_U32 - oldLow) { in OsAdd64X()
24 *high += (oldHigh + 1); in OsAdd64X()
26 *high += oldHigh; in OsAdd64X()
28 *low += oldLow; in OsAdd64X()
33 OS_SEC_L4_TEXT void OsAdd64(U32 *low, U32 *high, U32 oldLow, U32 oldHigh) in OsAdd64() argument
[all …]
/kernel/linux/linux-5.10/include/media/
Dcec-pin.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * cec-pin.h - low-level CEC pin control
15 * struct cec_pin_ops - low-level CEC pin operations
16 * @read: read the CEC pin. Returns > 0 if high, 0 if low, or an error
18 * @low: drive the CEC pin low.
19 * @high: stop driving the CEC pin. The pull-up will drive the pin
20 * high, unless someone else is driving the pin low.
21 * @enable_irq: optional, enable the interrupt to detect pin voltage changes.
26 * @read_hpd: optional. Read the HPD pin. Returns > 0 if high, 0 if low or
28 * @read_5v: optional. Read the 5V pin. Returns > 0 if high, 0 if low or
[all …]
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_fsmap.c1 // SPDX-License-Identifier: GPL-2.0+
28 /* Convert an xfs_fsmap to an fsmap. */
34 dest->fmr_device = src->fmr_device; in xfs_fsmap_from_internal()
35 dest->fmr_flags = src->fmr_flags; in xfs_fsmap_from_internal()
36 dest->fmr_physical = BBTOB(src->fmr_physical); in xfs_fsmap_from_internal()
37 dest->fmr_owner = src->fmr_owner; in xfs_fsmap_from_internal()
38 dest->fmr_offset = BBTOB(src->fmr_offset); in xfs_fsmap_from_internal()
39 dest->fmr_length = BBTOB(src->fmr_length); in xfs_fsmap_from_internal()
40 dest->fmr_reserved[0] = 0; in xfs_fsmap_from_internal()
41 dest->fmr_reserved[1] = 0; in xfs_fsmap_from_internal()
[all …]
/kernel/linux/linux-5.10/Documentation/hwmon/
Dadm9240.rst10 Addresses scanned: I2C 0x2c - 0x2f
20 Addresses scanned: I2C 0x2c - 0x2f
24 http://pdfserv.maxim-ic.com/en/ds/DS1780.pdf
30 Addresses scanned: I2C 0x2c - 0x2f
37 - Frodo Looijaard <frodol@dds.nl>,
38 - Philip Edelbrock <phil@netroedge.com>,
39 - Michiel Rook <michiel@grendelproject.nl>,
40 - Grant Coady <gcoady.lk@gmail.com> with guidance
44 ---------
46 chip MSB 5-bit address. Each chip reports a unique manufacturer
[all …]
/kernel/linux/linux-5.10/drivers/rtc/
Drtc-max8925.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2009-2010 Marvell International Ltd.
77 max8925_set_bits(info->rtc, MAX8925_ALARM0_CNTL, 0x7f, 0); in rtc_update_handler()
78 rtc_update_irq(info->rtc_dev, 1, RTC_IRQF | RTC_AF); in rtc_update_handler()
85 return -EINVAL; in tm_calc()
86 tm->tm_year = (buf[RTC_YEAR2] >> 4) * 1000 in tm_calc()
90 tm->tm_year -= 1900; in tm_calc()
91 tm->tm_mon = ((buf[RTC_MONTH] >> 4) & 0x01) * 10 in tm_calc()
93 tm->tm_mday = ((buf[RTC_DATE] >> 4) & 0x03) * 10 in tm_calc()
95 tm->tm_wday = buf[RTC_WEEKDAY] & 0x07; in tm_calc()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/panfrost/
Dpanfrost_regs.h1 /* SPDX-License-Identifier: GPL-2.0 */
6 * (C) COPYRIGHT 2010-2018 ARM Limited. All rights reserved.
86 #define GPU_SHADER_PRESENT_LO 0x100 /* (RO) Shader core present bitmap, low word */
87 #define GPU_SHADER_PRESENT_HI 0x104 /* (RO) Shader core present bitmap, high word */
88 #define GPU_TILER_PRESENT_LO 0x110 /* (RO) Tiler core present bitmap, low word */
89 #define GPU_TILER_PRESENT_HI 0x114 /* (RO) Tiler core present bitmap, high word */
91 #define GPU_L2_PRESENT_LO 0x120 /* (RO) Level 2 cache present bitmap, low word */
92 #define GPU_L2_PRESENT_HI 0x124 /* (RO) Level 2 cache present bitmap, high word */
98 #define GPU_STACK_PRESENT_LO 0xE00 /* (RO) Core stack present bitmap, low word */
99 #define GPU_STACK_PRESENT_HI 0xE04 /* (RO) Core stack present bitmap, high word */
[all …]
/kernel/linux/linux-5.10/Documentation/driver-api/gpio/
Dintro.rst9 The documents in this directory give detailed instructions on how to access
10 GPIOs in drivers, and how to write a driver for a device that provides GPIOs
13 Due to the history of GPIO interfaces in the kernel, there are two different
14 ways to obtain and use GPIOs:
16 - The descriptor-based interface is the preferred way to manipulate GPIOs,
17 and is described by all the files in this directory excepted gpio-legacy.txt.
18 - The legacy integer-based interface which is considered deprecated (but still
19 usable for compatibility reasons) is documented in gpio-legacy.txt.
21 The remainder of this document applies to the new descriptor-based interface.
22 gpio-legacy.txt contains the same information applied to the legacy
[all …]
/kernel/linux/linux-5.10/drivers/media/cec/core/
Dcec-pin-priv.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * cec-pin-priv.h - internal cec-pin header
13 #include <media/cec-pin.h>
23 /* Pending Tx, waiting for Signal Free Time to expire */
25 /* Low-drive was detected, wait for bus to go high */
27 /* Drive CEC low for the start bit */
29 /* Drive CEC high for the start bit */
35 /* Drive CEC low for the start bit using the custom timing */
37 /* Drive CEC high for the start bit using the custom timing */
39 /* Drive CEC low for the 0 bit */
[all …]
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dtau_6xx.c1 // SPDX-License-Identifier: GPL-2.0
8 * dynamic power management to limit peak CPU temp (using ICTC)
11 * Silly, crazy ideas: use cpu load (from scheduler) and ICTC to extend battery
31 #include <asm/asm-prototypes.h>
38 unsigned char low; member
39 unsigned char high; member
46 * dynamic adjustment to minimize # of interrupts */
47 /* configurable values for step size and how much to expand the window when
60 mtspr(SPRN_THRM1, THRM1_THRES(tau[cpu].low) | THRM1_V | maybe_tie | THRM1_TID); in set_thresholds()
63 mtspr(SPRN_THRM2, THRM1_THRES(tau[cpu].high) | THRM1_V | maybe_tie); in set_thresholds()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/signal/
Dsigreturn_vdso.c1 // SPDX-License-Identifier: GPL-2.0
26 static int search_proc_maps(char *needle, unsigned long *low, unsigned long *high) in search_proc_maps() argument
32 int rc = -1; in search_proc_maps()
37 return -1; in search_proc_maps()
41 rc = sscanf(buf, "%lx-%lx %*c%*c%*c%*c %*x %*d:%*d %*d %127s\n", in search_proc_maps()
48 rc = -1; in search_proc_maps()
53 *low = start; in search_proc_maps()
54 *high = end - 1; in search_proc_maps()
74 unsigned long low, high, size; in test_sigreturn_vdso() local
85 assert(search_proc_maps("[vdso]", &low, &high) == 0); in test_sigreturn_vdso()
[all …]
/kernel/linux/linux-5.10/include/linux/mfd/
Dac100.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Functions and registers to access AC100 codec / RTC combo IC.
5 * Copyright (C) 2016 Chen-Yu Tsai
7 * Chen-Yu Tsai <wens@csie.org>
84 /* ADC digital audio processing (high pass filter & auto gain control */
91 #define AC100_ADC_DAP_L_H_A_C 0x86 /* Left High Avg. Coef */
92 #define AC100_ADC_DAP_L_L_A_C 0x87 /* Left Low Avg. Coef */
93 #define AC100_ADC_DAP_R_H_A_C 0x88 /* Right High Avg. Coef */
94 #define AC100_ADC_DAP_R_L_A_C 0x89 /* Right Low Avg. Coef */
100 #define AC100_ADC_DAP_L_H_N_A_C 0x8f /* Left High Noise Avg. Coef */
[all …]

12345678910>>...43