/linux/drivers/scsi/qla2xxx/ |
H A D | qla_devtbl.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 "QLA2340", "133MHz PCI-X to 2Gb FC, Single Channel", /* 0x100 */ 9 "QLA2342", "133MHz PCI-X to 2Gb FC, Dual Channel", /* 0x101 */ 10 "QLA2344", "133MHz PCI-X to 2Gb FC, Quad Channel", /* 0x102 */ 11 "QCP2342", "cPCI to 2Gb FC, Dual Channel", /* 0x103 */ 12 "QSB2340", "SBUS to 2Gb FC, Single Channel", /* 0x104 */ 13 "QSB2342", "SBUS to 2Gb FC, Dual Channel", /* 0x105 */ 14 "QLA2310", "Sun 66MHz PCI-X to 2Gb FC, Single Channel", /* 0x106 */ 15 "QLA2332", "Sun 66MHz PCI-X to 2Gb FC, Single Channel", /* 0x107 */ 16 "QCP2332", "Sun cPCI to 2Gb FC, Dual Channel", /* 0x108 */ [all …]
|
/linux/sound/soc/codecs/ |
H A D | tas5086.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 * - implement DAPM and input muxing 9 * - implement modulation limit 10 * - implement non-default PWM start 13 * because the registers are of unequal size, and multi-byte registers 18 * it doesn't matter because the entire map can be accessed as 8-bit 21 * routines have to be open-coded. 70 #define TAS5086_CHANNEL_VOL(X) (0x08 + (X)) /* Channel 1-6 volume */ 88 * Default TAS5086 power-up configuration 129 return 4; in tas5086_register_size() [all …]
|
/linux/include/sound/ |
H A D | ump_msg.h | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 /* MIDI 1.0 / 2.0 Status Code (4bit) */ 27 /* MIDI 1.0 Channel Control (7bit) */ 32 UMP_CC_FOOT = 4, 131 u32 type:4; 132 u32 group:4; 133 u32 status:4; 134 u32 channel:4; member 140 u32 channel:4; 141 u32 status:4; [all …]
|
/linux/sound/soc/sprd/ |
H A D | sprd-mcdt.c | 1 // SPDX-License-Identifier: GPL-2.0 14 #include "sprd-mcdt.h" 57 /* Channel water mark definition */ 62 /* DMA channel select definition */ 65 #define MCDT_DMA_CH1_SEL_MASK GENMASK(7, 4) 66 #define MCDT_DMA_CH1_SEL_SHIFT 4 75 /* DMA channel ACK select definition */ 78 /* Channel FIFO definition */ 121 u32 orig = readl_relaxed(mcdt->base + reg); in sprd_mcdt_update() 125 writel_relaxed(tmp, mcdt->base + reg); in sprd_mcdt_update() [all …]
|
/linux/Documentation/devicetree/bindings/powerpc/fsl/ |
H A D | dma.txt | 4 This is a little-endian 4-channel DMA controller, used in Freescale mpc83xx 9 - compatible : must include "fsl,elo-dma" 10 - reg : DMA General Status Register, i.e. DGSR which contains 11 status for all the 4 DMA channels 12 - ranges : describes the mapping between the address space of the 14 - cell-index : controller index. 0 for controller @ 0x8100 15 - interrupts : interrupt specifier for DMA IRQ 17 - DMA channel nodes: 18 - compatible : must include "fsl,elo-dma-channel" 20 - reg : DMA channel specific registers [all …]
|
/linux/drivers/hsi/controllers/ |
H A D | omap_ssi_regs.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 23 # define SSI_SIDLEMODE_SMART (1 << 4) 33 # define SSI_DATAACCEPT(channel) (1 << (channel)) argument 34 # define SSI_DATAAVAILABLE(channel) (1 << ((channel) + 8)) argument 35 # define SSI_DATAOVERRUN(channel) (1 << ((channel) + 16)) argument 40 # define SSI_GDD_LCH(channel) (1 << (channel)) argument 44 # define SSI_WAKE(channel) (1 << (channel)) argument 51 #define SSI_SST_MODE_REG 4 62 # define SSI_FULL(channel) (1 << (channel)) argument 67 # define SSI_CHANNELS_DEFAULT 4 [all …]
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac4_dma.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * This is the driver for the GMAC on-chip Ethernet controller for ST SoCs. 4 * DWC Ether MAC version 4.xx has been used for developing this code. 26 if (axi->axi_lpi_en) in dwmac4_dma_axi() 28 if (axi->axi_xit_frm) in dwmac4_dma_axi() 32 value |= (axi->axi_wr_osr_lmt & DMA_AXI_OSR_MAX) << in dwmac4_dma_axi() 36 value |= (axi->axi_rd_osr_lmt & DMA_AXI_OSR_MAX) << in dwmac4_dma_axi() 44 switch (axi->axi_blen[i]) { in dwmac4_dma_axi() 63 case 4: in dwmac4_dma_axi() 77 const struct dwmac4_addrs *dwmac4_addrs = priv->plat->dwmac4_addrs; in dwmac4_dma_init_rx_chan() [all …]
|
/linux/drivers/media/pci/tw5864/ |
H A D | tw5864-reg.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * TW5864 driver - registers description 8 /* According to TW5864_datasheet_0.6d.pdf, tw5864b1-ds.pdf */ 10 /* Register Description - Direct Map Space */ 11 /* 0x0000 ~ 0x1ffc - H264 Register Map */ 26 #define TW5864_EMU_EN_LPF BIT(4) 47 #define TW5864_MAS_SLICE_END BIT(4) 52 * [15:0] Two bit for each channel (channel 0 ~ 7). Each two bits are the buffer 53 * pointer for the last encoded frame of the corresponding channel. 76 * 0->3 4 VLC data buffer in DDR (1M each) [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | ti,tlv320adcx140.yaml | 1 # SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Texas Instruments TLV320ADCX140 Quad Channel Analog-to-Digital Converter 11 - Andrew Davis <afd@ti.com> 14 The TLV320ADCX140 are multichannel (4-ch analog recording or 8-ch digital 15 PDM microphones recording), high-performance audio, analog-to-digital 28 - ti,tlv320adc3140 29 - ti,tlv320adc5140 30 - ti,tlv320adc6140 [all …]
|
/linux/drivers/net/ethernet/microchip/ |
H A D | lan743x_main.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 41 #define STRAP_READ_SGMII_2_5G_ BIT(4) 54 #define HW_CFG_EE_OTP_RELOAD_ BIT(4) 67 #define PMT_CTL_ETH_PHY_RST_ BIT(4) 107 #define GEN_SYS_LOAD_STARTED_REG_ETH_ BIT(4) 111 #define SYS_LOCK_REG_SPI_PERI_LOCK_ BIT(4) 152 #define FCT_RX_CTL_EN_(channel) BIT(28 + (channel)) argument 153 #define FCT_RX_CTL_DIS_(channel) BIT(24 + (channel)) argument 154 #define FCT_RX_CTL_RESET_(channel) BIT(20 + (channel)) argument 157 #define FCT_TX_CTL_EN_(channel) BIT(28 + (channel)) argument [all …]
|
/linux/sound/pci/ca0106/ |
H A D | ca0106.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (c) 2004 James Courtier-Dutton <James@superbug.demon.co.uk> 12 * Removed noise from Center/LFE channel when in Analog mode. 50 * Implement support for Line-in capture on SB Live 24bit. 73 #define IPR_MIDI_RX_B 0x00020000 /* MIDI UART-B Receive buffer non-empty */ 74 #define IPR_MIDI_TX_B 0x00010000 /* MIDI UART-B Transmit buffer empty */ 87 #define IPR_MIDI_RX_A 0x00000004 /* MIDI UART-A Receive buffer non-empty */ 88 #define IPR_MIDI_TX_A 0x00000002 /* MIDI UART-A Transmit buffer empty */ 93 #define INTE_MIDI_RX_B 0x00020000 /* MIDI UART-B Receive buffer non-empty */ 94 #define INTE_MIDI_TX_B 0x00010000 /* MIDI UART-B Transmit buffer empty */ [all …]
|
/linux/include/linux/ |
H A D | hyperv.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 27 #include <asm/hyperv-tlfs.h> 48 * gva: |-- 64k --|-- 64k --| ... | 49 * gpa: | 4k | 4k | ... | 4k | 4k | 4k | ... | 4k | 53 * gpadl: | 4k | 4k | ... | 4k | 4k | 4k | ... | 4k | ... | 59 * gva: |-- 64k --|-- 64k --| ... |-- 64k --|-- 64k --| ... | 60 * gpa: | 4k | .. | 4k | 4k | ... | 4k | ... | 4k | .. | 4k | .. | ... | 68 * gpadl: | 4k | 4k | ... | ... | 4k | 4k | ... | 69 * index: 0 1 2 ... 16 ... n-15 n-14 n-13 ... 2n-30 76 /* Single-page buffer */ [all …]
|
/linux/Documentation/devicetree/bindings/input/ |
H A D | iqs626a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS626A is a 14-channel capacitive touch controller that features 14 additional Hall-effect and inductive sensing capabilities. 19 - $ref: touchscreen/touchscreen.yaml# 31 "#address-cells": 34 "#size-cells": 37 azoteq,suspend-mode: [all …]
|
/linux/Documentation/devicetree/bindings/iio/dac/ |
H A D | adi,ad5755.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Analog Devices AD5755 Multi-Channel DAC 10 - Sean Nyekjaer <sean.nyekjaer@prevas.dk> 15 - adi,ad5755 16 - adi,ad5755-1 17 - adi,ad5757 18 - adi,ad5735 19 - adi,ad5737 [all …]
|
/linux/drivers/hwmon/ |
H A D | nct7904.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * nct7904.c - driver for Nuvoton NCT7904D. 17 * nct7904d 20 12 4 5 8 0xc5 45 #define FANCTL_MAX 4 /* Counted from 1 */ 47 #define TEMP_MAX 4 /* Counted from 1 */ 92 #define FANCTL1_FMR_REG 0x00 /* Bank 3; 1 reg per channel */ 93 #define FANCTL1_OUT_REG 0x10 /* Bank 3; 1 reg per channel */ 110 /*The timeout range is 1-255 minutes*/ 149 mutex_lock(&data->bank_lock); in nct7904_bank_lock() 150 if (data->bank_sel == bank) in nct7904_bank_lock() [all …]
|
/linux/drivers/clk/bcm/ |
H A D | clk-ns2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include <linux/clk-provider.h> 11 #include <dt-bindings/clock/bcm-ns2.h> 12 #include "clk-iproc.h" 35 .dig_filter = DF_VAL(0x0, 9, 3, 5, 4, 2, 3), 36 .ndiv_int = REG_VAL(0x8, 4, 10), 37 .pdiv = REG_VAL(0x8, 0, 4), 49 .channel = BCM_NS2_GENPLL_SCR_SCR_CLK, 55 .channel = BCM_NS2_GENPLL_SCR_FS_CLK, 61 .channel = BCM_NS2_GENPLL_SCR_AUDIO_CLK, [all …]
|
H A D | clk-sr.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include <linux/clk-provider.h> 11 #include <dt-bindings/clock/bcm-sr.h> 12 #include "clk-iproc.h" 39 .dig_filter = DF_VAL(0x0, 4, 3, 0, 4, 7, 3), 43 .pdiv = REG_VAL(0x14, 0, 4), 49 .channel = BCM_SR_GENPLL0_125M_CLK, 55 .channel = BCM_SR_GENPLL0_SCR_CLK, 61 .channel = BCM_SR_GENPLL0_250M_CLK, 67 .channel = BCM_SR_GENPLL0_PCIE_AXI_CLK, [all …]
|
/linux/sound/core/ |
H A D | pcm_iec958.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 * snd_pcm_create_iec958_consumer_default - create default consumer format IEC958 channel status 14 * @cs: channel status buffer, at least four bytes 15 * @len: length of channel status buffer 17 * Create the consumer format channel status data in @cs of maximum size 18 * @len. When relevant, the configuration-dependant bits will be set as 31 if (len < 4) in snd_pcm_create_iec958_consumer_default() 32 return -EINVAL; in snd_pcm_create_iec958_consumer_default() 41 if (len > 4) in snd_pcm_create_iec958_consumer_default() 42 cs[4] = IEC958_AES4_CON_WORDLEN_NOTID; in snd_pcm_create_iec958_consumer_default() [all …]
|
/linux/sound/usb/caiaq/ |
H A D | control.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 24 struct snd_usb_caiaqdev *cdev = caiaqdev(chip->card); in control_info() 25 int pos = kcontrol->private_value; in control_info() 29 uinfo->count = 1; in control_info() 32 switch (cdev->chip.usb_id) { in control_info() 37 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in control_info() 38 uinfo->value.integer.min = 0; in control_info() 39 uinfo->value.integer.max = 2; in control_info() 54 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in control_info() 55 uinfo->value.integer.min = 0; in control_info() [all …]
|
/linux/drivers/clocksource/ |
H A D | samsung_pwm_timer.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * samsung - Common hr-timer support (s3c and s5p) 40 #define TCFG1_SHIFT(x) ((x) * 4) 44 * Each channel occupies 4 bits in TCON register, but there is a gap of 4 45 * bits (one channel) after channel 0, so channels have different numbering 48 * In addition, the location of autoreload bit for channel 4 (TCON channel 5) 51 #define TCON_START(chan) (1 << (4 * (chan) + 0)) 52 #define TCON_MANUALUPDATE(chan) (1 << (4 * (chan) + 1)) 53 #define TCON_INVERT(chan) (1 << (4 * (chan) + 2)) 54 #define _TCON_AUTORELOAD(chan) (1 << (4 * (chan) + 3)) [all …]
|
/linux/Documentation/devicetree/bindings/dma/ |
H A D | stericsson,dma40.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: ST-Ericsson DMA40 DMA Engine 10 - Linus Walleij <linus.walleij@linaro.org> 13 - $ref: dma-controller.yaml# 16 "#dma-cells": 19 The first cell is the unique device channel number as indicated by this 26 4: I2C port 1 29 7: I2C port 4 [all …]
|
/linux/Documentation/i2c/ |
H A D | i2c-sysfs.rst | 1 .. SPDX-License-Identifier: GPL-2.0 18 useful and essential to use ``i2c-tools`` for the purpose of development and 22 --------------- 28 ------------- 41 start with ``i2c-`` are I2C buses, which may be either physical or logical. The 48 0-0008 0-0061 1-0028 3-0043 4-0036 4-0041 i2c-1 i2c-3 49 0-000c 0-0066 2-0049 4-000b 4-0040 i2c-0 i2c-2 i2c-4 51 ``i2c-2`` is an I2C bus whose number is 2, and ``2-0049`` is an I2C device 60 ----------------------------- 71 ----------------------- [all …]
|
/linux/Documentation/devicetree/bindings/iio/adc/ |
H A D | qcom,spmi-vadc.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/qcom,spmi-vadc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Andy Gross <agross@kernel.org> 11 - Bjorn Andersson <bjorn.andersson@linaro.org> 15 voltage. The VADC is a 15-bit sigma-delta ADC. 17 voltage. The VADC is a 16-bit sigma-delta ADC. 22 - items: 23 - const: qcom,pms405-adc [all …]
|
H A D | ti,ads131e08.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Texas Instruments ADS131E0x 4-, 6- and 8-Channel ADCs 10 - Jonathan Cameron <jic23@kernel.org> 14 24-bit, delta-sigma, analog-to-digital converters (ADCs) with a 15 built-in programmable gain amplifier (PGA), internal reference 24 - ti,ads131e04 25 - ti,ads131e06 26 - ti,ads131e08 [all …]
|
/linux/drivers/net/wireless/mediatek/mt76/mt76x2/ |
H A D | eeprom.c | 1 // SPDX-License-Identifier: ISC 17 void *src = dev->mt76.eeprom.data + MT_EE_MAC_ADDR; in mt76x2_eeprom_get_macaddr() 19 memcpy(dev->mphy.macaddr, src, ETH_ALEN); in mt76x2_eeprom_get_macaddr() 69 GROUP_5G(4), in mt76x2_apply_cal_free_data() 80 struct device_node *np = dev->mt76.dev->of_node; in mt76x2_apply_cal_free_data() 81 u8 *eeprom = dev->mt76.eeprom.data; in mt76x2_apply_cal_free_data() 82 u8 prev_grp0[4] = { in mt76x2_apply_cal_free_data() 91 if (!np || !of_property_read_bool(np, "mediatek,eeprom-merge-otp")) in mt76x2_apply_cal_free_data() 125 u16 val = get_unaligned_le16(dev->mt76.eeprom.data); in mt76x2_check_eeprom() 128 val = get_unaligned_le16(dev->mt76.eeprom.data + MT_EE_PCI_ID); in mt76x2_check_eeprom() [all …]
|