| /OK3568_Linux_fs/kernel/arch/x86/include/asm/ |
| H A D | msr.h | 1 /* 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/falcon/ |
| H A D | bitfield.h | 1 /* 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 …]
|
| /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/ |
| H A D | double-int.h | 2 Copyright (C) 2006-2020 Free Software Foundation, Inc. 29 it can be used to represent both signed and unsigned numbers. For 32 versions of the function -- double_int_op, that takes an extra UNS argument 37 You however need to use double_int_ext (that fills in the bits of the 40 division), and possibly before storing the results, if you want to keep 45 historical reasons (they replace an older structure used to represent 47 confusing to have them both signed or both unsigned. */ 51 /* Normally, we would define constructors to create instances. 53 First, defining a constructor makes the class non-POD in C++03, 54 and we certainly want double_int to be a POD. [all …]
|
| /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/ |
| H A D | double-int.h | 2 Copyright (C) 2006-2020 Free Software Foundation, Inc. 29 it can be used to represent both signed and unsigned numbers. For 32 versions of the function -- double_int_op, that takes an extra UNS argument 37 You however need to use double_int_ext (that fills in the bits of the 40 division), and possibly before storing the results, if you want to keep 45 historical reasons (they replace an older structure used to represent 47 confusing to have them both signed or both unsigned. */ 51 /* Normally, we would define constructors to create instances. 53 First, defining a constructor makes the class non-POD in C++03, 54 and we certainly want double_int to be a POD. [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/ |
| H A D | bitfield.h | 1 /* 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/userspace-api/media/v4l/ |
| H A D | pixfmt-z16.rst | 1 .. 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 …]
|
| H A D | pixfmt-srggb10-ipu3.rst | 1 .. 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 …]
|
| H A D | pixfmt-y16.rst | 1 .. 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 …]
|
| H A D | pixfmt-tch-tu16.rst | 1 .. 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 …]
|
| H A D | pixfmt-y16-be.rst | 1 .. 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 …]
|
| H A D | pixfmt-tch-td16.rst | 1 .. 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 …]
|
| /OK3568_Linux_fs/kernel/fs/xfs/ |
| H A D | xfs_fsmap.c | 1 // 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 …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/include/asm/ |
| H A D | stacktrace.h | 1 /* 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 …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | math64.h | 1 /* 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/hwmon/ |
| H A D | adm9240.rst | 10 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 …]
|
| /OK3568_Linux_fs/u-boot/arch/x86/include/asm/ |
| H A D | msr.h | 7 * SPDX-License-Identifier: GPL-2.0+ 13 #include <asm/msr-index.h> 51 unsigned long low, high; in native_read_tscp() local 53 : "=a" (low), "=d" (high), "=c" (*aux)); in native_read_tscp() 54 return low | ((u64)high << 32); in native_read_tscp() 58 * both i386 and x86_64 returns 64-bit value in edx:eax, but gcc's "A" 64 #define DECLARE_ARGS(val, low, high) unsigned low, high argument 65 #define EAX_EDX_VAL(val, low, high) ((low) | ((u64)(high) << 32)) argument 66 #define EAX_EDX_ARGS(val, low, high) "a" (low), "d" (high) argument 67 #define EAX_EDX_RET(val, low, high) "=a" (low), "=d" (high) argument [all …]
|
| /OK3568_Linux_fs/kernel/include/media/ |
| H A D | cec-pin.h | 1 /* 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/driver-api/gpio/ |
| H A D | intro.rst | 9 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/panfrost/ |
| H A D | panfrost_regs.h | 1 /* 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/ |
| H A D | mali_midg_regmap.h | 3 * (C) COPYRIGHT 2010-2017 ARM Limited. All rights reserved. 5 * This program is free software and is provided to you under the terms of the 7 * Foundation, and any use by you of this program is subject to the terms 12 * Boston, MA 02110-1301, USA. 32 #define SUSPEND_SIZE 0x008 /* (RO) Fixed-function suspend buffer 47 #define RESET_COMPLETED (1 << 8) /* Set when a reset has completed. Intended to use with SO… 67 #define GPU_FAULTADDRESS_LO 0x040 /* (RO) GPU exception fault address, low word */ 68 #define GPU_FAULTADDRESS_HI 0x044 /* (RO) GPU exception fault address, high word */ 74 #define PRFCNT_BASE_LO 0x060 /* (RW) Performance counter memory region base address, low w… 75 #define PRFCNT_BASE_HI 0x064 /* (RW) Performance counter memory region base address, high … [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-socfpga/ |
| H A D | freeze_controller.c | 4 * SPDX-License-Identifier: GPL-2.0+ 21 * flag is set to TRUE to indicate the IO banks are frozen 36 writel(SYSMGR_FRZCTRL_SRC_VIO1_ENUM_SW, &freeze_controller_base->src); in sys_mgr_frzctrl_freeze_req() 38 /* Freeze channel 0 to 2 */ in sys_mgr_frzctrl_freeze_req() 41 &freeze_controller_base->vioctrl + channel_id); in sys_mgr_frzctrl_freeze_req() 44 * Assert active low enrnsl, plniotri in sys_mgr_frzctrl_freeze_req() 55 * Assert active low bhniotri signal and de-assert in sys_mgr_frzctrl_freeze_req() 56 * active high csrdone in sys_mgr_frzctrl_freeze_req() 63 /* Set global flag to indicate channel is frozen */ in sys_mgr_frzctrl_freeze_req() 69 * Assert active low enrnsl, plniotri and in sys_mgr_frzctrl_freeze_req() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/cec/core/ |
| H A D | cec-pin-priv.h | 1 /* 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 …]
|
| /OK3568_Linux_fs/kernel/arch/powerpc/kernel/ |
| H A D | tau_6xx.c | 1 // 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 …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/flann/ |
| H A D | kdtree_single_index.h | 4 * Copyright 2008-2009 Marius Muja (mariusm@cs.ubc.ca). All rights reserved. 5 * Copyright 2008-2009 David G. Lowe (lowe@cs.ubc.ca). All rights reserved. 20 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 24 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 53 KDTreeSingleIndexParams(int leaf_max_size = 10, bool reorder = true, int dim = -1) 64 * Randomized kd-tree index 66 * Contains the k-d trees and other information for indexing a set of points 67 * for nearest-neighbor matching. 82 * params = parameters passed to the kdtree algorithm 91 int dim_param = get_param(params,"dim",-1); in dataset_() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/rtc/ |
| H A D | rtc-max8925.c | 1 // 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 …]
|