Home
last modified time | relevance | path

Searched refs:_cmdname (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/include/
H A Dcommand.h221 #define U_BOOT_SUBCMDS_RELOC(_cmdname) \ argument
229 fixup_cmdtable(_cmdname##_subcmds, \
234 #define U_BOOT_SUBCMDS_RELOC(_cmdname) \ argument
244 _cmdname##_subcmds_reloc(); \
251 ARRAY_SIZE(_cmdname##_subcmds)); \
270 ARRAY_SIZE(_cmdname##_subcmds), \
275 #define U_BOOT_SUBCMDS_COMPLETE(_cmdname) argument
278 #define U_BOOT_SUBCMDS(_cmdname, ...) \ argument
280 U_BOOT_SUBCMDS_RELOC(_cmdname) \
281 U_BOOT_SUBCMDS_DO_CMD(_cmdname) \
[all …]
/openbmc/u-boot/tools/env/
H A Dfw_env_main.c211 char *_cmdname; in main() local
213 _cmdname = *argv; in main()
214 if (strrchr(_cmdname, '/') != NULL) in main()
215 _cmdname = strrchr(_cmdname, '/') + 1; in main()
217 if (strcmp(_cmdname, CMD_PRINTENV) == 0) { in main()
219 } else if (strcmp(_cmdname, CMD_SETENV) == 0) { in main()
224 CMD_PRINTENV, CMD_SETENV, _cmdname); in main()