/linux/drivers/staging/media/ipu3/ |
H A D | ipu3-tables.c | 1 // SPDX-License-Identifier: GPL-2.0 4 #include "ipu3-tables.h" 6 #define X 0 /* Don't care value */ 10 /* Scale factor 32 / (32 + 0) = 1 */ 12 .even = { { 0, 0, 64, 6, 0, 0, 0 } }, 13 .odd = { { 0, 0, 64, 6, 0, 0, 0 } } }, 15 .even = { { 0, 0, 64, 6, 0, 0, 0 } }, 16 .odd = { { 0, 0, 64, 6, 0, 0, 0 } } }, 17 .ptrn_arr = { { 0x3 } }, 19 .hor_ds_en = 0, [all …]
|
/linux/drivers/isdn/mISDN/ |
H A D | dsp_audio.c | 20 /* ulaw[unsigned char] -> signed 16-bit */ 22 /* alaw[unsigned char] -> signed 16-bit */ 28 /* signed 16-bit -> law */ 32 /* alaw -> ulaw */ 34 /* ulaw -> alaw */ 43 #define AMI_MASK 0x55 51 0xFF, 0x1FF, 0x3FF, 0x7FF, 0xFFF, 0x1FFF, 0x3FFF, 0x7FFF in linear2alaw() 55 if (pcm_val >= 0) { in linear2alaw() 56 /* Sign (7th) bit = 1 */ in linear2alaw() 57 mask = AMI_MASK | 0x80; in linear2alaw() [all …]
|
/linux/arch/arm/mach-rpc/ |
H A D | irq.c | 1 // SPDX-License-Identifier: GPL-2.0 12 #define STAT 0x00 13 #define REQ 0x04 14 #define CLR 0x04 15 #define MASK 0x08 18 0, 8, 9, 8,10,10,10,10,11,11,11,11,10,10,10,10, 37 0,16,17,16,18,16,17,16,19,16,17,16,18,16,17,16, 56 0, 0, 1, 0, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 57 4, 0, 1, 0, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 64 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, [all …]
|
/linux/sound/soc/codecs/ |
H A D | wm2200.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * wm2200.h - WM2200 audio codec interface 14 #define WM2200_CLKSRC_MCLK1 0 19 #define WM2200_FLL_SRC_MCLK1 0 26 #define WM2200_SOFTWARE_RESET 0x00 27 #define WM2200_DEVICE_REVISION 0x01 28 #define WM2200_TONE_GENERATOR_1 0x0B 29 #define WM2200_CLOCKING_3 0x102 30 #define WM2200_CLOCKING_4 0x103 31 #define WM2200_FLL_CONTROL_1 0x111 [all …]
|
/linux/drivers/video/fbdev/via/ |
H A D | hw.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved. 4 * Copyright 2001-2008 S3 Graphics, Inc. All Rights Reserved. 22 #define VIA_LDVP0 0x00000001 23 #define VIA_LDVP1 0x00000002 24 #define VIA_DVP0 0x00000004 25 #define VIA_CRT 0x00000010 26 #define VIA_DVP1 0x00000020 27 #define VIA_LVDS1 0x00000040 28 #define VIA_LVDS2 0x00000080 [all …]
|
/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-rgb.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _pixfmt-rgb: 22 (including capture queues of mem-to-mem devices) fill the alpha component in 25 but can set the alpha bit to a user-configurable value, the 26 :ref:`V4L2_CID_ALPHA_COMPONENT <v4l2-alpha-component>` control is used to 31 :ref:`Output <output>` devices (including output queues of mem-to-mem devices 44 - In all the tables that follow, bit 7 is the most significant bit in a byte. 45 - 'r', 'g' and 'b' denote bits of the red, green and blue components 54 based on the order of the RGB components as seen in a 8-, 16- or 32-bit word, 57 for each component. For instance, the RGB565 format stores a pixel in a 16-bit [all …]
|
H A D | pixfmt-packed-yuv.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _packed-yuv: 15 - In all the tables that follow, bit 7 is the most significant bit in a byte. 16 - 'Y', 'Cb' and 'Cr' denote bits of the luma, blue chroma (also known as 30 seen in a 16-bit word, which is then stored in memory in little endian byte 32 format stores a pixel in a 16-bit word [15:0] laid out at as [Y'\ :sub:`4-0` 33 Cb\ :sub:`5-0` Cr\ :sub:`4-0`], and stored in memory in two bytes, 34 [Cb\ :sub:`2-0` Cr\ :sub:`4-0`] followed by [Y'\ :sub:`4-0` Cb\ :sub:`5-3`]. 44 .. flat-table:: Packed YUV 4:4:4 Image Formats (less than 8bpc) 45 :header-rows: 2 [all …]
|
/linux/arch/sh/include/mach-common/mach/ |
H A D | sh2007.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 #define CS5BCR 0xff802050 6 #define CS5WCR 0xff802058 7 #define CS5PCR 0xff802070 14 #define PCMCIA_ATA 0 20 #define PCMCIA_ATTR16 7 22 #define TYPE_SRAM 0 25 /* write-read/write-write delay (0-7:0,1,2,3,4,5,6,7) */ 26 #define IWW5 0 28 /* different area, read-write delay (0-7:0,1,2,3,4,5,6,7) */ [all …]
|
/linux/drivers/ufs/host/ |
H A D | ufs-renesas.c | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 10 #include <linux/dma-mapping.h> 16 #include <linux/nvmem-consumer.h> 23 #include "ufshcd-pltfrm.h" 39 ufshcd_dump_regs(hba, 0xc0, 0x40, "regs: 0xc0 + "); in ufs_renesas_dbg_register_dump() 47 ret = readl_poll_timeout_atomic(hba->mmio_base + reg, in ufs_renesas_poll() 51 dev_err(hba->dev, "%s: poll failed %d (%08x, %08x, %08x)\n", in ufs_renesas_poll() 67 ufs_renesas_write(hba, 0xd0, data_d0); in ufs_renesas_write_d0_d4() 68 ufs_renesas_write(hba, 0xd4, data_d4); in ufs_renesas_write_d0_d4() 74 ufs_renesas_write_d0_d4(hba, 0x0000080c, 0x00000100); in ufs_renesas_write_800_80c_poll() [all …]
|
/linux/drivers/pinctrl/sunplus/ |
H A D | sppctl_sp7021.c | 1 // SPDX-License-Identifier: GPL-2.0 18 D_PIS(0, 0), D_PIS(0, 1), D_PIS(0, 2), D_PIS(0, 3), 19 D_PIS(0, 4), D_PIS(0, 5), D_PIS(0, 6), D_PIS(0, 7), 20 D_PIS(1, 0), D_PIS(1, 1), D_PIS(1, 2), D_PIS(1, 3), 21 D_PIS(1, 4), D_PIS(1, 5), D_PIS(1, 6), D_PIS(1, 7), 22 D_PIS(2, 0), D_PIS(2, 1), D_PIS(2, 2), D_PIS(2, 3), 23 D_PIS(2, 4), D_PIS(2, 5), D_PIS(2, 6), D_PIS(2, 7), 24 D_PIS(3, 0), D_PIS(3, 1), D_PIS(3, 2), D_PIS(3, 3), 25 D_PIS(3, 4), D_PIS(3, 5), D_PIS(3, 6), D_PIS(3, 7), 26 D_PIS(4, 0), D_PIS(4, 1), D_PIS(4, 2), D_PIS(4, 3), [all …]
|
/linux/arch/riscv/boot/dts/sophgo/ |
H A D | sg2042.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 /dts-v1/; 7 #include <dt-bindings/clock/sophgo,sg2042-clkgen.h> 8 #include <dt-bindings/clock/sophgo,sg2042-pll.h> 9 #include <dt-bindings/clock/sophgo,sg2042-rpgate.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/pinctrl/pinctrl-sg2042.h> 12 #include <dt-bindings/reset/sophgo,sg2042-reset.h> 14 #include "sg2042-cpus.dtsi" 18 #address-cells = <2>; [all …]
|
/linux/lib/zlib_inflate/ |
H A D | inffixed.h | 1 /* inffixed.h -- table for decoding fixed codes 11 {96,7,0},{0,8,80},{0,8,16},{20,8,115},{18,7,31},{0,8,112},{0,8,48}, 12 {0,9,192},{16,7,10},{0,8,96},{0,8,32},{0,9,160},{0,8,0},{0,8,128}, 13 {0,8,64},{0,9,224},{16,7,6},{0,8,88},{0,8,24},{0,9,144},{19,7,59}, 14 {0,8,120},{0,8,56},{0,9,208},{17,7,17},{0,8,104},{0,8,40},{0,9,176}, 15 {0,8,8},{0,8,136},{0,8,72},{0,9,240},{16,7,4},{0,8,84},{0,8,20}, 16 {21,8,227},{19,7,43},{0,8,116},{0,8,52},{0,9,200},{17,7,13},{0,8,100}, 17 {0,8,36},{0,9,168},{0,8,4},{0,8,132},{0,8,68},{0,9,232},{16,7,8}, 18 {0,8,92},{0,8,28},{0,9,152},{20,7,83},{0,8,124},{0,8,60},{0,9,216}, 19 {18,7,23},{0,8,108},{0,8,44},{0,9,184},{0,8,12},{0,8,140},{0,8,76}, [all …]
|
/linux/arch/alpha/lib/ |
H A D | fls.c | 1 // SPDX-License-Identifier: GPL-2.0 9 /* This is fls(x)-1, except zero is held to zero. This allows most 10 efficient input into extbl, plus it allows easy handling of fls(0)=0. */ 14 0, 15 0, 29 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 30 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 31 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 32 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 33 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, [all …]
|
/linux/arch/arm64/boot/dts/ti/ |
H A D | k3-am65-iot2050-arduino-connector.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) Siemens AG, 2018-2023 13 pinctrl-names = 15 "d0-uart0-rxd", "d0-gpio", "d0-gpio-pullup", "d0-gpio-pulldown", 16 "d1-uart0-txd", "d1-gpio", "d1-gpio-pullup", "d1-gpio-pulldown", 17 "d2-uart0-ctsn", "d2-gpio", "d2-gpio-pullup", "d2-gpio-pulldown", 18 "d3-uart0-rtsn", "d3-gpio", "d3-gpio-pullup", "d3-gpio-pulldown", 19 "d10-spi0-cs0", "d10-gpio", "d10-gpio-pullup", "d10-gpio-pulldown", 20 "d11-spi0-d0", "d11-gpio", "d11-gpio-pullup", "d11-gpio-pulldown", 21 "d12-spi0-d1", "d12-gpio", "d12-gpio-pullup", "d12-gpio-pulldown", [all …]
|
/linux/tools/arch/x86/kcpuid/ |
H A D | cpuid.csv | 1 # SPDX-License-Identifier: CC0-1.0 2 # Generator: x86-cpuid-db v2.4 5 # Auto-generated file. 6 # Please submit all updates and bugfixes to https://x86-cpuid.org 12 # Leaf 0H 15 0x0, 0, ea [all...] |
/linux/drivers/net/wireless/broadcom/b43/ |
H A D | tables_lpphy.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 IEEE 802.11a/g LP-PHY and radio device data tables 26 #define B206X_FLAG_A 0x01 /* Flag: Init in A mode */ 27 #define B206X_FLAG_G 0x02 /* Flag: Init in G mode */ 30 /* { .offset = B2062_N_COMM1, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 31 /* { .offset = 0x0001, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 32 /* { .offset = B2062_N_COMM2, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 33 /* { .offset = B2062_N_COMM3, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ 34 …{ .offset = B2062_N_COMM4, .value_a = 0x0001, .value_g = 0x0000, .flags = B206X_FLAG_A | B206X_FLA… 35 /* { .offset = B2062_N_COMM5, .value_a = 0x0000, .value_g = 0x0000, .flags = 0, }, */ [all …]
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_qp_tables.c | 1 // SPDX-License-Identifier: MIT 39 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 40 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, 41 { 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 42 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, 43 { 3, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 44 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, 45 { 3, 3, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 46 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, 48 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, [all …]
|
/linux/include/drm/display/ |
H A D | drm_dsc.h | 1 /* SPDX-License-Identifier: MIT 19 #define DSC_RANGE_BPG_OFFSET_MASK 0x3f 31 #define DSC_PPS_LSB_MASK (0xFF << 0) 32 #define DSC_PPS_BPP_HIGH_MASK (0x3 << 8) 37 #define DSC_PPS_INIT_XMIT_DELAY_HIGH_MASK (0x3 << 8) 38 #define DSC_PPS_SCALE_DEC_INT_HIGH_MASK (0xF << 8) 45 * struct drm_dsc_rc_range_parameters - DSC Rate Control range parameters 67 * struct drm_dsc_config - Parameters required to configure DSC 84 * Flag to indicate if RGB - YCoCg conversion is needed 173 u16 rc_buf_thresh[DSC_NUM_BUF_RANGES - 1]; [all …]
|
/linux/drivers/scsi/qla4xxx/ |
H A D | ql4_nx.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright (c) 2003-2013 QLogic Corporation 13 #define PHAN_INITIALIZE_FAILED 0xffff 14 #define PHAN_INITIALIZE_COMPLETE 0xff01 16 /* Host writes the following to notify that it has done the init-handshake */ 17 #define PHAN_INITIALIZE_ACK 0xf00f 18 #define PHAN_PEG_RCV_INITIALIZED 0xff01 21 #define QLA82XX_CRB_BASE (QLA82XX_CAM_RAM(0x200)) 23 #define CRB_CMDPEG_STATE QLA82XX_REG(0x50) 24 #define CRB_RCVPEG_STATE QLA82XX_REG(0x13c) [all …]
|
/linux/drivers/gpu/drm/display/ |
H A D | drm_dsc_helper.c | 1 // SPDX-License-Identifier: MIT 35 * drm_dsc_dp_pps_header_init() - Initializes the PPS Header 47 memset(pps_header, 0, sizeof(*pps_header)); in drm_dsc_dp_pps_header_init() 49 pps_header->HB1 = DP_SDP_PPS; in drm_dsc_dp_pps_header_init() 50 pps_header->HB2 = DP_SDP_PPS_HEADER_PAYLOAD_BYTES_MINUS_1; in drm_dsc_dp_pps_header_init() 55 * drm_dsc_dp_rc_buffer_size - get rc buffer size in bytes 57 * @rc_buffer_size: number of blocks - 1, according to DPCD offset 63h 60 * buffer size in bytes, or 0 on invalid input 76 return 0; in drm_dsc_dp_rc_buffer_size() 82 * drm_dsc_pps_payload_pack() - Populates the DSC PPS [all …]
|
/linux/include/dt-bindings/memory/ |
H A D | mediatek,mt6893-memory-port.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 10 #include <dt-bindings/memory/mtk-memory-port.h> 17 * modules dma-address-region larbs-ports 18 * disp 0 ~ 4G larb0/2 19 * vcodec 4G ~ 8G larb4/5/7 21 * CCU0 0x4000_0000 ~ 0x43ff_ffff larb13: port 9/10 22 * CCU1 0x4400_0000 ~ 0x47ff_ffff larb14: port 4/5 28 #define M4U_PORT_L0_DISP_POSTMASK0 MTK_M4U_DOM_ID(0, 0) 29 #define M4U_PORT_L0_MDP_RDMA4 MTK_M4U_DOM_ID(0, 1) 30 #define M4U_PORT_L0_OVL_RDMA0_HDR MTK_M4U_DOM_ID(0, 2) [all …]
|
/linux/include/linux/mfd/da9062/ |
H A D | registers.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (C) 2015-2017 Dialog Semiconductor 9 #define DA9062_PMIC_DEVICE_ID 0x62 10 #define DA9062_PMIC_VARIANT_MRC_AA 0x01 11 #define DA9062_PMIC_VARIANT_VRC_DA9061 0x01 12 #define DA9062_PMIC_VARIANT_VRC_DA9062 0x02 20 #define DA9062AA_PAGE_CON 0x000 21 #define DA9062AA_STATUS_A 0x001 22 #define DA9062AA_STATUS_B 0x002 23 #define DA9062AA_STATUS_D 0x004 [all …]
|
/linux/drivers/platform/mellanox/ |
H A D | mlx-platform.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 5 * Copyright (C) 2016-2018 Mellanox Technologies 6 * Copyright (C) 2016-2018 Vadim Pasternak <vadimp@mellanox.com> 12 #include <linux/i2c-mux.h> 17 #include <linux/platform_data/i2c-mux-reg.h> 25 #define MLXPLAT_CPLD_LPC_I2C_BASE_ADRR 0x2000 26 #define MLXPLAT_CPLD_LPC_REG_BASE_ADRR 0x2500 27 #define MLXPLAT_CPLD_LPC_REG_CPLD1_VER_OFFSET 0x00 28 #define MLXPLAT_CPLD_LPC_REG_CPLD2_VER_OFFSET 0x01 29 #define MLXPLAT_CPLD_LPC_REG_CPLD3_VER_OFFSET 0x02 [all …]
|
/linux/arch/powerpc/crypto/ |
H A D | curve25519-ppc64le_asm.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 9 # [1] https://github.com/dot-asm/cryptogams/ 11 # Copyright (c) 2006-2017, CRYPTOGAMS by <appro@openssl.org> 58 # - Added x25519_fe51_sqr_times, x25519_fe51_frombytes, x25519_fe51_tobytes 61 # Copyright 2024- IBM Corp. 63 # X25519 lower-level primitives for PPC64. 73 stdu 1,-144(1) 86 ld 6,0(5) 87 ld 7,0(4) 93 mulld 22,7,6 [all …]
|