| /linux/include/uapi/linux/ |
| H A D | chio.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 14 #define CHET_V1 4 /* vendor specific #1 */ 15 #define CHET_V2 5 /* vendor specific #2 */ 16 #define CHET_V3 6 /* vendor specific #3 */ 17 #define CHET_V4 7 /* vendor specific #4 */ 25 * query vendor-specific element types 27 * accessing elements works by specifing type and unit of the element. 28 * for example, storage elements are addressed with type = CHET_ST and 29 * unit = 0 .. cp_nslots-1 40 int cvp_n1; /* number of vendor specific elems (CHET_V1) */ [all …]
|
| H A D | watch_queue.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 26 * Notification record header. This is aligned to 64-bits so that subclasses 30 __u32 type:24; /* enum watch_notification_type */ member 31 __u32 subtype:8; /* Type-specific subtype (filterable) */ 37 #define WATCH_INFO_TYPE_INFO 0xffff0000 /* Type-specific info */ 39 #define WATCH_INFO_FLAG_0 0x00010000 /* Type-specific info, flag bit 0 */ 53 __u32 type; /* Type to apply filter to */ member 67 * Extended watch removal notification. This is used optionally if the type 71 * type -> WATCH_TYPE_META 72 * subtype -> WATCH_META_REMOVAL_NOTIFICATION [all …]
|
| /linux/Documentation/driver-api/usb/ |
| H A D | typec_bus.rst | 2 API for USB Type-C Alternate Mode drivers 6 ------------ 9 Messages (VDM) as defined in USB Type-C and USB Power Delivery Specifications. 10 The communication is SVID (Standard or Vendor ID) specific, i.e. specific for 13 USB Type-C bus allows binding a driver to the discovered partner alternate 16 :ref:`USB Type-C Connector Class <typec>` provides a device for every alternate 29 specific commands from the alternate mode drivers to the partner, and from the 30 partners to the alternate mode drivers. No direct SVID specific communication is 36 ------ 43 space (See Documentation/ABI/testing/sysfs-class-typec). Port drivers should not [all …]
|
| /linux/drivers/staging/vc04_services/vchiq-mmal/ |
| H A D | mmal-msg-format.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 19 #include "mmal-msg-common.h" 40 * MmalColorSpace "pre-defined color spaces" for some examples. 58 u32 type; /* enum mmal_es_type */ member 63 u32 encoding_variant; /* FourCC specifying the specific 68 union mmal_es_specific_format *es; /* Type specific 78 u32 extradata_size; /* Size of the codec specific data */ 79 u8 *extradata; /* Codec specific data */ 84 u32 type; /* enum mmal_es_type */ member 89 u32 encoding_variant; /* FourCC specifying the specific [all …]
|
| /linux/drivers/net/ethernet/huawei/hinic/ |
| H A D | hinic_hw_api_cmd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 #include <linux/dma-mapping.h> 34 (1 << (fls(cell_size - 1))) : API_CMD_CELL_SIZE_MIN) 49 #define MASKED_IDX(chain, idx) ((idx) & ((chain)->num_cells - 1)) 91 enum hinic_api_cmd_chain_type chain_type = chain->chain_type; in set_prod_idx() 92 struct hinic_hwif *hwif = chain->hwif; in set_prod_idx() 100 prod_idx |= HINIC_API_CMD_PI_SET(chain->prod_idx, IDX); in set_prod_idx() 109 addr = HINIC_CSR_API_CMD_STATUS_ADDR(chain->chain_type); in get_hw_cons_idx() 110 val = hinic_hwif_read_reg(chain->hwif, addr); in get_hw_cons_idx() 119 addr = HINIC_CSR_API_CMD_STATUS_ADDR(chain->chain_type); in dump_api_chain_reg() [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/ |
| H A D | iwl-phy-db.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 3 * Copyright (C) 2005-2014, 2020-2021 Intel Corporation 10 #include "iwl-drv.h" 11 #include "iwl-phy-db.h" 12 #include "iwl-debug.h" 13 #include "iwl-op-mode.h" 14 #include "iwl-trans.h" 22 * struct iwl_phy_db - stores phy configuration and calibration data. 25 * @calib_nch: non channel specific calibration data. 68 phy_db->trans = trans; in iwl_phy_db_init() [all …]
|
| /linux/Documentation/netlink/specs/ |
| H A D | ovpn.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 5 # Copyright (c) 2024-2025, OpenVPN Inc. 7 --- 15 - 16 type: const 17 name: nonce-tail-size 19 - 20 type: enum 21 name: cipher-alg 22 entries: [none, aes-gcm, chacha20-poly1305] [all …]
|
| /linux/drivers/gpu/drm/exynos/ |
| H A D | exynos_drm_drv.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 8 * Seung-Woo Kim <sw0312.kim@samsung.com> 32 /* this enumerates display type. */ 60 * specific overlay info. 84 * to hardware specific overlay info. 103 * @zpos: initial z-position of the plane. 104 * @type: type of the plane (primary, cursor or overlay). 112 enum drm_plane_type type; member 123 * @enable_vblank: specific driver callback for enabling vblank interrupt. 124 * @disable_vblank: specific driver callback for disabling vblank interrupt. [all …]
|
| /linux/include/linux/ |
| H A D | mod_devicetable.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 25 * struct pci_device_id - PCI device ID structure 35 * @class_mask: Limit which sub-fields of the class field are compared. 42 * @override_only: Match only when dev->driver_override is this driver. 47 __u32 class, class_mask; /* (class,subclass,prog-if) triplet */ 69 * Device table entry for "new style" table-driven USB drivers. 77 * Terminate the driver's table with an all-zeroes entry. 82 * struct usb_device_id - identifies USB devices for probing and hotplugging 90 * @idProduct: Vendor-assigned product ID. 91 * @bcdDevice_lo: Low end of range of vendor-assigned product version numbers. [all …]
|
| H A D | iscsi_boot_sysfs.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 27 /* eth_pci_bdf - this is replaced by link to the device itself. */ 73 * Pointer to store driver specific info. If set this will 78 * Driver specific show function. 80 * The enum of the type. This can be any value of the above 83 ssize_t (*show) (void *data, int type, char *buf); 86 * Drivers specific visibility function. 90 * The enum of the type. This can be any value of the above 93 umode_t (*is_visible) (void *data, int type); 96 * Driver specific release function. [all …]
|
| /linux/Documentation/arch/sh/ |
| H A D | new-machine.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 Paul Mundt <lethal@linux-sh.org> 18 of the board-specific code (with the exception of stboards) ended up 19 in arch/sh/kernel/ directly, with board-specific headers ending up in 20 include/asm-sh/. For the new kernel, things are broken out by board type, 21 companion chip type, and CPU type. Looking at a tree view of this directory 24 Board-specific code:: 27 |-- arch 28 | `-- sh 29 | `-- boards [all …]
|
| /linux/sound/pci/ctxfi/ |
| H A D | ctresource.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 33 u32 type:4; /* The type (RSCTYP) of a resource */ member 36 void *ctrl_blk; /* Chip specific control info block for a resource */ 37 struct hw *hw; /* Chip specific object for hardware access means */ 50 rsc_init(struct rsc *rsc, u32 idx, enum RSCTYP type, u32 msr, struct hw *hw); 54 enum RSCTYP type; /* The type (RSCTYP) of resource to manage */ member 57 unsigned char *rscs; /* The bit-map for resource allocation */ 58 void *ctrl_blk; /* Chip specific control info block */ 59 struct hw *hw; /* Chip specific object for hardware access */ 62 /* Resource management is based on bit-map mechanism */ [all …]
|
| /linux/Documentation/driver-api/driver-model/ |
| H A D | porting.rst | 12 Please refer to `Documentation/driver-api/driver-model/*.rst` for definitions of 21 be embedded in larger, bus-specific objects. Fields in these generic 22 objects can replace fields in the bus-specific objects. 28 # mount -t sysfs sysfs /sys 39 - Define a struct bus_type for the bus driver:: 46 - Register the bus type. 48 This should be done in the initialization function for the bus type, 59 The bus type may be unregistered (if the bus driver may be compiled 65 - Export the bus type for others to use. 67 Other code may wish to reference the bus type, so declare it in a [all …]
|
| /linux/Documentation/networking/devlink/ |
| H A D | netdevsim.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 .. list-table:: Generic parameters implemented 15 * - Name 16 - Mode 17 * - ``max_macs`` 18 - driverinit 20 The ``netdevsim`` driver also implements the following driver-specific 23 .. list-table:: Driver-specific parameters implemented 26 * - Name 27 - Type [all …]
|
| H A D | mlxsw.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 .. list-table:: Generic parameters implemented 15 * - Name 16 - Mode 17 * - ``fw_load_policy`` 18 - driverinit 20 The ``mlxsw`` driver also implements the following driver-specific 23 .. list-table:: Driver-specific parameters implemented 26 * - Name 27 - Type [all …]
|
| /linux/Documentation/virt/kvm/x86/ |
| H A D | intel-tdx.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 host and physical attacks. A CPU-attested software module called 'the TDX 16 This documentation describes TDX-specific KVM ABIs. The TDX module needs to be 18 core-kernel provides the support of initializing the TDX module, which is 25 --------------------- 26 :Type: vm ioctl, vcpu ioctl 28 For TDX operations, KVM_MEMORY_ENCRYPT_OP is re-purposed to be generic 29 ioctl with TDX specific sub-ioctl() commands. 33 /* Trust Domain Extensions sub-ioctl() commands. */ 48 /* flags for sub-command. If sub-command doesn't use this, set zero. */ [all …]
|
| /linux/include/linux/usb/ |
| H A D | typec_altmode.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 15 * struct typec_altmode - USB Type-C alternate mode device 42 dev_set_drvdata(&altmode->dev, data); in typec_altmode_set_drvdata() 47 return dev_get_drvdata(&altmode->dev); in typec_altmode_get_drvdata() 51 * struct typec_altmode_ops - Alternate mode specific operations vector 55 * @vdm: Callback for SVID specific commands 81 * struct typec_cable_ops - Cable alternate mode operations vector 84 * @vdm: Callback for SVID specific commands 99 * typec_altmode_get_cable_svdm_version - Get negotiated SVDM version for cable plug 109 * These are the connector states (USB, Safe and Alt Mode) defined in USB Type-C [all …]
|
| /linux/rust/kernel/ |
| H A D | driver.rs | 1 // SPDX-License-Identifier: GPL-2.0 5 //! This documentation describes how to implement a bus specific driver API and how to align it with 6 //! the design of (bus specific) devices. 13 //! The main driver interface is defined by a bus specific driver trait. For instance: 17 //! /// The type holding information about each device ID supported by the driver. 18 //! type IdInfo: 'static; 27 //! fn probe(dev: &Device<device::Core>, id_info: &Self::IdInfo) -> Result<Pin<KBox<Self>>>; 36 //! For specific examples see [`auxiliary::Driver`], [`pci::Driver`] and [`platform::Driver`]. 53 //! the [driver trait](#driver-trait). 68 //! [`Registration`] type. [all …]
|
| /linux/include/linux/dma/ |
| H A D | ti-cppi5.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com 16 * struct cppi5_desc_hdr_t - Descriptor header, present in all types of 31 * struct cppi5_host_desc_t - Host-mode packet and buffer descriptor definition 39 * Protocol Specific Data (optional, 0-128 bytes in 41 * Other Software Data (0-N bytes, optional) 65 * Protocol Specific Words location: 66 * 0 - located in the descriptor, 87 /* Return Policy: 0 - Entire packet 1 - Each buffer */ 119 * struct cppi5_desc_epib_t - Host Packet Descriptor Extended Packet Info Block [all …]
|
| /linux/include/media/ |
| H A D | videobuf2-core.h | 2 * videobuf2-core.h - Video Buffer 2 Core Framework 18 #include <linux/dma-buf.h> 20 #include <media/media-request.h> 27 * enum vb2_memory - type of memory model used to make the buffers visible 52 * struct vb2_mem_ops - memory handling/memory allocator operations. 55 * per-buffer data on success; the returned private structure 62 * argument is the allocator private per-buffer structure 68 * videobuf2 layer when queuing a video buffer of USERPTR type; 69 * should return an allocator private per-buffer structure 82 * allocator private per-buffer structure on success; [all …]
|
| /linux/Documentation/devicetree/bindings/usb/ |
| H A D | omap-usb.txt | 1 OMAP GLUE AND OTHER OMAP SPECIFIC COMPONENTS 4 - compatible : Should be "ti,omap4-musb" or "ti,omap3-musb" 5 - ti,hwmods : must be "usb_otg_hs" 6 - multipoint : Should be "1" indicating the musb controller supports 7 multipoint. This is a MUSB configuration-specific setting. 8 - num-eps : Specifies the number of endpoints. This is also a 9 MUSB configuration-specific setting. Should be set to "16" 10 - ram-bits : Specifies the ram address size. Should be set to "12" 11 - interface-type : This is a board specific setting to describe the type of 14 - mode : Should be "3" to represent OTG. "1" signifies HOST and "2" [all …]
|
| /linux/drivers/acpi/acpica/ |
| H A D | rsaddr.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 4 * Module Name: rsaddr - Address resource descriptors (16/32/64) 17 * acpi_rs_convert_address16 - All WORD (16-bit) address resources 29 /* Resource Type, General Flags, and Type-Specific Flags */ 54 * acpi_rs_convert_address32 - All DWORD (32-bit) address resources 67 /* Resource Type, General Flags, and Type-Specific Flags */ 92 * acpi_rs_convert_address64 - All QWORD (64-bit) address resources 105 /* Resource Type, General Flags, and Type-Specific Flags */ 130 * acpi_rs_convert_ext_address64 - All Extended (64-bit) address resources 143 /* Resource Type, General Flags, and Type-Specific Flags */ [all …]
|
| /linux/Documentation/arch/arm/ |
| H A D | interrupts.rst | 5 2.5.2-rmk5: 7 major architecture-specific subsystems. 10 MMU TLB. Each MMU TLB variant is now handled completely separately - 21 machine type that we currently have. 26 SA1100 ------------> Neponset -----------> SA1111 28 -----------> USAR 30 -----------> SMC9196 33 exclusive of each other - if you're processing one interrupt from the 36 IDE PIO-based interrupt on the SA1111 excludes all other SA1111 and 37 SMC9196 interrupts until it has finished transferring its multi-sector [all …]
|
| /linux/Documentation/arch/powerpc/ |
| H A D | bootwrapper.rst | 16 used firmware type on general purpose PowerPC systems from Apple, IBM and 17 others. U-Boot is typically found on embedded PowerPC hardware, but there 28 U-Boot (for versions that don't understand the device 31 are all embedded inside the U-Boot uImage file format 37 bd_info structure used in the old U-Boot interfaces, 38 cuImages are platform specific. Each specific 39 U-Boot platform has a different platform init file 41 from the platform specific bd_info file. The platform 42 specific cuImage platform init code can be found in 44 cuImage init code for a specific board can be found in [all …]
|
| /linux/include/linux/platform_data/ |
| H A D | brcmfmac.h | 27 * Platform specific driver functions and data. Through the platform specific 34 * Note: the brcmfmac can be loaded as module or be statically built-in into 35 * the kernel. If built-in then do note that it uses module_init (and 37 * create a module with the platform specific data for the brcmfmac and have 38 * it built-in to the kernel then use a higher initcall then device_initcall 48 * enum brcmf_bus_type - Bus type identifier. Currently SDIO, USB and PCIE are 59 * struct brcmfmac_sdio_pd - SDIO Device specific platform data. 69 * in-band interrupts are relatively slow and for having 85 * case of SDIO type devices. It is possible to reset a 88 * specific and this function should return only after the [all …]
|