/linux/Documentation/devicetree/bindings/soundwire/ |
H A D | qcom,soundwire.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 11 - Srinivasa Rao Mandadapu <quic_srivasam@quicinc.com> 19 - qcom,soundwire-v1.3.0 20 - qcom,soundwire-v1.5.0 21 - qcom,soundwire-v1.5.1 22 - qcom,soundwire-v1.6.0 23 - qcom,soundwire-v1.7.0 [all …]
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_l4lb_noinline.c | 1 // SPDX-License-Identifier: GPL-2.0 20 static __always_inline __u32 rol32(__u32 word, unsigned int shift) in rol32() argument 22 return (word << shift) | (word >> ((-shift) & 31)); in rol32() 30 a -= c; a ^= rol32(c, 4); c += b; \ 31 b -= a; b ^= rol32(a, 6); a += c; \ 32 c -= b; c ^= rol32(b, 8); b += a; \ 33 a -= c; a ^= rol32(c, 16); c += b; \ 34 b -= a; b ^= rol32(a, 19); a += c; \ 35 c -= b; c ^= rol32(b, 4); b += a; \ 40 c ^= b; c -= rol32(b, 14); \ [all …]
|
H A D | test_l4lb.c | 24 static inline __u32 rol32(__u32 word, unsigned int shift) in rol32() argument 26 return (word << shift) | (word >> ((-shift) & 31)); in rol32() 34 a -= c; a ^= rol32(c, 4); c += b; \ 35 b -= a; b ^= rol32(a, 6); a += c; \ 36 c -= b; c ^= rol32(b, 8); b += a; \ 37 a -= c; a ^= rol32(c, 16); c += b; \ 38 b -= a; b ^= rol32(a, 19); a += c; \ 39 c -= b; c ^= rol32(b, 4); b += a; \ 44 c ^= b; c -= rol32(b, 14); \ 45 a ^= c; a -= rol32(c, 11); \ [all …]
|
H A D | test_l4lb_noinline_dynptr.c | 1 // SPDX-License-Identifier: GPL-2.0 22 static __always_inline __u32 rol32(__u32 word, unsigned int shift) in rol32() argument 24 return (word << shift) | (word >> ((-shift) & 31)); in rol32() 32 a -= c; a ^= rol32(c, 4); c += b; \ 33 b -= a; b ^= rol32(a, 6); a += c; \ 34 c -= b; c ^= rol32(b, 8); b += a; \ 35 a -= c; a ^= rol32(c, 16); c += b; \ 36 b -= a; b ^= rol32(a, 19); a += c; \ 37 c -= b; c ^= rol32(b, 4); b += a; \ 42 c ^= b; c -= rol32(b, 14); \ [all …]
|
H A D | test_xdp_noinline.c | 1 // SPDX-License-Identifier: GPL-2.0 20 static __always_inline __u32 rol32(__u32 word, unsigned int shift) in rol32() argument 22 return (word << shift) | (word >> ((-shift) & 31)); in rol32() 30 a -= c; a ^= rol32(c, 4); c += b; \ 31 b -= a; b ^= rol32(a, 6); a += c; \ 32 c -= b; c ^= rol32(b, 8); b += a; \ 33 a -= c; a ^= rol32(c, 16); c += b; \ 34 b -= a; b ^= rol32(a, 19); a += c; \ 35 c -= b; c ^= rol32(b, 4); b += a; \ 40 c ^= b; c -= rol32(b, 14); \ [all …]
|
/linux/drivers/tty/ |
H A D | moxa.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * moxa.c -- MOXA Intellio family multiport serial driver. 6 * Copyright (C) 1999-2000 Moxa Technologies (support@moxa.com). 68 #define C218_key (C218_ConfBase + 4) /* WORD (0x218 for C218) */ 69 #define C218DLoad_len (C218_ConfBase + 6) /* WORD */ 72 #define C218_TestRx (C218_ConfBase + 0x10) /* 8 bytes for 8 ports */ 73 #define C218_TestTx (C218_ConfBase + 0x18) /* 8 bytes for 8 ports */ 74 #define C218_RXerr (C218_ConfBase + 0x20) /* 8 bytes for 8 ports */ 75 #define C218_ErrFlag (C218_ConfBase + 0x28) /* 8 bytes for 8 ports */ 90 #define C320_key C320_ConfBase + 4 /* WORD (0320H for C320) */ [all …]
|
/linux/arch/mips/lantiq/xway/ |
H A D | dma.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <linux/dma-mapping.h> 44 #define DMA_PCTRL_2W_BURST 0x1 /* 2 word burst length */ 45 #define DMA_PCTRL_4W_BURST 0x2 /* 4 word burst length */ 46 #define DMA_PCTRL_8W_BURST 0x3 /* 8 word burst length */ 66 ltq_dma_w32(ch->nr, LTQ_DMA_CS); in ltq_dma_enable_irq() 67 ltq_dma_w32_mask(0, 1 << ch->nr, LTQ_DMA_IRNEN); in ltq_dma_enable_irq() 78 ltq_dma_w32(ch->nr, LTQ_DMA_CS); in ltq_dma_disable_irq() 79 ltq_dma_w32_mask(1 << ch->nr, 0, LTQ_DMA_IRNEN); in ltq_dma_disable_irq() 90 ltq_dma_w32(ch->nr, LTQ_DMA_CS); in ltq_dma_ack_irq() [all …]
|
/linux/drivers/infiniband/hw/qib/ |
H A D | qib_common.h | 16 * - Redistributions of source code must retain the above 20 * - Redistributions in binary form must reproduce the above 43 /* This is the IEEE-assigned OUI for QLogic Inc. QLogic_IB */ 123 * open to get implementation-specific info, and info specific to this 146 * than this (in words). Included is the starting control word, so 162 /* per-chip and other runtime features bitmap (QIB_RUNTIME_*) */ 295 * The high bit is 0 for non-QLogic and 1 for QLogic-built/supplied. 319 * across ports and HCAs, using different algorithims. WITHIN is 323 * ports; this is the default */ 325 * active ports within), then next HCA */ [all …]
|
/linux/arch/alpha/include/asm/ |
H A D | core_cia.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 14 * Also supported here is the 21172 (CIA-2) and 21174 (PYXIS). 25 * EC-QE18B-TE 36 * ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- 38 * ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- 40 * | Byte Enable --+ | 41 * | Transfer Length --+ 42 * +-- IO space, not cached 45 * Enable Length Transfer Byte Address 46 * adr<6:5> adr<4:3> Length Enable Adder [all …]
|
/linux/drivers/net/ethernet/intel/e1000e/ |
H A D | nvm.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2018 Intel Corporation. */ 7 * e1000_raise_eec_clk - Raise EEPROM clock 18 udelay(hw->nvm.delay_usec); in e1000_raise_eec_clk() 22 * e1000_lower_eec_clk - Lower EEPROM clock 33 udelay(hw->nvm.delay_usec); in e1000_lower_eec_clk() 37 * e1000_shift_out_eec_bits - Shift data bits our to the EEPROM 48 struct e1000_nvm_info *nvm = &hw->nvm; in e1000_shift_out_eec_bits() 52 mask = BIT(count - 1); in e1000_shift_out_eec_bits() 53 if (nvm->type == e1000_nvm_eeprom_spi) in e1000_shift_out_eec_bits() [all …]
|
/linux/drivers/usb/serial/ |
H A D | mct_u232.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Definitions for MCT (Magic Control Technology) USB-RS232 Converter Driver 7 * This driver is for the device MCT USB-RS232 Converter (25 pin, Model No. 8 * U232-P25) from Magic Control Technology Corp. (there is also a 9 pin 9 * Model No. U232-P9). See http://www.mct.com.tw/products/product_us232.html 11 * of this file. This device was used in the Dlink DSB-S25. 24 /* U232-P25, Sitecom */ 27 /* DU-H3SP USB BAY hub */ 28 #define MCT_U232_DU_H3SP_PID 0x0200 /* D-Link DU-H3SP USB BAY */ 30 /* Belkin badge the MCT U232-P9 as the F5U109 */ [all …]
|
/linux/drivers/net/ethernet/intel/igb/ |
H A D | e1000_nvm.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2007 - 2018 Intel Corporation. */ 11 * igb_raise_eec_clk - Raise EEPROM clock 22 udelay(hw->nvm.delay_usec); in igb_raise_eec_clk() 26 * igb_lower_eec_clk - Lower EEPROM clock 37 udelay(hw->nvm.delay_usec); in igb_lower_eec_clk() 41 * igb_shift_out_eec_bits - Shift data bits our to the EEPROM 52 struct e1000_nvm_info *nvm = &hw->nvm; in igb_shift_out_eec_bits() 56 mask = 1u << (count - 1); in igb_shift_out_eec_bits() 57 if (nvm->type == e1000_nvm_eeprom_spi) in igb_shift_out_eec_bits() [all …]
|
/linux/arch/mips/include/asm/octeon/ |
H A D | cvmx-pko.h | 7 * Copyright (c) 2003-2008 Cavium Networks 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 44 * - PKO indexes are no longer stored in the FAU. A large 48 * - The PKO <b>use_locking</b> parameter can now have a global 52 * - PKO 3 word commands are now supported. Use 60 #include <asm/octeon/cvmx-fpa.h> 61 #include <asm/octeon/cvmx-pow.h> 62 #include <asm/octeon/cvmx-cmd-queue.h> 63 #include <asm/octeon/cvmx-pko-defs.h> [all …]
|
/linux/drivers/tty/serial/ |
H A D | sc16is7xx.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * SC16IS7xx tty serial driver - common code 53 * - only on 75x/76x 56 * - only on 75x/76x 59 * - only on 75x/76x 62 * - only on 75x/76x 76 #define SC16IS7XX_XON1_REG (0x04) /* Xon1 word */ 77 #define SC16IS7XX_XON2_REG (0x05) /* Xon2 word */ 78 #define SC16IS7XX_XOFF1_REG (0x06) /* Xoff1 word */ 79 #define SC16IS7XX_XOFF2_REG (0x07) /* Xoff2 word */ [all …]
|
/linux/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_main.c | 1 // SPDX-License-Identifier: GPL-2.0+ 25 #define XTR_VALID_BYTES(x) (4 - (((x) >> 24) & 3)) 30 { .compatible = "microchip,lan966x-switch" }, 83 dev_err(&pdev->dev, "Invalid resource\n"); in lan966x_create_targets() 84 return -EINVAL; in lan966x_create_targets() 87 begin[idx] = devm_ioremap(&pdev->dev, in lan966x_create_targets() 88 iores[idx]->start, in lan966x_create_targets() 91 dev_err(&pdev->dev, "Unable to get registers: %s\n", in lan966x_create_targets() 92 iores[idx]->name); in lan966x_create_targets() 93 return -ENOMEM; in lan966x_create_targets() [all …]
|
/linux/drivers/scsi/lpfc/ |
H A D | lpfc_hw.h | 4 * Copyright (C) 2017-2023 Broadcom. All Rights Reserved. The term * 6 * Copyright (C) 2004-2016 Emulex. All rights reserved. * 16 * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE * 50 #define SLI2_IOCB_CMD_R0_ENTRIES 172 /* SLI-2 FCP command ring entries */ 51 #define SLI2_IOCB_RSP_R0_ENTRIES 134 /* SLI-2 FCP response ring entries */ 52 #define SLI2_IOCB_CMD_R1_ENTRIES 4 /* SLI-2 extra command ring entries */ 53 #define SLI2_IOCB_RSP_R1_ENTRIES 4 /* SLI-2 extra response ring entries */ 54 #define SLI2_IOCB_CMD_R1XTRA_ENTRIES 36 /* SLI-2 extra FCP cmd ring entries */ 55 #define SLI2_IOCB_RSP_R1XTRA_ENTRIES 52 /* SLI-2 extra FCP rsp ring entries */ 56 #define SLI2_IOCB_CMD_R2_ENTRIES 20 /* SLI-2 ELS command ring entries */ [all …]
|
H A D | lpfc_hw4.h | 4 * Copyright (C) 2017-2024 Broadcom. All Rights Reserved. The term * 6 * Copyright (C) 2009-2016 Emulex. All rights reserved. * 16 * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE * 50 ((be32_to_cpu((ptr)->name##_WORD) >> name##_SHIFT) & name##_MASK) 52 ((le32_to_cpu((ptr)->name##_WORD) >> name##_SHIFT) & name##_MASK) 54 (((ptr)->name##_WORD >> name##_SHIFT) & name##_MASK) 56 ((ptr)->name##_WORD = cpu_to_le32(((((value) & \ 57 name##_MASK) << name##_SHIFT) | (le32_to_cpu((ptr)->name##_WORD) & \ 60 ((ptr)->name##_WORD = ((((value) & name##_MASK) << name##_SHIFT) | \ 61 ((ptr)->name##_WORD & ~(name##_MASK << name##_SHIFT)))) [all …]
|
/linux/Documentation/infiniband/ |
H A D | opa_vnic.rst | 2 Intel Omni-Path (OPA) Virtual Network Interface Controller (VNIC) 5 Intel Omni-Path (OPA) Virtual Network Interface Controller (VNIC) feature 6 supports Ethernet functionality over Omni-Path fabric by encapsulating 11 The patterns of exchanges of Omni-Path encapsulated Ethernet packets 12 involves one or more virtual Ethernet switches overlaid on the Omni-Path 13 fabric topology. A subset of HFI nodes on the Omni-Path fabric are 26 +-------------------+ 30 +-------------------+ 35 +-----------------------------+ +------------------------------+ 37 | +---------+ +---------+ | | +---------+ +---------+ | [all …]
|
/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_ctrl.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 2 /* Copyright (C) 2015-2018 Netronome Systems, Inc. */ 17 /* 64-bit per app capabilities */ 23 * THB-350, 32k needs to be reserved. 61 /* Hash type pre-pended when a RSS hash was computed */ 80 /* Read/Write config words (0x0000 - 0x002c) 87 * %NFP_NET_CFG_EXN: MSI-X table entry for exceptions 88 * %NFP_NET_CFG_LSC: MSI-X table entry for link state changes 92 * - define Error details in UPDATE 108 #define NFP_NET_CFG_CTRL_RXQINQ (0x1 << 13) /* Enable S-tag strip */ [all …]
|
/linux/drivers/scsi/qla2xxx/ |
H A D | qla_fw.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright (c) 2003-2014 QLogic Corporation 10 #include <linux/nvme-fc.h> 78 /* Bits 15-0 of word 0 */ 80 /* Bits 15-0 of word 3 */ 87 uint16_t prli_nvme_svc_param_word_0; /* Bits 15-0 of word 0 */ 88 uint16_t prli_nvme_svc_param_word_3; /* Bits 15-0 of word 3 */ 111 u8 prli_svc_param_word_0[2]; /* Bits 15-0 of word 0 */ 112 u8 prli_svc_param_word_3[2]; /* Bits 15-0 of word 3 */ 164 * BIT 1-15 = [all …]
|
/linux/drivers/thunderbolt/ |
H A D | eeprom.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Thunderbolt driver - eeprom access 16 * tb_eeprom_ctl_write() - write control word 20 return tb_sw_write(sw, ctl, TB_CFG_SWITCH, sw->cap_plug_events + ROUTER_CS_4, 1); in tb_eeprom_ctl_write() 24 * tb_eeprom_ctl_write() - read control word 28 return tb_sw_read(sw, ctl, TB_CFG_SWITCH, sw->cap_plug_events + ROUTER_CS_4, 1); in tb_eeprom_ctl_read() 37 * tb_eeprom_active - enable rom access 66 * tb_eeprom_transfer - transfer one bit 68 * If TB_EEPROM_IN is passed, then the bit can be retrieved from ctl->fl_do. 69 * If TB_EEPROM_OUT is passed, then ctl->fl_di will be written. [all …]
|
/linux/include/uapi/scsi/fc/ |
H A D | fc_els.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 5 * Maintained at www.Open-FCoE.org 15 * Fibre Channel Switch - Enhanced Link Services definitions. 16 * From T11 FC-LS Rev 1.2 June 7, 2005. 20 * ELS Command codes - byte 0 of the frame payload 28 ELS_ABTX = 0x06, /* Abort exchange - obsolete */ 56 ELS_NACT = 0x33, /* N-port activate alias_id */ 57 ELS_NDACT = 0x34, /* N-port deactivate alias_id */ 72 ELS_RNFT = 0x63, /* report node FC-4 types */ 81 ELS_SBRP = 0x7c, /* set bit-error reporting params */ [all …]
|
/linux/drivers/s390/scsi/ |
H A D | zfcp_fsf.c | 1 // SPDX-License-Identifier: GPL-2.0 35 …"Shuts down FCP devices for FCP channels that report a bit-error count in excess of its threshold … 40 struct zfcp_adapter *adapter = fsf_req->adapter; in zfcp_fsf_request_timeout_handler() 50 fsf_req->timer.function = zfcp_fsf_request_timeout_handler; in zfcp_fsf_start_timer() 51 fsf_req->timer.expires = jiffies + timeout; in zfcp_fsf_start_timer() 52 add_timer(&fsf_req->timer); in zfcp_fsf_start_timer() 57 BUG_ON(!fsf_req->erp_action); in zfcp_fsf_start_erp_timer() 58 fsf_req->timer.function = zfcp_erp_timeout_handler; in zfcp_fsf_start_erp_timer() 59 fsf_req->timer.expires = jiffies + 30 * HZ; in zfcp_fsf_start_erp_timer() 60 add_timer(&fsf_req->timer); in zfcp_fsf_start_erp_timer() [all …]
|
/linux/drivers/net/dsa/realtek/ |
H A D | rtl8366rb.c | 1 // SPDX-License-Identifier: GPL-2.0 9 * Copyright (C) 2009-2010 Gabor Juhos <juhosg@openwrt.org> 26 #include "realtek-smi.h" 27 #include "realtek-mdio.h" 50 /* Switch per-port learning disablement register */ 126 /* Disables inserting custom tag length/type 0x8899 */ 163 * VID such as untagged or priority-tagged frames for respective 166 * a C-tag with VID != 0 for respective port. 280 /* First configuration word per member config, VID and prio */ 284 /* Second configuration word per member config, member and untagged */ [all …]
|
/linux/drivers/net/ethernet/intel/e1000/ |
H A D | e1000_ethtool.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2006 Intel Corporation. */ 20 sizeof(((struct e1000_adapter *)0)->m), \ 23 sizeof(((struct net_device *)0)->m), \ 90 struct e1000_hw *hw = &adapter->hw; in e1000_get_link_ksettings() 93 if (hw->media_type == e1000_media_type_copper) { in e1000_get_link_ksettings() 103 if (hw->autoneg == 1) { in e1000_get_link_ksettings() 106 advertising |= hw->autoneg_advertised; in e1000_get_link_ksettings() 109 cmd->base.port = PORT_TP; in e1000_get_link_ksettings() 110 cmd->base.phy_address = hw->phy_addr; in e1000_get_link_ksettings() [all …]
|