|
OpenBIC
OpenSource Bridge-IC
|

Macros | |
| #define | IRIS_BOARD_POWER_ENABLE 0xFF |
| #define | HAMSA_POWER_ON_RESET_PLD_L_BIT 5 |
| #define | MEDHA0_POWER_ON_RESET_PLD_L_BIT 4 |
| #define | MEDHA1_POWER_ON_RESET_PLD_L_BIT 3 |
| #define | HAMSA_SYS_RST_PLD_L_BIT 2 |
| #define | MEDHA0_SYS_RST_PLD_L_BIT 1 |
| #define | MEDHA1_SYS_RST_PLD_L_BIT 0 |
Functions | |
| void | cmd_spi_disable (const struct shell *shell, size_t argc, char **argv) |
| void | cmd_spi_enable_hamsa (const struct shell *shell, size_t argc, char **argv) |
| void | cmd_spi_enable_medha0 (const struct shell *shell, size_t argc, char **argv) |
| void | cmd_spi_enable_medha1 (const struct shell *shell, size_t argc, char **argv) |
| SHELL_STATIC_SUBCMD_SET_CREATE (sub_spu_enable_cmds, SHELL_CMD(hamsa, NULL, "spi enable hamsa test command", cmd_spi_enable_hamsa), SHELL_CMD(medha0, NULL, "spi enable medha0 test command", cmd_spi_enable_medha0), SHELL_CMD(medha1, NULL, "spi enable medha1 test command", cmd_spi_enable_medha1), SHELL_SUBCMD_SET_END) | |
| SHELL_STATIC_SUBCMD_SET_CREATE (sub_set_spimux_oob_cmds, SHELL_CMD(enable, &sub_spu_enable_cmds, "spi enable test command", NULL), SHELL_CMD(disable, NULL, "spi disable test command", cmd_spi_disable), SHELL_SUBCMD_SET_END) | |
| SHELL_CMD_REGISTER (set_spimux_oob, &sub_set_spimux_oob_cmds, "spi test commands", NULL) | |
| #define HAMSA_POWER_ON_RESET_PLD_L_BIT 5 |
| #define HAMSA_SYS_RST_PLD_L_BIT 2 |
| #define IRIS_BOARD_POWER_ENABLE 0xFF |
| #define MEDHA0_POWER_ON_RESET_PLD_L_BIT 4 |
| #define MEDHA0_SYS_RST_PLD_L_BIT 1 |
| #define MEDHA1_POWER_ON_RESET_PLD_L_BIT 3 |
| #define MEDHA1_SYS_RST_PLD_L_BIT 0 |
| void cmd_spi_disable | ( | const struct shell * | shell, |
| size_t | argc, | ||
| char ** | argv | ||
| ) |

| void cmd_spi_enable_hamsa | ( | const struct shell * | shell, |
| size_t | argc, | ||
| char ** | argv | ||
| ) |

| void cmd_spi_enable_medha0 | ( | const struct shell * | shell, |
| size_t | argc, | ||
| char ** | argv | ||
| ) |

| void cmd_spi_enable_medha1 | ( | const struct shell * | shell, |
| size_t | argc, | ||
| char ** | argv | ||
| ) |

| SHELL_CMD_REGISTER | ( | set_spimux_oob | , |
| & | sub_set_spimux_oob_cmds, | ||
| "spi test commands" | , | ||
| NULL | |||
| ) |
| SHELL_STATIC_SUBCMD_SET_CREATE | ( | sub_set_spimux_oob_cmds | , |
| SHELL_CMD(enable, &sub_spu_enable_cmds, "spi enable test command", NULL) | , | ||
| SHELL_CMD(disable, NULL, "spi disable test command", cmd_spi_disable) | , | ||
| SHELL_SUBCMD_SET_END | |||
| ) |
| SHELL_STATIC_SUBCMD_SET_CREATE | ( | sub_spu_enable_cmds | , |
| SHELL_CMD(hamsa, NULL, "spi enable hamsa test command", cmd_spi_enable_hamsa) | , | ||
| SHELL_CMD(medha0, NULL, "spi enable medha0 test command", cmd_spi_enable_medha0) | , | ||
| SHELL_CMD(medha1, NULL, "spi enable medha1 test command", cmd_spi_enable_medha1) | , | ||
| SHELL_SUBCMD_SET_END | |||
| ) |