Home
last modified time | relevance | path

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

12345678910>>...141

/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/linux/drivers/scsi/pcmcia/
H A Dnsp_debug.c88 static void print_commandk (unsigned char *command) in print_commandk() argument
92 print_opcodek(command[0]); in print_commandk()
94 if ((command[0] >> 5) == 6 || in print_commandk()
95 (command[0] >> 5) == 7 ) { in print_commandk()
98 s = COMMAND_SIZE(command[0]); in print_commandk()
101 printk("%02x ", command[i]); in print_commandk()
107 (((unsigned int)command[1] & 0x0f) << 16) | in print_commandk()
108 ( (unsigned int)command[2] << 8) | in print_commandk()
109 ( (unsigned int)command[3] ), in print_commandk()
110 (unsigned int)command[4] in print_commandk()
[all …]
/openbmc/linux/drivers/scsi/
H A Dnsp32_debug.c86 static void print_commandk (unsigned char *command) in print_commandk() argument
90 print_opcodek(command[0]); in print_commandk()
92 if ((command[0] >> 5) == 6 || in print_commandk()
93 (command[0] >> 5) == 7 ) { in print_commandk()
96 s = COMMAND_SIZE(command[0]); in print_commandk()
100 printk("%02x ", command[i]); in print_commandk()
106 (((unsigned int)command[1] & 0x0f) << 16) | in print_commandk()
107 ( (unsigned int)command[2] << 8) | in print_commandk()
108 ( (unsigned int)command[3] ), in print_commandk()
109 (unsigned int)command[4] in print_commandk()
[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/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/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-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/linux/drivers/mtd/devices/
H A Dsst25l.c93 unsigned char command[2]; in sst25l_write_enable() local
96 command[0] = enable ? SST25L_CMD_WREN : SST25L_CMD_WRDI; in sst25l_write_enable()
97 err = spi_write(flash->spi, command, 1); in sst25l_write_enable()
101 command[0] = SST25L_CMD_EWSR; in sst25l_write_enable()
102 err = spi_write(flash->spi, command, 1); in sst25l_write_enable()
106 command[0] = SST25L_CMD_WRSR; in sst25l_write_enable()
107 command[1] = enable ? 0 : SST25L_STATUS_BP0 | SST25L_STATUS_BP1; in sst25l_write_enable()
108 err = spi_write(flash->spi, command, 2); in sst25l_write_enable()
144 unsigned char command[4]; in sst25l_erase_sector() local
151 command[0] = SST25L_CMD_SECTOR_ERASE; in sst25l_erase_sector()
[all …]
H A Dmtd_dataflash.c86 u8 command[4]; member
161 u8 *command; in dataflash_erase() local
176 x.tx_buf = command = priv->command; in dataflash_erase()
193 command[0] = do_block ? OP_ERASE_BLOCK : OP_ERASE_PAGE; in dataflash_erase()
194 command[1] = (u8)(pageaddr >> 16); in dataflash_erase()
195 command[2] = (u8)(pageaddr >> 8); in dataflash_erase()
196 command[3] = 0; in dataflash_erase()
200 command[0], command[1], command[2], command[3], in dataflash_erase()
242 u8 *command; in dataflash_read() local
252 command = priv->command; in dataflash_read()
[all …]
/openbmc/linux/drivers/usb/storage/
H A Dshuttle_usbat.c346 unsigned char *command = us->iobuf; in usbat_set_shuttle_features() local
348 command[0] = 0x40; in usbat_set_shuttle_features()
349 command[1] = USBAT_CMD_SET_FEAT; in usbat_set_shuttle_features()
355 command[2] = epp_control; in usbat_set_shuttle_features()
363 command[3] = external_trigger; in usbat_set_shuttle_features()
370 command[4] = test_pattern; in usbat_set_shuttle_features()
376 command[5] = mask_byte; in usbat_set_shuttle_features()
384 command[6] = subcountL; in usbat_set_shuttle_features()
385 command[7] = subcountH; in usbat_set_shuttle_features()
387 return usbat_execute_command(us, command, 8); in usbat_set_shuttle_features()
[all …]
H A Dsddr09.c316 unsigned char *command, in sddr09_send_scsi_command() argument
318 return sddr09_send_command(us, 0, USB_DIR_OUT, command, command_len); in sddr09_send_scsi_command()
328 unsigned char *command = us->iobuf;
331 memset(command, 0, 6);
332 command[1] = LUNBITS;
334 result = sddr09_send_scsi_command(us, command, 6);
349 unsigned char *command = us->iobuf; in sddr09_request_sense() local
352 memset(command, 0, 12); in sddr09_request_sense()
353 command[0] = 0x03; in sddr09_request_sense()
354 command[1] = LUNBITS; in sddr09_request_sense()
[all …]
/openbmc/linux/include/trace/events/
H A Dsmbus.h26 char read_write, u8 command, int protocol,
28 TP_ARGS(adap, addr, flags, read_write, command, protocol, data),
36 __field(__u8, command )
44 __entry->command = command;
73 __entry->command,
94 char read_write, u8 command, int protocol),
95 TP_ARGS(adap, addr, flags, read_write, command, protocol),
103 __field(__u8, command )
110 __entry->command = command;
117 __entry->command,
[all …]
H A Dfsi_master_i2cr.h12 TP_PROTO(const struct i2c_client *client, uint32_t command, int rc),
13 TP_ARGS(client, command, rc),
17 __array(unsigned char, command, sizeof(uint32_t))
23 memcpy(__entry->command, &command, sizeof(uint32_t));
27 (int)sizeof(uint32_t), __entry->command, __entry->rc)
31 TP_PROTO(const struct i2c_client *client, uint32_t command, uint64_t *data),
32 TP_ARGS(client, command, data),
36 __array(unsigned char, command, sizeof(uint32_t))
42 memcpy(__entry->command, &command, sizeof(uint32_t));
46 (int)sizeof(uint32_t), __entry->command, (int)sizeof(uint64_t), __entry->data)
[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/linux/drivers/misc/ibmasm/
H A Ddot_command.c56 struct command *command; in ibmasm_send_driver_vpd() local
62 command = ibmasm_new_command(sp, INIT_BUFFER_SIZE); in ibmasm_send_driver_vpd()
63 if (command == NULL) in ibmasm_send_driver_vpd()
66 header = (struct dot_command_header *)command->buffer; in ibmasm_send_driver_vpd()
73 vpd_command = command->buffer + sizeof(struct dot_command_header); in ibmasm_send_driver_vpd()
85 ibmasm_exec_command(sp, command); in ibmasm_send_driver_vpd()
86 ibmasm_wait_for_response(command, IBMASM_CMD_TIMEOUT_NORMAL); in ibmasm_send_driver_vpd()
88 if (command->status != IBMASM_CMD_COMPLETE) in ibmasm_send_driver_vpd()
91 command_put(command); in ibmasm_send_driver_vpd()
98 unsigned char command[3]; member
[all …]
/openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Inventory/Item/
H A Dmeson.build49 command: [
51 '--command',
79 command: [
81 '--command',
103 command: [
105 '--command',
127 command: [
129 '--command',
151 command: [
153 '--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/phosphor-dbus-interfaces/gen/xyz/openbmc_project/State/
H A Dmeson.build32 command: [
34 '--command',
56 command: [
58 '--command',
78 command: [
80 '--command',
100 command: [
102 '--command',
125 command: [
127 '--command',
[all …]
/openbmc/linux/tools/testing/selftests/tc-testing/plugin-lib/
H A DnsPlugin.py45 def adjust_command(self, stage, command): argument
46 super().adjust_command(stage, command)
51 return command
56 if not isinstance(command, list):
58 cmdlist = command.split()
60 cmdlist = command
63 …nd: stage is {}; inserting netns stuff in command [{}] list [{}]'.format(stage, command, cmdlist))
72 command = ' '.join(cmdlist)
74 command = cmdlist
77 print('adjust_command: return command [{}]'.format(command))
[all …]
/openbmc/linux/drivers/i2c/
H A Di2c-stub.c64 u8 command; member
91 u8 command, bool create) in stub_find_block() argument
96 if (b->command == command) { in stub_find_block()
105 rb->command = command; in stub_find_block()
124 char read_write, u8 command, int size, union i2c_smbus_data *data) in stub_xfer() argument
151 chip->pointer = command; in stub_xfer()
154 addr, command); in stub_xfer()
167 wordp = stub_get_wordp(chip, command); in stub_xfer()
173 addr, data->byte, command); in stub_xfer()
176 if (chip->bank_words && command == chip->bank_reg) { in stub_xfer()
[all …]
/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/Control/
H A Dmeson.build33 command: [
35 '--command',
57 command: [
59 '--command',
79 command: [
81 '--command',
103 command: [
105 '--command',
127 command: [
129 '--command',
[all …]
/openbmc/phosphor-net-ipmid/
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 …]
/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 …]

12345678910>>...141