| /linux/include/linux/platform_data/ |
| H A D | davinci_asp.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ 42 * _| RIGHT |______________________| 43 * _ _ _ _ _ _ _ _ 44 * _| |_| |_ x16 _| |_| |_| |_| |_ x16 _| |_| |_ 45 * _ _ _ _ _ _ _ _ 46 * _/ \_/ \_ ... _/ \_/ \_/ \_/ \_ ... _/ \_/ \_ 47 * \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ 51 * _| RIGHT |_______________________________| 52 * _ _ _ _ _ _ _ _ _ [all …]
|
| /linux/lib/crypto/arm/ |
| H A D | sha1-armv7-neon.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 /* sha1-armv7-neon.S - ARM/NEON accelerated SHA-1 transform function 4 * Copyright © 2013-2014 Jussi Kivilinna <jussi.kivilinna@iki.fi> 92 add e, e, a, ror #(32 - 5); \ 97 ror b, #(32 - 30); \ 106 add e, e, a, ror #(32 - 5); \ 110 ror b, #(32 - 30); \ 120 add e, e, a, ror #(32 - 5); \ 125 ror b, #(32 - 30); \ 148 /********* Precalc macros for rounds 0-15 *************************************/ [all …]
|
| /linux/drivers/gpu/drm/nouveau/include/nvhw/ |
| H A D | drf.h | 28 #define DRF_BITS(drf) (DRF_HI(drf) - DRF_LO(drf) + 1) 29 #define DRF_MASK(drf) (~0ULL >> (64 - DRF_BITS(drf))) 32 /* Helpers for DRF-MW accessors. */ 41 #define DRF_LW_HI(o,drf) (DRF_MW_SPANS((o),drf) ? (DRF_MW_SIZE(o) - 1) : DRF_HW_HI((o),drf)) 42 #define DRF_LW_BITS(o,drf) (DRF_LW_HI((o),drf) - DRF_LW_LO((o),drf) + 1) 43 #define DRF_LW_MASK(o,drf) (~0ULL >> (64 - DRF_LW_BITS((o),drf))) 53 #define DRF_HW_BITS(o,drf) (DRF_HW_HI((o),drf) - DRF_HW_LO((o),drf) + 1) 54 #define DRF_HW_MASK(o,drf) (~0ULL >> (64 - DRF_HW_BITS((o),drf))) 63 #define NVVAL_N(X,d,r,f, v) NVVAL_X(d##_##r##_##f, (v)) 64 #define NVVAL_I(X,d,r,f,i,v) NVVAL_X(d##_##r##_##f(i), (v)) [all …]
|
| /linux/drivers/pinctrl/qcom/ |
| H A D | pinctrl-sm6115-lpass-lpi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2016-2019, The Linux Foundation. All rights reserved. 11 #include "pinctrl-lpass-lpi.h" 84 LPI_PINGROUP(0, 0, swr_tx_clk, qua_mi2s_sclk, _, _), 85 LPI_PINGROUP(1, 2, swr_tx_data, qua_mi2s_ws, _, _), 86 LPI_PINGROUP(2, 4, swr_tx_data, qua_mi2s_data, _, _), 87 LPI_PINGROUP(3, 8, swr_rx_clk, qua_mi2s_data, _, _), 88 LPI_PINGROUP(4, 10, swr_rx_data, qua_mi2s_data, _, _), 89 LPI_PINGROUP(5, 12, swr_rx_data, _, qua_mi2s_data, _), 90 LPI_PINGROUP(6, LPI_NO_SLEW, dmic01_clk, i2s1_clk, _, _), [all …]
|
| H A D | pinctrl-sm8450-lpass-lpi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include "pinctrl-lpass-lpi.h" 121 LPI_PINGROUP(0, 0, swr_tx_clk, qua_mi2s_sclk, _, _), 122 LPI_PINGROUP(1, 2, swr_tx_data, qua_mi2s_ws, _, _), 123 LPI_PINGROUP(2, 4, swr_tx_data, qua_mi2s_data, _, _), 124 LPI_PINGROUP(3, 8, swr_rx_clk, qua_mi2s_data, _, _), 125 LPI_PINGROUP(4, 10, swr_rx_data, qua_mi2s_data, _, _), 126 LPI_PINGROUP(5, 12, swr_rx_data, ext_mclk1_c, qua_mi2s_data, _), 127 LPI_PINGROUP(6, LPI_NO_SLEW, dmic1_clk, i2s1_clk, _, _), 128 LPI_PINGROUP(7, LPI_NO_SLEW, dmic1_data, i2s1_ws, _, _), [all …]
|
| H A D | pinctrl-sm8550-lpass-lpi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2022-2023 Linaro Ltd. 10 #include "pinctrl-lpass-lpi.h" 128 LPI_PINGROUP(0, 0, swr_tx_clk, i2s0_clk, _, _), 129 LPI_PINGROUP(1, 2, swr_tx_data, i2s0_ws, _, _), 130 LPI_PINGROUP(2, 4, swr_tx_data, i2s0_data, _, _), 131 LPI_PINGROUP(3, 8, swr_rx_clk, i2s0_data, _, _), 132 LPI_PINGROUP(4, 10, swr_rx_data, i2s0_data, _, _), 133 LPI_PINGROUP(5, 12, swr_rx_data, ext_mclk1_c, i2s0_data, _), 134 LPI_PINGROUP(6, LPI_NO_SLEW, dmic1_clk, i2s1_clk, _, _), [all …]
|
| H A D | pinctrl-sm4250-lpass-lpi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2016-2019, The Linux Foundation. All rights reserved. 11 #include "pinctrl-lpass-lpi.h" 136 LPI_PINGROUP(0, 0, swr_tx_clk, qua_mi2s_sclk, _, _), 137 LPI_PINGROUP(1, 2, swr_tx_data, qua_mi2s_ws, _, _), 138 LPI_PINGROUP(2, 4, swr_tx_data, qua_mi2s_data, _, _), 139 LPI_PINGROUP(3, 8, swr_rx_clk, qua_mi2s_data, _, _), 140 LPI_PINGROUP(4, 10, swr_rx_data, qua_mi2s_data, _, _), 141 LPI_PINGROUP(5, 12, swr_rx_data, ext_mclk0_b, qua_mi2s_data, _), 142 LPI_PINGROUP(6, LPI_NO_SLEW, dmic01_clk, i2s1_clk, _, _), [all …]
|
| H A D | pinctrl-sm8650-lpass-lpi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2022-2023 Linaro Ltd. 10 #include "pinctrl-lpass-lpi.h" 132 LPI_PINGROUP(0, 11, swr_tx_clk, i2s0_clk, _, _), 133 LPI_PINGROUP(1, 11, swr_tx_data, i2s0_ws, _, _), 134 LPI_PINGROUP(2, 11, swr_tx_data, i2s0_data, _, _), 135 LPI_PINGROUP(3, 11, swr_rx_clk, i2s0_data, _, _), 136 LPI_PINGROUP(4, 11, swr_rx_data, i2s0_data, _, _), 137 LPI_PINGROUP(5, 11, swr_rx_data, ext_mclk1_c, i2s0_data, _), 138 LPI_PINGROUP(6, LPI_NO_SLEW, dmic1_clk, i2s1_clk, _, _), [all …]
|
| H A D | pinctrl-sc7280-lpass-lpi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2020-2021, The Linux Foundation. All rights reserved. 4 * ALSA SoC platform-machine driver for QTi LPASS 11 #include "pinctrl-lpass-lpi.h" 80 LPI_PINGROUP(0, 0, swr_tx_clk, qua_mi2s_sclk, _, _), 81 LPI_PINGROUP(1, 2, swr_tx_data, qua_mi2s_ws, _, _), 82 LPI_PINGROUP(2, 4, swr_tx_data, qua_mi2s_data, _, _), 83 LPI_PINGROUP(3, 8, swr_rx_clk, qua_mi2s_data, _, _), 84 LPI_PINGROUP(4, 10, swr_rx_data, qua_mi2s_data, _, _), 85 LPI_PINGROUP(5, 12, swr_rx_data, _, _, _), [all …]
|
| H A D | pinctrl-sc8280xp-lpass-lpi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include "pinctrl-lpass-lpi.h" 103 LPI_PINGROUP(0, 0, swr_tx_clk, qua_mi2s_sclk, _, _), 104 LPI_PINGROUP(1, 2, swr_tx_data, qua_mi2s_ws, _, _), 105 LPI_PINGROUP(2, 4, swr_tx_data, qua_mi2s_data, _, _), 106 LPI_PINGROUP(3, 8, swr_rx_clk, qua_mi2s_data, _, _), 107 LPI_PINGROUP(4, 10, swr_rx_data, qua_mi2s_data, _, _), 108 LPI_PINGROUP(5, 12, swr_rx_data, ext_mclk1_c, qua_mi2s_data, _), 109 LPI_PINGROUP(6, LPI_NO_SLEW, dmic1_clk, i2s1_clk, _, _), 110 LPI_PINGROUP(7, LPI_NO_SLEW, dmic1_data, i2s1_ws, _, _), [all …]
|
| H A D | pinctrl-sm8350-lpass-lpi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2016-2019, The Linux Foundation. All rights reserved. 4 * Copyright (c) 2020-2023 Linaro Ltd. 11 #include "pinctrl-lpass-lpi.h" 80 LPI_PINGROUP(0, 0, swr_tx_clk, qua_mi2s_sclk, _, _), 81 LPI_PINGROUP(1, 2, swr_tx_data, qua_mi2s_ws, _, _), 82 LPI_PINGROUP(2, 4, swr_tx_data, qua_mi2s_data, _, _), 83 LPI_PINGROUP(3, 8, swr_rx_clk, qua_mi2s_data, _, _), 84 LPI_PINGROUP(4, 10, swr_rx_data, qua_mi2s_data, _, _), 85 LPI_PINGROUP(5, 12, swr_tx_data, swr_rx_data, _, _), [all …]
|
| H A D | pinctrl-sm8250-lpass-lpi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2016-2019, The Linux Foundation. All rights reserved. 11 #include "pinctrl-lpass-lpi.h" 79 LPI_PINGROUP(0, 0, swr_tx_clk, qua_mi2s_sclk, _, _), 80 LPI_PINGROUP(1, 2, swr_tx_data, qua_mi2s_ws, _, _), 81 LPI_PINGROUP(2, 4, swr_tx_data, qua_mi2s_data, _, _), 82 LPI_PINGROUP(3, 8, swr_rx_clk, qua_mi2s_data, _, _), 83 LPI_PINGROUP(4, 10, swr_rx_data, qua_mi2s_data, _, _), 84 LPI_PINGROUP(5, 12, swr_tx_data, swr_rx_data, _, _), 85 LPI_PINGROUP(6, LPI_NO_SLEW, dmic1_clk, i2s1_clk, _, _), [all …]
|
| /linux/scripts/ |
| H A D | tags.sh | 2 # SPDX-License-Identifier: GPL-2.0-only 12 set -x 15 # RCS_FIND_IGNORE has escaped ()s -- remove them. 18 ignore="$ignore ( -name *.mod.c ) -prune -o" 21 if [ -n "${IGNORE_DIRS}" ]; then 23 ignore="${ignore} ( -path $i ) -prune -o" 28 # to force full paths for a non-O= build 29 if [ "${srctree}" = "." -o -z "${srctree}" ]; then 37 # the kernel source tree, index all files in absolute-path form. 38 if [[ "$1" == "gtags" && -n "${tree}" ]]; then [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | item.h | 1 /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */ 2 /* Copyright (c) 2015-2018 Mellanox Technologies. All rights reserved */ 29 BUG_ON(index && !item->step); in __mlxsw_item_offset() 30 if (item->offset % typesize != 0 || in __mlxsw_item_offset() 31 item->step % typesize != 0 || in __mlxsw_item_offset() 32 item->in_step_offset % typesize != 0) { in __mlxsw_item_offset() 34 item->name, item->offset, item->step, in __mlxsw_item_offset() 35 item->in_step_offset, typesize); in __mlxsw_item_offset() 39 return ((item->offset + item->step * index + item->in_step_offset) / in __mlxsw_item_offset() 52 tmp >>= item->shift; in __mlxsw_item_get8() [all …]
|
| /linux/drivers/thermal/qcom/ |
| H A D | tsens.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 49 * struct tsens_sensor - data for each sensor connected to the tsens device 53 * @hw_id: HW ID can be used in case of platform-specific IDs 55 * @status: 8960-specific variable to track 8960 and 8660 status register offset 69 * struct tsens_ops - operations as supported by the tsens device 91 [_name##_##0] = REG_FIELD(_offset, _startbit, _stopbit), \ 92 [_name##_##1] = REG_FIELD(_offset + 4, _startbit, _stopbit), \ 93 [_name##_##2] = REG_FIELD(_offset + 8, _startbit, _stopbit), \ 94 [_name##_##3] = REG_FIELD(_offset + 12, _startbit, _stopbit), \ 95 [_name##_##4] = REG_FIELD(_offset + 16, _startbit, _stopbit), \ [all …]
|
| /linux/tools/power/cpupower/utils/ |
| H A D | cpuidle-info.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * (C) 2004-2009 Dominik Brodowski <linux@dominikbrodowski.de> 30 printf(_("CPU %u: No idle states\n"), cpu); in cpuidle_cpu_output() 34 printf(_("Number of idle states: %d\n"), idlestates); in cpuidle_cpu_output() 35 printf(_("Available idle states:")); in cpuidle_cpu_output() 62 printf(_("Flags/Description: %s\n"), tmp); in cpuidle_cpu_output() 65 printf(_("Latency: %lu\n"), in cpuidle_cpu_output() 67 printf(_("Residency: %lu\n"), in cpuidle_cpu_output() 69 printf(_("Usage: %lu\n"), in cpuidle_cpu_output() 71 printf(_("Duration: %llu\n"), in cpuidle_cpu_output() [all …]
|
| H A D | cpufreq-info.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * (C) 2004-2009 Dominik Brodowski <linux@dominikbrodowski.de> 32 …printf(_("Couldn't count the number of CPUs (%s: %s), assuming 1\n"), "/proc/stat", strerror(errno… in count_cpus() 39 value[LINE_LEN - 1] = '\0'; in count_cpus() 40 if (strlen(value) < (LINE_LEN - 2)) in count_cpus() 64 printf(_(" minimum CPU frequency - maximum CPU frequency - governor\n")); in proc_cpufreq_output() 75 min_pctg = (policy->min * 100) / max; in proc_cpufreq_output() 76 max_pctg = (policy->max * 100) / max; in proc_cpufreq_output() 78 printf("CPU%3d %9lu kHz (%3d %%) - %9lu kHz (%3d %%) - %s\n", in proc_cpufreq_output() 79 cpu , policy->min, max ? min_pctg : 0, policy->max, in proc_cpufreq_output() [all …]
|
| /linux/drivers/gpu/drm/xe/abi/ |
| H A D | guc_klvs_abi.h | 1 /* SPDX-License-Identifier: MIT */ 14 * +---+-------+--------------------------------------------------------------+ 17 * | 0 | 31:16 | **KEY** - KLV key identifier | 18 * | | | - `GuC Self Config KLVs`_ | 19 * | | | - `GuC Opt In Feature KLVs`_ | 20 * | | | - `GuC Scheduling Policies KLVs`_ | 21 * | | | - `GuC VGT Policy KLVs`_ | 22 * | | | - `GuC VF Configuration KLVs`_ | 24 * | +-------+--------------------------------------------------------------+ 25 * | | 15:0 | **LEN** - length of VALUE (in 32bit dwords) | [all …]
|
| H A D | guc_relay_communication_abi.h | 1 /* SPDX-License-Identifier: MIT */ 21 * To communicate with the PF driver, VF's drivers use `VF2GUC_RELAY_TO_PF`_ 22 * action that takes the `Relay Message`_ as opaque payload and requires the 27 * The GuC forwards this `Relay Message`_ and its identifier to the PF driver 28 * in `GUC2PF_RELAY_FROM_VF`_ action. This event message additionally contains 32 * `VF2GUC_RELAY_TO_PF`_ action that in addition to the `Relay Message`_ 36 * `GUC2VF_RELAY_FROM_PF`_ with the embedded `Relay Message`_ with response:: 41 * [ ]---------------------------> [ ] | 44 * [ ] [ ]---------------------------> [ ] 48 * [ ] [ ] <---------------------------[ ] [all …]
|
| /linux/Documentation/admin-guide/ |
| H A D | perf-security.rst | 7 -------- 9 Usage of Performance Counters for Linux (perf_events) [1]_ , [2]_ , [3]_ 12 direct usage of perf_events system call API [2]_ and over data files 13 generated by Perf tool user mode utility (Perf) [3]_ , [4]_ . The risk 15 units (PMU) [2]_ and Perf collect and expose for performance analysis. 31 (PMC) [8]_ and machine specific registers (MSR) [9]_ that provide 47 the subject for security access control management [5]_ . 50 ------------------------------- 53 into two categories [6]_ : a) privileged processes (whose effective user 61 based on the process's credentials [5]_ (usually: effective UID, [all …]
|
| /linux/Documentation/admin-guide/hw-vuln/ |
| H A D | rsb.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 RSB-related mitigations 8 Please keep this document up-to-date, otherwise you will be 17 amongst a myriad of microarchitecture-specific documents. 20 once place and clarify the reasoning behind the current RSB-related 22 the current kernel mitigations: what are the RSB-related attack vectors 39 ---- 47 RSB poisoning is a technique used by SpectreRSB [#spectre-rsb]_ where 49 to speculate to an attacker-controlled address. This can happen when 54 [#intel-rsb-filling]_ [#amd-rsb-filling]_ when transitioning between [all …]
|
| /linux/arch/powerpc/crypto/ |
| H A D | ppc-xlate.pl | 2 # SPDX-License-Identifier: GPL-2.0 22 $name =~ s|^[\.\_]||; 28 /osx/ && do { $name = "_$name"; 51 $arch = ($flavour=~/64/) ? "ppc970-64" : "ppc970" if ($arch eq "any"); 58 my $name = shift; $name =~ s|^[\.\_]||; 59 my $ret = ".size $name,.-".($flavour=~/64$/?".":"").$name; 60 $ret .= "\n.size .$name,.-.$name" if ($flavour=~/64$/); 68 my $line = join(",",@_); 78 for (@_) { 79 if (/^0x([0-9a-f]*?)([0-9a-f]{1,8})$/io) [all …]
|
| /linux/Documentation/translations/zh_TW/admin-guide/ |
| H A D | tainted-kernels.rst | 1 .. SPDX-License-Identifier: GPL-2.0 3 .. include:: ../disclaimer-zh_TW.rst 5 :Original: :doc:`../../../admin-guide/tainted-kernels` 13 ------------- 36 CPU: 0 PID: 4424 Comm: insmod Tainted: P W O 4.20.0-0.rc6.fc30 #1 41 如果內核在事件發生時沒有被污染,您將在那裏看到“Not-tainted:”;如果被污染,那 56 這個數字的最簡單方法是使用腳本 ``tools/debugging/kernel-chktaint`` ,您的 57 發行版可能會將其作爲名爲 ``linux-tools`` 或 ``kernel-tools`` 的包的一部分提 59 …git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/plain/tools/debugging/kernel-chktaint>`_ 60 網站下載此腳本並用 ``sh kernel-chktaint`` 執行,它會在上面引用的日誌中有類似 [all …]
|
| /linux/Documentation/translations/zh_CN/admin-guide/ |
| H A D | tainted-kernels.rst | 1 .. include:: ../disclaimer-zh_CN.rst 3 :Original: :doc:`../../../admin-guide/tainted-kernels` 10 ------------- 33 CPU: 0 PID: 4424 Comm: insmod Tainted: P W O 4.20.0-0.rc6.fc30 #1 38 如果内核在事件发生时没有被污染,您将在那里看到“Not-tainted:”;如果被污染,那 53 这个数字的最简单方法是使用脚本 ``tools/debugging/kernel-chktaint`` ,您的 54 发行版可能会将其作为名为 ``linux-tools`` 或 ``kernel-tools`` 的包的一部分提 56 …git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/plain/tools/debugging/kernel-chktaint>`_ 57 网站下载此脚本并用 ``sh kernel-chktaint`` 执行,它会在上面引用的日志中有类似 63 * Externally-built ('out-of-tree') module was loaded (#12) [all …]
|
| /linux/Documentation/mm/damon/ |
| H A D | maintainer-profile.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 linux-mm@kvack.org. Patches should be made against the `mm-new tree 11 <https://git.kernel.org/akpm/mm/h/mm-new>`_ whenever possible and posted to the 15 --------- 19 <https://git.kernel.org/sj/h/damon/next>`_ by the DAMON maintainer. 20 Sufficiently reviewed patches will be queued in `mm-new 21 <https://git.kernel.org/akpm/mm/h/mm-new>`_ by the memory management subsystem 23 `mm-unstable <https://git.kernel.org/akpm/mm/h/mm-unstable>`_ and then to 24 `mm-stable <https://git.kernel.org/akpm/mm/h/mm-stable>`_. And finally those 25 will be pull-requested to the mainline by the memory management subsystem [all …]
|