/openbmc/openbmc/poky/bitbake/lib/bb/ |
H A D | command.py | 2 BitBake 'Command' module 46 return "Command execution failed: %s" % self.error 51 class Command: class 66 command = commandline.pop(0) 69 if command not in ["updateConfig", "setFeatures", "ping"]: 82 if hasattr(CommandsSync, command): 84 command_method = getattr(self.cmds_sync, command) 103 if command not in CommandsAsync.__dict__: 104 return None, "No such command" 105 if not process_server.set_async_cmd((command, commandline)): [all …]
|
/openbmc/u-boot/doc/ |
H A D | README.commands | 1 Command definition 4 Commands are added to U-Boot by creating a new command structure. 5 This is done by first including command.h, then using the U_BOOT_CMD() or the 8 U_BOOT_CMD(name, maxargs, repeatable, command, "usage", "help") 9 U_BOOT_CMD_COMPLETE(name, maxargs, repeatable, command, "usage, "help", comp) 11 name: The name of the command. THIS IS NOT a string. 14 the command itself. 18 command: Pointer to the command function. This is the function that is 19 called when the command is issued. 28 entering the command arguments to complete the entry. Command [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Control/ |
H A D | Host.interface.yaml | 7 Execute the requested command by the caller. This command will be 8 processed in first in first out order. See the Command enum 11 - name: command 12 type: enum[self.Command] 13 description: Requested command to execute against the host 20 Signal indicating that a Command has completed 22 - name: command 23 type: enum[self.Command] 24 description: Executed command 27 description: Result of the command execution [all …]
|
/openbmc/phosphor-net-ipmid/ |
H A D | command_table.hpp | 11 namespace command namespace 17 CommandID(uint32_t command) : command(command) {} in CommandID() 21 return static_cast<uint8_t>(command >> CHAR_BIT); in netFnLun() 33 return static_cast<uint8_t>(command); in cmd() 35 uint32_t command; member 40 * phosphor-net-ipmid. This would take the request part of the command as a 42 * command is returned as a vector. 50 * Command details is used to register commands supported in phosphor-net-ipmid. 54 CommandID command; member 111 * privilege level needed to execute the command [all …]
|
H A D | command_table.cpp | 15 namespace command namespace 20 auto& command = commandTable[inCommand.command]; in registerCommand() local 22 if (command) in registerCommand() 24 lg2::debug("Already Registered: {COMMAND}", "COMMAND", in registerCommand() 25 inCommand.command); in registerCommand() 29 command = std::move(entry); in registerCommand() 42 CommandID command(inCommand); in executeCommand() local 48 … "Table: refuse to forward session-zero command: lun: {LUN}, netFn: {NETFN}, command: {COMMAND}", in executeCommand() 49 "LUN", command.lun(), "NETFN", command.netFn(), "COMMAND", in executeCommand() 50 command.cmd()); in executeCommand() [all …]
|
H A D | comm_module.cpp | 3 #include "command/channel_auth.hpp" 4 #include "command/open_session.hpp" 5 #include "command/rakp12.hpp" 6 #include "command/rakp34.hpp" 7 #include "command/session_cmds.hpp" 15 namespace command namespace 20 static const command::CmdDetails commands[] = { in sessionSetupCommands() 37 // Get Channel Authentication Capabilities Command in sessionSetupCommands() 39 static_cast<uint16_t>(command::NetFns::APP) | 0x38}, in sessionSetupCommands() 43 // Get Channel Cipher Suites Command in sessionSetupCommands() [all …]
|
H A D | sol_module.cpp | 1 #include "command/payload_cmds.hpp" 2 #include "command/sol_cmds.hpp" 9 namespace command namespace 14 static const ::command::CmdDetails commands[] = { in registerCommands() 20 // Activate Payload Command in registerCommands() 22 static_cast<uint16_t>(::command::NetFns::APP) | 0x48}, in registerCommands() 26 // Deactivate Payload Command in registerCommands() 28 static_cast<uint16_t>(::command::NetFns::APP) | 0x49}, in registerCommands() 34 static_cast<uint16_t>(::command::NetFns::APP) | 0x4A}, in registerCommands() 38 // Get Payload Instance Info Command in registerCommands() [all …]
|
/openbmc/openbmc-test-automation/lib/ |
H A D | ipmi_client.robot | 4 ... command. IPMI raw command will use dbus-send command 31 Run IPMI Command 32 [Documentation] Run the raw IPMI command. 33 [Arguments] ${command} ${fail_on_err}=${1} &{options} 36 # command The IPMI command string to be executed 38 # fail_on_err Fail if the IPMI command execution fails. 39 # options Additional ipmitool command options (e.g. 44 ... Run External IPMI Raw Command ${command} ${fail_on_err} &{options} 46 ... Run Inband IPMI Raw Command ${command} 48 ... Run Dbus IPMI RAW Command ${command} [all …]
|
H A D | ipmi_utils.robot | 3 Documentation Keywords for KCS and Lanplus interface command. 17 ... command. 20 Run Inband IPMI Raw Command ${IPMI_RAW_CMD['Device ID']['Get'][0]} 23 Run Inband IPMI Raw Command ${IPMI_RAW_CMD['Cold Reset']['reset'][0]} 29 ... Run Inband IPMI Raw Command ${IPMI_RAW_CMD['Device ID']['Get'][0]} 32 Run Inband IPMI Raw Command ${IPMI_RAW_CMD['Device GUID']['Get'][0]} 35 Run Inband IPMI Raw Command ${IPMI_RAW_CMD['lan_parameters']['get_ip'][0]} 38 Run Inband IPMI Raw Command ${IPMI_RAW_CMD['lan_parameters']['get_ip_src'][0]} 41 Run Inband IPMI Raw Command ${IPMI_RAW_CMD['lan_parameters']['get_dot1q'][0]} 44 Run Inband IPMI Raw Command ${IPMI_RAW_CMD['SDR_Info']['get'][0]} [all …]
|
/openbmc/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_cmdbuf.c | 37 * Size of inline command buffers. Try to make sure that a page size is a 45 * struct vmw_cmdbuf_context - Command buffer context queues 47 * @submitted: List of command buffers that have been submitted to the 49 * @hw_submitted: List of command buffers submitted to hardware. 50 * @preempted: List of preempted command buffers. 52 * @block_submission: Identifies a block command submission. 63 * struct vmw_cmdbuf_man - Command buffer manager 65 * @cur_mutex: Mutex protecting the command buffer used for incremental small 66 * kernel command submissions, @cur. 72 * @work: A struct work_struct implementeing command buffer error handling. [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/org/open_power/Control/ |
H A D | Host.interface.yaml | 12 Execute the requested command by the caller. This command will be 13 processed in first in first out order. See the Command enum 16 - name: command 17 type: enum[self.Command] 18 description: Requested command to execute against the host 21 description: Data associated with the command. 26 Signal indicating that a command has completed 28 - name: command 29 type: enum[self.Command] 30 description: Executed command [all …]
|
/openbmc/openbmc-test-automation/data/ |
H A D | ipmi_raw_cmd_table.py | 22 # Command action type 24 # raw command, expected output(s), comment 34 # raw command, expected output, comment 40 # raw command, expected output, comment 48 # raw command, expected output(s), comment 56 # raw command, expected output, comment 62 # raw command, expected output, comment 70 # raw command, expected output, comment 76 # raw command 80 # raw command, expected output(s) [all …]
|
/openbmc/u-boot/drivers/net/fsl-mc/ |
H A D | dpni.c | 39 /* prepare command */ in dpni_open() 45 /* send command to mc*/ in dpni_open() 62 /* prepare command */ in dpni_close() 67 /* send command to mc*/ in dpni_close() 80 /* prepare command */ in dpni_create() 86 /* send command to mc*/ in dpni_create() 104 /* prepare command */ in dpni_destroy() 112 /* send command to mc*/ in dpni_destroy() 123 /* prepare command */ in dpni_set_pools() 129 /* send command to mc*/ in dpni_set_pools() [all …]
|
H A D | dprc.c | 20 /* prepare command */ in dprc_get_container_id() 25 /* send command to mc*/ in dprc_get_container_id() 44 /* prepare command */ in dprc_open() 49 /* send command to mc*/ in dprc_open() 66 /* prepare command */ in dprc_close() 70 /* send command to mc*/ in dprc_close() 84 /* prepare command */ in dprc_create_container() 91 /* send command to mc*/ in dprc_create_container() 110 /* prepare command */ in dprc_destroy_container() 116 /* send command to mc*/ in dprc_destroy_container() [all …]
|
/openbmc/openbmc/poky/meta/lib/oe/ |
H A D | terminal.py | 23 command = None variable in Registry 30 return bool(cls.command) 47 fmt = {'title': title or 'Terminal', 'command': sh_cmd, 'cwd': os.getcwd() } 48 if isinstance(self.command, str): 49 return shlex.split(self.command.format(**fmt)) 51 return [element.format(**fmt) for element in self.command] 60 command = 'gnome-terminal -t "{title}" -- {command}' variable in Gnome 73 command = 'mate-terminal --disable-factory -t "{title}" -x {command}' variable in Mate 77 command = 'xfce4-terminal -T "{title}" -e "{command}"' variable in Xfce 81 command = 'terminology -T="{title}" -e {command}' variable in Terminology [all …]
|
/openbmc/linux/drivers/input/serio/ |
H A D | libps2.c | 37 #define PS2_FLAG_CMD BIT(1) /* Waiting for a command to finish */ 38 #define PS2_FLAG_CMD1 BIT(2) /* Waiting for the first byte of command response */ 39 #define PS2_FLAG_WAITID BIT(3) /* Command executing is GET ID */ 123 * ps2_begin_command - mark beginning of execution of a complex command 124 * @ps2dev: a PS/2 device executing the command 126 * Serializes a complex/compound command. Once command is finished 138 * ps2_end_command - mark end of execution of a complex command 139 * @ps2dev: a PS/2 device executing the command 199 * ps2_adjust_timeout() is called after receiving 1st byte of command 200 * response and tries to reduce remaining timeout to speed up command [all …]
|
/openbmc/openbmc-test-automation/ipmi/ |
H A D | test_ipmi_watchdog.robot | 24 [Template] Execute IPMI Raw Command And Verify Response Data 35 [Template] Execute IPMI Raw Command And Verify Response Data After Watchdog Expires 46 [Template] Execute IPMI Raw Command And Verify Response Data 63 [Template] Execute IPMI Raw Command And Verify Response Data 74 [Template] Execute IPMI Raw Command And Verify Response Data 89 [Template] Execute IPMI Raw Command And Verify Timer Expiration Data 105 [Documentation] Set Watchdog via IPMI raw command and verify timer actions. 109 # set action command power state SEL event 117 [Documentation] Set Watchdog via IPMI raw command and verify Reset Timer functions as expected. 124 Run IPMI Command ${IPMI_RAW_CMD['Watchdog']['Set'][72]} [all …]
|
/openbmc/qemu/docs/devel/ |
H A D | writing-monitor-commands.rst | 15 implemented on top of QMP. The typical HMP command wraps around an 16 equivalent QMP command, but HMP convenience commands built from QMP 27 new QMP command. 29 1. Define the command and any types it needs in the appropriate QAPI 32 2. Write the QMP command itself, which is a regular C function. Preferably, 33 the command should be exported by some QEMU subsystem. But it can also be 36 3. At this point the command can be tested under the QMP protocol 38 4. Write the HMP command equivalent. This is not required and should only be 39 done if it does make sense to have the functionality in HMP. The HMP command 40 is implemented in terms of the QMP command [all …]
|
/openbmc/u-boot/cmd/ |
H A D | Kconfig | 1 menu "Command line interface" 7 Enable U-Boot's command-line functions. This provides a means 10 Various commands and command categorys can be indivdually enabled. 18 This option enables the "hush" shell (from Busybox) as command line 19 interpreter, thus enabling powerful command line syntax like 27 bool "Enable command line editing" 31 Enable editing and History functions for interactive command line 53 This string is displayed in the command line to the left of the 103 autoboot starts booting, U-Boot gives a command prompt. The 116 U-Boot gives a command prompt. The U-Boot prompt never [all …]
|
/openbmc/u-boot/include/ |
H A D | cli.h | 11 * Go into the command loop 13 * This will return if we get a timeout waiting for a command. See 19 * cli_simple_run_command() - Execute a command with the simple CLI 21 * @cmd: String containing the command to execute 23 * @return 1 - command executed, repeatable 24 * 0 - command executed but not repeatable, interrupted commands are 41 * cli_simple_run_command_list() - Execute a list of command 46 * This function cannot take a const char * for the command, since if it 61 * @return command line length excluding terminator, or -ve on error 68 * Display the prompt, then read a command line into @buffer. The [all …]
|
/openbmc/phosphor-host-ipmid/ |
H A D | host-interface.cpp | 22 namespace command namespace 28 // IPMI OEM command. 33 // Map of IPMI OEM command to its equivalent interface command. 35 // the status of the executed command. 36 static const std::map<OEMCmd, Host::Command> intfCommand = { 37 {CMD_HEARTBEAT, Base::Host::Command::Heartbeat}, 38 {CMD_POWER, Base::Host::Command::SoftOff}}; 40 // Map of Interface command to its corresponding IPMI OEM command. 41 // This is needed when pushing IPMI commands to command manager's 44 static const std::map<Host::Command, IpmiCmdData> ipmiCommand = { [all …]
|
/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A D | vidioc-decoder-cmd.rst | 13 VIDIOC_DECODER_CMD - VIDIOC_TRY_DECODER_CMD - Execute an decoder command 39 ``VIDIOC_DECODER_CMD`` sends a command to the decoder, 40 ``VIDIOC_TRY_DECODER_CMD`` can be used to try a command without actually 41 executing it. To send a command applications must initialize all fields 46 The ``cmd`` field must contain the command code. Some commands use the 50 call sends an implicit START command to the decoder if it has not been 55 command to the decoder, and all buffered data is discarded. Applies to both 76 - The decoder command, see :ref:`decoder-cmds`. 80 - Flags to go with the command. If no flags are defined for this 81 command, drivers and applications must set this field to zero. [all …]
|
H A D | vidioc-encoder-cmd.rst | 13 VIDIOC_ENCODER_CMD - VIDIOC_TRY_ENCODER_CMD - Execute an encoder command 39 ``VIDIOC_ENCODER_CMD`` sends a command to the encoder, 40 ``VIDIOC_TRY_ENCODER_CMD`` can be used to try a command without actually 43 To send a command applications must initialize all fields of a struct 48 The ``cmd`` field must contain the command code. Some commands use the 51 After a STOP command, :c:func:`read()` calls will read 57 call sends an implicit START command to the encoder if it has not been 80 - The encoder command, see :ref:`encoder-cmds`. 83 - Flags to go with the command, see :ref:`encoder-flags`. If no 84 flags are defined for this command, drivers and applications must [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dmub/inc/ |
H A D | dmub_cmd.h | 100 * size to ensure the command size remains less than 64 bytes if 649 * Command IDs should be treated as stable ABI. 691 * the command register bits. 704 * Command responses. 708 * Return response for DMUB_GPINT__STOP_FW command. 713 * union dmub_gpint_data_register - Format for sending a command via the GPINT. 718 uint32_t command_code : 12; /**< GPINT command */ 719 uint32_t status : 4; /**< Command status bit */ 725 * enum dmub_gpint_command - GPINT command to DMCUB FW 727 * Command IDs should be treated as stable ABI. [all …]
|
/openbmc/linux/tools/testing/selftests/tc-testing/creating-testcases/ |
H A D | AddingTestCases.txt | 35 name: Descriptive name that explains the command under test 41 dependsOn: Same as 'skip', but the value is executed as a command. The test 42 is skipped when the command returns non-zero. 43 category: A list of single-word descriptions covering what the command 45 setup: The list of commands required to ensure the command under test 46 succeeds. For example: if testing a filter, the command to create 49 Each command can be a string to be executed, or a list consisting 50 of a string which is a command to be executed, followed by 1 or 51 more acceptable exit codes for this command. 52 If only a string is given for the command, then an exit code of 0 [all …]
|