Lines Matching +full:dynamic +full:- +full:mode
1 /* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */
3 * Userspace interface for AMD Dynamic Boost Control (DBC)
16 * DOC: AMD Dynamic Boost Control (DBC) interface
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).
53 * - When sending a message this is to be created by software
55 * - For interpreting results, this signature is updated by the
66 * Dynamic Boost Control (DBC) IOC
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.
118 * enum dbc_cmd_msg - Messages utilized by DBCIOCPARAM
123 * @PARAM_GET_GFX_MODE: Get graphics mode (0/1)
124 * @PARAM_SET_GFX_MODE: Set graphics mode (0/1)