| /linux/Documentation/dev-tools/ |
| H A D | checkuapi.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 7 The UAPI checker (``scripts/check-uapi.sh``) is a shell script which 8 checks UAPI header files for userspace backwards-compatibility across 14 This section will describe the options with which ``check-uapi.sh`` 19 check-uapi.sh [-b BASE_REF] [-p PAST_REF] [-j N] [-l ERROR_LOG] [-i] [-q] [-v] 23 -b BASE_REF Base git reference to use for comparison. If unspecified or empty, 26 -p PAST_REF Compare BASE_REF to PAST_REF (e.g. -p v6.1). If unspecified or empty, 29 -j JOBS Number of checks to run in parallel (default: number of CPU cores). 30 -l ERROR_LOG Write error log to file (default: no error log is generated). 31 -i Ignore ambiguous changes that may or may not break UAPI compatibility. [all …]
|
| /linux/arch/mips/boot/dts/loongson/ |
| H A D | loongson64-2k1000.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 /dts-v1/; 5 #include <dt-bindings/interrupt-controller/irq.h> 10 #address-cells = <2>; 11 #size-cells = <2>; 14 #address-cells = <1>; 15 #size-cells = <0>; 21 #clock-cells = <1>; 27 #clock-cells = <0>; 28 compatible = "fixed-clock"; [all …]
|
| /linux/include/net/psp/ |
| H A D | functions.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 15 /* Driver-facing API */ 24 /* Kernel-facing API */ 29 return pas->drv_data; in psp_assoc_drv_data() 41 return rcu_dereference_check(sk->psp_assoc, lockdep_sock_is_held(sk)); in psp_sk_assoc() 50 if (pas && pas->tx.spi) in psp_enqueue_set_decrypted() 51 skb->decrypted = 1; in psp_enqueue_set_decrypted() 58 struct psp_skb_ext *a, *b; in __psp_skb_coalesce_diff() local 61 b = skb_ext_find(two, SKB_EXT_PSP); in __psp_skb_coalesce_diff() 63 diffs |= (!!a) ^ (!!b); in __psp_skb_coalesce_diff() [all …]
|
| /linux/tools/lib/bpf/ |
| H A D | libbpf_common.h | 1 /* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */ 4 * Common user-facing libbpf helpers. 40 * number of arguments provided by used in backwards-compatible way during the 45 #define ___libbpf_cat(A, B) A ## B argument 60 * Macro declares opts struct of given type and name, zero-initializes, 62 * values provided by users in struct initializer-syntax as varargs. 76 * structure size member. Values provided by users in struct initializer-
|
| /linux/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3399-gru-scarlet.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Google Gru-scarlet board device tree source 8 #include "rk3399-gru.dtsi" 11 chassis-type = "tablet"; 16 pp1250_s3: regulator-pp1250-s3 { 17 compatible = "regulator-fixed"; 18 regulator-name = "pp1250_s3"; 21 regulator-always-on; 22 regulator-boot-on; 23 regulator-min-microvolt = <1250000>; [all …]
|
| /linux/arch/arm/boot/dts/intel/ixp/ |
| H A D | intel-ixp42x-linksys-wrv54g.dts | 1 // SPDX-License-Identifier: ISC 9 /dts-v1/; 11 #include "intel-ixp42x.dtsi" 12 #include <dt-bindings/input/input.h> 17 #address-cells = <1>; 18 #size-cells = <1>; 28 stdout-path = "uart1:115200n8"; 39 compatible = "gpio-leds"; 40 led-power { 43 default-state = "on"; [all …]
|
| /linux/Documentation/arch/x86/ |
| H A D | earlyprintk.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 Mini-HOWTO for using the earlyprintk=dbgp boot option with a 13 [host/target] <-------> [USB debug key] <-------> [client/console] 21 the lspci -vvv output:: 23 # lspci -vvv 25 …roller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03) (prog-if 20 [EHCI]) 27 …Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisIN… 28 …Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- I… 31 Region 0: Memory at fe227000 (32-bit, non-prefetchable) [size=1K] 33 Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+) [all …]
|
| /linux/drivers/extcon/ |
| H A D | extcon-usbc-tusb320.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * drivers/extcon/extcon-tusb320.c - TUSB320 extcon driver 10 #include <linux/extcon-provider.h> 90 [TUSB320_ATTACHED_STATE_DFP] = "downstream facing port", 91 [TUSB320_ATTACHED_STATE_UFP] = "upstream facing port", 103 static const char sig[] = { '\0', 'T', 'U', 'S', 'B', '3', '2', '0' }; in tusb320_check_signature() 108 ret = regmap_read(priv->regmap, sizeof(sig) - 1 - i, &val); in tusb320_check_signature() 112 dev_err(priv->dev, "signature mismatch!\n"); in tusb320_check_signature() 113 return -ENODEV; in tusb320_check_signature() 125 if (priv->state != TUSB320_ATTACHED_STATE_NONE) in tusb320_set_mode() [all …]
|
| /linux/drivers/staging/media/atomisp/pci/ |
| H A D | atomisp_csi2_bridge.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * Based on drivers/media/pci/intel/ipu3/cio2-bridge.c written by: 19 #include <media/ipu-bridge.h> 20 #include <media/v4l2-fwnode.h> 29 * dc2f6c4f-045b-4f1d-97b9-882a6860a4be 38 * 75c9a639-5c8a-4a00-9f48-a9c3b5da789f 62 * Once all sensors are moved to v4l2-async probing atomisp_gmin_platform.c can 78 /* _DSM contains the wrong CsiPort for the front facing OV5693 sensor */ 80 /* _DSM contains the wrong CsiLanes for the back facing T4KA3 sensor */ 90 DMI_MATCH(DMI_PRODUCT_VERSION, "MIIX 310-10"), [all …]
|
| /linux/scripts/ |
| H A D | check-uapi.sh | 2 # SPDX-License-Identifier: GPL-2.0-only 5 set -o errexit 6 set -o pipefail 11 $name - check for UAPI header stability across Git commits 15 check against additional commit ranges with the -b and - [all...] |
| /linux/rust/syn/ |
| H A D | buffer.rs | 1 // SPDX-License-Identifier: Apache-2.0 OR MIT 7 // Syn, and caution should be used when editing it. The public-facing interface 20 // Mimicking types from proc-macro. 35 // NOTE: Do not implement clone on this - while the current design could be 52 let group_offset = group_end_index - group_start_index; in recursive_new() 54 -(group_end_index as isize), in recursive_new() 55 -(group_offset as isize), in recursive_new() 65 #[cfg(feature = "proc-macro")] 66 #[cfg_attr(docsrs, doc(cfg(feature = "proc-macro")))] 67 pub fn new(stream: proc_macro::TokenStream) -> Self { in new() [all …]
|
| /linux/drivers/dma-buf/ |
| H A D | dma-fence.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Fence mechanism for dma-buf and to allow for asynchronous dma access 16 #include <linux/dma-fence.h> 49 * Since the purposes of fences is to facilitate cross-device and 50 * cross-application synchronization, there's multiple ways to use one: 52 * - Individual fences can be exposed as a &sync_file, accessed as a file 57 * - Some subsystems also have their own explicit fencing primitives, like 61 * - Then there's also implicit fencing, where the synchronization points are 68 * DOC: fence cross-driver contract 76 * further command submission and force complete all in-flight fences, e.g. [all …]
|
| /linux/include/linux/qed/ |
| H A D | common_hsi.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ 3 * Copyright (c) 2015-2016 QLogic Corporation 4 * Copyright (c) 2019-2021 Marvell International Ltd. 132 /* Traffic classes in network-facing blocks (PBF, BTB, NIG, BRB, PRS and QM) */ 334 (DQ_PWM_OFFSET_TCM32_BASE + DQ_TCM_AGG_VAL_SEL_REG9 - 4) 382 #define QM_LINE_CRD_REG_SIGN_BIT BIT((QM_LINE_CRD_REG_WIDTH - 1)) 384 #define QM_BYTE_CRD_REG_SIGN_BIT BIT((QM_BYTE_CRD_REG_WIDTH - 1)) 386 #define QM_WFQ_CRD_REG_SIGN_BIT BIT((QM_WFQ_CRD_REG_WIDTH - 1)) 388 #define QM_RL_CRD_REG_SIGN_BIT BIT((QM_RL_CRD_REG_WIDTH - 1)) 467 PXP_PF_WINDOW_ADMIN_LENGTH - 1) [all …]
|
| /linux/drivers/xen/xenbus/ |
| H A D | xenbus_client.c | 2 * Client-facing interface for the Xenbus driver. In other words, the 3 * interface between the Xenbus and the device-specific code, be it the 115 * xenbus_watch_path - register a watch 125 * On success, the given @path will be saved as @watch->node, and remains the 126 * caller's to free. On error, @watch->node will be NULL, the device will 129 * Returns: %0 on success or -errno on error 140 watch->node = path; in xenbus_watch_path() 141 watch->will_handle = will_handle; in xenbus_watch_path() 142 watch->callback = callback; in xenbus_watch_path() 147 watch->node = NULL; in xenbus_watch_path() [all …]
|
| /linux/drivers/i2c/busses/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 16 for Cypress CCGx Type-C controller. Individual bus drivers 25 controller is part of the 7101 device, which is an ACPI-compliant 29 will be called i2c-ali1535. 37 controller is part of the 7101 device, which is an ACPI-compliant 41 will be called i2c-ali1563. 51 will be called i2c-ali15x3. 63 will be called i2c-amd756. 73 will be called i2c-amd8111. 83 be called i2c-amd-mp2-pci and i2c-amd-mp2-plat. [all …]
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | tc_redirect.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 4 * This test sets up 3 netns (src <-> fwd <-> dst). There is no direct veth link 7 * host facing veth in fwd which calls into i) bpf_redirect_neigh() to perform the 63 #define PING_ARGS "-i 0.2 -c 3 -w 10 -q" 81 return -1; in write_file() 85 return -1; in write_file() 100 return -1; in netns_setup_namespaces() 103 return -1; in netns_setup_namespaces() 153 return -1; in get_ifaddr() 158 return -1; in get_ifaddr() [all …]
|
| /linux/drivers/usb/host/ |
| H A D | octeon-hcd.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 * Copyright (c) 2003-2010 Cavium Networks (support@cavium.com). All rights 104 * This register can be used to configure the core after power-on or a change in 105 * mode of operation. This register mainly contains AHB system-related 126 * @nptxfemplvl: Non-Periodic TxFIFO Empty Level (NPTxFEmpLvl) 128 * Indicates when the Non-Periodic TxFIFO Empty Interrupt bit in 131 * * 1'b0: GINTSTS.NPTxFEmp interrupt indicates that the Non- 133 * * 1'b1: GINTSTS.NPTxFEmp interrupt indicates that the Non- 172 * This value is in terms of 32-bit words. 211 * - ... [all …]
|
| H A D | oxu210hp-hcd.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * This code is *strongly* based on EHCI-HCD code by David Brownell since 7 * the chip is a quasi-EHCI compatible. 26 #include <linux/dma-mapping.h> 83 #define EHCI_TUNE_CERR 3 /* 0-3 qtd retries; 0 == don't stop */ 86 #define EHCI_TUNE_MULT_HS 1 /* 1-3 transactions/uframe; 4.10.3 */ 102 u32 hcs_params; /* HCSPARAMS - offset 0x4 */ 111 u32 hcc_params; /* HCCPARAMS - offset 0x8 */ 117 #define HCC_64BIT_ADDR(p) ((p)&(1)) /* true: can use 64-bit addr */ 118 u8 portroute[8]; /* nibbles for routing - offset 0xC */ [all …]
|
| /linux/rust/pin-init/src/ |
| H A D | macros.rs | |
| /linux/arch/arm64/boot/dts/qcom/ |
| H A D | sc8280xp-lenovo-thinkpad-x13s.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 7 /dts-v1/; 9 #include <dt-bindings/iio/qcom,spmi-adc7-pm8350.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/gpio-keys.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/leds/common.h> 14 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 17 #include "sc8280xp-pmics.dtsi" 21 compatible = "lenovo,thinkpad-x13s", "qcom,sc8280xp"; [all …]
|
| /linux/drivers/gpu/drm/i915/display/ |
| H A D | intel_display_types.h | 3 * Copyright (c) 2007-2008 Intel Corporation 71 /* these are outputs from the chip - integrated only 89 HDMI_AUDIO_OFF_DVI = -2, /* no aux data for HDMI-DVI converter */ 105 * create the DMA scatter-gather list for each FB color plane. This sg 117 * in the rotated and remapped GTT view all no-CCS formats (up to 2 225 * state. This must be called _after_ display->get_pipe_config has 226 * pre-filled the pipe config. Note that intel_encoder->base.crtc must 482 * When it rolls over re-aut [all...] |
| /linux/drivers/net/dsa/ |
| H A D | mt7530.c | 1 // SPDX-License-Identifier: GPL-2.0-only 52 if (priv->bus) in mt7530_mutex_lock() 53 mutex_lock_nested(&priv->bus->mdio_lock, MDIO_MUTEX_NESTED); in mt7530_mutex_lock() 59 if (priv->bus) in mt7530_mutex_unlock() 60 mutex_unlock(&priv->bus->mdio_lock); in mt7530_mutex_unlock() 66 struct mii_bus *bus = priv->bus; in core_write() 72 ret = bus->write(bus, MT753X_CTRL_PHY_ADDR(priv->mdiodev->addr), in core_write() 78 ret = bus->write(bus, MT753X_CTRL_PHY_ADDR(priv->mdiodev->addr), in core_write() 84 ret = bus->write(bus, MT753X_CTRL_PHY_ADDR(priv->mdiodev->addr), in core_write() 90 ret = bus->write(bus, MT753X_CTRL_PHY_ADDR(priv->mdiodev->addr), in core_write() [all …]
|
| /linux/drivers/iommu/intel/ |
| H A D | iommu.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright © 2006-2014 Intel Corporation. 17 #include <linux/dma-direct.h> 21 #include <linux/pci-ats.h> 28 #include "../dma-iommu.h" 30 #include "../iommu-pages.h" 38 #define IS_USB_DEVICE(pdev) ((pdev->class >> 8) == PCI_CLASS_SERIAL_USB) 39 #define IS_ISA_DEVICE(pdev) ((pdev->class >> 8) == PCI_CLASS_BRIDGE_ISA) 40 #define IS_AZALIA(pdev) ((pdev)->vendor == 0x8086 && (pdev)->device == 0x3a3e) 53 #define rwbf_required(iommu) (rwbf_quirk || cap_rwbf((iommu)->cap)) [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-bus-iio | 3 Contact: linux-iio@vger.kernel.org 11 Contact: linux-iio@vger.kernel.org 25 Contact: linux-iio@vger.kernel.org 31 Contact: linux-iio@vger.kernel.org 38 Contact: linux-iio@vger.kernel.org 44 The contents of the label are free-form, but there are some 51 * "proximity-wifi" 52 * "proximity-lte" 53 * "proximity-wifi-lte" 54 * "proximity-wifi-left" [all …]
|
| /linux/drivers/usb/fotg210/ |
| H A D | fotg210-hcd.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /* Faraday FOTG210 EHCI-like driver 6 * Author: Yuan-Hsin Chen <yhchen@faraday-tech.com> 7 * Feng-Hsin Chiang <john453@faraday-tech.com> 8 * Po-Yu Chuang <ratbert.chuang@gmail.com> 10 * Most of code borrowed from the Linux-3.7 EHCI driver 29 #include <linux/dma-mapping.h> 49 #define FOTG210_TUNE_CERR 3 /* 0-3 qtd retries; 0 == don't stop */ 52 #define FOTG210_TUNE_MULT_HS 1 /* 1-3 transactions/uframe; 4.10.3 */ 60 #define FOTG210_TUNE_FLS 1 /* (medium) 512-frame schedule */ [all …]
|