Home
last modified time | relevance | path

Searched +full:version +full:- +full:major (Results 1 – 25 of 1039) sorted by relevance

12345678910>>...42

/kernel/linux/linux-6.6/drivers/net/can/usb/etas_es58x/
Des58x_devlink.c1 // 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 …]
/kernel/linux/linux-6.6/Documentation/driver-api/firmware/
Dfirmware-usage-guidelines.rst10 Drivers that use firmware from linux-firmware should follow the rules in
16 firmware ABI version changes. It is recommended that firmware files be
17 versioned with at least a major/minor version. It is suggested that
18 the firmware files in linux-firmware be named with some device
19 specific name, and just the major version. The firmware version should
21 firmware file name, in order to let the driver detact any non-ABI
22 fixes/changes. The firmware files in linux-firmware should be
23 overwritten with the newest compatible major version. Newer major
24 version firmware shall remain compatible with all kernels that load
25 that major number.
[all …]
/kernel/liteos_m/arch/risc-v/nuclei/gcc/nmsis/Core/Include/
Dnmsis_version.h4 * SPDX-License-Identifier: Apache-2.0
6 * Licensed under the Apache License, Version 2.0 (the License); you may
10 * www.apache.org/licenses/LICENSE-2.0
22 * \defgroup NMSIS_Core_VersionControl Version Control
24 * \brief Version \#define symbols for NMSIS release specific C/C++ source code
27 * We followed the [semantic versioning 2.0.0](https://semver.org/) to control NMSIS version.
28 * The version format is **MAJOR.MINOR.PATCH**, increment the:
29 * 1. MAJOR version when you make incompatible API changes,
30 * 2. MINOR version when you add functionality in a backwards compatible manner, and
31 * 3. PATCH version when you make backwards compatible bug fixes.
[all …]
/kernel/linux/linux-5.10/include/uapi/sound/sof/
Dabi.h1 /* 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.
27 /* SOF ABI version major, minor and patch numbers */
32 /* SOF ABI version number. Format within 32bit word is MMmmmppp */
40 #define SOF_ABI_VER(major, minor, patch) \ argument
41 (((major) << SOF_ABI_MAJOR_SHIFT) | \
[all …]
/kernel/linux/linux-6.6/include/uapi/sound/sof/
Dabi.h1 /* 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
43 (((major) << SOF_ABI_MAJOR_SHIFT) | \
[all …]
/kernel/linux/linux-6.6/drivers/cpufreq/
Dsti-cpufreq.c1 // 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()
65 dev_err(dev, "No major number offset provided in %pOF [%d]\n", in sti_cpufreq_fetch_major()
72 dev_err(dev, "Failed to read major number from syscon [%d]\n", 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()
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 …]
/kernel/linux/linux-5.10/drivers/cpufreq/
Dsti-cpufreq.c1 // 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()
65 dev_err(dev, "No major number offset provided in %pOF [%d]\n", in sti_cpufreq_fetch_major()
72 dev_err(dev, "Failed to read major number from syscon [%d]\n", 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()
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 …]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/uc/
Dintel_uc_fw.c1 // 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 …]
/kernel/linux/linux-5.10/Documentation/ABI/stable/
Dsysfs-hypervisor-xen4 Contact: xen-devel@lists.xenproject.org
13 Contact: xen-devel@lists.xenproject.org
22 Contact: xen-devel@lists.xenproject.org
31 Contact: xen-devel@lists.xenproject.org
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-devel@lists.xenproject.org
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/arm/firmware/
Dtlm,trusted-foundations.yaml1 # 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 <swarren@nvidia.com>
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 …]
/kernel/linux/linux-6.6/Documentation/ABI/stable/
Dsysfs-hypervisor-xen4 Contact: xen-devel@lists.xenproject.org
13 Contact: xen-devel@lists.xenproject.org
22 Contact: xen-devel@lists.xenproject.org
31 Contact: xen-devel@lists.xenproject.org
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-devel@lists.xenproject.org
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/arm/firmware/
Dtlm,trusted-foundations.txt2 -------------------
5 presence by declaring a node compatible with "tlm,trusted-foundations"
9 - compatible: "tlm,trusted-foundations"
10 - tlm,version-major: major version number of Trusted Foundations firmware
11 - tlm,version-minor: minor version number of Trusted Foundations firmware
15 trusted-foundations {
16 compatible = "tlm,trusted-foundations";
17 tlm,version-major = <2>;
18 tlm,version-minor = <8>;
/kernel/linux/common_modules/tzdriver/core/
Dtee_compat_check.c6 * License version 2, as published by the Free Software Foundation, and
23 const uint16_t major = TEEOS_COMPAT_LEVEL_MAJOR; in check_teeos_compat_level() local
28 return -EINVAL; in check_teeos_compat_level()
33 return -EPERM; in check_teeos_compat_level()
35 if (buffer[1] != major) { in check_teeos_compat_level()
36 tloge("check major ver failed, tzdriver expect teeos version=%u, actual teeos version=%u\n", in check_teeos_compat_level()
37 major, buffer[1]); in check_teeos_compat_level()
38 return -EPERM; in check_teeos_compat_level()
42 …tlogw("check minor ver failed, tzdriver expect teeos minor version=%u, actual minor teeos version=… in check_teeos_compat_level()
/kernel/linux/linux-6.6/fs/nfs/
Dnfstrace.h1 /* 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 …]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
Dcss_trace.h1 /* SPDX-License-Identifier: GPL-2.0 */
8 * version 2, as published by the Free Software Foundation.
26 /* one tracer item: major, minor and counter. The counter value can be used for GP data */
28 u8 major; member
36 /* trace header: holds the version and the topology of the tracer. */
39 u8 version; member
71 Trace version history:
72 1: initial version, hdr = descr, command & ptr.
73 2: added ISP + 24-bit fields.
158 #define TRACE_SP0_DATA_SIZE (TRACE_SP0_SIZE - TRACE_SP0_HEADER_SIZE)
[all …]
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/
Dcss_trace.h1 /* SPDX-License-Identifier: GPL-2.0 */
8 * version 2, as published by the Free Software Foundation.
26 /* one tracer item: major, minor and counter. The counter value can be used for GP data */
28 u8 major; member
36 /* trace header: holds the version and the topology of the tracer. */
39 u8 version; member
71 Trace version history:
72 1: initial version, hdr = descr, command & ptr.
73 2: added ISP + 24-bit fields.
158 #define TRACE_SP0_DATA_SIZE (TRACE_SP0_SIZE - TRACE_SP0_HEADER_SIZE)
[all …]
/kernel/linux/linux-5.10/drivers/staging/greybus/Documentation/firmware/
Dfirmware.c1 // 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()
55 intf_fw_info.firmware_tag, intf_fw_info.major, in update_intf_firmware()
[all …]
/kernel/linux/linux-6.6/drivers/staging/greybus/Documentation/firmware/
Dfirmware.c1 // 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()
55 intf_fw_info.firmware_tag, intf_fw_info.major, in update_intf_firmware()
[all …]
/kernel/linux/linux-5.10/security/keys/encrypted-keys/
Decryptfs_format.c1 // 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
33 *major = ECRYPTFS_VERSION_MAJOR; 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 …]
/kernel/linux/linux-6.6/security/keys/encrypted-keys/
Decryptfs_format.c1 // 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
33 *major = ECRYPTFS_VERSION_MAJOR; 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 …]
/kernel/linux/linux-6.6/tools/lib/bpf/
Dlibbpf_probes.c1 // 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 …]
/kernel/linux/linux-6.6/include/linux/
Dpe.h1 /* 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-53c044dbd297@gmail.com/)
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 …]
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dviohs.c1 // 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 …]
/kernel/linux/linux-6.6/arch/sparc/kernel/
Dviohs.c1 // 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 …]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/include/
Ddiscovery.h77 uint16_t version; /* Table Version */ member
83 uint16_t padding[1]; /* version <= 3 */
84 struct { /* version == 4 */
97 uint8_t major; /* HCID Major */ member
115 uint8_t major; /* Hardware ID.major version */ member
116 uint8_t minor; /* Hardware ID.minor version */
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 */ member
[all …]

12345678910>>...42