| /OK3568_Linux_fs/u-boot/scripts/ |
| H A D | compress.sh | 5 # SPDX-License-Identifier: GPL-2.0 7 set -e 14 ch0=`printf '%03o' $((0x$ch0))` 16 ch1=`printf '%03o' $((0x$ch1))` 18 ch2=`printf '%03o' $((0x$ch2))` 19 ch3=`printf "%08x\n" $dec_size | sed 's/\(..\)/\1 /g' | awk '{ printf $1 }'` 20 ch3=`printf '%03o' $((0x$ch3))` 22 (cat ${FILE} | ${ALGO} -9 -k -f && printf \\$ch0\\$ch1\\$ch2\\$ch3) > ${FILE}.${ALGO}
|
| /OK3568_Linux_fs/kernel/sound/soc/codecs/ |
| H A D | nau8540.c | 1 // SPDX-License-Identifier: GPL-2.0-only 24 #include <sound/soc-dapm.h> 39 { 1, 0x0 }, 40 { 2, 0x2 }, 41 { 4, 0x3 }, 42 { 8, 0x4 }, 43 { 16, 0x5 }, 44 { 32, 0x6 }, 45 { 3, 0x7 }, 46 { 6, 0xa }, [all …]
|
| H A D | sta350.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Codec driver for ST STA350 2.1-channel high-efficiency digital audio system 35 #include <sound/soc-dapm.h> 58 /* Power-up register defaults */ 60 { 0x0, 0x63 }, 61 { 0x1, 0x80 }, 62 { 0x2, 0xdf }, 63 { 0x3, 0x40 }, 64 { 0x4, 0xc2 }, 65 { 0x5, 0x5c }, [all …]
|
| H A D | sta32x.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Codec driver for ST STA32x 2.1-channel high-efficiency digital audio system 35 #include <sound/soc-dapm.h> 58 /* Power-up register defaults */ 60 { 0x0, 0x63 }, 61 { 0x1, 0x80 }, 62 { 0x2, 0xc2 }, 63 { 0x3, 0x40 }, 64 { 0x4, 0xc2 }, 65 { 0x5, 0x5c }, [all …]
|
| H A D | ak5558.c | 1 // SPDX-License-Identifier: GPL-2.0 21 #include <sound/soc-dapm.h> 45 { 0x0, 0xFF }, /* 0x00 AK5558_00_POWER_MANAGEMENT1 */ 46 { 0x1, 0x01 }, /* 0x01 AK5558_01_POWER_MANAGEMENT2 */ 47 { 0x2, 0x01 }, /* 0x02 AK5558_02_CONTROL1 */ 48 { 0x3, 0x00 }, /* 0x03 AK5558_03_CONTROL2 */ 49 { 0x4, 0x00 }, /* 0x04 AK5558_04_CONTROL3 */ 50 { 0x5, 0x00 } /* 0x05 AK5558_05_DSD */ 63 "Sharp Roll-Off", "Show Roll-Off", 64 "Short Delay Sharp Roll-Off", "Short Delay Show Roll-Off", [all …]
|
| H A D | tlv320adcx140.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/ 41 "ti,gpo-config-1", 42 "ti,gpo-config-2", 43 "ti,gpo-config-3", 44 "ti,gpo-config-4", 48 { ADCX140_PAGE_SELECT, 0x00 }, 49 { ADCX140_SW_RESET, 0x00 }, 50 { ADCX140_SLEEP_CFG, 0x00 }, 51 { ADCX140_SHDN_CFG, 0x05 }, [all …]
|
| /OK3568_Linux_fs/kernel/sound/soc/mediatek/mt8183/ |
| H A D | mt8183-dai-tdm.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include "mt8183-afe-clk.h" 11 #include "mt8183-afe-common.h" 12 #include "mt8183-interconnection.h" 13 #include "mt8183-reg.h" 28 TDM_OUT_I2S = 0, 33 TDM_BCK_NON_INV = 0, 38 TDM_LCK_NON_INV = 0, 48 TDM_CHANNEL_BCK_16 = 0, 54 TDM_CHANNEL_NUM_2 = 0, [all …]
|
| /OK3568_Linux_fs/kernel/tools/perf/tests/ |
| H A D | api-io.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 #define TEMPL "/tmp/perf-test-XXXXXX" 23 ret = -1; \ 25 } while (0) 32 ret = -1; \ 34 } while (0) 43 if (fd < 0) { in make_test_file() 45 return -1; in make_test_file() 51 return -1; in make_test_file() 54 return 0; in make_test_file() [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | stih407-clock.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 5 #include <dt-bindings/clock/stih407-clks.h> 10 clk_sysin: clk-sysin { 11 #clock-cells = <0>; 12 compatible = "fixed-clock"; 13 clock-frequency = <30000000>; 16 clk_tmdsout_hdmi: clk-tmdsout-hdmi { 17 #clock-cells = <0>; 18 compatible = "fixed-clock"; 19 clock-frequency = <0>; [all …]
|
| H A D | stih418-clock.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 5 #include <dt-bindings/clock/stih418-clks.h> 10 clk_sysin: clk-sysin { 11 #clock-cells = <0>; 12 compatible = "fixed-clock"; 13 clock-frequency = <30000000>; 14 clock-output-names = "CLK_SYSIN"; 17 clk_tmdsout_hdmi: clk-tmdsout-hdmi { 18 #clock-cells = <0>; 19 compatible = "fixed-clock"; [all …]
|
| H A D | stih410-clock.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 5 #include <dt-bindings/clock/stih410-clks.h> 10 clk_sysin: clk-sysin { 11 #clock-cells = <0>; 12 compatible = "fixed-clock"; 13 clock-frequency = <30000000>; 14 clock-output-names = "CLK_SYSIN"; 17 clk_tmdsout_hdmi: clk-tmdsout-hdmi { 18 #clock-cells = <0>; 19 compatible = "fixed-clock"; [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/dts/ |
| H A D | stih407-clock.dtsi | 8 #include <dt-bindings/clock/stih407-clks.h> 11 #address-cells = <1>; 12 #size-cells = <1>; 18 clk_sysin: clk-sysin { 19 #clock-cells = <0>; 20 compatible = "fixed-clock"; 21 clock-frequency = <30000000>; 27 arm_periph_clk: clk-m-a9-periphs { 28 #clock-cells = <0>; 29 compatible = "fixed-factor-clock"; [all …]
|
| H A D | stih410-clock.dtsi | 8 #include <dt-bindings/clock/stih410-clks.h> 11 #address-cells = <1>; 12 #size-cells = <1>; 15 compatible = "st,stih410-clk", "simple-bus"; 20 clk_sysin: clk-sysin { 21 #clock-cells = <0>; 22 compatible = "fixed-clock"; 23 clock-frequency = <30000000>; 24 clock-output-names = "CLK_SYSIN"; 30 arm_periph_clk: clk-m-a9-periphs { [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mfd/ |
| H A D | st,stm32-timers.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mfd/st,stm32-timers.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - advanced-control timers consist of a 16-bit auto-reload counter driven 14 - general-purpose timers consist of a 16-bit or 32-bit auto-reload counter 16 - basic timers consist of a 16-bit auto-reload counter driven by a 20 - Benjamin Gaignard <benjamin.gaignard@st.com> 21 - Fabrice Gasnier <fabrice.gasnier@st.com> 25 const: st,stm32-timers [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/ |
| H A D | st,sta32x.txt | 7 - compatible: "st,sta32x" 8 - reg: the I2C address of the device for I2C 9 - reset-gpios: a GPIO spec for the reset pin. If specified, it will be 12 - power-down-gpios: a GPIO spec for the power down pin. If specified, 16 - Vdda-supply: regulator spec, providing 3.3V 17 - Vdd3-supply: regulator spec, providing 3.3V 18 - Vcc-supply: regulator spec, providing 5V - 26V 22 - clocks, clock-names: Clock specifier for XTI input clock. 24 and disabled when it is removed. The 'clock-names' must be set to 'xti'. 26 - st,output-conf: number, Selects the output configuration: [all …]
|
| H A D | st,sta350.txt | 7 - compatible: "st,sta350" 8 - reg: the I2C address of the device for I2C 9 - reset-gpios: a GPIO spec for the reset pin. If specified, it will be 12 - power-down-gpios: a GPIO spec for the power down pin. If specified, 16 - vdd-dig-supply: regulator spec, providing 3.3V 17 - vdd-pll-supply: regulator spec, providing 3.3V 18 - vcc-supply: regulator spec, providing 5V - 26V 22 - st,output-conf: number, Selects the output configuration: 23 0: 2-channel (full-bridge) power, 2-channel data-out 24 1: 2 (half-bridge). 1 (full-bridge) on-board power [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/renesas/ |
| H A D | r8a77951-salvator-xs.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree Source for the Salvator-X 2nd version board with R-Car H3 ES2.0+ 5 * Copyright (C) 2015-2017 Renesas Electronics Corp. 8 /dts-v1/; 10 #include "salvator-xs.dtsi" 13 model = "Renesas Salvator-X 2nd version board based on r8a77951"; 14 compatible = "renesas,salvator-xs", "renesas,r8a7795"; 19 reg = <0x0 0x48000000 0x0 0x38000000>; 24 reg = <0x5 0x00000000 0x0 0x40000000>; 29 reg = <0x6 0x00000000 0x0 0x40000000>; [all …]
|
| H A D | r8a77995.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree Source for the R-Car D3 (R8A77995) SoC 9 #include <dt-bindings/clock/r8a77995-cpg-mssr.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/power/r8a77995-sysc.h> 15 #address-cells = <2>; 16 #size-cells = <2>; 18 /* External CAN clock - to be overridden by boards that provide it */ 20 compatible = "fixed-clock"; 21 #clock-cells = <0>; [all …]
|
| /OK3568_Linux_fs/kernel/drivers/iio/adc/ |
| H A D | intel_mrfld_adc.c | 1 // SPDX-License-Identifier: GPL-2.0 29 #define BCOVE_GPADCREQ 0xDC 30 #define BCOVE_GPADCREQ_BUSY BIT(0) 66 complete(&adc->completion); in mrfld_adc_thread_isr() 75 struct regmap *regmap = adc->regmap; in mrfld_adc_single_conv() 81 reinit_completion(&adc->completion); in mrfld_adc_single_conv() 83 regmap_update_bits(regmap, BCOVE_MADCIRQ, BCOVE_ADCIRQ_ALL, 0); in mrfld_adc_single_conv() 84 regmap_update_bits(regmap, BCOVE_MIRQLVL1, BCOVE_LVL1_ADC, 0); in mrfld_adc_single_conv() 92 req = mrfld_adc_requests[chan->channel]; in mrfld_adc_single_conv() 97 timeout = wait_for_completion_interruptible_timeout(&adc->completion, in mrfld_adc_single_conv() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/i2c/nvp6158_drv/ |
| H A D | nvp6158_video_eq.h | 1 // SPDX-License-Identifier: GPL-2.0 42 unsigned char h_lock; // Bank 0 0xE2 [3:0] [Ch3:Ch0] 45 unsigned int Hsync_Accum_Result; // Value 1 - Value 2 // 170210 Fix 52 unsigned char SAMval_CD; // B13 0xCD [7:0] 53 unsigned char SAMval_CC; // B13 0xCC [9:8] 61 unsigned char agc_lock; // Bank 0 0xE0 [3:0] [Ch3:Ch0] 62 unsigned char AGCval; // B13 0xB8 68 unsigned char Dist; // B13 0xA0 76 unsigned char cabletype; // 0:coax, 1:utp, 2:reserved1, 3:reserved2 107 unsigned char deqA_01[11]; // BankA 0x30 [all …]
|
| H A D | nvp6158_video_auto_detect.h | 1 // SPDX-License-Identifier: GPL-2.0 23 CH1 = 0, 25 CH3, enumerator 30 unsigned char powerdown; //B0 0x00/1/2/3 [0] 31 unsigned char gain; //B0 0x00/1/2/3 [4] 32 unsigned char spd; //B5/6/7/8 0x00 [5:4] 34 unsigned char ctrlreg; //B5/6/7/8 0x01 [6] 35 unsigned char ctrlibs; //B5/6/7/8 0x01 [5:4] 36 unsigned char adcspd; //B5/6/7/8 0x01 [2] 37 unsigned char clplevel; //B5/6/7/8 0x01 [1:0] [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/pci/cx18/ |
| H A D | cx18-av-core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Derived from cx25840-core.c 11 #include "cx18-driver.h" 12 #include "cx18-io.h" 13 #include "cx18-cards.h" 17 u32 reg = 0xc40000 + (addr & ~3); in cx18_av_write() 18 u32 mask = 0xff; in cx18_av_write() 24 return 0; in cx18_av_write() 29 u32 reg = 0xc40000 + (addr & ~3); in cx18_av_write_expect() 33 x = (x & ~((u32)0xff << shift)) | ((u32)value << shift); in cx18_av_write_expect() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iio/adc/ |
| H A D | st,stmpe-adc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/st,stmpe-adc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Stefan Agner <stefan@agner.ch> 21 const: st,stmpe-adc 23 st,norequest-mask: 29 "#io-channel-cells": 33 - compatible 38 - | [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/clock/st/ |
| H A D | st,quadfs.txt | 10 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt 13 - compatible : shall be: 15 "st,quadfs-pll" 18 - #clock-cells : from common clock binding; shall be set to 1. 20 - reg : A Base address and length of the register set. 22 - clocks : from common clock binding 24 - clock-output-names : From common clock binding. The block has 4 34 clk_s_c0_quadfs: clk-s-c0-quadfs@9103000 { 35 #clock-cells = <1>; 36 compatible = "st,quadfs-pll"; [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/dma/ |
| H A D | renesas,shdma.txt | 3 Sh-/r-mobile and R-Car systems often have multiple identical DMA controller 15 - compatible: should be "renesas,shdma-mux" 16 - #dma-cells: should be <1>, see "dmas" property below 19 - dma-channels: number of DMA channels 20 - dma-requests: number of DMA request signals 25 - compatible: should be of the form "renesas,shdma-<soc>", where <soc> should 27 "renesas,shdma-r8a73a4" for the system DMAC on r8a73a4 SoC 30 dmac: dma-multiplexer@0 { 31 compatible = "renesas,shdma-mux"; 32 #dma-cells = <1>; [all …]
|