| /linux/Documentation/devicetree/bindings/i2c/ |
| H A D | i2c-mux-pca954x.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/i2c/i2c-mux-pca954x.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Laurent Pinchart <laurent.pinchart@ideasonboard.com> 17 attached to the parent bus by using the SMBus "Send Byte" 23 - enum: 24 - maxim,max7356 25 - maxim,max7357 26 - maxim,max7358 [all …]
|
| /linux/drivers/scsi/qedf/ |
| H A D | qedf_els.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (c) 2016-2018 Cavium Inc. 29 rc = -EINVAL; in qedf_initiate_els() 33 qedf = fcport->qedf; in qedf_initiate_els() 34 lport = qedf->lport; in qedf_initiate_els() 36 QEDF_INFO(&(qedf->dbg_ctx), QEDF_LOG_ELS, "Sending ELS\n"); in qedf_initiate_els() 38 rc = fc_remote_port_chkready(fcport->rport); in qedf_initiate_els() 40 QEDF_ERR(&(qedf->dbg_ctx), "els 0x%x: rport not ready\n", op); in qedf_initiate_els() 41 rc = -EAGAIN; in qedf_initiate_els() 44 if (lport->state != LPORT_ST_READY || !(lport->link_up)) { in qedf_initiate_els() [all …]
|
| /linux/drivers/nvme/host/ |
| H A D | constants.c | 1 // SPDX-License-Identifier: GPL-2.0 10 [nvme_cmd_flush] = "Flush", 22 [nvme_cmd_zone_mgmt_send] = "Zone Management Send", 44 [nvme_admin_directive_send] = "Directive Send", 47 [nvme_admin_nvme_mi_send] = "NVMe Send MI", 51 [nvme_admin_security_send] = "Security Send", 61 [nvme_fabrics_type_auth_send] = "Authentication Send", 78 [NVME_SC_CMD_SEQ_ERROR] = "Command Sequence Error", 103 [NVME_SC_LBA_RANGE] = "LBA Out of Range", 136 [NVME_SC_SELF_TEST_IN_PROGRESS] = "Device Self-test In Progress", [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 44 * CORRESPONDENCE TO DESCRIPTION. THE ENTIRE RISK ARISING OUT OF USE OR 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. [all …]
|
| /linux/drivers/infiniband/sw/rxe/ |
| H A D | rxe_comp.c | 1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 41 [COMPST_WRITE_SEND] = "WRITE/SEND", 122 spin_lock_irqsave(&qp->state_lock, flags); in retransmit_timer() 123 if (qp->valid) { in retransmit_timer() 124 qp->comp.timeout = 1; in retransmit_timer() 125 rxe_sched_task(&qp->send_task); in retransmit_timer() 127 spin_unlock_irqrestore(&qp->state_lock, flags); in retransmit_timer() 132 rxe_counter_inc(SKB_TO_PKT(skb)->rxe, RXE_CNT_SENDER_SCHED); in rxe_comp_queue_pkt() 133 skb_queue_tail(&qp->resp_pkts, skb); in rxe_comp_queue_pkt() 134 rxe_sched_task(&qp->send_task); in rxe_comp_queue_pkt() [all …]
|
| /linux/net/smc/ |
| H A D | smc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Shared Memory Communications over RDMA (SMC-R) and RoCE 155 union smc_host_cursor { /* SMC cursor - an offset in an RMBE */ 158 u16 wrap; /* window wrap sequence number */ 198 struct smc_link *lnk; /* assigned SMC-R link */ 207 struct smc_buf_desc *sndbuf_desc; /* send buffer descriptor */ 216 * buffer for CDC msg send 221 /* prod crsr - confirmed by peer 223 union smc_host_cursor tx_curs_prep; /* tx - prepared data 226 union smc_host_cursor tx_curs_sent; /* tx - sent data [all …]
|
| /linux/fs/dlm/ |
| H A D | midcomms.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. 6 ** Copyright (C) 2004-2021 Red Hat, Inc. All rights reserved. 15 * This is the appallingly named "mid-level" comms layer. It takes care about 21 * Each nodes keeps track of all send DLM messages in send_queue with a sequence 22 * number. The receive will send an DLM_ACK message back for every DLM message 23 * received at the other side. If a reconnect happens in lowcomms we will send 25 * received message by comparing sequence numbers. 29 * Due the fact that dlm has pre-configured node addresses on every side 33 * compatibility these messages are not covered by the midcomms re-transmission [all …]
|
| /linux/drivers/scsi/libfc/ |
| H A D | fc_fcp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Maintained at www.Open-FCoE.org 41 #define FC_SRB_DISCONTIG (1 << 4) /* non-sequential data recvd */ 54 * struct fc_fcp_internal - FCP layer internal data 71 #define fc_get_scsi_internal(x) ((struct fc_fcp_internal *)(x)->scsi_priv) 124 * fc_fcp_pkt_alloc() - Allocate a fcp_pkt 136 fsp = mempool_alloc(si->scsi_pkt_pool, gfp); in fc_fcp_pkt_alloc() 139 fsp->lp = lport; in fc_fcp_pkt_alloc() 140 fsp->xfer_ddp = FC_XID_UNKNOWN; in fc_fcp_pkt_alloc() 141 refcount_set(&fsp->ref_cnt, 1); in fc_fcp_pkt_alloc() [all …]
|
| H A D | fc_rport.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright(c) 2007 - 2008 Intel Corporation. All rights reserved. 5 * Maintained at www.Open-FCoE.org 32 * path this potential over-use of the mutex is acceptable. 39 * - an rport is allocated 40 * - a workqueue item is scheduled 41 * - an ELS request is send 43 * - the workqueue function has finished 44 * - the ELS response is handled 45 * - an rport is removed [all …]
|
| /linux/drivers/scsi/ |
| H A D | esp_scsi.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 19 #define ESP_SSTEP 0x06UL /* ro Sequence step register 0x18 */ 40 /* ESP config reg 1, read-write, found on all ESP chips */ 48 /* ESP config reg 2, read-write, found only on esp100a+esp200+esp236 chips */ 52 #define ESP_CONFIG2_SCSI2ENAB 0x08 /* Enable SCSI-2 features (tgtmode) */ 55 #define ESP_CONFIG2_BCM 0x20 /* Enable byte-ctrl (236) */ 58 #define ESP_CONFIG2_SPL 0x40 /* Enable status-phase latch (236) */ 63 /* ESP config register 3 read-write, found only esp236+fas236+fas100a+hme chips */ 65 #define ESP_CONFIG3_TEM 0x01 /* Enable thresh-8 mode (esp/fas236) */ 67 #define ESP_CONFIG3_ADMA 0x02 /* Enable alternate-dma (esp/fas236) */ [all …]
|
| /linux/drivers/usb/serial/ |
| H A D | io_ionsp.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 6 * Copyright (C) 1997-1998 Inside Out Networks, Inc. 8 * These definitions are used by both kernel-mode driver and the 16 through a single endpoint pair (EP1 since it supports 64-byte 25 -------- 26 | | |------ Port Number: 0-7 27 | |--------- Length: MSB bits of length 28 |----------- Data/Command: 0 = Data header 29 1 = Cmd / Status (Cmd if OUT, Status if IN) 37 Where (LLLL,LLLLLLL) is 12-bit length of data that follows for [all …]
|
| /linux/tools/include/uapi/drm/ |
| H A D | drm.h | 31 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 94 * backwards-compatibility reasons. 125 * The lock structure is a simple cache-line aligned integer. To avoid 146 char __user *date; /**< User-space buffer to hold date */ 148 char __user *desc; /**< User-space buffer to hold desc */ 162 int count; /**< Length of user-space structures */ 201 _DRM_RESTRICTED = 0x01, /**< Cannot be mapped to user-virtual */ 205 _DRM_WRITE_COMBINING = 0x10, /**< use write-combining if available */ 227 void *handle; /**< User-space: "Handle" to pass to mmap() */ 228 /**< Kernel-space: kernel-virtual address */ [all …]
|
| /linux/net/sctp/ |
| H A D | ulpqueue.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (c) 1999-2000 Cisco, Inc. 5 * Copyright (c) 1999-2001 Motorola, Inc. 12 * Please send any bug reports or fixes you make to the 14 * lksctp developers <linux-sctp@vger.kernel.org> 45 ulpq->asoc = asoc; in sctp_ulpq_init() 46 skb_queue_head_init(&ulpq->reasm); in sctp_ulpq_init() 47 skb_queue_head_init(&ulpq->reasm_uo); in sctp_ulpq_init() 48 skb_queue_head_init(&ulpq->lobby); in sctp_ulpq_init() 49 ulpq->pd_mode = 0; in sctp_ulpq_init() [all …]
|
| /linux/kernel/debug/ |
| H A D | gdbstub.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Copyright (C) 2000-2001 VERITAS Software Corporation. 8 * Copyright (C) 2002-2004 Timesys Corporation 9 * Copyright (C) 2003-2004 Amit S. Kale <amitkale@linsyssoft.com> 11 * Copyright (C) 2004-2006 Tom Rini <trini@kernel.crashing.org> 12 * Copyright (C) 2004-2006 LinSysSoft Technologies Pvt. Ltd. 13 * Copyright (C) 2005-200 584 gdb_hex_reg_helper(int regnum,char * out) gdb_hex_reg_helper() argument [all...] |
| /linux/drivers/net/wireless/ralink/rt2x00/ |
| H A D | rt2x00queue.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 Copyright (C) 2004 - 2010 Ivo van Doorn <IvDoorn@gmail.com> 5 Copyright (C) 2004 - 2009 Gertjan van Wingerde <gwingerde@gmail.com> 18 #include <linux/dma-mapping.h> 25 struct data_queue *queue = entry->queue; in rt2x00queue_alloc_rxskb() 26 struct rt2x00_dev *rt2x00dev = queue->rt2x00dev; in rt2x00queue_alloc_rxskb() 37 frame_size = queue->data_size + queue->desc_size + queue->winfo_size; in rt2x00queue_alloc_rxskb() 40 * The payload should be aligned to a 4-byte boundary, in rt2x00queue_alloc_rxskb() 79 skb_dma = dma_map_single(rt2x00dev->dev, skb->data, skb->len, in rt2x00queue_alloc_rxskb() 81 if (unlikely(dma_mapping_error(rt2x00dev->dev, skb_dma))) { in rt2x00queue_alloc_rxskb() [all …]
|
| /linux/drivers/firmware/arm_scmi/ |
| H A D | raw_mode.c | 1 // SPDX-License-Identifier: GPL-2.0 11 * to send and receive SCMI commands, replies and notifications from a user 13 * little-endian format. 27 * originated from a test-suite and the normal operations of the SCMI drivers, 40 * `-- 0 41 * |-- atomic_threshold_us 42 * |-- instance_name 43 * |-- raw 44 * | |-- channels 45 * | | |-- 0x10 [all …]
|
| /linux/include/linux/usb/ |
| H A D | r8a66597.h | 1 // SPDX-License-Identifier: GPL-2.0 124 #define XTAL 0xC000 /* b15-14: Crystal selection */ 133 #define HSE 0x0080 /* b7: Hi-speed enable */ 135 #define DRPD 0x0020 /* b5: D+/- pull down control */ 140 #define OVCBIT 0x8000 /* b15-14: Over-current bit */ 141 #define OVCMON 0xC000 /* b15-14: Over-current monitor */ 143 #define IDMON 0x0004 /* b3: ID-pin monitor */ 144 #define LNST 0x0003 /* b1-0: D+, D- line status */ 146 #define FS_KSTS 0x0002 /* Full-Speed K State */ 147 #define FS_JSTS 0x0001 /* Full-Speed J State */ [all …]
|
| /linux/drivers/usb/gadget/udc/ |
| H A D | m66592-udc.h | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2006-2007 Renesas Solutions Corp. 17 #define M66592_XTAL 0xC000 /* b15-14: Crystal selection */ 26 #define M66592_HSE 0x0080 /* b7: Hi-speed enable */ 28 #define M66592_DMRPD 0x0020 /* b5: D- pull down control */ 30 #define M66592_FSRPC 0x0004 /* b2: Full-speed receiver enable */ 35 #define M66592_LNST 0x0003 /* b1-0: D+, D- line status */ 47 #define M66592_RHST 0x0003 /* b1-0: Reset handshake status */ 48 #define M66592_HSMODE 0x0003 /* Hi-Speed mode */ 49 #define M66592_FSMODE 0x0002 /* Full-Speed mode */ [all …]
|
| /linux/net/batman-adv/ |
| H A D | bat_v_ogm.c | 1 // SPDX-License-Identifier: GPL-2.0 35 #include "hard-interface.h" 40 #include "send.h" 41 #include "translation-table.h" 45 * batadv_v_ogm_orig_get() - retrieve and possibly create an originator node 67 kref_get(&orig_node->refcount); in batadv_v_ogm_orig_get() 68 hash_added = batadv_hash_add(bat_priv->orig_hash, batadv_compare_orig, in batadv_v_ogm_orig_get() 70 &orig_node->hash_entry); in batadv_v_ogm_orig_get() 82 * batadv_v_ogm_start_queue_timer() - restart the OGM aggregation timer 83 * @hard_iface: the interface to use to send the OGM [all …]
|
| /linux/tools/testing/selftests/net/netfilter/ |
| H A D | nft_concat_range.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # nft_concat_range.sh - Tests for sets with concatenation of ranged fields 16 # - reported_issues: check for issues that were reported in the past 17 # - correctness: check that packets match given entries, and only those 18 # - correctness_large: same but with additional non-matching entries 19 # - concurrency: attempt races between insertion, deletion and lookup 20 # - timeou [all...] |
| /linux/drivers/bluetooth/ |
| H A D | hci_qca.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * HCI_IBS (HCI In-Band Sleep) is Qualcomm's power management 13 * Written by Ohad Ben-Cohen <ohad@bencohen.org> 246 if (hu->serdev) { in qca_soc_type() 247 struct qca_serdev *qsd = serdev_device_get_drvdata(hu->serdev); in qca_soc_type() 249 soc_type = qsd->btsoc_type; in qca_soc_type() 259 if (hu->serdev) { in qca_get_firmware_name() 260 struct qca_serdev *qsd = serdev_device_get_drvdata(hu->serdev); in qca_get_firmware_name() 262 return qsd->firmware_name[0]; in qca_get_firmware_name() 270 if (hu->serdev) { in qca_get_rampatch_name() [all …]
|
| /linux/arch/arm64/include/asm/ |
| H A D | tlbflush.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 1999-2003 Russell King 69 * - 4KB : 1 70 * - 16KB : 2 71 * - 64KB : 3 92 * Level-based TLBI operations. 94 * When ARMv8.4-TTL exists, TLBI operations take an additional hint for 98 * a non-hinted invalidation. Any provided level outside the hint range 99 * will also cause fall-back to non-hinted invalidation. 101 * For Stage-2 invalidation, use the level values provided to that effect [all …]
|
| /linux/drivers/scsi/aic7xxx/ |
| H A D | aic7xxx.seq | 4 * Copyright (c) 1994-2001 Justin T. Gibbs. 5 * Copyright (c) 2000-2001 Adaptec Inc. 19 * 3. Neither the names of the above-listed copyright holders nor the names 37 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 60 * use byte 27 of the SCB as a pseudo-next pointer and to thread a list 61 * of SCBs that are awaiting selection. Since 0-0xfe are valid SCB indexes, 62 * SCB_LIST_NULL is 0xff which is out of range. An entry is also added to 63 * this list every time a request sense occurs or after completing a non-tagged 78 if ((ahc->features & AHC_ULTRA2) != 0) { 82 if ((ahc->features & AHC_TWIN) != 0) { [all …]
|
| /linux/scripts/kconfig/tests/ |
| H A D | conftest.py | 1 # SPDX-License-Identifier: GPL-2.0 24 This class provides methods to run text-based interface of Kconfig 41 """Run text-based Kconfig executable and save the result. 43 mode: input mode option (--oldaskconfig, --defconfig=<file> etc.) 76 # If input key sequence is given, feed it to stdin. 78 ps.stdin.write(in_keys.encode('utf-8')) 82 # send 'Enter' key until the program finishes. 86 ps.stdin.flush() 117 # figure out what has happened. 142 return self._run_conf('--oldaskconfig', dot_config=dot_config, [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
| H A D | tx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright(c) 2008 - 2014 Intel Corporation. All rights reserved. 13 #include "iwl-io.h" 14 #include "iwl-trans.h" 15 #include "iwl-agn-hw.h" 34 if (info->control.rates[0].flags & IEEE80211_TX_RC_USE_RTS_CTS || in iwlagn_tx_cmd_protection() 35 info->control.rates[0].flags & IEEE80211_TX_RC_USE_CTS_PROTECT || in iwlagn_tx_cmd_protection() 36 info->flags & IEEE80211_TX_CTL_AMPDU) in iwlagn_tx_cmd_protection() 49 __le16 fc = hdr->frame_control; in iwlagn_tx_cmd_build_basic() 50 __le32 tx_flags = tx_cmd->tx_flags; in iwlagn_tx_cmd_build_basic() [all …]
|