/linux-6.14.4/drivers/gpu/drm/xe/tests/ |
D | xe_gt_sriov_pf_service_test.c | 1 // SPDX-License-Identifier: GPL-2.0 AND MIT 22 test->priv = &fake; in pf_service_test_init() 25 xe = test->priv; in pf_service_test_init() 33 * - all supported platforms VF/PF ABI versions must be defined in pf_service_test_init() 34 * - base version can't be newer than latest in pf_service_test_init() 36 KUNIT_ASSERT_NE(test, 0, gt->sriov.pf.service.version.base.major); in pf_service_test_init() 37 KUNIT_ASSERT_NE(test, 0, gt->sriov.pf.service.version.latest.major); in pf_service_test_init() 38 KUNIT_ASSERT_LE(test, gt->sriov.pf.service.version.base.major, in pf_service_test_init() 39 gt->sriov.pf.service.version.latest.major); in pf_service_test_init() 40 if (gt->sriov.pf.service.version.base.major == gt->sriov.pf.service.version.latest.major) in pf_service_test_init() [all …]
|
/linux-6.14.4/drivers/net/can/usb/etas_es58x/ |
D | es58x_devlink.c | 1 // SPDX-License-Identifier: GPL-2.0 3 /* Driver for ETAS GmbH ES58X USB CAN(-FD) Bus Interfaces. 21 * es58x_parse_sw_version() - Extract boot loader or firmware version. 25 * to parse the firmware version or to "BL" to parse the 26 * bootloader version. 29 * version number all prefixed by a magic string and concatenated with 35 * Parse @prod_info and store the version number in 39 * Return: zero on success, -EINVAL if @prefix contains an invalid 40 * value and -EBADMSG if @prod_info could not be parsed. 45 struct es58x_sw_version *version; in es58x_parse_sw_version() local [all …]
|
/linux-6.14.4/drivers/gpu/drm/xe/ |
D | xe_gt_sriov_pf_service.c | 1 // SPDX-License-Identifier: MIT 3 * Copyright © 2023-2024 Intel Corporation 29 gt->sriov.pf.service.version.base.major = GUC_RELAY_VERSION_BASE_MAJOR; in pf_init_versions() 30 gt->sriov.pf.service.version.base.minor = GUC_RELAY_VERSION_BASE_MINOR; in pf_init_versions() 32 /* latest version is same for all platforms */ in pf_init_versions() 33 gt->sriov.pf.service.version.latest.major = GUC_RELAY_VERSION_LATEST_MAJOR; in pf_init_versions() 34 gt->sriov.pf.service.version.latest.minor = GUC_RELAY_VERSION_LATEST_MINOR; in pf_init_versions() 40 u32 *major, u32 *minor) in pf_negotiate_version() argument 42 struct xe_gt_sriov_pf_service_version base = gt->sriov.pf.service.version.base; in pf_negotiate_version() 43 struct xe_gt_sriov_pf_service_version latest = gt->sriov.pf.service.version.latest; in pf_negotiate_version() [all …]
|
D | xe_gt_sriov_vf_types.h | 1 /* SPDX-License-Identifier: MIT */ 3 * Copyright © 2023-2024 Intel Corporation 12 * struct xe_gt_sriov_vf_guc_version - GuC ABI version details. 15 /** @branch: branch version. */ 17 /** @major: major version. */ 19 /** @minor: minor version. */ 20 u8 minor; member 21 /** @patch: patch version. */ 26 * struct xe_gt_sriov_vf_relay_version - PF ABI version details. 29 /** @major: major version. */ [all …]
|
D | xe_uc_fw.c | 1 // SPDX-License-Identifier: MIT 7 #include <linux/fault-inject.h> 27 * List of required GuC and HuC binaries per-platform. They must be ordered 31 * Documentation/driver-api/firmware/firmware-usage-guidelines.rst. There is a 34 * driver (under force-probe), use the mmp_ver(): the firmware autoselect logic 36 * "mpp version", i.e. major.minor.patch. mmp_ver() should only be used for 40 * ever contains the major version (GuC) or no version at all (HuC). 43 * The major version needs to match a major version supported by the driver (if 44 * any). The minor version is also checked and a notice emitted to the log if 45 * the version found is smaller than the version wanted. This is done only for [all …]
|
D | xe_gt_sriov_pf_service_types.h | 1 /* SPDX-License-Identifier: MIT */ 3 * Copyright © 2023-2024 Intel Corporation 14 * struct xe_gt_sriov_pf_service_version - VF/PF ABI Version. 15 * @major: the major version of the VF/PF ABI 16 * @minor: the minor version of the VF/PF ABI 22 u16 minor; member 26 * struct xe_gt_sriov_pf_service_runtime_regs - Runtime data shared with VFs. 38 * struct xe_gt_sriov_pf_service - Data used by the PF service. 39 * @version: information about VF/PF ABI versions for current platform. 40 * @version.base: lowest VF/PF ABI version that could be negotiated with VF. [all …]
|
D | xe_gt_sriov_vf.c | 1 // SPDX-License-Identifier: MIT 3 * Copyright © 2023-2024 Intel Corporation 47 return ret > 0 ? -EPROTO : ret; in guc_action_vf_reset() 52 struct xe_guc *guc = >->uc.guc; in vf_reset_guc_state() 62 * xe_gt_sriov_vf_reset - Reset GuC VF internal state. 72 return -ENODEV; in xe_gt_sriov_vf_reset() 79 u32 *branch, u32 *major, u32 *minor, u32 *patch) in guc_action_match_version() argument 100 return -EPROTO; in guc_action_match_version() 104 *minor = FIELD_GET(VF2GUC_MATCH_VERSION_RESPONSE_MSG_1_MINOR, response[1]); in guc_action_match_version() 110 static void vf_minimum_guc_version(struct xe_gt *gt, u32 *branch, u32 *major, u32 *minor) in vf_minimum_guc_version() argument [all …]
|
/linux-6.14.4/include/uapi/sound/sof/ |
D | abi.h | 1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */ 11 * MAJOR.MINOR.PATCH version number. See https://semver.org/ 13 * Rules for incrementing or changing version :- 15 * 1) Increment MAJOR version if you make incompatible API changes. MINOR and 18 * 2) Increment MINOR version if you add backwards compatible features or 21 * 3) Increment PATCH version if you add backwards compatible bug fixes. 29 /* SOF ABI version major, minor and patch numbers */ 34 /* SOF ABI version number. Format within 32bit word is MMmmmppp */ 42 #define SOF_ABI_VER(major, minor, patch) \ argument 44 ((minor) << SOF_ABI_MINOR_SHIFT) | \ [all …]
|
/linux-6.14.4/drivers/cpufreq/ |
D | sti-cpufreq.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Match running platform with pre-defined OPP values for CPUFreq 43 * struct sti_cpufreq_ddata - ST CPUFreq Driver Data 56 struct device_node *np = ddata.cpu->of_node; in sti_cpufreq_fetch_major() 83 struct device_node *np = dev->of_node; in sti_cpufreq_fetch_minor() 88 ret = of_property_read_u32_index(np, "st,syscfg-eng", in sti_cpufreq_fetch_minor() 92 "No minor number offset provided %pOF [%d]\n", in sti_cpufreq_fetch_minor() 100 "Failed to read the minor number from syscon [%d]\n", in sti_cpufreq_fetch_minor() 154 struct device_node *np = dev->of_node; in sti_cpufreq_set_opp_info() 157 unsigned int version[VERSION_ELEMENTS]; in sti_cpufreq_set_opp_info() local [all …]
|
/linux-6.14.4/sound/pci/asihpi/ |
D | hpi_version.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /** HPI Version Definitions 3 Development releases have odd minor version. 4 Production releases have even minor version. 13 /* *** HPI_VER is the only edit required to update version *** */ 14 /** HPI version */ 17 /** HPI version string in dotted decimal format */ 20 /** Library version as documented in hpi-api-versions.txt */ 23 /** Construct hpi version number from major, minor, release numbers */ 26 /** Extract major version from hpi version number */ [all …]
|
/linux-6.14.4/drivers/gpu/drm/i915/gt/uc/ |
D | intel_uc_fw.c | 1 // SPDX-License-Identifier: MIT 3 * Copyright © 2016-2019 Intel Corporation 48 GEM_BUG_ON(uc_fw->status == INTEL_UC_FIRMWARE_UNINITIALIZED); in __uc_fw_to_gt() 49 return ____uc_fw_to_gt(uc_fw, uc_fw->type); in __uc_fw_to_gt() 56 uc_fw->__status = status; in intel_uc_fw_change_status() 57 gt_dbg(__uc_fw_to_gt(uc_fw), "%s firmware -> %s\n", in intel_uc_fw_change_status() 58 intel_uc_fw_type_repr(uc_fw->type), in intel_uc_fw_change_status() 60 uc_fw->file_selected.path : intel_uc_fw_status_repr(status)); in intel_uc_fw_change_status() 65 * List of required GuC and HuC binaries per-platform. 68 * Note that RKL and ADL-S have the same GuC/HuC device ID's and use the same [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/arm/firmware/ |
D | tlm,trusted-foundations.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/arm/firmware/tlm,trusted-foundations.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 14 - Stephen Warren <[email protected]> 18 const: trusted-foundations 21 const: tlm,trusted-foundations 23 tlm,version-major: 25 description: major version number of Trusted Foundations firmware 27 tlm,version-minor: [all …]
|
/linux-6.14.4/Documentation/ABI/stable/ |
D | sysfs-hypervisor-xen | 4 Contact: xen-[email protected] 13 Contact: xen-[email protected] 22 Contact: xen-[email protected] 31 Contact: xen-[email protected] 34 is in the format: <class>-<major>.<minor>-<arch> 38 <class>: "xen" -- x86: paravirtualized, arm: standard 39 "hvm" -- x86 only: fully virtualized 40 <major>: major guest interface version 41 <minor>: minor guest interface version 53 Contact: xen-[email protected] [all …]
|
/linux-6.14.4/fs/nfs/ |
D | nfstrace.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 58 __field(u64, version) 63 __entry->dev = inode->i_sb->s_dev; 64 __entry->fileid = nfsi->fileid; 65 __entry->fhandle = nfs_fhandle_hash(&nfsi->fh); 66 __entry->version = inode_peek_iversion_raw(inode); 70 "fileid=%02x:%02x:%llu fhandle=0x%08x version=%llu ", 71 MAJOR(__entry->dev), MINOR(__entry->dev), 72 (unsigned long long)__entry->fileid, 73 __entry->fhandle, [all …]
|
/linux-6.14.4/drivers/nvdimm/ |
D | pfn.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2014-2015, Intel Corporation. 26 /* minor-version-1 additions for section alignment */ 28 * @start_pad: Deprecated attribute to pad start-misaligned namespaces 33 * is that the dax path is broken, but the block-I/O path is 35 * padding, but it still supports block-I/O for legacy 41 /* minor-version-2 record the base alignment of the mapping */ 43 /* minor-version-3 guarantee the padding and flags are zero */ 44 /* minor-version-4 record the page size and struct page size */
|
/linux-6.14.4/drivers/hid/intel-ish-hid/ishtp/ |
D | loader.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 16 #include "ishtp-dev.h" 21 (IPC_PAYLOAD_SIZE - sizeof(struct ishtp_msg_hdr)) 26 #define LOADER_CMD_XFER_QUERY 0 /* SW -> FW */ 27 #define LOADER_CMD_XFER_FRAGMENT 1 /* SW -> FW */ 28 #define LOADER_CMD_START 2 /* SW -> FW */ 34 * union loader_msg_header - ISHTP firmware loader message header 40 * @val32: entire header as a 32-bit value 54 * struct loader_xfer_query - ISHTP firmware loader transfer query packet 64 * struct loader_version - ISHTP firmware loader version [all …]
|
/linux-6.14.4/drivers/staging/greybus/Documentation/firmware/ |
D | firmware.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) 3 * Sample code to test firmware-management protocol 19 #define FW_DEV_DEFAULT "/dev/gb-fw-mgmt-0" 37 …printf("\nUsage: ./firmware <gb-fw-mgmt-X (default: gb-fw-mgmt-0)> <interface: 0, backend: 1 (defa… in usage() 44 /* Get Interface Firmware Version */ in update_intf_firmware() 45 printf("Get Interface Firmware Version\n"); in update_intf_firmware() 49 printf("Failed to get interface firmware version: %s (%d)\n", in update_intf_firmware() 51 return -1; in update_intf_firmware() 54 printf("Interface Firmware tag (%s), major (%d), minor (%d)\n", in update_intf_firmware() 56 intf_fw_info.minor); in update_intf_firmware() [all …]
|
/linux-6.14.4/Documentation/networking/devlink/ |
D | i40e.rst | 1 .. SPDX-License-Identifier: GPL-2.0 15 .. list-table:: devlink info versions implemented 18 * - Name 19 - Type 20 - Example 21 - Description 22 * - ``board.id`` 23 - fixed 24 - K15190-000 25 - The Product Board Assembly (PBA) identifier of the board. [all …]
|
/linux-6.14.4/include/linux/ |
D | pe.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 14 * Starting from version v3.0, the major version field should be interpreted as 16 * - 0x1: initrd loading from the LINUX_EFI_INITRD_MEDIA_GUID device path, 17 * - 0x2: initrd loading using the initrd= command line option, where the file 29 * The minor version field must remain 0x0. 30 * (https://lore.kernel.org/all/efd6f2d4-547c-1378-1faa-[email protected]/) 36 * LINUX_PE_MAGIC appears at offset 0x38 into the MS-DOS header of EFI bootable 129 #define IMAGE_SCN_TYPE_NO_PAD 0x00000008 /* don't pad - obsolete */ 137 #define IMAGE_SCN_LNK_REMOVE 0x00000800 /* .o only - scn to be rm'd*/ 138 #define IMAGE_SCN_LNK_COMDAT 0x00001000 /* .o only - COMDAT data */ [all …]
|
/linux-6.14.4/security/keys/encrypted-keys/ |
D | ecryptfs_format.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * TORSEC group -- https://security.polito.it 21 return auth_tok->token.password.session_key_encryption_key; in ecryptfs_get_auth_tok_key() 28 * Source code taken from the software 'ecryptfs-utils' version 83. 31 void ecryptfs_get_versions(int *major, int *minor, int *file_version) in ecryptfs_get_versions() argument 34 *minor = ECRYPTFS_VERSION_MINOR; in ecryptfs_get_versions() 41 * ecryptfs_fill_auth_tok - fill the ecryptfs_auth_tok structure 45 * shipped with the software 'ecryptfs-utils' version 83. 51 int major, minor; in ecryptfs_fill_auth_tok() local 53 ecryptfs_get_versions(&major, &minor, NULL); in ecryptfs_fill_auth_tok() [all …]
|
/linux-6.14.4/tools/lib/bpf/ |
D | libbpf_probes.c | 1 // SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) 15 #include <linux/version.h> 26 * Ubuntu 5.4.0-12.15-generic 5.4.8 34 __u32 major, minor, patch; in get_ubuntu_kernel_version() local 45 ret = fscanf(f, "%*s %*s %u.%u.%u\n", &major, &minor, &patch); in get_ubuntu_kernel_version() 50 return KERNEL_VERSION(major, minor, patch); in get_ubuntu_kernel_version() 54 * Instead, it is provided in info.version. An example content of 57 * utsname::release 4.19.0-22-amd64 58 * utsname::version #1 SMP Debian 4.19.260-1 (2022-09-29) 65 __u32 major, minor, patch; in get_debian_kernel_version() local [all …]
|
/linux-6.14.4/fs/ocfs2/ |
D | stack_user.c | 1 // SPDX-License-Identifier: GPL-2.0-only 30 * character followed by a two hex digit version number. Currently the 31 * only things supported is T01, for "Text-base version 0x01". Next, the 32 * client writes the version they would like to use, including the newline. 33 * Thus, the protocol tag is 'T01\n'. If the version tag written is 34 * unknown, -EINVAL is returned. Once the negotiation is complete, the 40 * SETN<space><8-char-hex-nodenum><newline> 49 * SETV<space><2-char-hex-major><space><2-char-hex-minor><newline> 53 * The "SETV" message sets the filesystem locking protocol version as 55 * version advertised in /sys/fs/ocfs2/max_locking_protocol. The major [all …]
|
/linux-6.14.4/arch/sparc/kernel/ |
D | viohs.c | 1 // SPDX-License-Identifier: GPL-2.0 22 err = -EINVAL; in vio_ldc_send() 23 while (limit-- > 0) { in vio_ldc_send() 24 err = ldc_write(vio->lp, data, len); in vio_ldc_send() 25 if (!err || (err != -EAGAIN)) in vio_ldc_send() 37 tag->sid = vio_send_sid(vio); in send_ctrl() 43 tag->type = type; in init_tag() 44 tag->stype = stype; in init_tag() 45 tag->stype_env = stype_env; in init_tag() 48 static int send_version(struct vio_driver_state *vio, u16 major, u16 minor) in send_version() argument [all …]
|
/linux-6.14.4/drivers/gpu/drm/amd/include/ |
D | discovery.h | 77 uint16_t version; /* Table Version */ member 83 uint16_t padding[1]; /* version <= 3 */ 84 struct { /* version == 4 */ 98 uint8_t minor; /* HCID Minor */ member 115 uint8_t major; /* Hardware ID.major version */ 116 uint8_t minor; /* Hardware ID.minor version */ member 117 uint8_t revision; /* Hardware ID.revision version */ 120 uint8_t sub_revision : 4; /* HCID Sub-Revision */ 122 uint8_t sub_revision : 4; /* HCID Sub-Revision */ 132 uint8_t major; /* Hardware ID.major version */ [all …]
|
/linux-6.14.4/sound/isa/sb/ |
D | sb_common.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Uros Bizjak <uros@kss-loka.si> 34 dev_dbg(chip->card->dev, "command 0x%x\n", val); in snd_sbdsp_command() 36 for (i = BUSY_LOOPS; i; i--) in snd_sbdsp_command() 41 dev_dbg(chip->card->dev, "%s [0x%lx]: timeout (0x%x)\n", __func__, chip->port, val); in snd_sbdsp_command() 49 for (i = BUSY_LOOPS; i; i--) { in snd_sbdsp_get_byte() 53 dev_dbg(chip->card->dev, "get_byte 0x%x\n", val); in snd_sbdsp_get_byte() 58 dev_dbg(chip->card->dev, "%s [0x%lx]: timeout\n", __func__, chip->port); in snd_sbdsp_get_byte() 59 return -ENODEV; in snd_sbdsp_get_byte() 70 for (i = BUSY_LOOPS; i; i--) in snd_sbdsp_reset() [all …]
|