| /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/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/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/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) -> impl PinInit<Self, Error>; 36 //! For specific examples see: 60 //! the [driver trait](#driver-trait). 75 //! [`Registration`] 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 …]
|
| H A D | iommu.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) 2007-2008 Advanced Micro Devices, Inc. 25 * Where the bus hardware includes a privilege level as part of its access type 63 * struct iommu_fault_page_request - Page Request data 73 * @private_data: device-specific private information 88 * struct iommu_fault - Generic fault data 89 * @type: fault type from &enum iommu_fault_type 90 * @prm: Page Request message, when @type is %IOMMU_FAULT_PAGE_REQ 93 u32 type; member 98 * enum iommu_page_response_code - Return status of fault handlers [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/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/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/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/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/linux/device/ |
| H A D | bus.h | 1 // SPDX-License-Identifier: GPL-2.0 3 * bus.h - the bus-specific portions of the driver model 5 * Copyright (c) 2001-2003 Patrick Mochel <mochel@osdl.org> 6 * Copyright (c) 2004-2009 Greg Kroah-Hartman <gregkh@suse.de> 7 * Copyright (c) 2008-2009 Novell Inc. 8 * Copyright (c) 2012-2019 Greg Kroah-Hartman <gregkh@linuxfoundation.org> 9 * Copyright (c) 2012-2019 Linux Foundation 11 * See Documentation/driver-api/driver-model/ for more information. 25 * struct bus_type - The bus type of the device 28 * @dev_name: Used for subsystems to enumerate devices like ("foo%u", dev->id). [all …]
|
| /linux/arch/x86/include/asm/ |
| H A D | hw_irq.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 * <tomsoft@informatik.tu-chemnitz.de> 13 * hacked by Andi Kleen for x86-64. 61 * irq_alloc_info - X86 specific interrupt allocation info 62 * @type: X86 specific allocation type 68 * @data: Allocation specific data 70 * @ioapic: IOAPIC specific allocation data 71 * @uv: UV specific allocation data 74 enum irq_alloc_type type; member 127 #define VECTOR_SHUTDOWN ((void *)-1L) [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/Documentation/security/keys/ |
| H A D | core.rst | 5 This service allows cryptographic keys, authentication tokens, cross-domain 9 Keyrings are permitted; these are a special type of key that can hold links to 30 - A serial number. 31 - A type. 32 - A description (for matching a key in a search). 33 - Access control information. 34 - An expiry time. 35 - A payload. 36 - State. 39 * Each key is issued a serial number of type key_serial_t that is unique for [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/Documentation/devicetree/bindings/pinctrl/ |
| H A D | mediatek,mt8365-pinctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/mediatek,mt8365-pinctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Zhiyong Tao <zhiyong.tao@mediatek.com> 11 - Bernhard Rosenkränzer <bero@baylibre.com> 18 const: mediatek,mt8365-pinctrl 23 mediatek,pctl-regmap: 24 $ref: /schemas/types.yaml#/definitions/phandle-array 32 gpio-controller: true [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 …]
|