Lines Matching +full:cap +full:- +full:get
1 /* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */
24 * struct dbc_user_nonce - Nonce exchange structure (input/output).
27 * 1: authentication: PSP will return multi-use nonce.
39 * struct dbc_user_setuid - UID exchange structure (input).
49 * struct dbc_user_param - Parameter exchange structure (input/output).
50 * @msg_index: Message indicating what parameter to set or get (input)
53 * - When sending a message this is to be created by software
55 * - For interpreting results, this signature is updated by the
70 * -EINVAL: invalid input
71 * -E2BIG: excess data passed
72 * -EFAULT: failed to copy to/from userspace
73 * -EBUSY: mailbox in recovery or in use
74 * -ENODEV: driver not bound with PSP device
75 * -EACCES: request isn't authorized
76 * -EINVAL: invalid parameter
77 * -ETIMEDOUT: request timed out
78 * -EAGAIN: invalid request for state machine
79 * -ENOENT: not implemented
80 * -ENFILE: overflow
81 * -EPERM: invalid signature
82 * -EIO: unknown error
87 * DBCIOCNONCE - Fetch a nonce from the PSP for authenticating commands.
96 * DBCIOCUID - Set the user ID (UID) of a calling process.
105 * DBCIOCPARAM - Set or get a parameter from the PSP.
108 * Whether the parameter is set or get is controlled by the
118 * enum dbc_cmd_msg - Messages utilized by DBCIOCPARAM
119 * @PARAM_GET_FMAX_CAP: Get frequency cap (MHz)
120 * @PARAM_SET_FMAX_CAP: Set frequency cap (MHz)
121 * @PARAM_GET_PWR_CAP: Get socket power cap (mW)
122 * @PARAM_SET_PWR_CAP: Set socket power cap (mW)
123 * @PARAM_GET_GFX_MODE: Get graphics mode (0/1)
125 * @PARAM_GET_CURR_TEMP: Get current temperature (degrees C)
126 * @PARAM_GET_FMAX_MAX: Get maximum allowed value for frequency (MHz)
127 * @PARAM_GET_FMAX_MIN: Get minimum allowed value for frequency (MHz)
128 * @PARAM_GET_SOC_PWR_MAX: Get maximum allowed value for SoC power (mw)
129 * @PARAM_GET_SOC_PWR_MIN: Get minimum allowed value for SoC power (mw)
130 * @PARAM_GET_SOC_PWR_CUR: Get current value for SoC Power (mW)