| /linux/Documentation/devicetree/bindings/leds/ |
| H A D | leds-bcm6328.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/leds/leds-bcm6328.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Álvaro Fernández Rojas <noltari@gmail.com> 17 as spi-gpio. See 21 exporting the 74x164 as spi-gpio prevents those LEDs to be hardware 25 should be controlled by a hardware signal instead of the MODE register value, 27 is usually 1:1 for hardware to LED signals, but through the activity/link 29 explained later in brcm,link-signal-sources). Even if a LED is hardware [all …]
|
| /linux/arch/mips/boot/dts/brcm/ |
| H A D | bcm63268-comtrend-vr-3032u.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 7 compatible = "comtrend,vr-3032u", "brcm,bcm63268"; 8 model = "Comtrend VR-3032u"; 17 stdout-path = &uart0; 23 brcm,serial-leds; 24 brcm,serial-dat-low; 25 brcm,serial-shift-inv; 29 brcm,hardware-controlled; 30 brcm,link-signal-sources = <0>; [all …]
|
| /linux/drivers/leds/ |
| H A D | leds-bcm6328.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Driver for BCM6328 memory-mapped LEDs, based on leds-syscon.c 59 * struct bcm6328_led - state container for bcm6328 based LEDs 98 * bits [31:0] -> LEDs 8-23 99 * bits [47:32] -> LEDs 0-7 100 * bits [63:48] -> unused 105 return pin + 16; /* LEDs 0-7 (bits 47:32) */ in bcm6328_pin2shift() 107 return pin - 8; /* LEDs 8-23 (bits 31:0) */ in bcm6328_pin2shift() 115 shift = bcm6328_pin2shift(led->pin); in bcm6328_led_mode() 117 mode = led->mem + BCM6328_REG_MODE_HI; in bcm6328_led_mode() [all …]
|
| /linux/Documentation/userspace-api/media/mediactl/ |
| H A D | media-types.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _media-controller-types: 10 .. _media-entity-functions: 11 .. _MEDIA-ENT-F-UNKNOWN: 12 .. _MEDIA-ENT-F-V4L2-SUBDEV-UNKNOWN: 13 .. _MEDIA-ENT-F-IO-V4L: 14 .. _MEDIA-ENT-F-IO-VBI: 15 .. _MEDIA-ENT-F-IO-SWRADIO: 16 .. _MEDIA-ENT-F-IO-DTV: 17 .. _MEDIA-ENT-F-DTV-DEMOD: [all …]
|
| /linux/drivers/comedi/drivers/ |
| H A D | ni_routes.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 6 * COMEDI - Linux Control and Measurement Device Interface 33 * struct ni_route_set - Set of destinations with a common source. 34 * @dest: Destination of all sources in this route set. 35 * @n_src: Number of sources for this route set. 36 * @src: List of sources that all map to the same destination. 45 * struct ni_device_routes - List of all src->dest sets for a particular device. 46 * @device: Name of board/device (e.g. pxi-6733). 57 * struct ni_route_tables - Register values and valid routes for a device. 62 * Link to the valid src->dest routes and the register values used to assign [all …]
|
| /linux/Documentation/devicetree/bindings/pci/ |
| H A D | snps,dw-pcie-common.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/snps,dw-pcie-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jingoo Han <jingoohan1@gmail.com> 11 - Gustavo Pimentel <gustavo.pimentel@synopsys.com> 23 Interface - DBI. In accordance with the reference manual the register 24 configuration space belongs to the Configuration-Dependent Module (CDM) 25 and is split up into several sub-parts Standard PCIe configuration 26 space, Port Logic Registers (PL), Shadow Config-space Registers, [all …]
|
| /linux/Documentation/sound/hd-audio/ |
| H A D | realtek-pc-beep.rst | 20 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 24 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 43 into 21h (headphone jack on my machine). Mixed signal respects the mute 48 into 14h (internal speaker on my machine). Mixed signal **ignores** the mute 58 +--DIV--+--!DIV--+ {1Ah boost control} 60 +--(b == 0)--+--(b != 0)--+ 70 +-----!h-----+-----S-----+ 79 All Realtek HDA codecs have a vendor-defined widget with node ID 20h which 92 Specifically, it selects between two sources for the input pin widget with Node 93 ID (NID) 1Ah: the widget's signal can come either from an audio jack (on my [all …]
|
| /linux/drivers/media/i2c/ |
| H A D | max9286.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (C) 2017-2019 Jacopo Mondi 6 * Copyright (C) 2017-2019 Kieran Bingham 7 * Copyright (C) 2017-2019 Laurent Pinchart 8 * Copyright (C) 2017-2019 Niklas Söderlund 20 #include <linux/i2c-mux.h> 26 #include <media/v4l2-async.h> 27 #include <media/v4l2-ctrls.h> 28 #include <media/v4l2-device.h> 29 #include <media/v4l2-fwnode.h> [all …]
|
| /linux/drivers/net/phy/ |
| H A D | dp83822.c | 1 // SPDX-License-Identifier: GPL-2.0 147 #define DP83822_LED_FN_LINK 0x0 /* Link established */ 152 #define DP83822_LED_FN_LINK_100_BTX 0x5 /* 100 BTX link established */ 153 #define DP83822_LED_FN_LINK_10_BT 0x6 /* 10BT link established */ 155 #define DP83822_LED_FN_LINK_RX_TX 0x8 /* Link established, blink for rx or tx activity */ 156 #define DP83822_LED_FN_ACTIVE_STRETCH 0x9 /* Active Stretch Signal */ 157 #define DP83822_LED_FN_MII_LINK 0xa /* MII LINK (100BT+FD) */ 160 #define DP83822_LED_FN_LINK_LOST 0xd /* Link Lost */ 215 struct net_device *ndev = phydev->attached_dev; in dp83822_config_wol() 219 if (wol->wolopts & (WAKE_MAGIC | WAKE_MAGICSECURE)) { in dp83822_config_wol() [all …]
|
| /linux/drivers/pci/controller/ |
| H A D | pci-aardvark.c | 1 // SPDX-License-Identifier: GPL-2.0 16 #include <linux/irqchip/irq-msi-lib.h> 21 #include <linux/pci-ecam.h> 30 #include "../pci-bridge-emul.h" 140 #define OB_WIN_DEFAULT_ACTIONS (OB_WIN_ACTIONS(OB_WIN_COUNT-1) + 0x4) 294 writel(val, pcie->base + reg); in advk_writel() 299 return readl(pcie->base + reg); in advk_readl() 314 /* check if LTSSM is in normal operation - some L* state */ in advk_pcie_link_up() 322 * According to PCIe Base specification 3.0, Table 4-14: Link in advk_pcie_link_active() 324 * is Link Up mapped to LTSSM Configuration.Idle, Recovery, L0, in advk_pcie_link_active() [all …]
|
| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| H A D | amdgpu_dm.h | 1 /* SPDX-License-Identifier: MIT */ 3 * Copyright (C) 2015-2020 Advanced Micro Devices, Inc. All rights reserved. 100 * struct dm_compressor_info - Buffer info used by frame buffer compression 114 * struct dmub_hpd_work - Handle time consuming work in low priority outbox IRQ 127 * struct vblank_control_work - Work data for vblank control 143 * struct idle_workqueue - Work data for periodic action in idle 157 * struct vupdate_offload_work - Work data for offloading task from vupdate handler 173 * struct amdgpu_dm_luminance_data - Custom luminance data 175 * @input_signal: Input signal in range 0-255 183 * struct amdgpu_dm_backlight_caps - Information about backlight [all …]
|
| H A D | amdgpu_dm.c | 1 // SPDX-License-Identifier: MIT 43 #include "link/protocols/link_dpcd.h" 45 #include "link/protocols/link_dp_capability.h" 46 #include "link/protocols/link_ddc.h" 99 #include <media/cec-notifier.h> 179 static enum drm_mode_subconnector get_subconnector_type(struct dc_link *link) in get_subconnector_type() argument 181 switch (link->dpcd_caps.dongle_type) { in get_subconnector_type() 200 struct dc_link *link = aconnector->dc_link; in update_subconnector_property() local 201 struct drm_connector *connector = &aconnector->base; in update_subconnector_property() 204 if (connector->connector_type != DRM_MODE_CONNECTOR_DisplayPort) in update_subconnector_property() [all …]
|
| /linux/drivers/iio/ |
| H A D | industrialio-backend.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 * ------------------------------------------------------- 12 * ------------------ | ------------ ------------ ------- FPGA| 13 * | ADC |------------------------| | ADC CORE |---------| DMA CORE |------| RAM | | 14 * | (Frontend/IIO) | Serial Data (eg: LVDS) | |(backend) |---------| |------| | | 15 * | |------------------------| ------------ ------------ ------- | 16 * ------------------ ------------------------------------------------------- 19 * - Backends should register themselves with devm_iio_backend_register() 20 * - Frontend devices should get backends with devm_iio_backend_get() 27 * the industrialio-backend.c is only left with the really generic stuff. Then, [all …]
|
| /linux/Documentation/devicetree/bindings/powerpc/fsl/ |
| H A D | dcsr.txt | 21 - compatible 24 Definition: Must include "fsl,dcsr" and "simple-bus". 25 The DCSR space exists in the memory-mapped bus. 27 - #address-cells 33 - #size-cells 40 - ranges 42 Value type: <prop-encoded-array> 48 #address-cells = <1>; 49 #size-cells = <1>; 50 compatible = "fsl,dcsr", "simple-bus"; [all …]
|
| /linux/include/sound/ |
| H A D | emu10k1.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 16 #include <sound/pcm-indirect.h> 25 /* ---- [all...] |
| /linux/drivers/gpu/ipu-v3/ |
| H A D | ipu-common.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (C) 2005-2009 Freescale Semiconductor, Inc. 26 #include <video/imx-ipu-v3.h> 27 #include "ipu-prv.h" 31 return readl(ipu->cm_reg + offset); in ipu_cm_read() 36 writel(value, ipu->cm_reg + offset); in ipu_cm_write() 41 return ipu->id; in ipu_get_num() 157 return -EINVAL; in ipu_degrees_to_rot_mode() 172 dev_dbg(ipu->dev, "%s %d\n", __func__, num); in ipu_idmac_get() 175 return ERR_PTR(-ENODEV); in ipu_idmac_get() [all …]
|
| /linux/sound/pci/ac97/ |
| H A D | ac97_patch.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 33 err = snd_ctl_add(ac97->bus->card, snd_ac97_cnew(&controls[idx], ac97)); in patch_build_controls() 46 kctl = snd_ctl_find_id_mixer(ac97->bus->card, name); in reset_tlv() 47 if (kctl && kctl->tl in reset_tlv() [all...] |
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | diff-v4l.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 4 .. _diff-v4l: 23 and below in :ref:`v4l-dev`. 25 The teletext devices (minor range 192-223) have been removed in V4L2 and 35 .. _v4l-dev: 37 .. flat-table:: V4L Device Types, Names and Numbers 38 :header-rows: 1 39 :stub-columns: 0 41 * - Device Type 42 - File Name [all …]
|
| /linux/Documentation/networking/device_drivers/can/ctu/ |
| H A D | ctucanfd-driver.rst | 1 .. SPDX-License-Identifier: GPL-2.0-or-later 10 ------------------------ 19 `Vivado integration <https://gitlab.fel.cvut.cz/canbus/zynq/zynq-can-sja1000-top>`_ 20 and Intel Cyclone V 5CSEMA4U23C6 based DE0-Nano-SoC Terasic board 21 `QSys integration <https://gitlab.fel.cvut.cz/canbus/intel-soc-ctucanfd>`_ 23 `PCIe integration <https://gitlab.fel.cvut.cz/canbus/pcie-ctucanfd>`_ of the core. 33 version of emulation support can be cloned from ctu-canfd branch of QEMU local 34 development `repository <https://gitlab.fel.cvut.cz/canbus/qemu-canbus>`_. 38 --------------- 59 it allows for device hot-plug. [all …]
|
| /linux/drivers/net/dsa/realtek/ |
| H A D | rtl8365mb.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Realtek SMI subdriver for the Realtek RTL8365MB-VC ethernet switch. 4 * Copyright (C) 2021 Alvin Šipraga <alsi@bang-olufsen.dk> 5 * Copyright (C) 2021 Michael Rasmussen <mir@bang-olufsen.dk> 7 * The RTL8365MB-VC is a 4+1 port 10/100/1000M switch controller. It includes 4 9 * can be connected to the CPU - or another PHY - via either MII, RMII, or 15 * .-----------------------------------. 17 * UTP <---------------> Giga PHY <-> PCS <-> P0 GMAC | 18 * UTP <---------------> Giga PHY <-> PCS <-> P1 GMAC | 19 * UTP <---------------> Giga PHY <-> PCS <-> P2 GMAC | [all …]
|
| /linux/include/dt-bindings/clock/ |
| H A D | tegra186-clock.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 235 * @defgroup nafll_clks NAFLL clock sources 499 /** controls xusb_dev_ce signal on page 66 and 67 of T186_Clocks_IAS.doc */ 501 /** controls xusb_host_ce signal on page 67 of T186_Clocks_IAS.doc */ 503 /** controls xusb_ss_ce signal on page 67 of T186_Clocks_IAS.doc */ 818 * @brief GPC2CLK-div-2 842 * the post-divider. See TEGRA186_CLK_PLLREFE_OUT1 for more 850 /** @brief PLL controlled by CLK_RST_CONTROLLER_PLLDP_BASE for use as the DP link clock */ 898 /** @brief NAFLL clock source for M-CPU cluster */ 900 /** @brief NAFLL clock source for B-CPU cluster */
|
| /linux/drivers/net/wireless/ralink/rt2x00/ |
| H A D | rt2400pci.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> 50 mutex_lock(&rt2x00dev->csr_mutex); in rt2400pci_bbp_write() 66 mutex_unlock(&rt2x00dev->csr_mutex); in rt2400pci_bbp_write() 75 mutex_lock(&rt2x00dev->csr_mutex); in rt2400pci_bbp_read() 98 mutex_unlock(&rt2x00dev->csr_mutex); in rt2400pci_bbp_read() 108 mutex_lock(&rt2x00dev->csr_mutex); in rt2400pci_rf_write() 125 mutex_unlock(&rt2x00dev->csr_mutex); in rt2400pci_rf_write() 130 struct rt2x00_dev *rt2x00dev = eeprom->data; in rt2400pci_eepromregister_read() 135 eeprom->reg_data_in = !!rt2x00_get_field32(reg, CSR21_EEPROM_DATA_IN); in rt2400pci_eepromregister_read() [all …]
|
| /linux/drivers/net/ethernet/amd/ |
| H A D | sunlance.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Sources: 29 * 5/29/96: override option 'tpe-link-test?', if it is 'false', as 93 #include <linux/dma-mapping.h> 104 #include <asm/auxio.h> /* For tpe-link-test? setting */ 130 #define LE_C0_CERR 0x2000 /* SQE: Signal quality error */ 177 #define TX_RING_MOD_MASK (TX_RING_SIZE - 1) 182 #define RX_RING_MOD_MASK (RX_RING_SIZE - 1) 211 u16 mode; /* Pre-set mode (reg. 15) */ 221 /* The Tx and Rx ring entries must aligned on 8-byte boundaries. */ [all …]
|
| /linux/lib/zstd/common/ |
| H A D | bitstream.h | 1 /* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */ 8 * - Source repository : https://github.com/Cyan4973/FiniteStateEntropy 10 * This source code is licensed under both the BSD-style license (found in the 13 * You may select, at your option, one of the above-listed licenses. 20 * Since link-time-optimization is not available for all compilers, 24 /*-**************************************** 42 /*-****************************************** 46 /* bitStream can mix input from multiple sources. 65 * `dstCapacity` must be >= sizeof(bitD->bitContainer), otherwise @return will be an error code. 68 * Local register is BitContainerType, 64-bits on 64-bits systems, or 32-bits on 32-bits systems. [all …]
|
| /linux/drivers/net/wireless/mediatek/mt76/ |
| H A D | mac80211.c | 1 // SPDX-License-Identifier: ISC 82 /* UNII-5 */ 107 /* UNII-6 */ 114 /* UNII-7 */ 132 /* UNII-8 */ 198 struct mt76_dev *dev = phy->dev; in mt76_led_init() 199 struct ieee80211_hw *hw = phy->hw; in mt76_led_init() 200 struct device_node *np = dev->dev->of_node; in mt76_led_init() 202 if (!phy->leds.cdev.brightness_set && !phy->leds.cdev.blink_set) in mt76_led_init() 209 dev_info(dev->dev, in mt76_led_init() [all …]
|