Lines Matching +full:platform +full:- +full:level
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * Platform Firmware Runtime Update header
16 * PFRU_IOC_SET_REV - _IOW(PFRUT_IOCTL_MAGIC, 0x01, unsigned int)
19 * * 0 - success
20 * * -EFAULT - fail to read the revision id
21 * * -EINVAL - user provides an invalid revision id
23 * Set the Revision ID for Platform Firmware Runtime Update.
28 * PFRU_IOC_STAGE - _IOW(PFRUT_IOCTL_MAGIC, 0x02, unsigned int)
31 * * 0 - success
32 * * -EINVAL - stage phase returns invalid result
39 * PFRU_IOC_ACTIVATE - _IOW(PFRUT_IOCTL_MAGIC, 0x03, unsigned int)
42 * * 0 - success
43 * * -EINVAL - activate phase returns invalid result
50 * PFRU_IOC_STAGE_ACTIVATE - _IOW(PFRUT_IOCTL_MAGIC, 0x04, unsigned int)
53 * * 0 - success
54 * * -EINVAL - stage/activate phase returns invalid result.
61 * PFRU_IOC_QUERY_CAP - _IOR(PFRUT_IOCTL_MAGIC, 0x05,
65 * * 0 - success
66 * * -EINVAL - query phase returns invalid result
67 * * -EFAULT - the result fails to be copied to userspace
69 * Retrieve information on the Platform Firmware Runtime Update capability.
75 * struct pfru_payload_hdr - Capsule file payload header.
82 * @platform_id: A platform specific GUID to specify the platform what
105 * struct pfru_update_cap_info - Runtime update capability information.
110 * @fw_version: Platform firmware version.
111 * @code_rt_version: Code injection runtime version for anti-rollback.
115 * @platform_id: A buffer containing a platform ID GUID.
138 * struct pfru_com_buf_info - Communication buffer information.
157 * struct pfru_updated_result - Platform firmware runtime update result information.
175 * struct pfrt_log_data_info - Log Data from telemetry service.
209 * struct pfrt_log_info - Telemetry log information.
210 * @log_level: The telemetry log level.
221 * PFRT_LOG_IOC_SET_INFO - _IOW(PFRUT_IOCTL_MAGIC, 0x06,
225 * * 0 - success
226 * * -EFAULT - fail to get the setting parameter
227 * * -EINVAL - fail to set the log level
229 * Set the PFRT log level and log type. The input information is
235 * PFRT_LOG_IOC_GET_INFO - _IOR(PFRUT_IOCTL_MAGIC, 0x07,
239 * * 0 - success
240 * * -EINVAL - fail to get the log level
241 * * -EFAULT - fail to copy the result back to userspace
243 * Retrieve log level and log type of the telemetry. The information is
249 * PFRT_LOG_IOC_GET_DATA_INFO - _IOR(PFRUT_IOCTL_MAGIC, 0x08,
253 * * 0 - success
254 * * -EINVAL - fail to get the log buffer information
255 * * -EFAULT - fail to copy the log buffer information to userspace