| /linux/drivers/net/wireless/marvell/libertas/ |
| H A D | if_spi.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 40 /* SPI register offsets. 4-byte aligned. */ 46 #define IF_SPI_CMD_READBASE_REG 0x10 /* Read command base reg */ 47 #define IF_SPI_CMD_WRITEBASE_REG 0x14 /* Write command base reg */ 48 #define IF_SPI_CMD_RDWRPORT_REG 0x18 /* Read/Write command port reg */ 62 #define IF_SPI_HOST_INT_CTRL_REG 0x40 /* Host interrupt controller reg */ 71 #define IF_SPI_HOST_INT_CAUSE_REG 0x58 /* Host interrupt cause reg */ 72 #define IF_SPI_HOST_INT_STATUS_REG 0x5C /* Host interrupt status reg */ 73 #define IF_SPI_HOST_INT_EVENT_MASK_REG 0x60 /* Host interrupt event mask */ 74 #define IF_SPI_HOST_INT_STATUS_MASK_REG 0x64 /* Host interrupt status mask */ [all …]
|
| /linux/Documentation/mhi/ |
| H A D | mhi.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 MHI (Modem Host Interface) 13 by the host processors to control and communicate with modem devices over high 26 ---- 29 which are mapped to the host memory space by the peripheral buses like PCIe. 34 MHI BHI registers: BHI (Boot Host Interface) registers are used by the host 37 Channel Doorbell array: Channel Doorbell (DB) registers used by the host to 41 (DB) registers are used by the host to notify the device when new events are 45 debugging information like performance, functional, and stability to the host. 48 --------------- [all …]
|
| /linux/drivers/net/wireless/ath/ath6kl/ |
| H A D | bmi.h | 2 * Copyright (c) 2004-2011 Atheros Communications Inc. 30 * to examine and modify state. The Host has an opportunity to use 31 * BMI only once during bootup. Once the Host issues a BMI_DONE 32 * command, this opportunity ends. 34 * The Host writes BMI requests to mailbox0, and reads BMI responses 35 * from mailbox0. BMI requests all begin with a command 37 * command-specific data. 40 * The Host can only issue a command once the Target gives it a 41 * "BMI Command Credit", using ATH6KL Counter #4. As soon as the 42 * Target has completed a command, it issues another BMI Command [all …]
|
| /linux/tools/testing/selftests/net/lib/py/ |
| H A D | utils.py | 1 # SPDX-License-Identifier: GPL-2.0 13 """ Command failed to start. Only raised by bkg(). """ 20 """ Command failed (returned non-zero exit code). """ 27 """ Command succeeded (returned zero exit code), but expected failure. """ 39 Execute a command on local or remote host. 44 Use bkg() instead to run a command in the background. 47 background=False, host=None, timeout=20, ksft_ready=None, argument 51 comm = (f'nsenter --user={ns.user_ns_path} ' 52 f'--net={ns.net_ns_path} --setuid=0 --setgid=0 -- ' 62 self.host = host [all …]
|
| /linux/drivers/mtd/nand/raw/ |
| H A D | hisi504_nand.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright © 2012-2014 HiSilicon Technologies Co., Ltd. 21 #include <linux/dma-mapping.h> 132 unsigned int command; member 144 static inline unsigned int hinfc_read(struct hinfc_host *host, unsigned int reg) in hinfc_read() argument 146 return readl(host->iobase + reg); in hinfc_read() 149 static inline void hinfc_write(struct hinfc_host *host, unsigned int value, in hinfc_write() argument 152 writel(value, host->iobase + reg); in hinfc_write() 155 static void wait_controller_finished(struct hinfc_host *host) in wait_controller_finished() argument 161 val = hinfc_read(host, HINFC504_STATUS); in wait_controller_finished() [all …]
|
| /linux/drivers/scsi/ |
| H A D | mac53c94.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * SCSI low-level driver for the 53c94 SCSI bus adaptor found 5 * We assume the 53c94 is connected to a DBDMA (descriptor-based DMA) 50 struct Scsi_Host *host; member 74 if (cmd->sc_data_direction == DMA_TO_DEVICE) { in mac53c94_queue_lck() 76 printk(KERN_DEBUG "mac53c94_queue %p: command is", cmd); in mac53c94_queue_lck() 77 for (i = 0; i < cmd->cmd_len; ++i) in mac53c94_queue_lck() 78 printk(KERN_CONT " %.2x", cmd->cmnd[i]); in mac53c94_queue_lck() 85 cmd->host_scribble = NULL; in mac53c94_queue_lck() 87 state = (struct fsc_state *) cmd->device->host->hostdata; in mac53c94_queue_lck() [all …]
|
| H A D | 53c700.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 /* NCR (or Symbios) 53c700 and 53c700-66 Driver 6 **----------------------------------------------------------------------------- 9 **----------------------------------------------------------------------------- 20 * The 700-66 can at least do synchronous SCSI up to 10MHz. 22 * The 700 chip has no host bus interface logic of its own. However, 27 * minimal wrapper for the purpose---see the NCR_D700 driver for 45 * bad bug having to do with 10 byte command processing and REQUEST 46 * SENSE (the command would loop forever getting a transfer length 54 * Bogendoerfer). Added missing SCp->request_bufflen initialisation [all …]
|
| H A D | 3w-sas.c | 2 3w-sas.c -- LSI 3ware SAS/SATA-RAID Controller device driver for Linux. 20 LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, 39 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 43 LSI 3ware 9750 6Gb/s SAS/SATA-RAID 49 ------- 50 3.26.02.000 - Initial driver release. 72 #include "3w-sas.h" 79 static int twl_major = -1; 84 MODULE_DESCRIPTION ("LSI 3ware SAS/SATA-RAID Linux Driver"); 104 TW_Device_Extension *tw_dev = (TW_Device_Extension *)shost->hostdata; in twl_sysfs_aen_read() [all …]
|
| H A D | 3w-9xxx.c | 2 3w-9xxx.c -- 3ware 9000 Storage Controller device driver for Linux. 7 Copyright (C) 2004-2009 Applied Micro Circuits Corporation. 22 LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, 41 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 50 ------- 51 2.26.02.000 - Driver cleanup for kernel submission. 52 2.26.02.001 - Replace schedule_timeout() calls with msleep(). 53 2.26.02.002 - Add support for PAE mode. 59 Remove un-needed eh_abort handler. 61 2.26.02.003 - Correctly handle single sgl's with use_sg=1. [all …]
|
| H A D | scsi_error.c | 1 // SPDX-License-Identifier: GPL-2.0-only 54 * These should *probably* be handled by the host itself. 66 lockdep_assert_held(shost->host_lock); in scsi_eh_wakeup() 68 if (busy == shost->host_failed) { in scsi_eh_wakeup() 70 wake_up_process(shost->ehandler); in scsi_eh_wakeup() 84 * so changes to host state and host_eh_scheduled are visible to all in scsi_rcu_eh_wakeup() 91 spin_lock_irqsave(shost->host_lock, flags); in scsi_rcu_eh_wakeup() 93 spin_unlock_irqrestore(shost->host_lock, flags); in scsi_rcu_eh_wakeup() 97 * scsi_schedule_eh - schedule EH for SCSI host 98 * @shost: SCSI host to invoke error handling on. [all …]
|
| H A D | pmcraid.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * pmcraid.c -- driver for PMC Sierra MaxRAID controller adapters 5 * Written By: Anil Ravindranath<anil_ravindranath@pmc-sierra.com> 6 * PMC-Sierra Inc 54 * pmcraid_adapter_count - count of configured adapters 59 * Supporting user-level control interface through IOCTL commands. 60 * pmcraid_major - major number to use 61 * pmcraid_minor - minor number(s) to use 72 MODULE_AUTHOR("Anil Ravindranath<anil_ravindranath@pmc-sierra.com>"); 79 "Enables firmware error code logging, default :1 high-severity" [all …]
|
| /linux/Documentation/admin-guide/ |
| H A D | btmrvl.rst | 13 These commands are used to configure the host sleep parameters:: 14 bit 8:0 -- Gap 15 bit 16:8 -- GPIO 17 where GPIO is the pin number of GPIO used to wake up the host. 18 It could be any valid GPIO pin# (e.g. 0-7) or 0xff (SDIO interface 22 wakeup event, or 0xff for special host sleep setting. 26 # Use SDIO interface to wake up the host and set GAP to 0x80: 30 # Use GPIO pin #3 to wake up the host and set GAP to 0xff: 39 1 -- Enable auto sleep mode 40 0 -- Disable auto sleep mode [all …]
|
| /linux/drivers/net/ethernet/intel/e1000e/ |
| H A D | manage.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2018 Intel Corporation. */ 7 * e1000_calculate_checksum - Calculate checksum for buffer 25 return (u8)(0 - sum); in e1000_calculate_checksum() 29 * e1000_mng_enable_host_if - Checks host interface is enabled 32 * Returns 0 upon success, else -E1000_ERR_HOST_INTERFACE_COMMAND 34 * This function checks whether the HOST IF is enabled for command operation 35 * and also checks whether the previous command is completed. It busy waits 36 * in case of previous command is not completed. 43 if (!hw->mac.arc_subsystem_valid) { in e1000_mng_enable_host_if() [all …]
|
| /linux/drivers/net/wireless/marvell/mwifiex/ |
| H A D | README | 2 # Copyright 2011-2020 NXP 9 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the 10 # worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt. 12 # THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE 38 Following are some useful iw commands:- 42 This command will trigger a scan. 43 The command will then display the scan table entries 45 iw dev mlan0 connect -w <SSID> [<freq in MHz>] [<bssid>] [key 0:abcde d:1123456789a] 46 The above command can be used to connect to an AP with a particular SSID. 48 WEP encryption, wep keys can be specified in the command. [all …]
|
| /linux/tools/perf/Documentation/ |
| H A D | perf-kvm.txt | 1 perf-kvm(1) 5 ---- 6 perf-kvm - Tool to trace/measure kvm guest os 9 -------- 11 'perf kvm' [--host] [--guest] [--guestmount=<path> 12 [--guestkallsyms=<path> --guestmodules=<path> | --guestvmlinux=<path>]] 13 {top|record|report|diff|buildid-list} [<options>] 14 'perf kvm' [--host] [--guest] [--guestkallsyms=<path> --guestmodules=<path> 15 | --guestvmlinux=<path>] {top|record|report|diff|buildid-list|stat} [<options>] 19 ----------- [all …]
|
| /linux/include/scsi/ |
| H A D | scsi_host.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 12 #include <linux/blk-mq.h> 32 * enum scsi_timeout_action - How to handle a command that timed out. 33 * @SCSI_EH_DONE: The command has already been completed. 35 * @SCSI_EH_NOT_HANDLED: The command has not yet finished. Abort the command. 50 * Additional per-command data allocated for the driver. 56 * command block to the LLDD. When the driver finished 57 * processing the command the done callback is invoked. 60 * command. It must also push it to the HBA if the scsi_cmnd 62 * commit_rqs. The done() function must be called on the command [all …]
|
| /linux/drivers/mmc/core/ |
| H A D | sd_uhs2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 21 * Support for SD UHS-II cards 26 #include <linux/mmc/host.h> 45 struct mmc_host *host; member 49 static int sd_uhs2_power_up(struct mmc_host *host) in sd_uhs2_power_up() argument 51 if (host->ios.power_mode == MMC_POWER_ON) in sd_uhs2_power_up() 54 host->ios.vdd = fls(host->ocr_avail) - 1; in sd_uhs2_power_up() 55 host->ios.clock = host->f_init; in sd_uhs2_power_up() 56 host->ios.timing = MMC_TIMING_UHS2_SPEED_A; in sd_uhs2_power_up() 57 host->ios.power_mode = MMC_POWER_ON; in sd_uhs2_power_up() [all …]
|
| /linux/Documentation/scsi/ |
| H A D | BusLogic.rst | 1 .. SPDX-License-Identifier: GPL-2.0 21 Copyright 1995-1998 by Leonard N. Zubkoff <lnz@dandelion.com> 28 host adapters which share a common programming interface across a diverse 34 This driver supports all present BusLogic MultiMaster Host Adapters, and should 36 recently, BusLogic introduced the FlashPoint Host Adapters, which are less 37 costly and rely on the host CPU, rather than including an onboard processor. 38 Despite not having an onboard CPU, the FlashPoint Host Adapters perform very 39 well and have very low command latency. BusLogic has recently provided me with 42 is the library of code that runs on the host CPU and performs functions 43 analogous to the firmware on the MultiMaster Host Adapters. Thanks to their [all …]
|
| /linux/drivers/mmc/host/ |
| H A D | sdhci-iproc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include <linux/mmc/host.h> 14 #include "sdhci-pltfm.h" 34 static inline u32 sdhci_iproc_readl(struct sdhci_host *host, int reg) in sdhci_iproc_readl() argument 36 u32 val = readl(host->ioaddr + reg); in sdhci_iproc_readl() 39 mmc_hostname(host->mmc), reg, val); in sdhci_iproc_readl() 43 static u16 sdhci_iproc_readw(struct sdhci_host *host, int reg) in sdhci_iproc_readw() argument 45 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_iproc_readw() 50 if ((reg == SDHCI_TRANSFER_MODE) && iproc_host->is_cmd_shadowed) { in sdhci_iproc_readw() 52 val = iproc_host->shadow_cmd; in sdhci_iproc_readw() [all …]
|
| /linux/drivers/scsi/arm/ |
| H A D | acornscsi.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 191 PHASE_COMMANDPAUSED, /* command partly sent */ 192 PHASE_COMMAND, /* command all sent */ 207 INTR_NEXT_COMMAND, /* start next command */ 230 * Command type 232 typedef enum { /* command type */ 263 host->status[(_q)][host->status_ptr[(_q)]].when = jiffies; \ 264 host->status[(_q)][host->status_ptr[(_q)]].ssr = (_ssr); \ 265 host->status[(_q)][host->status_ptr[(_q)]].ph = (_ph); \ 266 host->status[(_q)][host->status_ptr[(_q)]].irq = (_irq); \ [all …]
|
| /linux/include/uapi/drm/ |
| H A D | vmwgfx_drm.h | 1 /* SPDX-License-Identifier: (GPL-2.0 WITH Linux-syscall-note) OR MIT */ 4 * Copyright © 2009-2023 VMware, Inc., Palo Alto, CA., USA 21 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 82 * DRM_VMW_GET_PARAM - get device information. 85 * Offset to use to map the first page of the FIFO read-only. 124 * enum drm_vmw_handle_type - handle type for ref ioctls 149 * DRM_VMW_CREATE_CONTEXT - Create a host context. 151 * Allocates a device unique context id, and queues a create context command 152 * for the host. Does not wait for host completion. 171 * DRM_VMW_UNREF_CONTEXT - Create a host context. [all …]
|
| /linux/drivers/scsi/snic/ |
| H A D | snic_fwint.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 11 * Command entry type 18 SNIC_REQ_ICMND, /* Initiator command for SCSI IO */ 19 SNIC_REQ_ITMF, /* Initiator command for Task Mgmt */ 81 * snic_io_hdr : host <--> firmware 103 hdr->type = typ; in snic_io_hdr_enc() 104 hdr->status = status; in snic_io_hdr_enc() 105 hdr->protocol = 0; in snic_io_hdr_enc() 106 hdr->hid = cpu_to_le32(hid); in snic_io_hdr_enc() 107 hdr->cmnd_id = cpu_to_le32(id); in snic_io_hdr_enc() [all …]
|
| /linux/Documentation/i2c/ |
| H A D | slave-testunit-backend.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 by Wolfram Sang <wsa@sang-engineering.com> in 2020 11 easy to obtain). Examples include multi-master testing, and SMBus Host Notify 21 # echo "slave-testunit 0x1030" > /sys/bus/i2c/devices/i2c-0/new_device 30 compatible = "slave-testunit"; 36 byte. Its value is 0 if the testunit is idle, otherwise the command number of 37 the currently running command. 39 When writing, the device consists of 4 8-bit registers and, except for some 43 .. csv-table:: 51 Using 'i2cset' from the i2c-tools package, the generic command looks like:: [all …]
|
| /linux/drivers/net/ethernet/brocade/bna/ |
| H A D | bfi_cna.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Linux network driver for QLogic BR-series Converged Network Adapter. 6 * Copyright (c) 2005-2014 Brocade Communications Systems, Inc. 7 * Copyright (c) 2014-2015 QLogic Corporation 68 /* @brief Mailbox commands from host to (DCBX/LLDP) firmware */ 75 /* @brief Mailbox reply and AEN messages from DCBX/LLDP firmware to host */ 85 * @brief H2I command structure for resetting the stats. 93 * @brief H2I command structure for resetting the stats. 101 * @brief get configuration command from host 120 * @brief get configuration command from host [all …]
|
| /linux/Documentation/nvme/ |
| H A D | nvme-pci-endpoint-target.rst | 1 .. SPDX-License-Identifier: GPL-2.0 21 files or block devices, or can use NVMe passthrough to expose to the PCI host an 22 existing physical NVMe device or an NVMe fabrics host controller (e.g. a NVMe 23 TCP host controller). 27 host. However, using the PCI endpoint framework API and DMA API, the driver is 30 NVMe data structure management and some NVMe command parsing. 33 if supported, or MMIO otherwise. Each command retrieved is then executed 36 constantly poll the doorbell of all submission queues to detect command 37 submissions from the PCIe host. 40 PCIe host using MMIO copy of the entries in the host completion queue. [all …]
|