| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mfd/ |
| H A D | max77693.txt | 1 Maxim MAX77693 multi-function device 4 - PMIC, 5 - CHARGER, 6 - LED, 7 - MUIC, 8 - HAPTIC 14 - compatible : Must be "maxim,max77693". 15 - reg : Specifies the i2c slave address of PMIC block. 16 - interrupts : This i2c device has an IRQ line connected to the main SoC. 19 - regulators : The regulators of max77693 have to be instantiated under subnode [all …]
|
| H A D | tps65086.txt | 4 - compatible : Should be "ti,tps65086". 5 - reg : I2C slave address. 6 - interrupts : The interrupt line the device is connected to. 7 - interrupt-controller : Marks the device node as an interrupt controller. 8 - #interrupt-cells : The number of cells to describe an IRQ, should be 2. 11 masks from ../interrupt-controller/interrupts.txt. 12 - gpio-controller : Marks the device node as a GPIO Controller. 13 - #gpio-cells : Should be two. The first cell is the pin number and 16 - regulators: : List of child nodes that specify the regulator 18 after their hardware counterparts: buck[1-6], [all …]
|
| /OK3568_Linux_fs/kernel/arch/x86/kvm/mmu/ |
| H A D | tdp_iter.c | 1 // SPDX-License-Identifier: GPL-2.0 13 iter->sptep = iter->pt_path[iter->level - 1] + in tdp_iter_refresh_sptep() 14 SHADOW_PT_INDEX(iter->gfn << PAGE_SHIFT, iter->level); in tdp_iter_refresh_sptep() 15 iter->old_spte = READ_ONCE(*iter->sptep); in tdp_iter_refresh_sptep() 20 return gfn & -KVM_PAGES_PER_HPAGE(level); in round_gfn_for_level() 24 * Sets a TDP iterator to walk a pre-order traversal of the paging structure 33 iter->next_last_level_gfn = next_last_level_gfn; in tdp_iter_start() 34 iter->yielded_gfn = iter->next_last_level_gfn; in tdp_iter_start() 35 iter->root_level = root_level; in tdp_iter_start() 36 iter->min_level = min_level; in tdp_iter_start() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/regulator/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 38 managed regulators and simple non-configurable regulators. 65 They provide two I2C-controlled DC/DC step-down converters with 85 tristate "Active-semi act8865 voltage regulator" 90 This driver controls a active-semi act8865 voltage output 94 tristate "Active-semi ACT8945A voltage regulator" 97 This driver controls a active-semi ACT8945A voltage regulator 98 via I2C bus. The ACT8945A features three step-down DC/DC converters 99 and four low-dropout linear regulators, along with a ActivePath 110 tristate "Freescale i.MX on-chip ANATOP LDO regulators" [all …]
|
| /OK3568_Linux_fs/kernel/sound/soc/fsl/ |
| H A D | fsl_audmix.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 20 #define FSL_AUDMIX_ATSTPUP0 0x210 /* Attenuation step up factor */ 21 #define FSL_AUDMIX_ATSTPDN0 0x214 /* Attenuation step down factor */ 22 #define FSL_AUDMIX_ATSTPTGT0 0x218 /* Attenuation step target */ 24 #define FSL_AUDMIX_ATSTP0 0x220 /* Attenuation step number */ 28 #define FSL_AUDMIX_ATSTPUP1 0x230 /* Attenuation step up factor */ 29 #define FSL_AUDMIX_ATSTPDN1 0x234 /* Attenuation step down factor */ 30 #define FSL_AUDMIX_ATSTPTGT1 0x238 /* Attenuation step target */ 32 #define FSL_AUDMIX_ATSTP1 0x240 /* Attenuation step number */ 79 /* AUDMIX Attenuation Step Up Factor Register */ [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/ |
| H A D | cs35l33.txt | 5 - compatible : "cirrus,cs35l33" 7 - reg : the I2C address of the device for I2C 9 - VA-supply, VP-supply : power supplies for the device, 15 - reset-gpios : gpio used to reset the amplifier 17 - interrupts : IRQ line info CS35L33. 18 (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt 21 - cirrus,boost-ctl : Booster voltage use to supply the amp. If the value is 23 a value of 1 and will increase at a step size of 100mV until a maximum of 26 - cirrus,ramp-rate : On power up, it affects the time from when the power 27 up sequence begins to the time the audio reaches a full-scale output. [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/sm750fb/ |
| H A D | ddk750_sii164.c | 1 // SPDX-License-Identifier: GPL-2.0 79 * edge_select - Edge Select: 84 * bus_select - Input Bus Select: 85 * 0 = Input data bus is 12-bits wide 86 * 1 = Input data bus is 24-bits wide 87 * dual_edge_clk_select - Dual Edge Clock Select 90 * hsync_enable - Horizontal Sync Enable: 93 * vsync_enable - Vertical Sync Enable: 96 * deskew_enable - De-skewing Enable: 97 * 0 = De-skew disabled [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/power/ |
| H A D | tps6586x.c | 5 * SPDX-License-Identifier: GPL-2.0+ 37 int retval = -1; in tps6586x_read() 60 int retval = -1; in tps6586x_write() 86 * @return 0 if ok, -1 on error 99 if (ctrl1 == -1 || ctrl2 == -1) in read_voltages() 100 return -ENOTSUPP; in read_voltages() 106 if (*sm0 == -1 || *sm1 == -1) in read_voltages() 107 return -ENOTSUPP; in read_voltages() 120 * Only one supply is needed in u-boot. set both v1 and v2 to in set_voltage() 132 return -ENOTSUPP; in set_voltage() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/pinctrl/mediatek/ |
| H A D | pinctrl-mtk-common.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 12 #include <linux/pinctrl/pinconf-generic.h> 14 #include "mtk-eint.h" 61 #define SET_ADDR(x, y) (x + (y->devdata->port_align)) 62 #define CLR_ADDR(x, y) (x + (y->devdata->port_align << 1)) 71 * struct mtk_drv_group_desc - Provide driving group data. 76 * @step: The step current of this group. 83 unsigned char step; member 92 .step = _step, \ 96 * struct mtk_pin_drv_grp - Provide each pin driving info. [all …]
|
| /OK3568_Linux_fs/kernel/block/ |
| H A D | blk-wbt.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * - Monitor latencies in a defined window of time. 7 * - If the minimum latency in the above window exceeds some target, increment 8 * scaling step and scale down queue depth by a factor of 2x. The monitoring 9 * window is then shrunk to 100 / sqrt(scaling step + 1). 10 * - For any window where we don't have solid data on what the latencies 12 * - If latencies look good, decrement scaling step. 13 * - If we're only doing writes, allow the scaling step to go negative. This 15 * scaling step of 0 if reads show up or the heavy writers finish. Unlike 17 * scaling step retains the default step==0 window size. [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/input/devices/ |
| H A D | sentelic.rst | 8 :Copyright: |copy| 2002-2011 Sentelic Corporation. 10 :Last update: Dec-07-2011 28 BYTE |---------------|BYTE |---------------|BYTE|---------------|BYTE|---------------| 30 |---------------| |---------------| |---------------| |---------------| 40 Byte 2: X Movement(9-bit 2's complement integers) 41 Byte 3: Y Movement(9-bit 2's complement integers) 43 valid values, -8 ~ +7 51 - Set bit 1 in register 0x40 to 1 60 BYTE |---------------|BYTE |---------------|BYTE|---------------|BYTE|---------------| 62 |---------------| |---------------| |---------------| |---------------| [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/core-api/ |
| H A D | cpu_hotplug.rst | 25 A more novel use of CPU-hotplug support is its use today in suspend resume 26 support for SMP. Dual-core and HT support makes even a laptop run SMP kernels 72 interrupts from devices. Its cleared when a CPU is brought down using 80 from the map depending on the event is hot-add/hot-remove. There are currently 85 be read-only for most use. When setting up per-cpu resources almost always use 98 $ ls -lh /sys/devices/system/cpu 100 drwxr-xr-x 9 root root 0 Dec 21 16:33 cpu0 101 drwxr-xr-x 9 root root 0 Dec 21 16:33 cpu1 102 drwxr-xr-x 9 root root 0 Dec 21 16:33 cpu2 103 drwxr-xr-x 9 root root 0 Dec 21 16:33 cpu3 [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/manual/ |
| H A D | eclipse-plugin.json | 4 "@alias": "eclipse-plugin.eclipse-plugin.support_SSH_connection_to_Target", 13 …P address as the Host name, make sure disable the proxy in Window->Preferences->General->Network C… 17 …"Configure connection from Eclipse: Run->Run Configurations->C/C++ Remote Application\\ ->New Conn… 25 …NOTE. Might need to change dropbear to openssh and add the packagegroup-core-eclipse-debug recipe", 34 "@alias": "eclipse-plugin.eclipse-plugin.Launch_QEMU_from_Eclipse", 43 …hain root location, sysroot location and kernel, in the menu Window -> Preferences -> Yocto ADT. … 47 …-$VERSION/machines/qemu/qemux86/ (ex:core-image-sato-sdk-qemux86-date-rootfs-tar-bz2) \nsource /op… 51 …-alone pre-built toolchain, you should be pointing to the /opt/poky/{test-version} directory as To… 55 … in step 2 of the case ADT installer Installation). \n \n Local : e.g: /home/user/q… 59 …ture is the type of hardware you are going to use or emulate. Use the pull-down Target Architectur… [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-imx/mx6/ |
| H A D | ddr.c | 5 * SPDX-License-Identifier: GPL-2.0+ 11 #include <asm/arch/mx6-ddr.h> 23 setbits_le32(&mmdc0->mpdgctrl0, 1 << 31); in reset_read_data_fifos() 24 wait_for_bit_le32(&mmdc0->mpdgctrl0, 1 << 31, 0, 100, 0); in reset_read_data_fifos() 26 setbits_le32(&mmdc0->mpdgctrl0, 1 << 31); in reset_read_data_fifos() 27 wait_for_bit_le32(&mmdc0->mpdgctrl0, 1 << 31, 0, 100, 0); in reset_read_data_fifos() 35 * Issue the Precharge-All command to the DDR device for both in precharge_all() 41 writel(0x04008050, &mmdc0->mdscr); in precharge_all() 42 wait_for_bit_le32(&mmdc0->mdscr, 1 << 14, 1, 100, 0); in precharge_all() 46 writel(0x04008058, &mmdc0->mdscr); in precharge_all() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/leds/ |
| H A D | leds-is31fl319x.txt | 4 - compatible : Should be any of 10 "si-en,sn3199". 11 - #address-cells: Must be 1. 12 - #size-cells: Must be 0. 13 - reg: 0x64, 0x65, 0x66, or 0x67. 16 - audio-gain-db : audio gain selection for external analog modulation input. 17 Valid values: 0 - 21, step by 3 (rounded down) 19 - shutdown-gpios : Specifier of the GPIO connected to SDB pin of the chip. 21 Each led is represented as a sub-node of the issi,is31fl319x device. 24 Required led sub-node properties: [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | meson8b-ec100.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 22 stdout-path = "serial0:115200n8"; 30 emmc_pwrseq: emmc-pwrseq { 31 compatible = "mmc-pwrseq-emmc"; 32 reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>; 35 gpio-keys { 36 compatible = "gpio-keys-polled"; [all …]
|
| /OK3568_Linux_fs/kernel/net/dccp/ |
| H A D | input.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 19 /* rate-limit for syncs in reply to sequence-invalid packets; RFC 4340, 7.5.4 */ 24 __skb_pull(skb, dccp_hdr(skb)->dccph_doff * 4); in dccp_enqueue_skb() 25 __skb_queue_tail(&sk->sk_receive_queue, skb); in dccp_enqueue_skb() 27 sk->sk_data_ready(sk); in dccp_enqueue_skb() 38 sk->sk_shutdown = SHUTDOWN_MASK; in dccp_fin() 47 switch (sk->sk_state) { in dccp_rcv_close() 50 * - CLOSED (may be a late or duplicate packet) in dccp_rcv_close() 51 * - PASSIVE_CLOSEREQ (the peer has sent a CloseReq earlier) in dccp_rcv_close() 52 * - RESPOND (already handled by dccp_check_req) in dccp_rcv_close() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlegacy/ |
| H A D | csr.h | 8 * Copyright(c) 2005 - 2011 Intel Corporation. All rights reserved. 29 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 33 * Copyright(c) 2005 - 2011 Intel Corporation. All rights reserved. 70 * low power states due to driver-invoked device resets 71 * (e.g. CSR_RESET_REG_FLAG_SW_RESET) or uCode-driven power-saving modes. 86 #define CSR_INT_COALESCING (CSR_BASE+0x004) /* accum ints, 32-usec units */ 100 * 31-8: Reserved 101 * 7-4: Type of device: see CSR_HW_REV_TYPE_xxx definitions 102 * 3-2: Revision step: 0 = A, 1 = B, 2 = C, 3 = D 103 * 1-0: "Dash" (-) value, as in A-1, etc. [all …]
|
| /OK3568_Linux_fs/kernel/drivers/clk/tegra/ |
| H A D | cvb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2012-2019 NVIDIA Corporation. All rights reserved. 20 mv = DIV_ROUND_CLOSEST(cvb->c2 * speedo, s_scale); in get_cvb_voltage() 21 mv = DIV_ROUND_CLOSEST((mv + cvb->c1) * speedo, s_scale) + cvb->c0; in get_cvb_voltage() 28 /* combined: apply voltage scale and round to cvb alignment step */ in round_cvb_voltage() 30 int step = (align->step_uv ? : 1000) * v_scale; in round_cvb_voltage() local 31 int offset = align->offset_uv * v_scale; in round_cvb_voltage() 33 uv = max(mv * 1000, offset) - offset; in round_cvb_voltage() 34 uv = DIV_ROUND_UP(uv, step) * align->step_uv + align->offset_uv; in round_cvb_voltage() 39 DOWN, enumerator [all …]
|
| /OK3568_Linux_fs/kernel/sound/soc/sh/rcar/ |
| H A D | mix.c | 1 // SPDX-License-Identifier: GPL-2.0 9 * +------+ +------+ 10 * [SRC3 / SRC6] -> |CTU n0| -> [MIX n0| -> 11 * [SRC4 / SRC9] -> |CTU n1| -> [MIX n1| -> 12 * [SRC0 / SRC1] -> |CTU n2| -> [MIX n2| -> 13 * [SRC2 / SRC5] -> |CTU n3| -> [MIX n3| -> 14 * +------+ +------+ 25 * amixer set "MIX Ramp Up Rate" "0.125 dB/1 step" 26 * amixer set "MIX Ramp Down Rate" "4 dB/1 step" 29 * amixer set "MIX",0 80% // DAI0 Volume Down [all …]
|
| /OK3568_Linux_fs/kernel/kernel/ |
| H A D | cpu.c | 35 #include <linux/percpu-rwsem.h> 51 * cpuhp_cpu_state - Per cpu hotplug state storage 61 * @done_up: Signal completion to the issuer of the task for cpu-up 62 * @done_down: Signal completion to the issuer of the task for cpu-down 93 STATIC_LOCKDEP_MAP_INIT("cpuhp_state-up", &cpuhp_state_up_map); 95 STATIC_LOCKDEP_MAP_INIT("cpuhp_state-down", &cpuhp_state_down_map); 115 * cpuhp_step - Hotplug state machine step 116 * @name: Name of the step 117 * @startup: Startup function of the step 118 * @teardown: Teardown function of the step [all …]
|
| /OK3568_Linux_fs/kernel/drivers/cpufreq/ |
| H A D | mediatek-cpufreq.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Author: Pi-Cheng Chen <pi-cheng.chen@linaro.org> 29 * 100mV < Vsram - Vproc < 200mV 56 if (cpumask_test_cpu(cpu, &info->cpus)) in mtk_cpu_dvfs_info_lookup() 66 struct regulator *proc_reg = info->proc_reg; in mtk_cpufreq_voltage_tracking() 67 struct regulator *sram_reg = info->sram_reg; in mtk_cpufreq_voltage_tracking() 80 * When scaling up voltages, Vsram and Vproc scale up step in mtk_cpufreq_voltage_tracking() 81 * by step. At each step, set Vsram to (Vproc + 200mV) first, in mtk_cpufreq_voltage_tracking() 82 * then set Vproc to (Vsram - 100mV). in mtk_cpufreq_voltage_tracking() 112 vsram - VOLT_TOL, in mtk_cpufreq_voltage_tracking() [all …]
|
| H A D | imx6q-cpufreq.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include <linux/nvmem-consumer.h> 29 STEP, enumerator 43 { .id = "step" }, 81 dev_dbg(cpu_dev, "%u MHz, %ld mV --> %u MHz, %ld mV\n", in imx6q_set_target() 114 * - Enable pll2_pfd2_396m_clk and reparent pll1_sw_clk to it in imx6q_set_target() 115 * - Reprogram pll1_sys_clk and reparent pll1_sw_clk back to it in imx6q_set_target() 116 * - Disable pll2_pfd2_396m_clk in imx6q_set_target() 135 clk_set_parent(clks[STEP].clk, clks[SECONDARY_SEL].clk); in imx6q_set_target() 136 clk_set_parent(clks[PLL1_SW].clk, clks[STEP].clk); in imx6q_set_target() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/userspace-api/media/v4l/ |
| H A D | ext-ctrls-rf-tuner.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _rf-tuner-controls: 16 called Zero-IF tuners. Older tuners were typically simple PLL tuners 28 .. _rf-tuner-control-id: 47 range and step are driver-specific. 64 range and step are driver-specific. 71 differs from the each others. The range and step are 72 driver-specific. 76 located inside mixer block, where RF signal is down-converted by the 78 The range and step are driver-specific. [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/mach-omap1/ |
| H A D | pm.c | 2 * linux/arch/arm/mach-omap1/pm.c 57 #include <linux/omap-dma.h> 58 #include <clocksource/timer-ti-dm.h> 91 return -EINVAL; in idle_store() 104 * Let's power down on idle, but only if we are really 105 * idle, because once we start down the path of 163 * Turn off all interrupts except GPIO bank 1, L1-2nd level cascade, in omap_pm_wakeup_setup() 221 * Step 1: turn off interrupts (FIXME: NOTE: already disabled) in omap1_pm_suspend() 228 * Step 2: save registers in omap1_pm_suspend() 281 /* (Step 3 removed - we now allow deep sleep by default) */ in omap1_pm_suspend() [all …]
|