/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) */ 137 /* See MS-SMB2 2.2.13.2.11 */ 153 /* See MS-SMB2 2.2.13.2.12 */ 163 /* See MS-SMB2 2.2.14.2.12 */ 176 /* See MS-SMB2 2.2.13.2.5 */ 184 /* See MS-SMB2 2.2.13.2.9 */ [all …]
|
/linux/Documentation/process/ |
H A D | adding-syscalls.rst | 9 :ref:`Documentation/process/submitting-patches.rst <submittingpatches>`. 13 ------------------------ 18 kernel, there are other possibilities -- choose what fits best for your 21 - If the operations involved can be made to look like a filesystem-like 26 - If the new functionality involves operations where the kernel notifies 30 - However, operations that don't map to 31 :manpage:`read(2)`/:manpage:`write(2)`-like operations 35 - If you're just exposing runtime system information, a new node in sysfs 41 - If the operation is specific to a particular file or file descriptor, then 47 - If the operation is specific to a particular task or process, then an [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/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 = &uart0; 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/fs/smb/common/ |
H A D | smb2pdu.h | 1 /* SPDX-License-Identifier: LGPL-2.1 */ 98 /* According to MS-SMB2 specification The minimum recommended value is 65536.*/ 132 * See MS-SMB2.PDF specification for protocol details. 138 /* See MS-SMB2 section 2.2.1 */ 164 __le16 ChannelSequence; /* See MS-SMB2 3.2.4.1 and 3.2.7.1 */ 219 * has the form of the unchained one -- i.e. it never has the 223 * See MS-SMB2 2.2.42 for more details. 257 /* See MS-SMB2 section 2.2.9.2 */ 269 /* Remoted identity tree connect context structures - see MS-SMB2 2.2.9.2.1 */ 288 /* SidAttrList - array of sid_attr_data structs */ [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/net/ipv4/ |
H A D | tcp_output.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 * Corey Minyard <wf-rch!minyard@relay.EU.net> 13 * Florian La Roche, <flla@stud.uni-sb.de> 33 * Cacophonix Gaul : draft-minshall-nagle-01 59 tp->tcp_clock_cach in tcp_mstamp_refresh() [all...] |
/linux/drivers/net/ethernet/3com/ |
H A D | 3c574_cs.c | 3 Written 1993-1998 by 27 II. Board-specific settings 29 None -- PC cards are autoconfigured. 33 The 3c574 uses a Boomerang-style interface, without the bus-master capability. 39 RunnerWrCtrl. These are 11 bit down-counters that are preloaded with the 41 or Tx FIFO. The chip is then able to hide the internal-PCI-bus to PC-card 46 0x0800-0x0fff can translated to the PIO FIFO. Thus memory operations (faster 56 register set, 1-5 are various PC card control registers, and 16-31 are 167 On the "Odie" this window is always mapped at offsets 0x10-0x1f. 212 code size of a per-interface flag is not worthwhile. */ [all …]
|
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/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 116 * it821x_program - program the PIO/MWDMA registers 128 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in it821x_program() [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/gpu/drm/ |
H A D | drm_mipi_dbi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 62 * 1. 9-bit with the Data/Command signal as the ninth bit 64 * 3. 8-bit with the Data/Command signal as a separate D/CX pin 108 if (!dbi->read_commands) in mipi_dbi_command_is_read() 112 if (!dbi->read_commands[i]) in mipi_dbi_command_is_read() 114 if (cmd == dbi->read_commands[i]) in mipi_dbi_command_is_read() 122 * mipi_dbi_command_read - MIPI DCS read command 134 if (!dbi->read_commands) in mipi_dbi_command_read() 135 return -EACCES; in mipi_dbi_command_read() 138 return -EINVAL; in mipi_dbi_command_read() [all …]
|
/linux/drivers/net/wireless/ath/ath10k/ |
H A D | wmi.h | 1 /* SPDX-License-Identifier: ISC */ 3 * Copyright (c) 2005-2011 Atheros Communications Inc. 4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc. 5 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. 6 * Copyright (c) 2021-2024 Qualcomm Innovation Center, Inc. All rights reserved. 29 * 1. Add new WMI commands ONLY within the specified range - 0x9000 - 0x9fff 42 * u32 variables for every lower sized field. 45 * variable is already 4-byte aligned by virtue of being a u32 527 * for wmi_services is 64 as target is using only 4-bits of each 32-bit 533 __le32_to_cpu((wmi_svc_bmap)[((svc_id) - (len)) / 28]) & \ [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 155 * drop_reasons_register_subsys - register another drop reason subsystem 174 * drop_reasons_unregister_subsys - unregister a drop reason subsystem 193 * skb_panic - private function for out-of-line support 199 * Out-of-line support for skb_put() and skb_push(). 208 msg, addr, skb->len, sz, skb->head, skb->data, in skb_panic() 209 (unsigned long)skb->tail, (unsigned long)skb->end, in skb_panic() 210 skb->dev ? skb->dev->name : "<NULL>"); 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-2024 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/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 * * - [all...] |