/linux/arch/arm/mach-davinci/ |
H A D | da850.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * TI DA850/OMAP-L138 chip specific setup 5 * Copyright (C) 2009 Texas Instruments Incorporated - https://www.ti.com/ 7 * Derived from: arch/arm/mach-davinci/da830.c 16 #include <linux/mfd/da8xx-cfgchip.h> 20 #include <clocksource/timer-davinci.h> 47 MUX_CFG(DA850, NUART0_CTS, 3, 24, 15, 2, false) 48 MUX_CFG(DA850, NUART0_RTS, 3, 28, 15, 2, false) 49 MUX_CFG(DA850, UART0_RXD, 3, 16, 15, 2, false) 50 MUX_CFG(DA850, UART0_TXD, 3, 20, 15, 2, false) [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 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 82 * drm_dsc_pps_payload_pack() - Populates the DSC PPS 110 pps_payload->dsc_version = in drm_dsc_pps_payload_pack() 111 dsc_cfg->dsc_version_minor | in drm_dsc_pps_payload_pack() 112 dsc_cfg->dsc_version_major << DSC_PPS_VERSION_MAJOR_SHIFT; in drm_dsc_pps_payload_pack() [all …]
|
/linux/drivers/infiniband/hw/irdma/ |
H A D | i40iw_hw.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ 2 /* Copyright (c) 2015 - 2021 Intel Corporation */ 38 #define I40E_GLPES_PFIP4RXDISCARD(_i) (0x00010600 + ((_i) * 4)) /* _i=0...15 */ /* Reset… 39 #define I40E_GLPES_PFIP4RXTRUNC(_i) (0x00010700 + ((_i) * 4)) /* _i=0...15 */ /* Reset… 40 #define I40E_GLPES_PFIP4TXNOROUTE(_i) (0x00012E00 + ((_i) * 4)) /* _i=0...15 */ /* Reset… 41 #define I40E_GLPES_PFIP6RXDISCARD(_i) (0x00011200 + ((_i) * 4)) /* _i=0...15 */ /* Reset… 42 #define I40E_GLPES_PFIP6RXTRUNC(_i) (0x00011300 + ((_i) * 4)) /* _i=0...15 */ /* Reset… 44 #define I40E_GLPES_PFRDMAVBNDLO(_i) (0x00014800 + ((_i) * 8)) /* _i=0...15 */ /* Reset… 45 #define I40E_GLPES_PFIP4TXMCOCTSLO(_i) (0x00012000 + ((_i) * 8)) /* _i=0...15 */ /* Reset… 46 #define I40E_GLPES_PFIP6RXMCOCTSLO(_i) (0x00011600 + ((_i) * 8)) /* _i=0...15 */ /* Reset… [all …]
|
/linux/include/linux/mfd/wm831x/ |
H A D | regulator.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * linux/mfd/wm831x/regulator.h -- Regulator definitons for wm831x 14 * R16462 (0x404E) - Current Sink 1 18 #define WM831X_CS1_ENA_SHIFT 15 /* CS1_ENA */ 28 #define WM831X_CS1_OFF_RAMP_MASK 0x0C00 /* CS1_OFF_RAMP - [11:10] */ 29 #define WM831X_CS1_OFF_RAMP_SHIFT 10 /* CS1_OFF_RAMP - [11:10] */ 30 #define WM831X_CS1_OFF_RAMP_WIDTH 2 /* CS1_OFF_RAMP - [11:10] */ 31 #define WM831X_CS1_ON_RAMP_MASK 0x0300 /* CS1_ON_RAMP - [9:8] */ 32 #define WM831X_CS1_ON_RAMP_SHIFT 8 /* CS1_ON_RAMP - [9:8] */ 33 #define WM831X_CS1_ON_RAMP_WIDTH 2 /* CS1_ON_RAMP - [9:8] */ [all …]
|
/linux/drivers/gpu/drm/mediatek/ |
H A D | mtk_dp_reg.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (c) 2019-2022 MediaTek Inc. 21 #define DA_XTP_GLB_CKDET_EN_FORCE_VAL BIT(15) 28 #define DA_CKM_XTAL_CK_FORCE_EN BIT(8) 38 #define RG_XTP_LN0_TX_IMPSEL_PMOS GENMASK(15, 12) 41 #define RG_XTP_LN1_TX_IMPSEL_PMOS GENMASK(15, 12) 44 #define RG_XTP_LN2_TX_IMPSEL_PMOS GENMASK(15, 12) 47 #define RG_XTP_LN3_TX_IMPSEL_PMOS GENMASK(15, 12) 65 #define DP_TX1_VOLT_SWING_MASK GENMASK(9, 8) 66 #define DP_TX1_VOLT_SWING_SHIFT 8 [all …]
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_qp_tables.c | 1 // SPDX-License-Identifier: MIT 27 /* from BPP 4 to 15 in steps of 0.5 */ 65 { 9, 9, 9, 9, 8, 8, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 6, 6, 5, 67 { 14, 14, 13, 13, 12, 12, 12, 12, 11, 11, 10, 10, 10, 10, 9, 9, 9, 8, 8, 68 8, 7, 7, 7, 7, 6, 6, 5, 5, 5, 5, 4, 4, 4, 3, 3, 3, 3 } 76 { 8, 7, 7, 6, 5, 5, 5, 5, 5, 5, 5, 5, 4, 4, 4, 3, 2, 2, 1, 1, 1, 1, 1, 78 { 8, 8, 7, 7, 6, 6, 6, 6, 6, 6, 6, 6, 5, 5, 5, 4, 3, 3, 2, 2, 2, 2, 2, 80 { 9, 8, 8, 7, 7, 7, 7, 7, 7, 7, 7, 7, 6, 6, 5, 4, 4, 3, 2, 2, 2, 2, 2, 82 { 9, 8, 8, 8, 7, 7, 7, 7, 7, 7, 7, 7, 6, 6, 6, 5, 4, 4, 3, 3, 3, 3, 3, 84 { 9, 9, 8, 8, 7, 7, 7, 7, 7, 7, 7, 7, 7, 6, 6, 5, 4, 4, 3, 3, 3, 3, 3, [all …]
|
/linux/arch/arm/boot/dts/ti/omap/ |
H A D | omap3-echo.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 5 /dts-v1/; 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/leds/common.h> 14 compatible = "amazon,omap3-echo", "ti,omap3630", "ti,omap3"; 18 cpu0-supply = <&vdd1_reg>; 28 compatible = "regulator-fixed"; 29 regulator-name = "vcc5v"; 30 regulator-min-microvolt = <5000000>; 31 regulator-max-microvolt = <5000000>; [all …]
|
/linux/sound/soc/codecs/ |
H A D | rt5616.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * rt5616.h -- RT5616 ALSA SoC audio driver 17 /* I/O - Output */ 21 /* I/O - Input */ 24 /* I/O - ADC/DAC/DMIC */ 28 /* Mixer - D-D */ 33 /* Mixer - ADC */ 38 /* Mixer - DAC */ 57 /* Format - ADC/DAC */ 62 /* Function - Analog */ [all …]
|
H A D | rt5651.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * rt5651.h -- RT5651 ALSA SoC audio driver 12 #include <dt-bindings/sound/rt5651.h> 19 /* I/O - Output */ 23 /* I/O - Input */ 28 /* I/O - ADC/DAC/DMIC */ 35 /* Mixer - D-D */ 48 /* Mixer - ADC */ 53 /* Mixer - DAC */ 72 /* Format - ADC/DAC */ [all …]
|
H A D | rt5640.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * rt5640.h -- RT5640 ALSA SoC audio driver 15 #include <dt-bindings/sound/rt5640.h> 22 /* I/O - Output */ 27 /* I/O - Input */ 31 /* I/O - ADC/DAC/DMIC */ 38 /* Mixer - D-D */ 48 /* Mixer - ADC */ 53 /* Mixer - DAC */ 78 /* Format - ADC/DAC */ [all …]
|
H A D | rt5670.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * rt5670.h -- RT5670 ALSA SoC audio driver 17 /* I/O - Output */ 20 /* I/O - Input */ 26 /* I/O - ADC/DAC/DMIC */ 34 /* Mixer - D-D */ 47 /* Mixer - PDM */ 56 /* Mixer - ADC */ 61 /* Mixer - DAC */ 77 /* Format - ADC/DAC */ [all …]
|
H A D | rt5645.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * rt5645.h -- RT5645 ALSA SoC audio driver 17 /* I/O - Output */ 22 /* I/O - Input */ 30 /* I/O - ADC/DAC/DMIC */ 38 /* Mixer - [all...] |
H A D | rt5665.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * rt5665.h -- RT5665/RT5658 ALSA SoC audio driver 21 /* I/O - Output */ 30 /* I/O - Input */ 36 /* I/O - Speaker */ 44 /* I/O - ADC/DAC/DMIC */ 58 /* Mixer - D-D */ 70 /* Mixer - PDM */ 76 /* Mixer - ADC */ 88 /* Mixer - DAC */ [all …]
|
H A D | wm5100.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * wm5100.h -- WM5100 ALSA SoC Audio driver 31 #define WM5100_CLKSRC_AIF1BCLK 8 891 * R0 (0x00) - software reset 893 #define WM5100_SW_RST_DEV_ID1_MASK 0xFFFF /* SW_RST_DEV_ID1 - [15:0] */ 894 #define WM5100_SW_RST_DEV_ID1_SHIFT 0 /* SW_RST_DEV_ID1 - [15:0] */ 895 #define WM5100_SW_RST_DEV_ID1_WIDTH 16 /* SW_RST_DEV_ID1 - [15:0] */ 898 * R1 (0x01) - Device Revision 900 #define WM5100_DEVICE_REVISION_MASK 0x000F /* DEVICE_REVISION - [3:0] */ 901 #define WM5100_DEVICE_REVISION_SHIFT 0 /* DEVICE_REVISION - [3:0] */ [all …]
|
H A D | rt5659.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * rt5659.h -- RT5659/RT5658 ALSA SoC audio driver 21 /* I/O - Output */ 31 /* I/O - Input */ 36 /* I/O - Speaker */ 42 /* I/O - Sidetone */ 44 /* I/O - ADC/DAC/DMIC */ 56 /* Mixer - D-D */ 65 /* Mixer - PDM */ 73 /* Mixer - ADC */ [all …]
|
H A D | rt5682s.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * rt5682s.h -- RT5682I-VS ALSA SoC audio driver 17 #include <linux/clk-provider.h> 25 /* I/O - Output */ 33 /* I/O - Input */ 44 /* I/O - ADC/DAC/DMIC */ 50 /* Mixer - D-D */ 57 /* Mixer - ADC */ 84 /* Format - ADC/DAC */ 91 /* Format - TDM Control */ [all …]
|
H A D | rt5660.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * rt5660.h -- RT5660 ALSA SoC audio driver 20 /* I/O - Output */ 23 /* I/O - Input */ 26 /* I/O - ADC/DAC/DMIC */ 30 /* Mixer - D-D */ 35 /* Mixer - ADC */ 40 /* Mixer - DAC */ 61 /* Format - ADC/DAC */ 66 /* Function - Analog */ [all …]
|
/linux/drivers/video/fbdev/ |
H A D | atafb_iplan2p4.c | 2 * linux/drivers/video/iplan2p4.c -- Low level frame buffer operations for 46 if (!((sx ^ dx) & 15)) { in atafb_iplan2p4_copyarea() 47 /* odd->odd or even->even */ in atafb_iplan2p4_copyarea() 50 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea() 51 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea() 52 if (sx & 15) { in atafb_iplan2p4_copyarea() 53 memmove32_col(dst, src, 0xff00ff, height, next_line - BPL * 2); in atafb_iplan2p4_copyarea() 56 width -= 8; in atafb_iplan2p4_copyarea() 63 l = next_line - w * 4; in atafb_iplan2p4_copyarea() 64 for (j = height; j > 0; j--) { in atafb_iplan2p4_copyarea() [all …]
|
H A D | atafb_iplan2p2.c | 2 * linux/drivers/video/iplan2p2.c -- Low level frame buffer operations for 46 if (!((sx ^ dx) & 15)) { in atafb_iplan2p2_copyarea() 47 /* odd->odd or even->even */ in atafb_iplan2p2_copyarea() 50 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea() 51 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea() 52 if (sx & 15) { in atafb_iplan2p2_copyarea() 53 memmove32_col(dst, src, 0xff00ff, height, next_line - BPL * 2); in atafb_iplan2p2_copyarea() 56 width -= 8; in atafb_iplan2p2_copyarea() 63 l = next_line - w * 4; in atafb_iplan2p2_copyarea() 64 for (j = height; j > 0; j--) { in atafb_iplan2p2_copyarea() [all …]
|
H A D | atafb_iplan2p8.c | 2 * linux/drivers/video/iplan2p8.c -- Low level frame buffer operations for 3 * interleaved bitplanes à la Atari (8 20 #define BPL 8 24 /* Copies a 8 plane column from 's', height 'h', to 'd'. */ 26 /* This expands a 8 bit color into two longs for two movepl (8 plane) 53 if (!((sx ^ dx) & 15)) { in atafb_iplan2p8_copyarea() 54 /* odd->odd or even->even */ in atafb_iplan2p8_copyarea() 57 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea() 58 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea() 59 if (sx & 15) { in atafb_iplan2p8_copyarea() [all …]
|
/linux/lib/zstd/compress/ |
H A D | clevels.h | 5 * This source code is licensed under both the BSD-style license (found in the 8 * You may select, at your option, one of the above-listed licenses. 17 /*-===== Pre-defined compression levels =====-*/ 24 { /* "default" - for any srcSize > 256 KB */ 28 { 20, 15, 16, 1, 6, 0, ZSTD_fast }, /* level 2 */ 33 { 21, 19, 20, 4, 5, 8, ZSTD_lazy }, /* level 7 */ 34 { 21, 19, 20, 4, 5, 16, ZSTD_lazy2 }, /* level 8 */ 41 { 22, 23, 23, 6, 5, 32, ZSTD_btlazy2 }, /* level 15 */ 60 { 18, 18, 19, 4, 4, 8, ZSTD_lazy2 }, /* level 8 */ 61 { 18, 18, 19, 5, 4, 8, ZSTD_lazy2 }, /* level 9 */ [all …]
|
/linux/arch/powerpc/crypto/ |
H A D | chacha-p10le-8x.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 # Copyright 2023- IBM Corp. All rights reserved 13 # do rounds, 8 quarter rounds 16 # 3. a += b; d ^= a; d <<<= 8; 21 # row1 = (row1 + row2), row4 = row1 xor row4, row4 rotate each word by 8 43 #include <asm/asm-offsets.h> 44 #include <asm/asm-compat.h> 81 stdu 1,-752(1) 84 SAVE_GPR 15, 120, 1 117 SAVE_VSX 15, 208, 9 [all …]
|
H A D | poly1305-p10le_64.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 # Copyright 2023- IBM Corp. All rights reserved 10 # Poly1305 - this version mainly using vector/VSX/Scalar 11 # - 26 bits limbs 12 # - Handle multiple 64 byte blcok. 17 # p = 2^130 - 5 25 # 07/22/21 - this revison based on the above sum of products. Setup r^4, r^3, r^2, r and s3, s2, … 56 #include <asm/asm-offsets.h> 57 #include <asm/asm-compat.h> 95 stdu 1,-752(1) [all …]
|
/linux/include/soc/mscc/ |
H A D | ocelot_qsys.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ 25 #define QSYS_EEE_THRES_EEE_HIGH_BYTES(x) (((x) << 8) & GENMASK(15, 8)) 26 #define QSYS_EEE_THRES_EEE_HIGH_BYTES_M GENMASK(15, 8) 27 #define QSYS_EEE_THRES_EEE_HIGH_BYTES_X(x) (((x) & GENMASK(15, 8)) >> 8) 33 #define QSYS_EXT_CPU_CFG_EXT_CPU_PORT(x) (((x) << 8) & GENMASK(12, 8)) 34 #define QSYS_EXT_CPU_CFG_EXT_CPU_PORT_M GENMASK(12, 8) 35 #define QSYS_EXT_CPU_CFG_EXT_CPU_PORT_X(x) (((x) & GENMASK(12, 8)) >> 8) 57 #define QSYS_TFRM_MISC_TIMED_CANCEL_1SHOT BIT(8) 64 #define QSYS_RED_PROFILE_WM_RED_LOW(x) (((x) << 8) & GENMASK(15, 8)) 65 #define QSYS_RED_PROFILE_WM_RED_LOW_M GENMASK(15, 8) [all …]
|
/linux/drivers/media/platform/verisilicon/ |
H A D | hantro_g2_regs.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 51 #define g2_out_dis G2_DEC_REG(3, 15, 0x1) 90 #define g2_const_intra_e G2_DEC_REG(8, 31, 0x1) 91 #define g2_filt_ctrl_pres G2_DEC_REG(8, 30, 0x1) 92 #define g2_bit_depth_y G2_DEC_REG(8, 21, 0xf) 93 #define g2_bit_depth_c G2_DEC_REG(8, 17, 0xf) 94 #define g2_idr_pic_e G2_DEC_REG(8, 16, 0x1) 95 #define g2_bit_depth_pcm_y G2_DEC_REG(8, 12, 0xf) 96 #define g2_bit_depth_pcm_c G2_DEC_REG(8, 8, 0xf) 97 #define g2_bit_depth_y_minus8 G2_DEC_REG(8, 6, 0x3) [all …]
|