Home
last modified time | relevance | path

Searched refs:command (Results 1 – 25 of 2050) sorted by relevance

12345678910>>...82

/openbmc/openbmc/poky/bitbake/lib/bb/
H A Dcommand.py66 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__:
105 if not process_server.set_async_cmd((command, commandline)):
119 (command, options) = cmd
120 commandmethod = getattr(CommandsAsync, command)
166 def ping(self, command, params): argument
174 def stateShutdown(self, command, params): argument
[all …]
/openbmc/u-boot/drivers/mtd/spi/
H A Dsf_dataflash.c71 uint8_t command[16]; member
121 uint8_t *command; in spi_dataflash_erase() local
131 memset(dataflash->command, 0 , sizeof(dataflash->command)); in spi_dataflash_erase()
132 command = dataflash->command; in spi_dataflash_erase()
166 command[0] = do_block ? OP_ERASE_BLOCK : OP_ERASE_PAGE; in spi_dataflash_erase()
167 command[1] = (uint8_t)(pageaddr >> 16); in spi_dataflash_erase()
168 command[2] = (uint8_t)(pageaddr >> 8); in spi_dataflash_erase()
169 command[3] = 0; in spi_dataflash_erase()
173 command[0], command[1], command[2], command[3], in spi_dataflash_erase()
176 status = spi_flash_cmd_write(spi, command, 4, NULL, 0); in spi_dataflash_erase()
[all …]
/openbmc/openpower-pnor-code-mgmt/test/
H A Dtest_signature.cpp18 void command(const std::string& cmd) in command() function in SignatureTest
53 command("mkdir " + extractPath.string()); in SetUp()
54 command("mkdir " + signedConfPath.string()); in SetUp()
55 command("mkdir " + signedConfPNORPath.string()); in SetUp()
58 command("echo \"HashType=RSA-SHA256\" > " + hashFile); in SetUp()
61 command("echo \"HashType=RSA-SHA256\" > " + manifestFile); in SetUp()
62 command("echo \"KeyType=OpenBMC\" >> " + manifestFile); in SetUp()
65 command("echo \"pnor.xz.squashfs file \" > " + pnorFile); in SetUp()
68 command("openssl genrsa -out " + pkeyFile + " 4096"); in SetUp()
71 command("openssl rsa -in " + pkeyFile + " -outform PEM " + in SetUp()
[all …]
/openbmc/u-boot/lib/
H A Dtpm-v1.c37 const u8 command[12] = { in tpm1_startup() local
44 0, command, sizeof(command), in tpm1_startup()
58 const u8 command[10] = { in tpm1_self_test_full() local
61 return tpm_sendrecv_command(dev, command, NULL, NULL); in tpm1_self_test_full()
66 const u8 command[10] = { in tpm1_continue_self_test() local
69 return tpm_sendrecv_command(dev, command, NULL, NULL); in tpm1_continue_self_test()
100 const u8 command[101] = { in tpm1_nv_define_space() local
132 0, command, sizeof(command), in tpm1_nv_define_space()
148 const u8 command[22] = { in tpm1_nv_read_value() local
161 0, command, sizeof(command), in tpm1_nv_read_value()
[all …]
/openbmc/u-boot/doc/
H A DREADME.commands4 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
31 Sub-command definition
[all …]
/openbmc/phosphor-net-ipmid/
H A Dsol_module.cpp9 namespace command namespace
14 static const ::command::CmdDetails commands[] = { in registerCommands()
22 static_cast<uint16_t>(::command::NetFns::APP) | 0x48}, in registerCommands()
28 static_cast<uint16_t>(::command::NetFns::APP) | 0x49}, in registerCommands()
34 static_cast<uint16_t>(::command::NetFns::APP) | 0x4A}, in registerCommands()
40 static_cast<uint16_t>(::command::NetFns::APP) | 0x4B}, in registerCommands()
48 ::command::Table::get().registerCommand( in registerCommands()
49 iter.command, in registerCommands()
50 std::make_unique<::command::NetIpmidEntry>( in registerCommands()
51 iter.command, iter.functor, iter.privilege, iter.sessionless)); in registerCommands()
H A Dcommand_table.hpp11 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
54 CommandID command; member
117 Entry(CommandID command, session::Privilege privilege) : in Entry() argument
118 command(command), privilege(privilege) in Entry()
137 return command; in getCommand()
152 CommandID command; member in command::Entry
[all …]
H A Dcomm_module.cpp15 namespace command namespace
20 static const command::CmdDetails commands[] = { in sessionSetupCommands()
39 static_cast<uint16_t>(command::NetFns::APP) | 0x38}, in sessionSetupCommands()
45 static_cast<uint16_t>(::command::NetFns::APP) | 0x54}, in sessionSetupCommands()
51 static_cast<uint16_t>(command::NetFns::APP) | 0x3B}, in sessionSetupCommands()
57 static_cast<uint16_t>(command::NetFns::APP) | 0x3C}, in sessionSetupCommands()
65 command::Table::get().registerCommand( in sessionSetupCommands()
66 iter.command, in sessionSetupCommands()
67 std::make_unique<command::NetIpmidEntry>( in sessionSetupCommands()
68 iter.command, iter.functor, iter.privilege, iter.sessionless)); in sessionSetupCommands()
H A Dcommand_table.cpp15 namespace command namespace
20 auto& command = commandTable[inCommand.command]; in registerCommand() local
22 if (command) in registerCommand()
25 inCommand.command); in registerCommand()
29 command = std::move(entry); in registerCommand()
42 CommandID command(inCommand); in executeCommand() local
49 "LUN", command.lun(), "NETFN", command.netFn(), "COMMAND", in executeCommand()
50 command.cmd()); in executeCommand()
67 uint8_t lun = command.lun(); in executeCommand()
68 uint8_t netFn = command.netFn(); in executeCommand()
[all …]
/openbmc/phosphor-dbus-interfaces/gen/com/ibm/ipzvpd/
H A Dmeson.build51 command: [
53 '--command',
73 command: [
75 '--command',
95 command: [
97 '--command',
117 command: [
119 '--command',
139 command: [
141 '--command',
[all …]
/openbmc/openbmc/poky/meta/lib/oe/
H A Dterminal.py23 command = None variable in Registry
30 return bool(cls.command)
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
85 command = 'konsole --separate --workdir . -p tabtitle="{title}" -e {command}' variable in Konsole
[all …]
/openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/State/
H A Dmeson.build37 command: [
39 '--command',
59 command: [
61 '--command',
83 command: [
85 '--command',
105 command: [
107 '--command',
127 command: [
129 '--command',
[all...]
/openbmc/phosphor-bmc-code-mgmt/bmc/test/
H A Dutest.cpp178 static void command(const std::string& cmd) in command() function in SignatureTest
213 command("mkdir " + extractPath.string()); in SetUp()
214 command("mkdir " + signedConfPath.string()); in SetUp()
215 command("mkdir " + signedConfOpenBMCPath.string()); in SetUp()
218 command("echo \"HashType=RSA-SHA256\" > " + hashFile); in SetUp()
221 command( in SetUp()
224 command("echo \"HashType=RSA-SHA256\" >> " + manifestFile); in SetUp()
225 command("echo \"KeyType=OpenBMC\" >> " + manifestFile); in SetUp()
228 command("echo \"image-kernel file \" > " + kernelFile); in SetUp()
231 command("echo \"image-rofs file \" > " + rofsFile); in SetUp()
[all …]
/openbmc/qemu/tests/qapi-schema/
H A Dreturns-bad-type.json3 { 'pragma': { 'command-returns-exceptions': [
4 'human-monitor-command', 'query-tpm-models', 'guest-get-time' ] } }
6 { 'command': 'human-monitor-command',
7 'data': {'command-line': 'str', '*cpu-index': 'int'},
10 { 'command': 'query-tpm-models', 'returns': ['TpmModel'] }
11 { 'command': 'guest-get-time',
14 { 'command': 'no-way-this-will-get-whitelisted',
H A Dredefined-command.err1 redefined-command.json: In command 'foo':
2 redefined-command.json:3: 'foo' is already defined
3 redefined-command.json: In command 'foo':
4 redefined-command.json:2: previous definition
/openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Common/
H A Dmeson.build23 command: [
25 '--command',
45 command: [
47 '--command',
67 command: [
69 '--command',
91 command: [
93 '--command',
115 command: [
117 '--command',
[all …]
/openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Inventory/Item/
H A Dmeson.build51 command: [
53 '--command',
81 command: [
83 '--command',
105 command: [
107 '--command',
129 command: [
131 '--command',
153 command: [
155 '--command',
[all …]
/openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Software/
H A Dmeson.build27 command: [
29 '--command',
51 command: [
53 '--command',
75 command: [
77 '--command',
99 command: [
101 '--command',
123 command: [
125 '--command',
[all …]
/openbmc/openpower-occ-control/
H A Docc_pass_through.cpp40 std::vector<int32_t> PassThrough::send(std::vector<int32_t> command) in send() argument
47 cmdInBytes.resize(command.size()); in send()
50 std::transform(command.begin(), command.end(), cmdInBytes.begin(), in send()
62 std::vector<uint8_t> PassThrough::send(std::vector<uint8_t> command) in send() argument
74 if (command.size() >= 3) in send()
76 const uint16_t dataLen = command[1] << 8 | command[2]; in send()
78 if (command.size() > 3) in send()
83 for (; (index < 7) && (index < command.size()); ++index) in send()
85 dataString += std::format("{:02X}", command[index]); in send()
87 if (index < command.size()) in send()
[all …]
/openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Control/
H A Dmeson.build35 command: [
37 '--command',
59 command: [
61 '--command',
81 command: [
83 '--command',
105 command: [
107 '--command',
129 command: [
131 '--command',
[all …]
/openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Inventory/Decorator/
H A Dmeson.build31 command: [
33 '--command',
55 command: [
57 '--command',
79 command: [
81 '--command',
103 command: [
105 '--command',
127 command: [
129 '--command',
[all …]
/openbmc/qemu/hw/nvram/
H A Deeprom93xx.c79 uint8_t command; member
137 VMSTATE_UINT8(command, eeprom_t),
160 uint8_t command = eeprom->command; in eeprom93xx_write() local
169 command = 0x0; in eeprom93xx_write()
175 if (command == 0 && subcommand == 2) { in eeprom93xx_write()
180 } else if (command == 3) { in eeprom93xx_write()
184 if (command == 1) { in eeprom93xx_write()
187 } else if (command == 0 && subcommand == 1) { in eeprom93xx_write()
220 command <<= 1; in eeprom93xx_write()
222 command += 1; in eeprom93xx_write()
[all …]
/openbmc/qemu/hw/i2c/
H A Dsmbus_master.c51 int smbus_read_byte(I2CBus *bus, uint8_t addr, uint8_t command) in smbus_read_byte() argument
57 i2c_send(bus, command); in smbus_read_byte()
68 int smbus_write_byte(I2CBus *bus, uint8_t addr, uint8_t command, uint8_t data) in smbus_write_byte() argument
73 i2c_send(bus, command); in smbus_write_byte()
79 int smbus_read_word(I2CBus *bus, uint8_t addr, uint8_t command) in smbus_read_word() argument
85 i2c_send(bus, command); in smbus_read_word()
97 int smbus_write_word(I2CBus *bus, uint8_t addr, uint8_t command, uint16_t data) in smbus_write_word() argument
102 i2c_send(bus, command); in smbus_write_word()
109 int smbus_read_block(I2CBus *bus, uint8_t addr, uint8_t command, uint8_t *data, in smbus_read_block() argument
119 i2c_send(bus, command); in smbus_read_block()
[all …]
/openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Network/
H A Dmeson.build22 command: [
24 '--command',
46 command: [
48 '--command',
70 command: [
72 '--command',
92 command: [
94 '--command',
116 command: [
118 '--command',
[all …]
/openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/User/
H A Dmeson.build22 command: [
24 '--command',
46 command: [
48 '--command',
68 command: [
70 '--command',
90 command: [
92 '--command',
114 command: [
116 '--command',
[all …]

12345678910>>...82