Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
|
SCMI pinctrl protocol helpers. More...
#include <zephyr/drivers/firmware/scmi/protocol.h>
Go to the source code of this file.
Data Structures | |
struct | scmi_pinctrl_settings |
Describes the parameters for the PINCTRL_SETTINGS_CONFIGURE command. More... | |
Macros | |
#define | ARM_SCMI_PINCTRL_MAX_CONFIG_SIZE (10 * 2) |
#define | SCMI_PINCTRL_NO_FUNCTION 0xFFFFFFFF |
#define | SCMI_PINCTRL_CONFIG_ATTRIBUTES(fid_valid, cfg_num, selector) |
#define | SCMI_PINCTRL_SELECTOR_PIN 0x0 |
#define | SCMI_PINCTRL_SELECTOR_GROUP 0x1 |
#define | SCMI_PINCTRL_ATTRIBUTES_CONFIG_NUM(attributes) |
Functions | |
int | scmi_pinctrl_settings_configure (struct scmi_pinctrl_settings *settings) |
Send the PINCTRL_SETTINGS_CONFIGURE command and get its reply. | |
SCMI pinctrl protocol helpers.
#define ARM_SCMI_PINCTRL_MAX_CONFIG_SIZE (10 * 2) |
#define SCMI_PINCTRL_ATTRIBUTES_CONFIG_NUM | ( | attributes | ) |
#define SCMI_PINCTRL_CONFIG_ATTRIBUTES | ( | fid_valid, | |
cfg_num, | |||
selector ) |
#define SCMI_PINCTRL_NO_FUNCTION 0xFFFFFFFF |
#define SCMI_PINCTRL_SELECTOR_GROUP 0x1 |
#define SCMI_PINCTRL_SELECTOR_PIN 0x0 |
enum scmi_pinctrl_config |
Pinctrl configurations.
enum scmi_pinctrl_message |
Pinctrl protocol command message IDs.
int scmi_pinctrl_settings_configure | ( | struct scmi_pinctrl_settings * | settings | ) |
Send the PINCTRL_SETTINGS_CONFIGURE command and get its reply.
settings | pointer to settings to be applied |
0 | if successful |
negative | errno if failure |