/linux/Documentation/devicetree/bindings/thermal/ |
H A D | nvidia,tegra124-soctherm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/thermal/nvidia,tegra124-soctherm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 14 polled or interrupt-based thermal monitoring, CPU and GPU throttling based 21 - nvidia,tegra124-soctherm 22 - nvidia,tegra132-soctherm 23 - nvidia,tegra210-soctherm [all …]
|
/linux/tools/testing/selftests/ptp/ |
H A D | phc.sh | 2 # SPDX-License-Identifier: GPL-2.0 14 if [[ "$(id -u)" -ne 0 ]]; then 15 echo "SKIP: need root privileges" 20 echo "SKIP: PTP device not provided" 28 if [[ ! -x "$(command -v "$cmd")" ]]; then 29 echo "SKIP: $cmd not installed" 39 echo "SKIP: unknown clock $DEV: No such device" 52 # Per-test return value. Clear at the beginning of each test. 59 if [[ $RET -eq 0 && $err -ne 0 ]]; then 68 if [[ $RET -ne 0 ]]; then [all …]
|
/linux/Documentation/devicetree/bindings/mtd/ |
H A D | fsmc-nand.txt | 5 - compatible : "st,spear600-fsmc-nand", "stericsson,fsmc-nand" 6 - reg : Address range of the mtd chip 7 - reg-names: Should contain the reg names "fsmc_regs", "nand_data", "nand_addr" and "nand_cmd" 10 - bank-width : Width (in bytes) of the device. If not present, the width 12 - nand-skip-bbtscan: Indicates the BBT scanning should be skipped 13 - timings: array of 6 bytes for NAND timings. The meanings of these bytes 15 byte 0 TCLR : CLE to RE delay in number of AHB clock cycles, only 4 bits 16 are valid. Zero means one clockcycle, 15 means 16 clock 19 byte 2 THIZ : number of HCLK clock cycles during which the data bus is 20 kept in Hi-Z (tristate) after the start of a write access. [all …]
|
/linux/drivers/clk/ |
H A D | clk-conf.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <linux/clk-provider.h> 9 #include <linux/clk/clk-conf.h> 21 num_parents = of_count_phandle_with_args(node, "assigned-clock-parents", in __set_clk_parents() 22 "#clock-cells"); in __set_clk_parents() 23 if (num_parents == -EINVAL) in __set_clk_parents() 24 pr_err("clk: invalid value of clock-parents property at %pOF\n", in __set_clk_parents() 28 rc = of_parse_phandle_with_args(node, "assigned-clock-parents", in __set_clk_parents() 29 "#clock-cells", index, &clkspec); in __set_clk_parents() 31 /* skip empty (null) phandles */ in __set_clk_parents() [all …]
|
H A D | clk-s2mps11.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // clk-s2mps11.c - Clock driver for S2MPS11. 12 #include <linux/clk-provider.h> 20 #include <dt-bindings/clock/samsung,s2mps11.h> 41 return regmap_update_bits(s2mps11->iodev->regmap_pmic, in s2mps11_clk_prepare() 42 s2mps11->reg, in s2mps11_clk_prepare() 43 s2mps11->mask, s2mps11->mask); in s2mps11_clk_prepare() 50 regmap_update_bits(s2mps11->iodev->regmap_pmic, s2mps11->reg, in s2mps11_clk_unprepare() 51 s2mps11->mask, ~s2mps11->mask); in s2mps11_clk_unprepare() 60 ret = regmap_read(s2mps11->iodev->regmap_pmic, in s2mps11_clk_is_prepared() [all …]
|
/linux/tools/perf/tests/shell/lib/ |
H A D | stat_output.sh | 2 # SPDX-License-Identifier: GPL-2.0 7 [ "$(id -u)" != 0 ] && [ "$(cat /proc/sys/kernel/perf_event_paranoid)" -gt $1 ] 13 echo -n "Checking $1 output: no args " 15 commachecker --no-args 21 echo - [all...] |
/linux/Documentation/devicetree/bindings/arm/ |
H A D | arm,coresight-etm.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/arm/arm,coresight-etm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Mathieu Poirier <mathieu.poirier@linaro.org> 11 - Mike Leach <mike.leach@linaro.org> 12 - Leo Yan <leo.yan@linaro.org> 13 - Suzuki K Poulose <suzuki.poulose@arm.com> 23 The Embedded Trace Macrocell (ETM) is a real-time trace module providing 31 - arm,coresight-etm3x [all …]
|
/linux/tools/perf/tests/shell/ |
H A D | stat+json_output.sh | 3 # SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) 7 set -e 19 rm -f "${stat_output}" 21 trap - EXIT TERM INT 33 [ "$(id -u)" != 0 ] && [ "$(cat /proc/sys/kernel/perf_event_paranoid)" -g [all...] |
H A D | script.sh | 3 # SPDX-License-Identifier: GPL-2.0 5 set -e 7 temp_dir=$(mktemp -d /tmp/perf-test-script.XXXXXXXXXX) 16 trap - EXIT TERM INT 17 sane=$(echo "${temp_dir}" | cut -b 1-21) 18 if [ "${sane}" = "/tmp/perf-test-script" ] ; then 19 echo "--- Cleaning up ---" 20 rm -rf "${temp_dir:?}/"* 39 if perf version --build-options | grep python | grep -q OFF ; then 40 echo "SKIP: python scripting is not supported" [all …]
|
H A D | stat+std_output.sh | 3 # SPDX-License-Identifier: GPL-2.0 7 set -e 14 …(cpu-clock task-clock context-switches cpu-migrations page-faults stalled-cycles-frontend stalled-… 19 rm -f "${stat_output}" 21 trap - EXIT TERM INT 35 in "--interval") prefix=2 36 ;; "--per-thread") prefix=2 37 ;; "--system-wide-no-aggr") prefix=2 38 ;; "--per-core") prefix=3 39 ;; "--per-socket") prefix=3 [all …]
|
H A D | stat_bpf_counters_cgrp.sh | 2 # perf stat --bpf-counters --for-each-cgroup test 3 # SPDX-License-Identifier: GPL-2.0 5 set -e 8 if [ "$1" = "-v" ]; then 12 # skip if --bpf-counters --for-each-cgroup is not supported 15 if ! perf stat -a --bpf-counters --for-each-cgroup / true > /dev/null 2>&1; then 17 echo "Skipping: --bpf-counters --for-each-cgroup not supported" 18 perf --no-pager stat -a --bpf-counters --for-each-cgroup / true || true 28 if [ -d /sys/fs/cgroup/system.slice ] && [ -d /sys/fs/cgroup/user.slice ]; then 34 find_cgroups_self_cgrp=$(grep perf_event /proc/self/cgroup | cut -d: -f3) [all …]
|
/linux/Documentation/devicetree/bindings/clock/ |
H A D | silabs,si570.txt | 2 I2C clock generators. 5 This binding uses the common clock binding[1]. Details about the devices can be 8 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt 12 https://www.silabs.com/Support%20Documents/TechnicalDocs/si598-99.pdf 15 - compatible: Shall be one of "silabs,si570", "silabs,si571", 17 - reg: I2C device address. 18 - #clock-cells: From common clock bindings: Shall be 0. 19 - factory-fout: Factory set default frequency. This frequency is part specific. 23 - temperature-stability: Temperature stability of the device in PPM. Should be 27 - clock-output-names: From common clock bindings. Recommended to be "si570". [all …]
|
H A D | cirrus,cs2000-cp.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/cirrus,cs2000-cp.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: CIRRUS LOGIC Fractional-N Clock Synthesizer & Clock Multiplier 10 - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 13 The CS2000-CP is an extremely versatile system clocking device that 21 - cirrus,cs2000-cp 25 Common clock binding for CLK_IN, XTI/REF_CLK 28 clock-names: [all …]
|
/linux/Documentation/devicetree/bindings/net/ |
H A D | qcom,ipa.yaml | 1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Alex Elder <elder@kernel.org> 21 and has a distinct interrupt and a separately-defined address space. 28 - | 29 -------- --------- 31 | AP +<---. .----+ Modem | 32 | +--. | | .->+ | 34 -------- | | | | --------- [all …]
|
/linux/drivers/net/ethernet/xscale/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 15 kernel: saying N will just cause the configurator to skip all 28 Say Y here if you want to use built-in Ethernet ports 32 bool "Intel IXP46x as PTP clock" 38 clock. This clock is only useful if your PTP programs are
|
/linux/drivers/usb/dwc3/ |
H A D | dwc3-octeon.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2010-2017 Cavium Networks 24 /* BIST fast-clear mode select. A BIST run with this bit set 30 /* Reference clock select for SuperSpeed and HighSpeed PLLs: 31 * 0x0 = Both PLLs use DLMC_REF_CLK0 for reference clock 32 * 0x1 = Both PLLs use DLMC_REF_CLK1 for reference clock 33 * 0x2 = SuperSpeed PLL uses DLMC_REF_CLK0 for reference clock & 35 * 0x3 = SuperSpeed PLL uses DLMC_REF_CLK1 for reference clock & 39 /* 1 = Spread-spectrum clock enable, 0 = SS clock disable */ 41 /* Spread-spectrum clock modulation range: [all …]
|
/linux/sound/usb/ |
H A D | usbaudio.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 10 /* handling of USB vendor/product ID pairs as 32-bit numbers */ 56 struct list_head ep_list; /* list of audio-related endpoints */ 58 struct list_head clock_ref_list; /* list of clock refcounts */ 80 #define USB_AUDIO_IFACE_UNUSED ((void *)-1L) 83 dev_err(&(chip)->dev->dev, fmt, ##args) 85 dev_err_ratelimited(&(chip)->dev->dev, fmt, ##args) 87 dev_warn(&(chip)->dev->dev, fmt, ##args) 89 dev_info(&(chip)->dev->dev, fmt, ##args) 91 dev_dbg(&(chip)->dev->dev, fmt, ##args) [all …]
|
/linux/drivers/i2c/busses/ |
H A D | i2c-thunderx-pcidrv.c | 17 #include <linux/i2c-smbus.h> 24 #include "i2c-octeon-core.h" 26 #define DRV_NAME "i2c-thunderx" 38 * The interrupt will be asserted when there is non-STAT_IDLE state in the 44 i2c->twsi_base + TWSI_INT_ENA_W1S); in thunder_i2c_int_enable() 53 i2c->twsi_base + TWSI_INT_ENA_W1C); in thunder_i2c_int_disable() 59 i2c->twsi_base + TWSI_INT_ENA_W1S); in thunder_i2c_hlc_int_enable() 65 i2c->twsi_base + TWSI_INT_ENA_W1C); in thunder_i2c_hlc_int_disable() 91 i2c->clk = clk_get(dev, NULL); in thunder_i2c_clock_enable() 92 if (IS_ERR(i2c->clk)) { in thunder_i2c_clock_enable() [all …]
|
/linux/drivers/gpu/drm/gma500/ |
H A D | intel_bios.c | 1 // SPDX-License-Identifier: GPL-2.0-only 27 /* skip to first section */ in find_section() 28 index += bdb->header_size; in find_section() 29 total = bdb->bdb_size; in find_section() 55 dev_priv->edp.bpp = 18; in parse_edp() 57 if (dev_priv->edp.support) { in parse_edp() 59 dev_priv->edp.bpp); in parse_edp() 64 panel_type = dev_priv->panel_type; in parse_edp() 65 switch ((edp->color_depth >> (panel_type * 2)) & 3) { in parse_edp() 67 dev_priv->edp.bpp = 18; in parse_edp() [all …]
|
/linux/drivers/clk/ti/ |
H A D | clkt_dpll.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * OMAP2/3/4 DPLL clock functions 5 * Copyright (C) 2005-2008 Texas Instruments, Inc. 6 * Copyright (C) 2004-2010 Nokia Corporation 9 * Richard Woodruff <r-woodruff2@ti.com> 17 #include <linux/clk-provider.h> 23 #include "clock.h" 30 #define DPLL_MULT_UNDERFLOW -1 51 #define DPLL_FINT_UNDERFLOW -1 52 #define DPLL_FINT_INVALID -2 [all …]
|
/linux/tools/testing/selftests/vDSO/ |
H A D | vdso_test_correctness.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * ldt_gdt.c - Test cases for LDT and GDT access 4 * Copyright (c) 2011-2015 Andrew Lutomirski 47 /* max length of lines in /proc/self/maps - anything longer is skipped here */ 86 if (sscanf(line, "%p-%p %c-%cp %*x %*x:%*x %*u %s", in vsyscall_getcpu() 113 void *vdso = dlopen("linux-vdso.so.1", in fill_function_pointers() 116 vdso = dlopen("linux-gate.so.1", in fill_function_pointers() 119 vdso = dlopen("linux-vdso32.so.1", in fill_function_pointers() 122 vdso = dlopen("linux-vdso64.so.1", in fill_function_pointers() 226 if (a->tv_sec != b->tv_sec) in ts_leq() [all …]
|
/linux/arch/arm/mach-sunxi/ |
H A D | headsmp.S | 1 /* SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2018 Chen-Yu Tsai 6 * Chen-Yu Tsai <wens@csie.org> 18 .arch armv7-a 20 * Enable cluster-level coherency, in preparation for turning on the MMU. 22 * Also enable regional clock gating and L2 data latency settings for 23 * Cortex-A15. These settings are from the vendor kernel. 34 /* The following is Cortex-A15 specific */ 36 /* ACTLR2: Enable CPU regional clock gates */ 43 /* Enable L2, GIC, and Timer regional clock gates */ [all …]
|
/linux/drivers/pwm/ |
H A D | pwm-sun4i.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2014 Alexandre Belloni <alexandre.belloni@free-electrons.com> 8 * - When outputing the source clock directly, the PWM logic will be bypassed 47 #define PWM_PRD(prd) (((prd) - 1) << 16) 100 return readl(sun4ichip->base + offset); in sun4i_pwm_readl() 106 writel(val, sun4ichip->base + offset); in sun4i_pwm_writel() 118 clk_rate = clk_get_rate(sun4ichip->clk); in sun4i_pwm_get_state() 120 return -EINVAL; in sun4i_pwm_get_state() 129 if ((val & BIT_CH(PWM_BYPASS, pwm->hwpwm)) && in sun4i_pwm_get_state() 130 sun4ichip->data->has_direct_mod_clk_output) { in sun4i_pwm_get_state() [all …]
|
/linux/drivers/crypto/ |
H A D | s5p-sss.c | 1 // SPDX-License-Identifier: GPL-2.0 10 // Hash part based on omap-sham.c driver. 14 #include <linux/dma-mapping.h> 145 #define SSS_REG(dev, reg) ((dev)->ioaddr + (SSS_REG_##reg)) 149 #define SSS_AES_REG(dev, reg) ((dev)->aes_ioaddr + SSS_REG_##reg) 211 * HASH bit numbers, used by device, setting in dev->hash_flags with 230 * struct samsung_aes_variant - platform specific SSS driver data 258 * struct s5p_aes_dev - Crypto device state container 260 * @clk: Clock for accessing hardware 261 * @pclk: APB bus clock necessary to access the hardware [all …]
|
/linux/tools/testing/selftests/rtc/ |
H A D | rtctest.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Real Time Clock Driver Test Program 33 self->fd = open(rtc_file, O_RDONLY); in FIXTURE_SETUP() 37 close(self->fd); in FIXTURE_TEARDOWN() 44 if (self->fd == -1 && errno == ENOENT) in TEST_F() 45 SKIP(return, "Skipping test since %s does not exist", rtc_file); in TEST_F() 46 ASSERT_NE(- in TEST_F() [all...] |