| /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/drivers/pinctrl/samsung/ |
| H A D | pinctrl-samsung.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * pin-controller/pin-mux/pin-config/gpio-driver for Samsung's SoC's. 25 * enum pincfg_type - possible pin configuration types supported. 45 * pin configuration (pull up/down and drive strength) type and its value are 46 * packed together into a 16-bits. The upper 8-bits represent the configuration 47 * type and the lower 8-bits hold the value of the configuration type. 52 #define PINCFG_PACK(type, value) (((value) << PINCFG_VALUE_SHIFT) | type) argument 70 * enum pud_index - Possible index values to access the pud_val array. 84 * enum eint_type - possible external interrupt types. 104 /* maximum length of a pin in pin descriptor (example: "gpa0-0") */ [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/platform/raspberrypi/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/include/linux/usb/ |
| H A D | typec_altmode.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 #include <linux/device-id/typec.h> 16 #define is_typec_port_altmode(dev) ((dev)->type == &typec_port_altmode_dev_type) 17 #define is_typec_plug_altmode(dev) ((dev)->type == &typec_plug_altmode_dev_type) 18 #define is_typec_partner_altmode(dev) ((dev)->type == &typec_partner_altmode_dev_type) 23 * struct typec_altmode - USB Type-C alternate mode device 31 * automatic alternate mode selection process or by the specific driver 55 dev_set_drvdata(&altmode->dev, data); in typec_altmode_set_drvdata() 60 return dev_get_drvdata(&altmode->dev); in typec_altmode_get_drvdata() 64 * struct typec_altmode_ops - Alternate mode specific operations vector [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. 67 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/arch/x86/include/asm/ |
| H A D | cpu_device_id.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 24 #define VFM_MODEL_MASK GENMASK(VFM_FAMILY_BIT - 1, VFM_MODEL_BIT) 25 #define VFM_FAMILY_MASK GENMASK(VFM_VENDOR_BIT - 1, VFM_FAMILY_BIT) 26 #define VFM_VENDOR_MASK GENMASK(VFM_RSVD_BIT - 1, VFM_VENDOR_BIT) 39 * Declare drivers belonging to specific x86 CPUs 42 #include <linux/device-id/x86_cpu.h> 44 #include <asm/intel-family.h> 57 * X86_MATCH_CPU - Base macro for CPU matching 64 * @_data: Driver specific data or NULL. The internal storage 81 .type = _type, \ [all …]
|
| /linux/include/linux/ |
| 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/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; 20 //! /// The type of the driver's bus device private data. 21 //! type Dat [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/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/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/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/include/cxl/ |
| H A D | cxl.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 * enum cxl_devtype - delineate type-2 from a generic type-3 device 14 * @CXL_DEVTYPE_DEVMEM: Vendor specific CXL Type-2 device implementing HDM-D or 15 * HDM-DB, no requirement that this device implements a 16 * mailbox, or other memory-device-standard manageability 18 * @CXL_DEVTYPE_CLASSMEM: Common class definition of a CXL Type-3 device with 19 * HDM-H and class-mandatory memory device registers 29 * Using struct_group() allows for per register-block-type helper routines, 30 * without requiring block-type agnostic code to include the prefix. 57 * RCH downstream port specific RAS register [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 …]
|
| /linux/include/sound/ |
| H A D | soc-topology.h | 1 /* SPDX-License-Identifier: GPL-2.0 3 * linux/sound/soc-topology.h -- ALSA SoC Firmware Controls and DAPM 34 /* dynamic object type */ 57 unsigned int *kcontrol_type; /* kcontrol type: mixer, enum, bytes */ 60 /* generic dynamic object - all dynamic objects belong to this struct */ 62 enum snd_soc_dobj_type type; member 74 * Kcontrol operations - used to map handlers onto firmware based controls. 96 * DAPM widget event handlers - used to map handlers onto widgets. 99 u16 type; member 105 * Public API - Used by component drivers to load and unload dynamic objects [all …]
|
| /linux/drivers/clk/meson/ |
| H A D | clk-regmap.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 #include <linux/clk-provider.h> 15 * struct clk_regmap - regmap backed clock 17 * @hw: handle between common and hardware-specific interfaces 19 * @data: data specific to the clock type 21 * Clock which is controlled by regmap backed registers. The actual type of 39 * struct clk_regmap_gate_data - regmap backed gate specific data 43 * @flags: hardware-specific flags 57 return (struct clk_regmap_gate_data *)clk->data; in clk_get_regmap_gate_data() 64 * struct clk_regmap_div_data - regmap backed adjustable divider specific data [all …]
|
| /linux/include/linux/pinctrl/ |
| H A D | machine.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2011 ST-Ericsson SA 6 * Written on behalf of Linaro for ST-Ericsson 16 #include <linux/pinctrl/pinctrl-state.h> 27 * struct pinctrl_map_mux - mapping table content for MAP_TYPE_MUX_GROUP 39 * struct pinctrl_map_configs - mapping table content for MAP_TYPE_CONFIGS_* 54 * struct pinctrl_map - boards/machines shall provide this map for devices 55 * @dev_name: the name of the device using this specific mapping, the name 59 * @name: the name of this specific map entry for the particular machine. 61 * @type: the type of mapping table entry [all …]
|