| /linux/fs/smb/client/ |
| H A D | smb2pdu.h | 1 /* SPDX-License-Identifier: LGPL-2.1 */ 24 /* See MS-SMB2 2.2.43 */ 51 * See MS-SMB2.PDF specification for protocol details. 78 /* SMB 3.1.1 and later dialects. See MS-SMB2 section 2.2.2.1 */ 89 /* Defines for Type field below (see MS-SMB2 2.2.2.2.2.1) */ 136 /* See MS-SMB2 2.2.13.2.5 */ 144 /* See MS-SMB2 2.2.13.2.9 */ 156 /* See MS-FSCC 2.3.29 and 2.3.30 */ 166 * See MS-FSCC 2.3.33 and 2.3.34 181 /* See MS-DFSC 2.2.2 */ [all …]
|
| /linux/Documentation/networking/device_drivers/ethernet/intel/ |
| H A D | e1000e.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 8 Copyright(c) 2008-2018 Intel Corporation. 13 - Identifying Your Adapter 14 - Command Line Parameters 15 - Additional Configurations 16 - Support 48 --------------------- 49 :Valid Range: 0,1,3,4,100-100000 82 - 0: Off 86 - 1: Dynamic mode [all …]
|
| /linux/arch/sh/include/asm/ |
| H A D | pgtable_32.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 * notes on SH-X2 MMUs and 64-bit PTEs): 11 * - Bits 0 and 7 are reserved on SH-3 (_PAGE_WT and _PAGE_SZ1 on SH-4). 13 * - Bit 1 is the SH-bit, but is unused on SH-3 due to an MMU bug (the 14 * hardware PTEL value can't have the SH-bit set when MMUCR.IX is set, 15 * which is the default in cpu-sh3/mmu_context.h:MMU_CONTROL_INIT). 18 * SH-3 specific flags until all of the other unused bits have been 21 * - Bit 9 is reserved by everyone and used by _PAGE_PROTNONE. 23 * - Bits 10 and 11 are low bits of the PPN that are reserved on >= 4K pages. 26 * - On 29 bit platforms, bits 31 to 29 are used for the space attributes [all …]
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_ioctl.c | 56 * - GET_UNIQUE ioctl, implemented by drm_getunique is wrapped up in libdrm 58 * - The libdrm drmSetBusid function is backed by the SET_UNIQUE ioctl. All 60 * - The internal set_busid kernel functions and driver callbacks are 63 * - Other ioctls and functions involved are named consistently. 76 * side-effect this fills out the unique name in the master structure. 121 mutex_lock(&dev->master_mutex); in drm_getunique() 122 master = file_priv->master; in drm_getunique() 123 if (u->unique_len >= master->unique_len) { in drm_getunique() 124 if (copy_to_user(u->unique, master->unique, master->unique_len)) { in drm_getunique() 125 mutex_unlock(&dev->master_mutex); in drm_getunique() [all …]
|
| /linux/arch/arm/boot/dts/ti/omap/ |
| H A D | am335x-evm.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ 5 /dts-v1/; 8 #include <dt-bindings/interrupt-controller/irq.h> 12 compatible = "ti,am335x-evm", "ti,am33xx"; 16 cpu0-supply = <&vdd1_reg>; 26 stdout-path = "serial0:115200n8"; 30 compatible = "regulator-fixed"; 31 regulator-name = "vbat"; 32 regulator-min-microvolt = <5000000>; [all …]
|
| /linux/drivers/net/usb/ |
| H A D | rndis_host.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 26 * - Power management in particular relies on information that's scattered 29 * - There are various undocumented protocol requirements, such as the 30 * need to send unused garbage in control-OUT messages. 31 * - In some cases, MS-Windows will emit undocumented requests; this 34 * Moreover there's a no-open-specs variant of RNDIS called "ActiveSync". 37 * favor of such non-proprietary alternatives as CDC Ethernet or the newer (and 47 netdev_dbg(dev->net, "rndis status urb, len %d stat %d\n", in rndis_status() 48 urb->actual_length, urb->status); in rndis_status() 60 struct cdc_state *info = (void *)&dev->data; in rndis_msg_indicate() [all …]
|
| /linux/drivers/nvme/host/ |
| H A D | rdma.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (c) 2015-2016 HGST, a Western Digital Company. 14 #include <linux/blk-mq.h> 15 #include <linux/blk-integrity.h> 25 #include <linux/nvme-rdma.h> 161 return queue - queue->ctrl->queues; in nvme_rdma_queue_idx() 167 queue->ctrl->io_queues[HCTX_TYPE_DEFAULT] + in nvme_rdma_poll_queue() 168 queue->ctrl->io_queues[HCTX_TYPE_READ]; in nvme_rdma_poll_queue() 173 return queue->cmnd_capsule_len - sizeof(struct nvme_command); in nvme_rdma_inline_data_size() 179 ib_dma_unmap_single(ibdev, qe->dma, capsule_size, dir); in nvme_rdma_free_qe() [all …]
|
| /linux/drivers/net/ethernet/sgi/ |
| H A D | ioc3-eth.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * o IOC3 ASIC specification 4.51, 1996-04-18 19 * o For the 2.5 branch kill the mii-tool ioctls. 22 #define IOC3_NAME "ioc3-eth" 23 #define IOC3_VERSION "2.6.3-4" 44 #include <linux/dma-mapping.h> 46 #include <linux/nvmem-consumer.h> 61 #define RX_RING_MASK (RX_RING_ENTRIES - 1) 66 #define TX_RING_MASK (TX_RING_ENTRIES - 1) 120 return (~addr + 1) & (IOC3_DMA_XFER_LEN - 1UL); in aligned_rx_skb_addr() [all …]
|
| /linux/kernel/irq/ |
| H A D | msi.c | 1 // SPDX-License-Identifier: GPL-2.0 26 * struct msi_device_data - MSI per device data 40 * struct msi_ctrl - MSI internal management control structure 45 * than the range due to PCI/multi-MSI. 55 #define MSI_XA_MAX_INDEX (ULONG_MAX - 1) 66 * msi_alloc_desc - Allocate an initialized msi_desc 84 desc->dev = dev; in msi_alloc_desc() 85 desc->nvec_used = nvec; in msi_alloc_desc() 87 desc->affinity = kmemdup_array(affinity, nvec, sizeof(*desc->affinity), GFP_KERNEL); in msi_alloc_desc() 88 if (!desc->affinity) { in msi_alloc_desc() [all …]
|
| /linux/drivers/net/ethernet/dec/tulip/ |
| H A D | winbond-840.c | 1 /* winbond-840.c: A Linux PCI network adapter device driver. */ 3 Written 1998-2001 by Donald Becker. 40 * Replace some MII-related magic numbers with constants (jgarzik) 44 * Wake-On-LAN 49 #define DRV_NAME "winbond-840" 52 probe-func: winbond840_probe 53 config-in: tristate 'Winbond W89c840 Ethernet support' CONFIG_WINBOND_840 55 c-help-name: Winbond W89c840 PCI Ethernet support 56 c-help-symbol: CONFIG_WINBOND_840 57 c-help: This driver is for the Winbond W89c840 chip. It also works with [all …]
|
| /linux/drivers/usb/serial/ |
| H A D | cp210x.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright (C) 2010-2021 Johan Hovold (johan@kernel.org) 10 * control thanks to Munir Nassar nassarmu@real-time.com 55 { USB_DEVICE(0x045B, 0x0053) }, /* Renesas RX610 RX-Stick */ 56 { USB_DEVICE(0x0471, 0x066A) }, /* AKTAKOM ACE-1001 cable */ 57 { USB_DEVICE(0x0489, 0xE000) }, /* Pirelli Broadband S.p.A, DP-L10 SIP/GSM Mobile */ 58 { USB_DEVICE(0x0489, 0xE003) }, /* Pirelli Broadband S.p.A, DP-L10 SIP/GSM Mobile */ 59 { USB_DEVICE(0x04BF, 0x1301) }, /* TDK Corporation NC0110013M - Network Controller */ 60 { USB_DEVICE(0x04BF, 0x1303) }, /* TDK Corporation MM0110113M - i3 Micro Module */ 63 { USB_DEVICE(0x08e6, 0x5501) }, /* Gemalto Prox-PU/CU contactless smartcard reader */ [all …]
|
| /linux/drivers/ata/ |
| H A D | pata_it821x.c | 2 * pata_it821x.c - IT821x PATA for new ATA layer 35 * o If you write LBA48 sized I/O's (ie > 256 sector) in smart mode 41 * - In pass through mode we do all the work you would expect 42 * - In smart mode the clocking set up is done by the controller generally 44 * - There are a few extra vendor commands that actually talk to the 55 * is a raid volume. Even more cute - the controller can do automated 68 * - ATAPI and other speed filtering 69 * - RAID configuration ioctls 117 * it821x_program - program the PIO/MWDMA registers 129 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in it821x_program() [all …]
|
| /linux/drivers/net/ethernet/3com/ |
| H A D | 3c59x.c | 3 Written 1996-1999 by Donald Becker. 43 /* Set the copy breakpoint for the copy-only-tiny-frames scheme. 48 /* ARM systems perform better by disregarding the bus-master 49 transfer capability of these cards. -- rmk */ 98 This is only in the support-all-kernels source code. */ 117 The Boomerang size is twice as large as the Vortex -- it has additional 124 code size of a per-interface flag is not worthwhile. */ 145 II. Board-specific settings 151 The EEPROM settings for media type and forced-full-duplex are observed. 158 series. The primary interface is two programmed-I/O FIFOs, with an [all …]
|
| /linux/drivers/net/ethernet/dlink/ |
| H A D | sundance.c | 3 Written 1999-2000 by Donald Becker. 19 [link no longer provides useful info -jgarzik] 27 /* The user-configurable values. 30 /* Maximum number of multicast addresses to filter (vs. rx-all-multicast). 34 /* Set the copy breakpoint for the copy-only-tiny-frames scheme. 37 need a copy-align. */ 66 #define TX_QUEUE_LEN (TX_RING_SIZE - 1) /* Limit ring entries actually used. */ 96 #include <linux/dma-mapping.h> 109 MODULE_PARM_DESC(debug, "Sundance Alta debug level (0-5)"); 110 MODULE_PARM_DESC(rx_copybreak, "Sundance Alta copy breakpoint for copy-only-tiny-frames"); [all …]
|
| /linux/drivers/block/drbd/ |
| H A D | drbd_int.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 7 Copyright (C) 2001-2008, LINBIT Information Technologies GmbH. 8 Copyright (C) 1999-2008, Philipp Reisner <philipp.reisner@linbit.com>. 9 Copyright (C) 2002-2008, Lars Ellenberg <lars.ellenberg@linbit.com>. 29 #include <linux/backing-dev.h> 63 #define ID_SYNCER (-1ULL) 125 /* statistics; index: (h->command == P_BITMAP) */ 143 c->word_offset = c->bit_offset >> 6; in bm_xfer_ctx_bit_to_word_offset() 145 c->word_offset = c->bit_offset >> 5; in bm_xfer_ctx_bit_to_word_offset() 146 c->word_offset &= ~(1UL); in bm_xfer_ctx_bit_to_word_offset() [all …]
|
| /linux/drivers/infiniband/sw/siw/ |
| H A D | siw_qp_tx.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 4 /* Copyright (c) 2008-2019, IBM Corporation */ 22 (((uint32_t)(sizeof(struct siw_rreq_pkt) - \ 27 struct siw_pbl *pbl = mem->pbl; in siw_get_pblpage() 28 u64 offset = addr - mem->va; in siw_get_pblpage() 40 if (!mem->is_pbl) in siw_get_page() 41 return siw_get_upage(mem->umem, sge->laddr + offset); in siw_get_page() 43 return siw_get_pblpage(mem, sge->laddr + offset, pbl_idx); in siw_get_page() 51 struct siw_wqe *wqe = &c_tx->wqe_active; in siw_try_1seg() 52 struct siw_sge *sge = &wqe->sqe.sge[0]; in siw_try_1seg() [all …]
|
| /linux/net/sunrpc/auth_gss/ |
| H A D | auth_gss.c | 1 // SPDX-License-Identifier: BSD-3-Clause 55 * This compile-time check verifies that we will not exceed the 72 * using integrity (two 4-byte integers): */ 97 * for the new text-based upcall; dentry[0] is named after the 99 * backwards-compatibility with older gssd's. 118 refcount_inc(&ctx->count); in gss_get_ctx() 125 if (refcount_dec_and_test(&ctx->count)) in gss_put_ctx() 132 * and a new one is protected by the pipe->lock. 139 if (!test_bit(RPCAUTH_CRED_NEW, &cred->cr_flags)) in gss_cred_set_ctx() 142 rcu_assign_pointer(gss_cred->gc_ctx, ctx); in gss_cred_set_ctx() [all …]
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | net_driver.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright 2005-2006 Fen Systems Ltd. 5 * Copyright 2005-2013 Solarflare Communications Inc. 63 /* Checksum generation is a per-queue option in hardware, so each 86 #define EFX_RX_USR_BUF_SIZE (2048 - 256) 89 * of every buffer. Otherwise, we just need to ensure 4-byte 98 /* Non-standard XDP_PACKET_HEADROOM and tailroom to satisfy XDP_REDIRECT and 111 * struct efx_buffer - A general-purpose DMA buffer 126 * struct efx_tx_buffer - buffer state for a TX descriptor 131 * @option: When @flags & %EFX_TX_BUF_OPTION, an EF10-specific option [all …]
|
| /linux/net/core/ |
| H A D | skbuff.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Florian La Roche <rzsfl@rz.uni-sb.de> 19 * Ray VanTassle : Fixed --skb->lock in free 97 #include "net-sysfs.h" 110 * kmem_cache. The non-power-of-2 padding is kept for historical reasons and 158 * drop_reasons_register_subsys - register another drop reason subsystem 177 * drop_reasons_unregister_subsys - unregister a drop reason subsystem 196 * skb_panic - private function for out-of-line support 202 * Out-of-line support for skb_put() and skb_push(). 211 msg, addr, skb->len, sz, skb->head, skb->data, in skb_panic() [all …]
|
| /linux/drivers/net/ethernet/intel/igc/ |
| H A D | igc_main.c | 1 // SPDX-License-Identifier: GPL-2.0 33 static int debug = -1; 81 struct net_device *dev = adapter->netdev; in igc_reset() 82 struct igc_hw *hw = &adapter->hw; in igc_reset() 83 struct igc_fc_info *fc = &hw->fc; in igc_reset() 95 * - the full Rx FIFO size minus one full Tx plus one full Rx frame in igc_reset() 97 hwm = (pba << 10) - (adapter->max_frame_size + MAX_JUMBO_FRAME_SIZE); in igc_reset() 99 fc->high_water = hwm & 0xFFFFFFF0; /* 16-byte granularity */ in igc_reset() 100 fc->low_water = fc->high_water - 16; in igc_reset() 101 fc->pause_time = 0xFFFF; in igc_reset() [all …]
|
| /linux/drivers/usb/dwc2/ |
| H A D | hcd.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * hcd.c - DesignWare HS OTG Controller host-mode routines 5 * Copyright (C) 2004-2013 Synopsys, Inc. 17 #include <linux/dma-mapping.h> 37 * dwc2_enable_common_interrupts() - Initializes the commmon interrupts, 55 if (!hsotg->params.host_dma) in dwc2_enable_common_interrupts() 57 if (!hsotg->params.external_id_pin_ctl) in dwc2_enable_common_interrupts() 63 if (dwc2_is_device_mode(hsotg) && hsotg->params.lpm) in dwc2_enable_common_interrupts() 73 switch (hsotg->hw_params.arch) { in dwc2_gahbcfg_init() 75 dev_err(hsotg->dev, "External DMA Mode not supported\n"); in dwc2_gahbcfg_init() [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
| H A D | commands.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2005-2014, 2023-2025 Intel Corporation 7 * Please use iwl-xxxx-hw.h for hardware-related definitions. 29 /* Multi-Station support */ 93 /* RF-KILL commands and notifications */ 138 * - 4 standard TX queues 139 * - the command queue 140 * - 4 PAN TX queues 141 * - the PAN multicast queue, and 142 * - the AUX (TX during scan dwell) queue. [all …]
|
| /linux/drivers/net/ethernet/intel/e1000e/ |
| H A D | netdev.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2018 Intel Corporation. */ 36 static int debug = -1; 113 * __ew32_prepare - prepare to write to MAC CSR register on certain parts 128 while ((er32(FWSM) & E1000_ICH_FWSM_PCIM2PCI) && --i) in __ew32_prepare() 134 if (hw->adapter->flags2 & FLAG2_PCIM2PCI_ARBITER_WA) in __ew32() 137 writel(val, hw->hw_addr + reg); in __ew32() 141 * e1000_regdump - register printout routine 151 switch (reginfo->ofs) { in e1000_regdump() 165 pr_info("%-15s %08x\n", in e1000_regdump() [all …]
|
| /linux/include/linux/ |
| H A D | skbuff.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 7 * Florian La Roche, <rzsfl@rz.uni-sb.de> 28 #include <linux/dma-mapping.h> 40 #include <net/dropreason-core.h> 57 * .. flat-table:: Checksum related device features 60 * * - %NETIF_F_HW_CSUM 61 * - The driver (or its device) is able to compute one 67 * * - %NETIF_F_IP_CSUM 68 * - Driver (device) is only able to checksum plain 77 * * - %NETIF_F_IPV6_CSUM [all …]
|
| /linux/net/ipv4/ |
| H A D | tcp_input.c | 1 // SPDX-License-Identifier: GPL-2.0 12 * Corey Minyard <wf-rch!minyard@relay.EU.net> 13 * Florian La Roche, <flla@stud.uni-sb.de> 62 * Pasi Sarolahti: F-RTO for dealing with spurious RTOs 100 #define FLAG_DSACKING_ACK 0x800 /* SACK blocks contained D-SACK info */ 119 #define REXMIT_NEW 2 /* FRTO-style transmit of unsent/new packets */ 127 tp->tcp_clean_acked = cad; in clean_acked_data_enable() 135 tp->tcp_clean_acked = NULL; in clean_acked_data_disable() 149 bool unknown_opt = tcp_sk(sk)->rx_opt.saw_unknown && in bpf_skops_parse_hdr() 163 switch (sk->sk_state) { in bpf_skops_parse_hdr() [all …]
|