/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/Documentation/devicetree/bindings/mailbox/ |
H A D | fsl,mu.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Dong Aisheng <aisheng.dong@nxp.com> 22 registers (Processor A-facing, Processor B-facing). 27 - const: fsl,imx6sx-mu 28 - const: fsl,imx7ulp-mu 29 - const: fsl,imx8ulp-mu 30 - const: fsl,imx8-mu-scu 31 - const: fsl,imx8-mu-seco [all …]
|
/linux/drivers/gpu/drm/display/ |
H A D | drm_dp_helper.c | 77 return link_status[r - DP_LANE0_1_STATUS]; in dp_link_status() 151 /* DP 2.0 128b/132b */ 165 /* DP 2.0 errata for 128b/132b */ 185 /* DP 2.0 errata for 128b/132b */ 201 /* DP 2.0 errata for 128b/132b */ 210 /* DP 2.0 errata for 128b/132b */ 219 /* DP 2.0 errata for 128b/132b */ 231 drm_dbg_kms(aux->drm_dev, "%s: invalid AUX interval 0x%02x (max 4)\n", in __8b10b_clock_recovery_delay_us() 232 aux->name, rd_interval); in __8b10b_clock_recovery_delay_us() 243 drm_dbg_kms(aux->drm_dev, "%s: invalid AUX interval 0x%02x (max 4)\n", in __8b10b_channel_eq_delay_us() [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/drivers/gpu/drm/i915/gt/ |
H A D | intel_engine_user.c | 1 // SPDX-License-Identifier: MIT 19 struct rb_node *p = i915->uabi_engines.rb_node; in intel_engine_lookup_user() 25 if (class < it->uabi_class) in intel_engine_lookup_user() 26 p = p->rb_left; in intel_engine_lookup_user() 27 else if (class > it->uabi_class || in intel_engine_lookup_user() 28 instance > it->uabi_instance) in intel_engine_lookup_user() 29 p = p->rb_right; in intel_engine_lookup_user() 30 else if (instance < it->uabi_instance) in intel_engine_lookup_user() 31 p = p->rb_left; in intel_engine_lookup_user() 41 llist_add(&engine->uabi_llist, &engine->i915->uabi_engines_llist); in intel_engine_add_user() [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/thunderbolt/ |
H A D | acpi.c | 1 // SPDX-License-Identifier: GPL-2.0 26 fwnode = fwnode_find_reference(acpi_fwnode_handle(adev), "usb4-host-interface", 0); in tb_acpi_add_link() 31 if (dev_fwnode(&nhi->pdev->dev) != fwnode) in tb_acpi_add_link() 58 pm_runtime_get_sync(&pdev->dev); in tb_acpi_add_link() 60 link = device_link_add(&pdev->dev, &nhi->pdev->dev, in tb_acpi_add_link() 65 dev_dbg(&nhi->pdev->dev, "created link from %s\n", in tb_acpi_add_link() 66 dev_name(&pdev->dev)); in tb_acpi_add_link() 69 dev_warn(&nhi->pdev->dev, "device link creation from %s failed\n", in tb_acpi_add_link() 70 dev_name(&pdev->dev)); in tb_acpi_add_link() 73 pm_runtime_put(&pdev->dev); in tb_acpi_add_link() [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 -p options. 20 Usage: $name [-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). [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: 18 #include <media/ipu-bridge.h> 19 #include <media/v4l2-fwnode.h> 28 * 79234640-9e10-4fea-a5c1-b5aa8b19756f 52 * 822ace8f-2814-4174-a56b-5f029fe079ee 61 * dc2f6c4f-045b-4f1d-97b9-882a6860a4be 70 * 75c9a639-5c8a-4a00-9f48-a9c3b5da789f 94 * Once all sensors are moved to v4l2-async probing atomisp_gmin_platform.c can 110 /* _DSM contains the wrong CsiPort for the front facing OV5693 sensor */ [all …]
|
/linux/Documentation/networking/dsa/ |
H A D | dsa.rst | 22 An Ethernet switch typically comprises multiple front-panel ports and one 27 gateways, or even top-of-rack switches. This host Ethernet controller will 36 For each front-panel port, DSA creates specialized network devices which are 37 used as controlling and data-flowing endpoints for use by the Linux networking 46 - what port is this frame coming from 47 - what was the reason why this frame got forwarded 48 - how to send CPU originated traffic to specific ports 52 on Port-based VLAN IDs). 57 - the "cpu" port is the Ethernet switch facing side of the management 61 - the "dsa" port(s) are just conduits between two or more switches, and as such [all …]
|
/linux/Documentation/admin-guide/ |
H A D | reporting-issues.rst | 1 .. SPDX-License-Identifier: (GPL-2.0+ OR CC-BY-4.0) 11 Are you facing a regression with vanilla kernels from the same stable or 36 ensure it's vanilla (IOW: not patched and not using add-on modules). Also make 40 If you are facing multiple issues with the Linux kernel at once, report each 44 to pin-point the culprit with a bisection; if you succeed, include its 45 commit-id and CC everyone in the sign-off-by chain. 51 Step-by-step guide how to report issues to the kernel maintainers 58 step-by-step approach. It still tries to be brief for readability and leaves 59 out a lot of details; those are described below the step-by-step guide in a 68 * Are you facing an issue with a Linux kernel a hardware or software vendor [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/rust/kernel/init/ |
H A D | macros.rs | 1 // SPDX-License-Identifier: Apache-2.0 OR MIT 3 //! This module provides the macros that actually implement the proc-macros `pin_data` and 9 //! safe code! Use the public facing macros instead. 12 //! would make matters a lot easier for implementing these as proc-macros. 33 //! fn new(t: T) -> impl PinInit<Self> { 42 //! b: Bar<u32>, 55 //! b <- Bar::new(36), 59 //! This example includes the most common and important features of the pin-init API. 63 //! - use global paths, similarly to file paths, these start with the separator: `::core::panic!()` 66 //! - macro `unsafe` hygiene: we need to ensure that we do not expand arbitrary, user-supplied [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 61 #define PING_ARGS "-i 0.2 -c 3 -w 10 -q" 79 return -1; in write_file() 83 return -1; in write_file() 98 return -1; in netns_setup_namespaces() 101 return -1; in netns_setup_namespaces() 151 return -1; in get_ifaddr() 156 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 | xhci.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 19 #include <linux/io-64-nonatomic-lo-hi.h> 20 #include <linux/io-64-nonatomic-hi-lo.h> 22 /* Code sharing between pci-quirks and xhci hcd */ 23 #include "xhci-ext-caps.h" 24 #include "pci-quirks.h" 26 #include "xhci-port.h" 27 #include "xhci-caps.h" 35 /* Max number of USB devices for any host controller - limit in section 6.1 */ 37 /* Section 5.3.3 - MaxPorts */ [all …]
|
/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 67 /* these are outputs from the chip - integrated only 85 HDMI_AUDIO_OFF_DVI = -2, /* no aux data for HDMI-DVI converter */ 101 * create the DMA scatter-gather list for each FB color plane. This sg 113 * in the rotated and remapped GTT view all no-CCS formats (up to 2 217 * state. This must be called _after_ display->get_pipe_config has 218 * pre-filled the pipe config. Note that intel_encoder->base.crtc must 469 * When it rolls over re-auth has to be triggered. 477 * over re-Auth has to be triggered. 530 state of connector->polled in case hotplug storm detection changes it */ [all …]
|
/linux/drivers/net/dsa/ |
H A D | mt7530.c | 1 // SPDX-License-Identifier: GPL-2.0-only 81 if (priv->bus) in mt7530_mutex_lock() 82 mutex_lock_nested(&priv->bus->mdio_lock, MDIO_MUTEX_NESTED); in mt7530_mutex_lock() 88 if (priv->bus) in mt7530_mutex_unlock() 89 mutex_unlock(&priv->bus->mdio_lock); in mt7530_mutex_unlock() 95 struct mii_bus *bus = priv->bus; in core_write() 101 ret = bus->write(bus, MT753X_CTRL_PHY_ADDR(priv->mdiodev->addr), in core_write() 107 ret = bus->write(bus, MT753X_CTRL_PHY_ADDR(priv->mdiodev->addr), in core_write() 113 ret = bus->write(bus, MT753X_CTRL_PHY_ADDR(priv->mdiodev->addr), in core_write() 119 ret = bus->write(bus, MT753X_CTRL_PHY_ADDR(priv->mdiodev->addr), in core_write() [all …]
|
/linux/drivers/net/phy/ |
H A D | phylink.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * technologies such as SFP cages where the PHY is hot-pluggable. 44 * struct phylink - internal data type for phylink 61 u8 link_port; /* The current non-phy ethtool port */ 103 if ((pl)->config->type == PHYLINK_NETDEV) \ 104 netdev_printk(level, (pl)->netdev, fmt, ##__VA_ARGS__); \ 105 else if ((pl)->config->type == PHYLINK_DEV) \ 106 dev_printk(level, (pl)->dev, fmt, ##__VA_ARGS__); \ 118 if ((pl)->config->type == PHYLINK_NETDEV) \ 119 netdev_dbg((pl)->netdev, fmt, ##__VA_ARGS__); \ [all …]
|