| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/ |
| H A D | intel_dram.c | 1 // SPDX-License-Identifier: MIT 41 return dimm->ranks * 64 / (dimm->width ?: 1); in intel_dimm_num_devices() 80 return (val & CNL_DRAM_SIZE_MASK) / 2; in cnl_get_dimm_size() 114 return 8 * dimm->size / (intel_dimm_num_devices(dimm) ?: 1) == 16; in skl_is_16gb_dimm() 123 dimm->size = cnl_get_dimm_size(val); in skl_dram_get_dimm_info() 124 dimm->width = cnl_get_dimm_width(val); in skl_dram_get_dimm_info() 125 dimm->ranks = cnl_get_dimm_ranks(val); in skl_dram_get_dimm_info() 127 dimm->size = skl_get_dimm_size(val); in skl_dram_get_dimm_info() 128 dimm->width = skl_get_dimm_width(val); in skl_dram_get_dimm_info() 129 dimm->ranks = skl_get_dimm_ranks(val); in skl_dram_get_dimm_info() [all …]
|
| /OK3568_Linux_fs/u-boot/scripts/ |
| H A D | compress.sh | 5 # SPDX-License-Identifier: GPL-2.0 7 set -e 10 FILE=$2 13 ch0=`printf "%08x\n" $dec_size | sed 's/\(..\)/\1 /g' | awk '{ printf $4 }'` 14 ch0=`printf '%03o' $((0x$ch0))` 17 ch2=`printf "%08x\n" $dec_size | sed 's/\(..\)/\1 /g' | awk '{ printf $2 }'` 22 (cat ${FILE} | ${ALGO} -9 -k -f && printf \\$ch0\\$ch1\\$ch2\\$ch3) > ${FILE}.${ALGO}
|
| /OK3568_Linux_fs/u-boot/board/renesas/sh7757lcr/ |
| H A D | README.sh7757lcr | 10 - SH7757 (SH-4A) 11 - DDR3-SDRAM 256MB (with ECC) 12 - SPI ROM 8MB 13 - 2D Graphic controller 14 - Ethernet controller 15 - eMMC 2GB 23 - make sh7785lcr_config 31 - sh_g200 32 - write_mac 41 2. write_mac [all …]
|
| /OK3568_Linux_fs/kernel/drivers/iio/light/ |
| H A D | apds9300.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * apds9300.c - IIO driver for Avago APDS9300 ambient light sensor 57 /* Calculated values 1000 * (CH1/CH0)^1.4 for CH1/CH0 from 0 to 0.52 */ 59 0, 2, 4, 7, 11, 15, 19, 24, 29, 34, 40, 45, 51, 57, 64, 70, 77, 84, 91, 65 static unsigned long apds9300_calculate_lux(u16 ch0, u16 ch1) in apds9300_calculate_lux() argument 70 if (ch0 == 0) in apds9300_calculate_lux() 73 tmp = DIV_ROUND_UP(ch1 * 100, ch0); in apds9300_calculate_lux() 75 lux = 3150 * ch0 - (unsigned long)DIV_ROUND_UP_ULL(ch0 in apds9300_calculate_lux() 78 lux = 2290 * ch0 - 2910 * ch1; in apds9300_calculate_lux() 80 lux = 1570 * ch0 - 1800 * ch1; in apds9300_calculate_lux() [all …]
|
| H A D | tsl2583.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Copyright (c) 2016-2017 Brian Masney <masneyb@onstation.org> 61 /* Per-device data */ 70 unsigned int ch0; member 108 s16 ch0; member 113 /* Index = (0 - 3) Used to validate the gain selection index */ 131 chip->als_settings.als_time = 100; in tsl2583_defaults() 137 chip->als_settings.als_gain = 0; in tsl2583_defaults() 140 chip->als_settings.als_gain_trim = 1000; in tsl2583_defaults() 143 chip->als_settings.als_cal_target = 130; in tsl2583_defaults() [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" 44 TDM_WLEN_32_BIT = 2, 50 TDM_CHANNEL_BCK_32 = 2, 56 TDM_CHANNEL_NUM_8 = 2, 92 return snd_pcm_format_physical_width(format) - 1; in get_tdm_lrck_width() 99 case 2: in get_tdm_ch() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/display/ |
| H A D | allwinner,sun4i-a10-tcon.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/display/allwinner,sun4i-a10-tcon.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 18 "#clock-cells": 23 - const: allwinner,sun4i-a10-tcon 24 - const: allwinner,sun5i-a13-tcon 25 - const: allwinner,sun6i-a31-tcon [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-uniphier/ |
| H A D | dram_init.c | 2 * Copyright (C) 2012-2015 Panasonic Corporation 3 * Copyright (C) 2015-2017 Socionext Inc. 6 * SPDX-License-Identifier: GPL-2.0+ 15 #include "sg-regs.h" 16 #include "soc-info.h" 84 return -EINVAL; in uniphier_memconf_decode() 89 /* set up ch0 */ in uniphier_memconf_decode() 109 pr_err("error: invalid value is set to MEMCONF ch0 size\n"); in uniphier_memconf_decode() 110 return -EINVAL; in uniphier_memconf_decode() 114 size *= 2; in uniphier_memconf_decode() [all …]
|
| H A D | memconf.c | 2 * Copyright (C) 2011-2015 Panasonic Corporation 6 * SPDX-License-Identifier: GPL-2.0+ 14 #include "sg-regs.h" 23 /* set up ch0 */ in __uniphier_memconf_init() 24 switch (bd->dram_ch[0].width) { in __uniphier_memconf_init() 27 size_per_word = bd->dram_ch[0].size; in __uniphier_memconf_init() 31 size_per_word = bd->dram_ch[0].size >> 1; in __uniphier_memconf_init() 34 pr_err("error: unsupported DRAM ch0 width\n"); in __uniphier_memconf_init() 35 return -EINVAL; in __uniphier_memconf_init() 55 pr_err("error: unsupported DRAM ch0 size\n"); in __uniphier_memconf_init() [all …]
|
| H A D | sc-regs.h | 4 * Copyright (C) 2011-2015 Panasonic Corporation 5 * Copyright (C) 2015-2016 Socionext Inc. 8 * SPDX-License-Identifier: GPL-2.0+ 51 #define SC_RSTCTRL_NRST_NAND (0x1 << 2) 64 #define SC_RSTCTRL4_NRST_UMCA0 (0x1 << 8) /* UMC ch0 standby */ 67 #define SC_RSTCTRL4_NRST_UMC30 (0x1 << 4) /* UMC ch0 */ 82 #define SC_CLKCTRL_CEN_NAND (0x1 << 2) 89 #define SC_CLKCTRL4_CEN_UMC2 (0x1 << 2) /* UMC ch2 */ 91 #define SC_CLKCTRL4_CEN_UMC0 (0x1 << 0) /* UMC ch0 */
|
| /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 | 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 …]
|
| 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 …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/dts/ |
| H A D | stih410-clock.dtsi | 5 * it under the terms of the GNU General Public License version 2 as 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"; [all …]
|
| H A D | stih407-clock.dtsi | 5 * it under the terms of the GNU General Public License version 2 as 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>; [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/usb/ |
| H A D | r8a66597.h | 1 // SPDX-License-Identifier: GPL-2.0 11 * the Free Software Foundation; version 2 of the License. 20 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 42 unsigned xtal:2; 138 #define XTAL 0xC000 /* b15-14: Crystal selection */ 147 #define HSE 0x0080 /* b7: Hi-speed enable */ 149 #define DRPD 0x0020 /* b5: D+/- pull down control */ 154 #define OVCBIT 0x8000 /* b15-14: Over-current bit */ 155 #define OVCMON 0xC000 /* b15-14: Over-current monitor */ 157 #define IDMON 0x0004 /* b3: ID-pin monitor */ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/misc/ |
| H A D | tsl2550.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * tsl2550.c - Linux kernel modules for ambient light sensor 44 static const u8 TSL2550_MODE_RANGE[2] = { 58 data->operating_mode = mode; in tsl2550_set_operating_mode() 74 tsl2550_set_operating_mode(client, data->operating_mode); in tsl2550_set_power_state() 77 data->power_state = state; in tsl2550_set_power_state() 90 return -EAGAIN; in tsl2550_get_adc_value() 121 0, 1, 2, 3, 4, 5, 6, 7, 141 * pages 2, 3. 143 static int tsl2550_calculate_lux(u8 ch0, u8 ch1) in tsl2550_calculate_lux() argument [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/ |
| H A D | iqs62x-keys.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/input/iqs62x-keys.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS620A, IQS621, IQS622, IQS624 and IQS625 multi-function sensors 14 feature a variety of self-capacitive, mutual-inductive and Hall-effect sens- 20 further details and examples. Sensor hardware configuration (self-capacitive 21 vs. mutual-inductive, etc.) is selected based on the device's firmware. 26 - azoteq,iqs620a-keys [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/cif/ |
| H A D | subdev-itf.c | 1 // SPDX-License-Identifier: GPL-2.0 20 #include <media/videobuf2-dma-contig.h> 21 #include <media/v4l2-fwnode.h> 24 #include <linux/rk-camera-module.h> 44 spin_lock_irqsave(&priv->cif_dev->buffree_lock, flags); in sditf_buffree_work() 45 list_replace_init(&priv->buf_free_list, &local_list); in sditf_buffree_work() 50 list_del(&rx_buf->list_free); in sditf_buffree_work() 51 rkcif_free_reserved_mem_buf(priv->cif_dev, rx_buf); in sditf_buffree_work() 54 spin_unlock_irqrestore(&priv->cif_dev->buffree_lock, flags); in sditf_buffree_work() 59 struct rkcif_device *cif_dev = priv->cif_dev; in sditf_get_hdr_mode() [all …]
|
| /OK3568_Linux_fs/u-boot/doc/ |
| H A D | README.sh7752evb | 10 - SH7752 (SH-4A) 11 - DDR3-SDRAM 512MB 12 - SPI ROM 8MB 13 - Gigabit Ethernet controllers 14 - eMMC 4GB 22 - make sh7752evb_config 30 - write_mac 39 write_mac [GETHERC ch0] [GETHERC ch1] 47 Usage 2) Show current data 53 GETHERC ch0 = 74:90:50:00:33:9e [all …]
|
| H A D | README.sh7753evb | 10 - SH7753 (SH-4A) 11 - DDR3-SDRAM 512MB 12 - SPI ROM 8MB 13 - Gigabit Ethernet controllers 14 - eMMC 4GB 22 - make sh7753evb_config 30 - write_mac 39 write_mac [GETHERC ch0] [GETHERC ch1] 47 Usage 2) Show current data 53 GETHERC ch0 = 74:90:50:00:33:9e [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/dma/ |
| H A D | renesas,usb-dmac.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/dma/renesas,usb-dmac.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> 13 - $ref: "dma-controller.yaml#" 18 - enum: 19 - renesas,r8a7742-usb-dmac # RZ/G1H 20 - renesas,r8a7743-usb-dmac # RZ/G1M 21 - renesas,r8a7744-usb-dmac # RZ/G1N [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/firmware-guide/acpi/ |
| H A D | intel-pmc-mux.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Intel North Mux-Agent 10 North Mux-Agent is a function of the Intel PMC firmware that is supported on 13 platforms that allow the mux-agent to be configured from the operating system 16 The North Mux-Agent (aka. Intel PMC Mux Control, or just mux-agent) driver 18 (drivers/platform/x86/intel_scu_ipc.c). The driver registers with the USB Type-C 19 Mux Class which allows the USB Type-C Controller and Interface drivers to 28 ------- 30 For every USB Type-C connector under the mux-agent control on the system, there 31 is a separate child node under the PMC mux-agent device node. Those nodes do not [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/display/ |
| H A D | intel_dpio_phy.c | 2 * Copyright © 2014-2016 Intel Corporation 39 * IOSF-SB port. 43 * logic. CH0 common lane also contains the IOSF-SB logic for the 53 * each spline is made up of one Physical Access Coding Sub-Layer 69 * pipe A == CMN/PLL/REF CH0 73 * port B == PCS/TX CH0 82 * pipe C == CMN/PLL/REF CH0 84 * port D == PCS/TX CH0 97 * --------------------------------- 98 * | CH0 | CH1 | [all …]
|
| /OK3568_Linux_fs/kernel/sound/oss/dmasound/ |
| H A D | dmasound_paula.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 * - added versioning 12 * - put in and populated the hardware_afmts field. 13 * [0.2] - put in SNDCTL_DSP_GETCAPS value. 14 * [0.3] - put in constraint on state buffer usage. 15 * [0.4] - put in default hard/soft settings 65 * Helper pointers for 16(14)-bit sound 92 * Heartbeat interferes with sound since the 7 kHz low-pass filter and the 167 return -EFAULT; in ami_ct_s8() 172 used = count*2; in ami_ct_s8() [all …]
|