/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-mic | 8 PCIe form factor add-in Coprocessor card based on the Intel Many 9 Integrated Core (MIC) architecture that runs a Linux OS. 26 MIC device. For example - "x100" 34 MIC device. For example - "A0" or "B0" 42 MIC device in the context of the card OS. Possible values that 47 "ready" The MIC device is ready to boot the card OS. 52 "booting" The MIC device has initiated booting a card OS. 54 "shutting_down" The card OS is shutting down. 55 "resetting" A reset has been initiated for the MIC device 60 operations depending upon the current state of the card OS. [all …]
|
H A D | sysfs-driver-habanalabs | 64 on-board EEPROM 76 Description: Version of the firmware OS running on the device's CPU 82 Description: Interface to trigger a hard-reset operation for the device. 83 Hard-reset will reset ALL internal components of the device 90 Description: Displays how many times the device have undergone a hard-reset 177 value when a user-space process opens the device's file (unless 201 Description: Interface to trigger a soft-reset operation for the device. 202 Soft-reset will reset only the compute and DMA engines of the 209 Description: Displays how many times the device have undergone a soft-reset 218 * "operational" - Device is available for work. [all …]
|
/linux/Documentation/devicetree/bindings/arm/ |
H A D | psci.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> 15 processors") can be used by Linux to initiate various CPU-centric power 25 r0 => 32-bit Function ID / return value 26 {r1 - r3} => Parameters 40 - description: 44 - description: 46 Function IDs are not required and should be ignored by an OS with [all …]
|
/linux/arch/m68k/include/asm/ |
H A D | amigaints.h | 2 ** amigaints.h -- Amiga Linux interrupt handling structs and prototypes 87 #define IF_SOFT 0x0004 /* software initiated interrupt */ 104 ** these functions, they behave exactly like the amiga os routines 113 #endif /* asm-m68k/amigaints.h */
|
/linux/drivers/accel/ivpu/ |
H A D | vpu_boot_api.h | 1 /* SPDX-License-Identifier: MIT */ 3 * Copyright (c) 2020-2024, Intel Corporation. 11 * fw_bin_header->api_version[VPU_BOOT_API_VER_ID] = (VPU_BOOT_API_VER_MAJOR << 16) | 68 * Size of primary preemption buffer, assuming a 2-job submission queue. 74 * Size of secondary preemption buffer, assuming a 2-job submission queue. 86 /* Space reserved for future preemption-related fields. */ 109 /** VPU scheduling mode. By default, OS scheduling is used. */ 221 /* Clock frequencies: 0x20 - 0xFF */ 226 /* Memory regions: 0x100 - 0x1FF */ 246 /* IRQ re-direct numbers: 0x200 - 0x2FF */ [all …]
|
H A D | vpu_jsm_api.h | 1 /* SPDX-License-Identifier: MIT */ 3 * Copyright (c) 2020-2024, Intel Corporation. 74 /* Job status returned when the job was preempted mid-inference */ 79 * Host <-> VPU IPC channels. 80 * ASYNC commands use a high priority channel, other messages use low-priority ones. 132 * does not need per-job fence signalling. Other inline commands objects can be 160 * same process with a relative in-process priority. Valid values for relative 161 * priority are given below - max and min. 164 #define VPU_HWS_COMMAND_QUEUE_MIN_IN_PROCESS_PRIORITY -7 207 * present in the queue prior to them, and in-order relative to each other in the queue. [all …]
|
/linux/drivers/usb/storage/ |
H A D | scsiglue.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 * (c) 1999-2002 Matthew Dharm (mdharm-usb@one-eyed-alien.net) 10 * (c) 2000 David L. Brown, Jr. (usb-storage@davidb.org) 20 * similar to commands in the SCSI-II and ATAPI specifications. 23 * exhibits class-specific exemptions from the USB specification. 32 #include <linux/dma-mapping.h> 64 return us->scsi_name; in host_info() 69 struct us_data *us = host_to_us(sdev->host); in sdev_init() 76 sdev->inquiry_len = 36; in sdev_init() 79 if (us->protocol == USB_PR_BULK && us->max_lun > 0) in sdev_init() [all …]
|
/linux/drivers/usb/typec/ |
H A D | bus.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Bus for USB Type-C Alternate Modes 21 if (!alt->retimer) in typec_altmode_set_retimer() 24 state.alt = &alt->adev; in typec_altmode_set_retimer() 28 return typec_retimer_set(alt->retimer, &state); in typec_altmode_set_retimer() 36 if (!alt->mux) in typec_altmode_set_mux() 39 state.alt = &alt->adev; in typec_altmode_set_mux() 43 return typec_mux_set(alt->mux, &state); in typec_altmode_set_mux() 46 /* Wrapper to set various Type-C port switches together. */ 62 bool is_port = is_typec_port(adev->dev.parent); in typec_altmode_set_state() [all …]
|
/linux/drivers/hid/intel-ish-hid/ipc/ |
H A D | ipc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 2014-2016, Intel Corporation. 8 #include <linux/devm-helpers.h> 14 #include "hw-ish.h" 22 * ish_reg_read() - Read register 35 return readl(hw->mem_addr + offset); in ish_reg_read() 39 * ish_reg_write() - Write register 52 writel(value, hw->mem_addr + offset); in ish_reg_write() 56 * _ish_read_fw_sts_reg() - Read FW status register 69 * check_generated_interrupt() - Check if ISH interrupt [all …]
|
/linux/Documentation/scsi/ |
H A D | ChangeLog.megaraid_sas | 1 Release Date : Thu. Jun 19, 2014 17:00:00 PST 2014 - 2 (emaild-id:megaraidlinux@lsi.com) 7 Current Version : 06.803.02.00-rc1 8 Old Version : 06.803.01.00-rc1 14 ------------------------------------------------------------------------------- 15 Release Date : Mon. Mar 10, 2014 17:00:00 PST 2014 - 16 (emaild-id:megaraidlinux@lsi.com) 20 Current Version : 06.803.01.00-rc1 21 Old Version : 06.700.06.00-rc1 25 4. Add Dell PowerEdge VRTX SR-IOV VF device support. [all …]
|
/linux/Documentation/PCI/ |
H A D | pcieaer-howto.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 :Authors: - T. Long Nguyen <tom.l.nguyen@intel.com> 9 - Yanmin Zhang <yanmin.zhang@intel.com> 17 ---------------- 26 ---------------------------- 29 or on behalf of transactions initiated on the link. PCIe 41 - Gathers the comprehensive error information if errors occurred. 42 - Reports error to the users. 43 - Performs error recovery actions. 53 ------------------------------------------------------ [all …]
|
/linux/drivers/net/fddi/skfp/ |
H A D | skfddi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 41 * 02-Mar-98 CG Created. 43 * 10-Mar-99 CG Support for 2.2.x added. 44 * 25-Mar-99 CG Corrected IRQ routing for SMP (APIC) 45 * 26-Oct-99 CG Fixed compilation error on 2.2.13 46 * 12-Nov-99 CG Source code release 47 * 22-Nov-99 CG Included in kernel source. 48 * 07-May-00 DM 64 bit fixes, new dma interface 49 * 31-Jul-03 DB Audit copy_*_user in skfp_ioctl 51 * 03-Dec-03 SH Convert to PCI device model [all …]
|
/linux/Documentation/arch/powerpc/ |
H A D | ultravisor.rst | 1 .. SPDX-License-Identifier: GPL-2.0 16 (PVR=0x004e1203) or greater will be PEF-capable. A new ISA release 25 +------------------+ 29 +------------------+ 31 +------------------+ 33 +------------------+ 35 +------------------+ 75 +---+---+---+---------------+ 79 +---+---+---+---------------+ 80 | 1 | 0 | 0 | Privileged(OS)| [all …]
|
/linux/tools/power/pm-graph/ |
H A D | README | 8 pm-graph: suspend/resume/boot timing analysis tools 11 …Home Page: https://www.intel.com/content/www/us/en/developer/topic-technology/open/pm-graph/overvi… 13 Report bugs/issues at bugzilla.kernel.org Tools/pm-graph 14 - https://bugzilla.kernel.org/buglist.cgi?component=pm-graph&product=Tools 17 - Getting Started: 20 - Feature Summary: 21 https://www.intel.com/content/www/us/en/developer/topic-technology/open/pm-graph/features.html 23 - upstream version in git: 24 git clone https://github.com/intel/pm-graph/ 27 - Overview [all …]
|
/linux/Documentation/virt/kvm/x86/ |
H A D | timekeeping.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Timekeeping Virtualization for X86-Based Architectures 32 information relevant to KVM and hardware-based virtualization. 41 2.1. i8254 - PIT 42 ---------------- 46 channels which can be programmed to deliver periodic or one-shot interrupts. 53 The PIT uses I/O ports 0x40 - 0x43. Access to the 16-bit counters is done 59 -------------- ---------------- 61 | 1.1932 MHz|---------->| CLOCK OUT | ---------> IRQ 0 63 -------------- | +->| GATE TIMER 0 | [all …]
|
/linux/arch/powerpc/platforms/pseries/ |
H A D | rtas-fadump.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Firmware-Assisted Dump support on POWERVM platform. 23 #include <asm/fadump-internal.h> 25 #include "rtas-fadump.h" 33 fadump_conf->fadumphdr_addr = (fadump_conf->boot_mem_dest_addr + in rtas_fadump_update_config() 34 fadump_conf->boot_memory_size); in rtas_fadump_update_config() 48 fadump_conf->boot_memory_size = 0; in rtas_fadump_get_config() 49 fadump_conf->boot_mem_regs_cnt = 0; in rtas_fadump_get_config() 51 for (int i = 0; i < be16_to_cpu(fdm->header.dump_num_sections); i++) { in rtas_fadump_get_config() 52 int type = be16_to_cpu(fdm->rgn[i].source_data_type); in rtas_fadump_get_config() [all …]
|
/linux/drivers/misc/mei/ |
H A D | hbm.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2003-2022, Intel Corporation. All rights reserved. 68 * mei_cl_conn_status_to_errno - convert client connect response 79 case MEI_CL_CONN_NOT_FOUND: return -ENOTTY; in mei_cl_conn_status_to_errno() 80 case MEI_CL_CONN_ALREADY_STARTED: return -EBUSY; in mei_cl_conn_status_to_errno() 81 case MEI_CL_CONN_OUT_OF_RESOURCES: return -EBUSY; in mei_cl_conn_status_to_errno() 82 case MEI_CL_CONN_MESSAGE_SMALL: return -EINVAL; in mei_cl_conn_status_to_errno() 83 case MEI_CL_CONN_NOT_ALLOWED: return -EBUSY; in mei_cl_conn_status_to_errno() 84 default: return -EINVAL; in mei_cl_conn_status_to_errno() 89 * mei_hbm_write_message - wrapper for sending hbm messages. [all …]
|
/linux/Documentation/driver-api/ |
H A D | libata.rst | 12 transports for ATA and ATAPI devices, and SCSI<->ATA translation for ATA 16 internals, and a couple sample ATA low-level drivers. 22 is defined for every low-level libata 23 hardware driver, and it controls how the low-level driver interfaces 26 FIS-based drivers will hook into the system with ``->qc_prep()`` and 27 ``->qc_issue()`` high-level hooks. Hardware which behaves in a manner 33 ---------------------------------------------------------- 35 Post-IDENTIFY device configuration 44 Typically used to apply device-specific fixups prior to issue of SET 45 FEATURES - XFER MODE, and prior to operation. [all …]
|
/linux/drivers/hid/intel-ish-hid/ishtp/ |
H A D | bus.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 2012-2016, Intel Corporation. 15 #include "ishtp-dev.h" 28 * ishtp_recv() - process ishtp message 42 msg_hdr = dev->ops->ishtp_read_hdr(dev); in ishtp_recv() 46 dev->ops->sync_fw_clock(dev); in ishtp_recv() 49 dev->ishtp_msg_hdr = msg_hdr; in ishtp_recv() 52 if (ishtp_hdr->length > dev->mtu) { in ishtp_recv() 53 dev_err(dev->devc, in ishtp_recv() 54 "ISHTP hdr - bad length: %u; dropped [%08X]\n", in ishtp_recv() [all …]
|
/linux/include/linux/ |
H A D | remoteproc.h | 47 * struct resource_table - firmware resource table header 81 * struct fw_rsc_hdr - firmware resource entry header 95 * enum fw_resource_type - types of resource entries 99 * @RSC_DEVMEM: request to iommu_map a memory-based peripheral. 126 #define FW_RSC_ADDR_ANY (-1) 129 * struct fw_rsc_carveout - physically contiguous memory request 135 * @name: human-readable name of the requested memory region 181 * struct fw_rsc_devmem - iommu mapping request 187 * @name: human-readable name of the requested region to be mapped 191 * access to certain memory-based peripherals; _never_ use it to access [all …]
|
H A D | pci.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 * Copyright 1997--1999 Martin Mares <mj@ucw.cz> 60 * The PCI interface treats multi-function devices as independent 68 * In the interest of not exposing interfaces to user-space unnecessarily, 69 * the following kernel-only defines are being added here. 80 unsigned char number; /* PCI_SLOT(pci_dev->devfn) */ 86 return kobject_name(&slot->kobj); in pci_slot_name() 97 /* #0-5: standard PCI resources */ 99 PCI_STD_RESOURCE_END = PCI_STD_RESOURCES + PCI_STD_NUM_BARS - 1, 104 /* Device-specific resources */ [all …]
|
/linux/Documentation/filesystems/iomap/ |
H A D | operations.rst | 1 .. SPDX-License-Identifier: GPL-2.0 35 linked lists of buffer heads instead of the per-folio bitmaps that iomap 42 ----------------------------------- 61 -------------------------- 63 The ``->iomap_begin`` function for pagecache operations may set the 67 .. code-block:: c 79 - ``get_folio``: Called to allocate and return an active reference to 83 This could be used to `set up per-folio filesystem state 84 <https://lore.kernel.org/all/20190429220934.10415-5-agruenba@redhat.com/>`_ 87 - ``put_folio``: Called to unlock and put a folio after a pagecache [all …]
|
/linux/drivers/net/ethernet/intel/idpf/ |
H A D | idpf_lib.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 * idpf_init_vector_stack - Fill the MSIX vector stack with vector index 22 mutex_lock(&adapter->vector_lock); in idpf_init_vector_stack() 23 min_vec = adapter->num_msix_entries - adapter->num_avail_msix; in idpf_init_vector_stack() 24 stack = &adapter->vector_stack; in idpf_init_vector_stack() 25 stack->size = adapter->num_msix_entries; in idpf_init_vector_stack() 27 * distribute the unused vectors on-demand basis in idpf_init_vector_stack() 29 stack->base = min_vec; in idpf_init_vector_stack() 30 stack->top = min_vec; in idpf_init_vector_stack() 32 stack->vec_idx = kcalloc(stack->size, sizeof(u16), GFP_KERNEL); in idpf_init_vector_stack() [all …]
|
/linux/drivers/net/ethernet/chelsio/cxgb/ |
H A D | subr.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 * Copyright (c) 2003 - 2005 Chelsio Communications, Inc. * 40 * t1_wait_op_done - wait until an operation is completed 43 * @mask: a single-bit field within @reg that indicates completion 56 u32 val = readl(adapter->regs + reg) & mask; in t1_wait_op_done() 60 if (--attempts == 0) in t1_wait_op_done() 76 writel(addr, adapter->regs + A_TPI_ADDR); in __t1_tpi_write() 77 writel(value, adapter->regs + A_TPI_WR_DATA); in __t1_tpi_write() 78 writel(F_TPIWR, adapter->regs + A_TPI_CSR); in __t1_tpi_write() 84 adapter->name, addr); in __t1_tpi_write() [all …]
|
/linux/drivers/scsi/megaraid/ |
H A D | megaraid_sas_fusion.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (c) 2009-2013 LSI Corporation 6 * Copyright (c) 2013-2016 Avago Technologies 7 * Copyright (c) 2016-2018 Broadcom Inc. 76 * megasas_adp_reset_wait_for_ready - initiate chip reset and wait for 96 * when diag reset is initiated from driver in megasas_adp_reset_wait_for_ready() 99 dev_info(&instance->pdev->dev, in megasas_adp_reset_wait_for_ready() 103 pci_cfg_access_lock(instance->pdev); in megasas_adp_reset_wait_for_ready() 106 if (instance->instancet->adp_reset in megasas_adp_reset_wait_for_ready() 107 (instance, instance->reg_set)) in megasas_adp_reset_wait_for_ready() [all …]
|