/openbmc/linux/tools/lib/subcmd/ |
H A D | help.c | 26 ALLOC_GROW(cmds->names, cmds->cnt + 1, cmds->alloc); in add_cmdname() 27 cmds->names[cmds->cnt++] = ent; in add_cmdname() 37 cmds->cnt = 0; in clean_cmdnames() 38 cmds->alloc = 0; in clean_cmdnames() 52 if (!cmds->cnt) in uniq() 56 if (!strcmp(cmds->names[i]->name, cmds->names[i-1]->name)) in uniq() 64 cmds->names[j++] = cmds->names[i]; in uniq() 67 cmds->cnt = j; in uniq() 86 cmds->names[cj++] = cmds->names[ci++]; in exclude_cmds() 98 cmds->names[cj++] = cmds->names[ci++]; in exclude_cmds() [all …]
|
H A D | help.h | 26 void add_cmdname(struct cmdnames *cmds, const char *name, size_t len); 27 void clean_cmdnames(struct cmdnames *cmds); 29 void uniq(struct cmdnames *cmds); 31 void exclude_cmds(struct cmdnames *cmds, struct cmdnames *excludes);
|
/openbmc/openbmc/poky/scripts/ |
H A D | runqemu-addptable2image | 25 echo "x" > /tmp/fdisk.cmds 26 echo "c" >> /tmp/fdisk.cmds 27 echo "1024" >> /tmp/fdisk.cmds 28 echo "h" >> /tmp/fdisk.cmds 29 echo "16" >> /tmp/fdisk.cmds 30 echo "r" >> /tmp/fdisk.cmds 31 echo "n" >> /tmp/fdisk.cmds 32 echo "p" >> /tmp/fdisk.cmds 33 echo "1" >> /tmp/fdisk.cmds 34 echo "1" >> /tmp/fdisk.cmds [all …]
|
/openbmc/openbmc/poky/scripts/esdk-tools/ |
H A D | runqemu-addptable2image | 25 echo "x" > /tmp/fdisk.cmds 26 echo "c" >> /tmp/fdisk.cmds 27 echo "1024" >> /tmp/fdisk.cmds 28 echo "h" >> /tmp/fdisk.cmds 29 echo "16" >> /tmp/fdisk.cmds 30 echo "r" >> /tmp/fdisk.cmds 31 echo "n" >> /tmp/fdisk.cmds 32 echo "p" >> /tmp/fdisk.cmds 33 echo "1" >> /tmp/fdisk.cmds 34 echo "1" >> /tmp/fdisk.cmds [all …]
|
/openbmc/linux/drivers/media/pci/saa7164/ |
H A D | saa7164-cmd.c | 18 if (dev->cmds[i].inuse == 0) { in saa7164_cmd_alloc_seqno() 19 dev->cmds[i].inuse = 1; in saa7164_cmd_alloc_seqno() 20 dev->cmds[i].signalled = 0; in saa7164_cmd_alloc_seqno() 21 dev->cmds[i].timeout = 0; in saa7164_cmd_alloc_seqno() 22 ret = dev->cmds[i].seqno; in saa7164_cmd_alloc_seqno() 36 dev->cmds[seqno].inuse = 0; in saa7164_cmd_free_seqno() 178 u32 cmds; in saa7164_cmd_set() local 192 cmds -= 1; in saa7164_cmd_set() 308 dev->cmds[i].seqno, in saa7164_cmd_signal() 310 dev->cmds[i].timeout); in saa7164_cmd_signal() [all …]
|
/openbmc/qemu/qapi/ |
H A D | qmp-registry.c | 18 void qmp_register_command(QmpCommandList *cmds, const char *name, in qmp_register_command() argument 32 QTAILQ_INSERT_TAIL(cmds, cmd, node); in qmp_register_command() 39 QTAILQ_FOREACH(cmd, cmds, node) { in qmp_find_command() 47 static void qmp_toggle_command(QmpCommandList *cmds, const char *name, in qmp_toggle_command() argument 52 QTAILQ_FOREACH(cmd, cmds, node) { in qmp_toggle_command() 61 void qmp_disable_command(QmpCommandList *cmds, const char *name, in qmp_disable_command() argument 64 qmp_toggle_command(cmds, name, false, disable_reason); in qmp_disable_command() 67 void qmp_enable_command(QmpCommandList *cmds, const char *name) in qmp_enable_command() argument 69 qmp_toggle_command(cmds, name, true, NULL); in qmp_enable_command() 87 void qmp_for_each_command(const QmpCommandList *cmds, qmp_cmd_callback_fn fn, in qmp_for_each_command() argument [all …]
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | roce_gid_mgmt.c | 625 for (i = 0; i < ARRAY_SIZE(work->cmds) && work->cmds[i].cb; i++) { in netdevice_event_work_handler() 628 work->cmds[i].cb, in netdevice_event_work_handler() 629 work->cmds[i].ndev); in netdevice_event_work_handler() 647 memcpy(ndev_work->cmds, cmds, sizeof(ndev_work->cmds)); in netdevice_queue_work() 648 for (i = 0; i < ARRAY_SIZE(ndev_work->cmds) && ndev_work->cmds[i].cb; i++) { in netdevice_queue_work() 685 cmds[1] = add_cmd; in ndev_event_unlink() 708 cmds[0].ndev = event_ndev; in ndev_event_link() 765 cmds[2] = add_cmd; in netdevice_event() 770 cmds[0] = del_cmd; in netdevice_event() 779 cmds[2] = add_cmd; in netdevice_event() [all …]
|
/openbmc/linux/tools/perf/util/ |
H A D | help-unknown-cmd.c | 32 static int add_cmd_list(struct cmdnames *cmds, struct cmdnames *old) in add_cmd_list() argument 34 unsigned int i, nr = cmds->cnt + old->cnt; in add_cmd_list() 37 if (nr > cmds->alloc) { in add_cmd_list() 39 if (alloc_nr(cmds->alloc) < nr) in add_cmd_list() 40 cmds->alloc = nr; in add_cmd_list() 42 cmds->alloc = alloc_nr(cmds->alloc); in add_cmd_list() 43 tmp = realloc(cmds->names, cmds->alloc * sizeof(*cmds->names)); in add_cmd_list() 46 cmds->names = tmp; in add_cmd_list() 49 cmds->names[cmds->cnt++] = old->names[i]; in add_cmd_list()
|
/openbmc/estoraged/src/erase/ |
H A D | sanitize.cpp | 82 eraseCmd.cmds[0].opcode = mmcEraseGroupStart; in emmcErase() 83 eraseCmd.cmds[0].arg = 0; in emmcErase() 84 eraseCmd.cmds[0].flags = mmcRspSpiR1 | mmcRspR1 | mmcCmdAc; in emmcErase() 85 eraseCmd.cmds[0].write_flag = 1; in emmcErase() 87 eraseCmd.cmds[1].opcode = mmcEraseGroupEnd; in emmcErase() 88 eraseCmd.cmds[1].arg = (driveSize / sectorSize) - 1; in emmcErase() 90 eraseCmd.cmds[1].write_flag = 1; in emmcErase() 93 eraseCmd.cmds[2].opcode = mmcErase; in emmcErase() 94 eraseCmd.cmds[2].arg = 0x00000000; in emmcErase() 95 eraseCmd.cmds[2].cmd_timeout_ms = 0x0FFFFFFF; in emmcErase() [all …]
|
/openbmc/openbmc/poky/meta/lib/oeqa/utils/ |
H A D | dump.py | 18 def __init__(self, cmds, parent_dir): argument 19 self.cmds = [] 33 if not cmds: 34 cmds = dft_cmds 35 for cmd in cmds.split('\n'): 39 self.cmds.append(cmd) 84 def __init__(self, cmds, parent_dir, runner): argument 85 super(TargetDumper, self).__init__(cmds, parent_dir) 95 for cmd in self.cmds: 114 def __init__(self, cmds, parent_dir, runner): argument [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/gt/ |
H A D | gen7_renderclear.c | 383 struct batch_chunk cmds, state; in emit_batch() local 397 gen7_emit_pipeline_flush(&cmds); in emit_batch() 398 gen7_emit_pipeline_invalidate(&cmds); in emit_batch() 401 batch_add(&cmds, 0xffff0000 | in emit_batch() 407 gen7_emit_pipeline_invalidate(&cmds); in emit_batch() 408 gen7_emit_pipeline_flush(&cmds); in emit_batch() 411 gen7_emit_pipeline_invalidate(&cmds); in emit_batch() 413 batch_add(&cmds, MI_NOOP); in emit_batch() 414 gen7_emit_pipeline_invalidate(&cmds); in emit_batch() 416 gen7_emit_pipeline_flush(&cmds); in emit_batch() [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/pysh/ |
H A D | pyshyacc.py | 71 self.cmds = list(cmds) 76 self.cmds = list(cmds) 81 self.cmds = list(cmds) 89 def __init__(self, cmds): argument 90 self.cmds = list(cmds) 104 def __init__(self, cmds): argument 105 self.cmds = cmds 332 cmds = [] 756 def stringify_commands(cmds): argument 776 def visit_commands(cmds, callable): argument [all …]
|
/openbmc/linux/tools/usb/usbip/src/ |
H A D | usbip.c | 41 static const struct command cmds[] = { variable 100 for (i = 0; cmds[i].name != NULL; i++) in usbip_help() 101 if (!strcmp(cmds[i].name, argv[0]) && cmds[i].usage) { in usbip_help() 102 cmds[i].usage(); in usbip_help() 110 for (cmd = cmds; cmd->name != NULL; cmd++) in usbip_help() 177 for (i = 0; cmds[i].name != NULL; i++) in main() 178 if (!strcmp(cmds[i].name, cmd)) { in main() 182 rc = run_command(&cmds[i], argc, argv); in main()
|
/openbmc/qemu/include/qapi/qmp/ |
H A D | dispatch.h | 44 void qmp_register_command(QmpCommandList *cmds, const char *name, 47 const QmpCommand *qmp_find_command(const QmpCommandList *cmds, 49 void qmp_disable_command(QmpCommandList *cmds, const char *name, 51 void qmp_enable_command(QmpCommandList *cmds, const char *name); 58 QDict *coroutine_mixed_fn qmp_dispatch(const QmpCommandList *cmds, QObject *request, 64 void qmp_for_each_command(const QmpCommandList *cmds, qmp_cmd_callback_fn fn,
|
/openbmc/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_overlay.c | 105 } *cmds; in vmw_overlay_send_put() local 121 if (!cmds) in vmw_overlay_send_put() 124 items = (typeof(items))&cmds[1]; in vmw_overlay_send_put() 131 cmds->header.streamId = arg->stream_id; in vmw_overlay_send_put() 185 } *cmds; in vmw_overlay_send_stop() local 189 cmds = VMW_CMD_RESERVE(dev_priv, sizeof(*cmds)); in vmw_overlay_send_stop() 190 if (cmds) in vmw_overlay_send_stop() 201 fill_escape(&cmds->escape, sizeof(cmds->body)); in vmw_overlay_send_stop() 203 cmds->body.header.streamId = stream_id; in vmw_overlay_send_stop() 205 cmds->body.items[0].value = false; in vmw_overlay_send_stop() [all …]
|
/openbmc/pldm/platform-mc/ |
H A D | terminus.hpp | 94 bool setSupportedCommands(const std::vector<uint8_t>& cmds) in setSupportedCommands() argument 98 if (cmds.empty() || cmds.size() != expectedSize) in setSupportedCommands() 102 "EXPECTED", expectedSize, "RECEIVED", cmds.size()); in setSupportedCommands() 107 supportedCmds.resize(cmds.size()); in setSupportedCommands() 108 std::copy(cmds.begin(), cmds.begin() + cmds.size(), in setSupportedCommands()
|
/openbmc/qemu/monitor/ |
H A D | meson.build | 1 qmp_ss.add(files('monitor.c', 'qmp.c', 'qmp-cmds-control.c')) 5 'hmp-cmds.c', 9 system_ss.add([spice_headers, files('qmp-cmds.c')]) 12 if_true: [files( 'hmp-cmds-target.c', 'hmp-target.c'), spice])
|
/openbmc/linux/drivers/soc/aspeed/ |
H A D | aspeed-xdma.c | 329 cmds[1].cmd = cmd | in aspeed_xdma_ast2500_set_cmd() 333 cmds[1].reserved = 0ULL; in aspeed_xdma_ast2500_set_cmd() 336 16, 1, &cmds[1], sizeof(*cmds), in aspeed_xdma_ast2500_set_cmd() 347 cmds[0].pitch = cmd_pitch | in aspeed_xdma_ast2500_set_cmd() 353 cmds[0].reserved = 0ULL; in aspeed_xdma_ast2500_set_cmd() 356 sizeof(*cmds), true); in aspeed_xdma_ast2500_set_cmd() 395 cmds[1].pitch = in aspeed_xdma_ast2600_set_cmd() 399 cmds[1].cmd = cmd | in aspeed_xdma_ast2600_set_cmd() 403 cmds[1].reserved = 0ULL; in aspeed_xdma_ast2600_set_cmd() 406 16, 1, &cmds[1], sizeof(*cmds), in aspeed_xdma_ast2600_set_cmd() [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/ |
H A D | notif-wait.c | 47 if (w->cmds[i] == rec_id || in iwl_notification_wait() 48 (!iwl_cmd_groupid(w->cmds[i]) && in iwl_notification_wait() 49 DEF_ID(w->cmds[i]) == rec_id)) { in iwl_notification_wait() 85 const u16 *cmds, int n_cmds, in iwl_init_notification_wait() argument 96 memcpy(wait_entry->cmds, cmds, n_cmds * sizeof(u16)); in iwl_init_notification_wait()
|
/openbmc/openbmc/poky/meta/lib/patchtest/ |
H A D | repo.py | 100 def _exec(self, cmds): argument 102 if isinstance(cmds, dict): 103 _cmds.append(cmds) 104 elif isinstance(cmds, list): 105 _cmds = cmds 107 raise utils.CmdException({'cmd':str(cmds)})
|
/openbmc/linux/drivers/gpu/host1x/ |
H A D | job.c | 66 job->cmds = num_cmdbufs ? mem : NULL; in host1x_job_alloc() 220 if (job->cmds[i].is_wait) in pin_job() 223 g = &job->cmds[i].gather; in pin_job() 541 if (job->cmds[i].is_wait) in copy_gathers() 544 g = &job->cmds[i].gather; in copy_gathers() 570 if (job->cmds[i].is_wait) in copy_gathers() 572 g = &job->cmds[i].gather; in copy_gathers() 619 if (job->cmds[i].is_wait) in host1x_job_pin() 621 g = &job->cmds[i].gather; in host1x_job_pin() 632 if (!job->cmds[j].is_wait && in host1x_job_pin() [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_guc_ct.c | 153 ctb->cmds = cmds; in guc_ct_buffer_init() 238 u32 *cmds; in intel_guc_ct_init() local 306 u32 base, desc, cmds, size; in intel_guc_ct_enable() local 330 cmds = base + ptrdiff(ct->ctbs.recv.cmds, blob); in intel_guc_ct_enable() 337 cmds = base + ptrdiff(ct->ctbs.send.cmds, blob); in intel_guc_ct_enable() 415 u32 *cmds = ctb->cmds; in ct_write() local 456 cmds[tail] = header; in ct_write() 459 cmds[tail] = hxg; in ct_write() 463 cmds[tail] = action[i]; in ct_write() 866 u32 *cmds = ctb->cmds; in ct_read() local [all …]
|
/openbmc/linux/tools/perf/ |
H A D | perf-completion.sh | 129 cmds_=$($cmd $1 --list-cmds) 157 cmds=$($cmd --list-opts) 159 cmds=$($cmd --list-cmds) 161 __perfcomp "$cmds" "$cur" 205 subcmds=$($cmd $prev_skip_opts --list-cmds)
|
/openbmc/openbmc/meta-security/meta-tpm/recipes-tpm1/tpm-tools/files/ |
H A D | openssl1.1_fix.patch | 6 Index: git/src/cmds/tpm_extendpcr.c 8 --- git.orig/src/cmds/tpm_extendpcr.c 9 +++ git/src/cmds/tpm_extendpcr.c
|
/openbmc/linux/drivers/crypto/ccp/ |
H A D | ccp-crypto-main.c | 54 struct list_head cmds; member 103 list_for_each_entry_continue(tmp, &req_queue.cmds, entry) { in ccp_crypto_cmd_complete() 114 if (req_queue.backlog != &req_queue.cmds) { in ccp_crypto_cmd_complete() 225 list_for_each_entry(tmp, &req_queue.cmds, entry) { in ccp_crypto_enqueue_cmd() 241 if (req_queue.backlog == &req_queue.cmds) in ccp_crypto_enqueue_cmd() 247 list_add_tail(&crypto_cmd->entry, &req_queue.cmds); in ccp_crypto_enqueue_cmd() 406 INIT_LIST_HEAD(&req_queue.cmds); in ccp_crypto_init() 407 req_queue.backlog = &req_queue.cmds; in ccp_crypto_init()
|