/openbmc/linux/Documentation/userspace-api/media/v4l/ |
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: 13 10-bit Bayer formats 24 In other respects this format is similar to :ref:`V4L2-PIX-FMT-SRGGB10`. 36 .. flat-table:: 38 * - start + 0: 39 - B\ :sub:`0000low` [all …]
|
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 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 31 * - start + 0: 32 - Z\ :sub:`00low` [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. 26 .. flat-table:: 27 :header-rows: 0 28 :stub-columns: 0 31 * - start + 0: 32 - R'\ :sub:`00low` 33 - R'\ :sub:`00high` [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 …]
|
H A D | pixfmt-srggb14p.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _V4L2-PIX-FMT-SRGGB14P: 4 .. _v4l2-pix-fmt-sbggr14p: 5 .. _v4l2-pix-fmt-sgbrg14p: 6 .. _v4l2-pix-fmt-sgrbg14p: 17 14-bit packed Bayer formats 29 Each n-pixel row contains n/2 green samples and n/2 blue or red samples, 30 with alternating green-red and green-blue rows. They are conventionally 45 .. flat-table:: 46 :header-rows: 0 [all …]
|
H A D | pixfmt-srggb16.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _V4L2-PIX-FMT-SRGGB16: 4 .. _v4l2-pix-fmt-sbggr16: 5 .. _v4l2-pix-fmt-sgbrg16: 6 .. _v4l2-pix-fmt-sgrbg16: 15 16-bit Bayer formats 23 sample. Each sample is stored in a 16-bit word. Each n-pixel row contains 32 .. flat-table:: 33 :header-rows: 0 34 :stub-columns: 0 [all …]
|
H A D | pixfmt-srggb12.rst | 1 .. 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 38 .. flat-table:: 39 :header-rows: 0 [all …]
|
H A D | pixfmt-srggb10.rst | 1 .. 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 37 .. flat-table:: 38 :header-rows: 0 [all …]
|
/openbmc/linux/arch/arm/ |
H A D | Kconfig.debug | 1 # SPDX-License-Identifier: GPL-2.0 44 once the kernel has booted up - it's a one time check. 107 1 - undefined instruction events 108 2 - system calls 109 4 - invalid data aborts 110 8 - SIGSEGV faults 111 16 - SIGBUS faults 115 bool "Kernel low-level debugging functions (read help!)" 128 prompt "Kernel low-level debugging port" 132 bool "Kernel low-level debugging messages via Alpine UART0" [all …]
|
/openbmc/linux/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. 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 23 * ef4_dword_t) to be little-endian. 46 /* Low bit number of the specified field */ 51 #define EF4_HIGH_BIT(field) (EF4_LOW_BIT(field) + EF4_WIDTH(field) - 1) 60 (((((u64) 1) << (width))) - 1)) [all …]
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | stacktrace.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 27 unsigned long low = (unsigned long)raw_cpu_read(irq_stack_ptr); in stackinfo_get_irq() local 28 unsigned long high = low + IRQ_STACK_SIZE; in stackinfo_get_irq() 31 .low = low, in stackinfo_get_irq() 44 unsigned long low = (unsigned long)task_stack_page(tsk); in stackinfo_get_task() local 45 unsigned long high = low + THREAD_SIZE; in stackinfo_get_task() 48 .low = low, in stackinfo_get_task() 67 unsigned long low = (unsigned long)raw_cpu_ptr(overflow_stack); in stackinfo_get_overflow() local 68 unsigned long high = low + OVERFLOW_STACK_SIZE; in stackinfo_get_overflow() 71 .low = low, in stackinfo_get_overflow() [all …]
|
/openbmc/linux/drivers/net/ethernet/sfc/siena/ |
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. 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 23 * efx_dword_t) to be little-endian. 46 /* Low bit number of the specified field */ 51 #define EFX_HIGH_BIT(field) (EFX_LOW_BIT(field) + EFX_WIDTH(field) - 1) 60 (((((u64) 1) << (width))) - 1)) [all …]
|
/openbmc/linux/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. 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 23 * efx_dword_t) to be little-endian. 48 /* Low bit number of the specified field */ 53 #define EFX_HIGH_BIT(field) (EFX_LOW_BIT(field) + EFX_WIDTH(field) - 1) 62 (((((u64) 1) << (width))) - 1)) [all …]
|
/openbmc/qemu/util/ |
H A D | stats64.c | 2 * Atomic operations on 64-bit quantities. 9 * See the COPYING file in the top-level directory. 21 qatomic_add(&s->lock, 2); in stat64_rdlock() 24 while (qatomic_read(&s->lock) & 1) { in stat64_rdlock() 31 qatomic_sub(&s->lock, 2); in stat64_rdunlock() 36 return qatomic_cmpxchg(&s->lock, 0, 1) == 0; in stat64_wrtrylock() 41 qatomic_dec(&s->lock); in stat64_wrunlock() 46 uint32_t high, low; in stat64_get() local 50 /* 64-bit writes always take the lock, so we can read in in stat64_get() 53 high = qatomic_read(&s->high); in stat64_get() [all …]
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | msr.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 #include "msr-index.h" 38 * both i386 and x86_64 returns 64-bit value in edx:eax, but gcc's "A" 44 /* Using 64-bit values saves one instruction clearing the high half of low */ 45 #define DECLARE_ARGS(val, low, high) unsigned long low, high argument 46 #define EAX_EDX_VAL(val, low, high) ((low) | (high) << 32) argument 47 #define EAX_EDX_RET(val, low, high) "=a" (low), "=d" (high) argument 49 #define DECLARE_ARGS(val, low, high) unsigned long long val argument 50 #define EAX_EDX_VAL(val, low, high) (val) argument 51 #define EAX_EDX_RET(val, low, high) "=A" (val) argument [all …]
|
/openbmc/linux/Documentation/arch/arm64/ |
H A D | kdump.rst | 9 reserved memory is needed to pre-load the kdump kernel and boot such 21 large chunk of memomy can be found. The low memory reservation needs to 24 - crashkernel=size@offset 25 - crashkernel=size 26 - crashkernel=size,high crashkernel=size,low 28 Low memory and high memory 31 For kdump reservations, low memory is the memory area under a specific 32 limit, usually decided by the accessible address bits of the DMA-capable 34 vmcore dumping can be ignored. On arm64, the low memory upper bound is 37 whole system RAM is low memory. Outside of the low memory described [all …]
|
/openbmc/linux/arch/alpha/kernel/ |
H A D | machvec_impl.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 to be that of the cache. Now we can read and write it as we like. ;-) */ 75 #define IO_LITE(UP,low) \ argument 78 .mv_ioread8 = CAT(low,_ioread8), \ 79 .mv_ioread16 = CAT(low,_ioread16), \ 80 .mv_ioread32 = CAT(low,_ioread32), \ 81 .mv_ioread64 = CAT(low,_ioread64), \ 82 .mv_iowrite8 = CAT(low,_iowrite8), \ 83 .mv_iowrite16 = CAT(low,_iowrite16), \ 84 .mv_iowrite32 = CAT(low,_iowrite32), \ [all …]
|
/openbmc/u-boot/arch/x86/include/asm/ |
H A D | msr.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 12 #include <asm/msr-index.h> 50 unsigned long low, high; in native_read_tscp() local 52 : "=a" (low), "=d" (high), "=c" (*aux)); in native_read_tscp() 53 return low | ((u64)high << 32); in native_read_tscp() 57 * both i386 and x86_64 returns 64-bit value in edx:eax, but gcc's "A" 63 #define DECLARE_ARGS(val, low, high) unsigned low, high argument 64 #define EAX_EDX_VAL(val, low, high) ((low) | ((u64)(high) << 32)) argument 65 #define EAX_EDX_ARGS(val, low, high) "a" (low), "d" (high) argument 66 #define EAX_EDX_RET(val, low, high) "=a" (low), "=d" (high) argument [all …]
|
/openbmc/linux/drivers/thermal/intel/ |
H A D | intel_tcc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * intel_tcc.c - Library for Intel TCC (thermal control circuitry) MSR access 12 * intel_tcc_get_tjmax() - returns the default TCC activation Temperature 22 u32 low, high; in intel_tcc_get_tjmax() local 26 err = rdmsr_safe(MSR_IA32_TEMPERATURE_TARGET, &low, &high); in intel_tcc_get_tjmax() 28 err = rdmsr_safe_on_cpu(cpu, MSR_IA32_TEMPERATURE_TARGET, &low, &high); in intel_tcc_get_tjmax() 32 val = (low >> 16) & 0xff; in intel_tcc_get_tjmax() 34 return val ? val : -ENODATA; in intel_tcc_get_tjmax() 39 * intel_tcc_get_offset() - returns the TCC Offset value to Tjmax 43 * activation temperature equals "Tjmax" - "TCC Offset", in degrees C. [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/leds/ |
H A D | leds-bcm6358.txt | 5 which can either be controlled by software (exporting the 74x164 as spi-gpio. 10 - compatible : should be "brcm,bcm6358-leds". 11 - #address-cells : must be 1. 12 - #size-cells : must be 0. 13 - reg : BCM6358 LED controller address and size. 16 - brcm,clk-div : SCK signal divider. Possible values are 1, 2, 4 and 8. 18 - brcm,clk-dat-low : Boolean, makes clock and data signals active low. 21 Each LED is represented as a sub-node of the brcm,bcm6358-leds device. 23 LED sub-node required properties: 24 - reg : LED pin number (only LEDs 0 to 31 are valid). [all …]
|
/openbmc/u-boot/doc/device-tree-bindings/leds/ |
H A D | leds-bcm6358.txt | 5 which can either be controlled by software (exporting the 74x164 as spi-gpio. 6 See Documentation/devicetree/bindings/gpio/gpio-74x164.txt), or 10 - compatible : should be "brcm,bcm6358-leds". 11 - #address-cells : must be 1. 12 - #size-cells : must be 0. 13 - reg : BCM6358 LED controller address and size. 16 - brcm,clk-div : SCK signal divider. Possible values are 1, 2, 4 and 8. 18 - brcm,clk-dat-low : Boolean, makes clock and data signals active low. 21 Each LED is represented as a sub-node of the brcm,bcm6358-leds device. 23 LED sub-node required properties: [all …]
|
H A D | leds-bcm6328.txt | 7 as spi-gpio. See Documentation/devicetree/bindings/gpio/gpio-74x164.txt), or 10 exporting the 74x164 as spi-gpio prevents those LEDs to be hardware 14 - compatible : should be "brcm,bcm6328-leds". 15 - #address-cells : must be 1. 16 - #size-cells : must be 0. 17 - reg : BCM6328 LED controller address and size. 20 - brcm,serial-leds : Boolean, enables Serial LEDs. 22 - brcm,serial-mux : Boolean, enables Serial LEDs multiplexing. 24 - brcm,serial-clk-low : Boolean, makes clock signal active low. 26 - brcm,serial-dat-low : Boolean, makes data signal active low. [all …]
|
/openbmc/linux/tools/testing/selftests/drivers/net/netdevsim/ |
H A D | ethtool-coalesce.sh | 2 # SPDX-License-Identifier: GPL-2.0-only 4 source ethtool-common.sh 9 echo $(ethtool -c $NSIM_NETDEV | \ 10 awk -F':' -v pattern="$query:" '$0 ~ pattern {gsub(/[ \t]/, "", $2); print $2}') 20 if ! ethtool -h | grep -q coalesce; then 21 echo "SKIP: No --coalesce support in ethtool" 27 set -o pipefail 29 declare -A SETTINGS_MAP=( 30 ["rx-frames-low"]="rx-frame-low" 31 ["tx-frames-low"]="tx-frame-low" [all …]
|
/openbmc/qemu/include/qemu/ |
H A D | stats64.h | 2 * Atomic operations on 64-bit quantities. 9 * See the COPYING file in the top-level directory. 17 /* This provides atomic operations on 64-bit type, using a reader-writer 18 * spinlock on architectures that do not have 64-bit accesses. Even on 26 uint32_t low, high; 40 return qatomic_read__nocheck(&s->value); in stat64_get() 45 qatomic_set__nocheck(&s->value, value); in stat64_set() 50 qatomic_add(&s->value, value); in stat64_add() 55 uint64_t orig = qatomic_read__nocheck(&s->value); in stat64_min() 57 orig = qatomic_cmpxchg__nocheck(&s->value, orig, value); in stat64_min() [all …]
|
/openbmc/linux/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 …]
|