/openbmc/linux/drivers/media/pci/ngene/ |
H A D | ngene-core.c | 341 com.cmd.hdr.Length = 0; in ngene_command_load_firmware() 357 com.cmd.hdr.Length = 4; in ngene_command_load_firmware() 372 com.cmd.hdr.Length = 1; in ngene_command_config_buf() 387 com.cmd.hdr.Length = 6; in ngene_command_config_free_buf() 403 com.cmd.hdr.Length = 1; in ngene_command_gpio_set() 552 com.cmd.hdr.Opcode = CMD_CONTROL; in ngene_command_stream_control() 559 com.cmd.StreamControl.Mode = mode; in ngene_command_stream_control() 564 com.cmd.StreamControl.Stream, com.cmd.StreamControl.Control, in ngene_command_stream_control() 565 com.cmd.StreamControl.Mode); in ngene_command_stream_control() 1619 com.cmd.hdr.Length = 3; in ngene_unlink() [all …]
|
/openbmc/linux/tools/perf/tests/ |
H A D | python-use.c | 14 char *cmd; in test__python_use() local 17 if (asprintf(&cmd, "echo \"import sys ; sys.path.insert(0, '%s'); import perf\" | %s %s", in test__python_use() 21 pr_debug("python usage test: \"%s\"\n", cmd); in test__python_use() 22 ret = system(cmd) ? -1 : 0; in test__python_use() 23 free(cmd); in test__python_use()
|
/openbmc/linux/drivers/usb/typec/ucsi/ |
H A D | ucsi_ccg.c | 757 ret = ccg_write(uc, cmd->reg, (u8 *)&cmd->data, cmd->len); in ccg_send_command() 788 cmd.len = 1; in ccg_cmd_enter_flashing() 789 cmd.delay = 50; in ccg_cmd_enter_flashing() 815 cmd.len = 2; in ccg_cmd_reset() 846 cmd.data = 0x0; in ccg_cmd_port_control() 847 cmd.len = 1; in ccg_cmd_port_control() 848 cmd.delay = 10; in ccg_cmd_port_control() 875 cmd.len = 1; in ccg_cmd_jump_boot_mode() 927 cmd.len = 4; in ccg_cmd_write_flash_row() 928 cmd.delay = 50; in ccg_cmd_write_flash_row() [all …]
|
/openbmc/linux/drivers/mmc/host/ |
H A D | tmio_mmc_core.c | 264 host->cmd = NULL; in tmio_mmc_reset_work() 309 host->cmd = cmd; in tmio_mmc_start_command() 566 struct mmc_command *cmd = host->cmd; in tmio_mmc_cmd_irq() local 571 if (!host->cmd) { in tmio_mmc_cmd_irq() 585 cmd->resp[0] = (cmd->resp[0] << 8) | (cmd->resp[1] >> 24); in tmio_mmc_cmd_irq() 586 cmd->resp[1] = (cmd->resp[1] << 8) | (cmd->resp[2] >> 24); in tmio_mmc_cmd_irq() 587 cmd->resp[2] = (cmd->resp[2] << 8) | (cmd->resp[3] >> 24); in tmio_mmc_cmd_irq() 590 cmd->resp[0] = cmd->resp[3]; in tmio_mmc_cmd_irq() 604 if (host->data && (!cmd->error || cmd->error == -EILSEQ)) { in tmio_mmc_cmd_irq() 771 cmd = mrq->sbc; in tmio_process_mrq() [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | mld-sta.c | 53 0, sizeof(*cmd), cmd); in iwl_mvm_mld_send_sta_cmd() 70 memset(&cmd, 0, sizeof(cmd)); in iwl_mvm_mld_add_int_sta_to_fw() 80 cmd.mfp = cpu_to_le32(1); in iwl_mvm_mld_add_int_sta_to_fw() 130 0, sizeof(cmd), &cmd); in iwl_mvm_add_aux_sta_to_fw() 462 cmd.mfp = cpu_to_le32(1); in iwl_mvm_mld_cfg_sta() 495 cmd.sp_length = in iwl_mvm_mld_cfg_sta() 501 cmd.trig_rnd_alloc = in iwl_mvm_mld_cfg_sta() 885 CMD_ASYNC, sizeof(cmd), &cmd); in iwl_mvm_mld_sta_modify_disable_tx() 950 .len[0] = sizeof(cmd), in iwl_mvm_mld_update_sta_queues() 951 .data[0] = &cmd in iwl_mvm_mld_update_sta_queues() [all …]
|
H A D | ftm-initiator.c | 238 cmd->req_timeout = 255; in iwl_mvm_ftm_cmd_v5() 246 cmd->macaddr_random = 1; in iwl_mvm_ftm_cmd_v5() 264 cmd->initiator_flags = in iwl_mvm_ftm_cmd_common() 645 .data[0] = &cmd, in iwl_mvm_ftm_start_v8() 646 .len[0] = sizeof(cmd), in iwl_mvm_ftm_start_v8() 671 .data[0] = &cmd, in iwl_mvm_ftm_start_v9() 672 .len[0] = sizeof(cmd), in iwl_mvm_ftm_start_v9() 773 .data[0] = &cmd, in iwl_mvm_ftm_start_v11() 844 .data[0] = &cmd, in iwl_mvm_ftm_start_v12() 872 .data[0] = &cmd, in iwl_mvm_ftm_start_v13() [all …]
|
/openbmc/linux/kernel/futex/ |
H A D | syscalls.c | 88 int cmd = op & FUTEX_CMD_MASK; in do_futex() local 96 if (cmd != FUTEX_WAIT_BITSET && cmd != FUTEX_WAIT_REQUEUE_PI && in do_futex() 97 cmd != FUTEX_LOCK_PI2) in do_futex() 101 switch (cmd) { in do_futex() 139 switch (cmd) { in futex_cmd_has_timeout() 157 if (cmd == FUTEX_WAIT) in futex_init_timeout() 168 int ret, cmd = op & FUTEX_CMD_MASK; in SYSCALL_DEFINE6() local 172 if (utime && futex_cmd_has_timeout(cmd)) { in SYSCALL_DEFINE6() 177 ret = futex_init_timeout(cmd, op, &ts, &t); in SYSCALL_DEFINE6() 363 int ret, cmd = op & FUTEX_CMD_MASK; in SYSCALL_DEFINE6() local [all …]
|
/openbmc/linux/sound/sparc/ |
H A D | dbri.c | 118 #define DBRI_CMD(cmd, intr, value) ((cmd << 28) | \ argument 716 for (ptr = dbri->dma->cmd; ptr < cmd+2; ptr++) in dbri_cmdsend() 758 s32 *cmd; in dbri_initialize() local 782 cmd = dbri->cmdptr = dbri->dma->cmd; in dbri_initialize() 825 s32 *cmd; in reset_pipe() local 896 s32 *cmd; in link_time_slot() local 933 *(cmd++) = in link_time_slot() 955 s32 *cmd; 1003 s32 *cmd; in xmit_fixed() local 1244 s32 *cmd; in reset_chi() local [all …]
|
/openbmc/linux/sound/pci/lx6464es/ |
H A D | lx_core.c | 212 rmh->cmd[0] = dsp_commands[cmd].dcCodeOp; in lx_message_init() 216 rmh->cmd_idx = cmd; in lx_message_init() 223 rmh->cmd_idx = cmd; in lx_message_init() 389 chip->rmh.cmd[0] |= gran; in lx_dsp_set_granularity() 429 chip->rmh.cmd[0] |= pipe_cmd; in lx_pipe_allocate() 430 chip->rmh.cmd[0] |= channels; in lx_pipe_allocate() 449 chip->rmh.cmd[0] |= pipe_cmd; in lx_pipe_release() 474 chip->rmh.cmd[0] |= pipe_cmd; in lx_buffer_ask() 661 chip->rmh.cmd[0] |= state; in lx_stream_set_state() 847 "mute %x %x %x\n", chip->rmh.cmd[0], chip->rmh.cmd[1], in lx_level_unmute() [all …]
|
/openbmc/qemu/tests/qemu-iotests/tests/ |
H A D | migrate-during-backup | 46 self.vm.cmd('blockdev-add', { 56 self.vm.cmd('blockdev-backup', device='drive0', 63 self.vm.cmd('job-pause', id='drive0') 65 self.vm.cmd('migrate-set-capabilities', 68 self.vm.cmd('migrate', uri=mig_cmd) 78 self.vm.cmd('block-job-set-speed', device='drive0', 80 self.vm.cmd('job-resume', id='drive0')
|
H A D | image-fleecing | 187 cmd = 'read -P%s %s %s' % p 188 log(cmd) 203 cmd = 'write -P%s %s %s' % p 204 log(cmd) 205 log(vm.hmp_qemu_io(qom_path, cmd, qdev=True)) 228 cmd = 'read -P%s %s %s' % p 229 log(cmd) 230 args = ['-r', '-c', cmd] 270 cmd = 'read -P%s %s %s' % p 271 log(cmd) [all …]
|
/openbmc/openbmc/poky/meta/lib/oeqa/runtime/cases/ |
H A D | login.py | 41 for cmd in ["identify.im7", "convert.im7", "compare.im7"]: 43 subprocess.check_output(["which", cmd], env=ourenv) 45 self.skipTest("%s (from imagemagick) not available" % cmd) 88 cmd = "identify.im7 -ping -format '%w' {0}".format(t.name) 89 width = subprocess.check_output(cmd, shell=True, env=ourenv).decode() 95 …cmd = "convert.im7 {0} -fill white -draw 'rectangle {1},4 {2},28' {3}".format(t.name, str(rblank),… 96 convert_out=subprocess.check_output(cmd, shell=True, env=ourenv).decode() 109 cmd = "compare.im7 -metric MSE {0} {1} /dev/null".format(t.name, refimage) 110 … compare_out = subprocess.run(cmd, shell=True, capture_output=True, text=True, env=ourenv)
|
/openbmc/linux/kernel/trace/ |
H A D | kprobe_event_gen_test.c | 87 struct dynevent_cmd cmd; in test_gen_kprobe_cmd() local 97 kprobe_event_cmd_init(&cmd, buf, MAX_DYNEVENT_CMD_LEN); in test_gen_kprobe_cmd() 103 ret = kprobe_event_gen_cmd_start(&cmd, "gen_kprobe_test", in test_gen_kprobe_cmd() 111 ret = kprobe_event_add_fields(&cmd, KPROBE_GEN_TEST_ARG2, KPROBE_GEN_TEST_ARG3); in test_gen_kprobe_cmd() 118 ret = kprobe_event_gen_cmd_end(&cmd); in test_gen_kprobe_cmd() 158 struct dynevent_cmd cmd; in test_gen_kretprobe_cmd() local 168 kprobe_event_cmd_init(&cmd, buf, MAX_DYNEVENT_CMD_LEN); in test_gen_kretprobe_cmd() 173 ret = kretprobe_event_gen_cmd_start(&cmd, "gen_kretprobe_test", in test_gen_kretprobe_cmd() 182 ret = kretprobe_event_gen_cmd_end(&cmd); in test_gen_kretprobe_cmd()
|
/openbmc/linux/drivers/comedi/drivers/ |
H A D | pcl812.c | 677 cmd->chanlist_len); in pcl812_ai_cmdtest() 679 if (cmd->stop_src == TRIG_COUNT) in pcl812_ai_cmdtest() 706 struct comedi_cmd *cmd = &s->async->cmd; in pcl812_ai_cmd() local 715 if (cmd->chanlist[0] != cmd->chanlist[i]) { in pcl812_ai_cmd() 727 if (cmd->flags & CMDF_WAKE_EOS) { in pcl812_ai_cmd() 731 if (cmd->chanlist_len == 1) in pcl812_ai_cmd() 741 switch (cmd->convert_src) { in pcl812_ai_cmd() 760 struct comedi_cmd *cmd = &s->async->cmd; in pcl812_ai_next_chan() local 762 if (cmd->stop_src == TRIG_COUNT && in pcl812_ai_next_chan() 774 struct comedi_cmd *cmd = &s->async->cmd; in pcl812_handle_eoc() local [all …]
|
H A D | ni_labpc_isadma.c | 28 struct comedi_cmd *cmd = &s->async->cmd; in labpc_suggest_transfer_size() local 33 if (cmd->convert_src == TRIG_TIMER) in labpc_suggest_transfer_size() 34 freq = 1000000000 / cmd->convert_arg; in labpc_suggest_transfer_size() 55 struct comedi_cmd *cmd = &s->async->cmd; in labpc_setup_dma() local 60 if (cmd->stop_src == TRIG_COUNT && in labpc_setup_dma() 77 struct comedi_cmd *cmd = &async->cmd; in labpc_drain_dma() local 95 if (cmd->stop_src == TRIG_COUNT) { in labpc_drain_dma()
|
/openbmc/qemu/tests/qapi-schema/ |
H A D | doc-good.json | 8 'documentation-exceptions': [ 'Enum', 'Variant1', 'Alternate', 'cmd' ] } } 147 # @cmd: 157 # @cmd-feat1: a feature 158 # @cmd-feat2: another feature 194 { 'command': 'cmd', 197 'features': [ 'cmd-feat1', 'cmd-feat2' ] } 200 # @cmd-boxed: 204 # @cmd-feat1: a feature 205 # @cmd-feat2: another feature 213 { 'command': 'cmd-boxed', 'boxed': true, [all …]
|
/openbmc/linux/drivers/net/ethernet/microchip/ |
H A D | encx24j600-regmap.c | 66 u8 cmd = RCRU; in regmap_encx24j600_sfr_read() local 83 cmd = RGPRDPT; break; in regmap_encx24j600_sfr_read() 85 cmd = RGPWRPT; break; in regmap_encx24j600_sfr_read() 87 cmd = RRXRDPT; break; in regmap_encx24j600_sfr_read() 89 cmd = RRXWRPT; break; in regmap_encx24j600_sfr_read() 102 tx_buf[i++] = cmd; in regmap_encx24j600_sfr_read() 103 if (cmd == RCRU) in regmap_encx24j600_sfr_read() 117 u8 cmd = unbanked_cmd; in regmap_encx24j600_sfr_update() local 119 struct spi_transfer t[3] = { { .tx_buf = &cmd, .len = sizeof(cmd), }, in regmap_encx24j600_sfr_update() 137 cmd = WGPRDPT; break; in regmap_encx24j600_sfr_update() [all …]
|
/openbmc/phosphor-host-ipmid/include/ipmid/ |
H A D | handler.hpp | 273 request->ctx->cmd, "ERROR", e); in executeCallback() 281 request->ctx->cmd, "ERROR", e); in executeCallback() 294 request->ctx->cmd, "ERROR", what); in executeCallback() 370 request->ctx->cmd, "ERROR", e); in executeCallback() 378 request->ctx->cmd, "ERROR", e); in executeCallback() 391 request->ctx->cmd, "ERROR", what); in executeCallback() 447 handler_(request->ctx->cmd, in executeCallback() 456 request->ctx->cmd, "ERROR", e); in executeCallback() 464 request->ctx->cmd, "ERROR", e); in executeCallback() 477 request->ctx->cmd, "ERROR", what); in executeCallback() [all …]
|
/openbmc/linux/drivers/nvdimm/ |
H A D | dimm_devs.c | 72 memset(cmd, 0, sizeof(*cmd)); in nvdimm_init_nsarea() 75 ND_CMD_GET_CONFIG_SIZE, cmd, sizeof(*cmd), &cmd_rc); in nvdimm_init_nsarea() 97 cmd = kvzalloc(max_cmd_size + sizeof(*cmd), GFP_KERNEL); in nvdimm_get_config_data() 98 if (!cmd) in nvdimm_get_config_data() 108 cmd_size = sizeof(*cmd) + cmd->in_length; in nvdimm_get_config_data() 120 memcpy(buf + buf_offset, cmd->out_buf, cmd->in_length); in nvdimm_get_config_data() 122 kvfree(cmd); in nvdimm_get_config_data() 144 if (!cmd) in nvdimm_set_config_data() 153 memcpy(cmd->in_buf, buf + buf_offset, cmd->in_length); in nvdimm_set_config_data() 156 cmd_size = sizeof(*cmd) + cmd->in_length + sizeof(u32); in nvdimm_set_config_data() [all …]
|
/openbmc/qemu/gdbstub/ |
H A D | gdbstub.c | 955 g_assert(cmd->handler && cmd->cmd); in process_string_cmd() 957 if ((cmd->cmd_startswith && !startswith(data, cmd->cmd)) || in process_string_cmd() 958 (!cmd->cmd_startswith && strcmp(cmd->cmd, data))) { in process_string_cmd() 963 if (cmd_parse_params(&data[strlen(cmd->cmd)], in process_string_cmd() 1448 .cmd = "Cont?", 1453 .cmd = "Cont", 1460 .cmd = "Attach;", 1467 .cmd = "Kill;", 1832 .cmd = "C", 1851 .cmd = "Offsets", [all …]
|
/openbmc/linux/drivers/misc/cxl/ |
H A D | trace.h | 349 TP_ARGS(ctx, cmd), 355 __field(u64, cmd) 362 __entry->cmd = cmd; 382 __field(u64, cmd) 391 __entry->cmd = cmd; 406 TP_ARGS(afu, cmd), 411 __field(u64, cmd) 417 __entry->cmd = cmd; 435 __field(u64, cmd) 443 __entry->cmd = cmd; [all …]
|
/openbmc/linux/drivers/net/ethernet/i825xx/ |
H A D | lib82596.c | 200 struct i596_cmd cmd; member 214 struct i596_cmd cmd; member 220 struct i596_cmd cmd; member 237 unsigned short cmd; member 276 u32 cmd; member 459 cmd, SWAP16(cmd->status), SWAP16(cmd->command), in i596_display_data() 461 cmd = cmd->v_next; in i596_display_data() 904 cmd->status = 0; in i596_add_cmd() 919 dma->scb.cmd = SWAP32(virt_to_dma(lp, &cmd->status)); in i596_add_cmd() 1406 cmd->cmd.command = SWAP16(CmdMulticastList); in set_multicast_list() [all …]
|
/openbmc/linux/drivers/net/ethernet/apm/xgene/ |
H A D | xgene_enet_ethtool.c | 136 cmd->link_modes.supported, in xgene_get_link_ksettings() 139 cmd->link_modes.advertising, in xgene_get_link_ksettings() 142 cmd->base.speed = SPEED_1000; in xgene_get_link_ksettings() 143 cmd->base.duplex = DUPLEX_FULL; in xgene_get_link_ksettings() 144 cmd->base.port = PORT_MII; in xgene_get_link_ksettings() 145 cmd->base.autoneg = AUTONEG_ENABLE; in xgene_get_link_ksettings() 149 cmd->link_modes.supported, in xgene_get_link_ksettings() 152 cmd->link_modes.advertising, in xgene_get_link_ksettings() 155 cmd->base.speed = SPEED_10000; in xgene_get_link_ksettings() 156 cmd->base.duplex = DUPLEX_FULL; in xgene_get_link_ksettings() [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/fetch2/ |
H A D | npm.py | 78 cmd += " --no-same-owner" 79 cmd += " --delay-directory-restore" 80 cmd += " --strip-components=1" 81 runfetchcmd(cmd, d, workdir=destdir) 115 def _run(cmd): argument 116 cmd = "NPM_CONFIG_USERCONFIG=%s " % (self.user_config.name) + cmd 117 cmd = "NPM_CONFIG_GLOBALCONFIG=%s " % (self.global_config_name) + cmd 130 return _run(cmd) 190 cmd = ud.basecmd + " view %s" % pkgver 192 check_network_access(d, cmd, ud.registry) [all …]
|
/openbmc/linux/drivers/infiniband/hw/qib/ |
H A D | qib_file_ops.c | 2067 dest = &cmd.cmd.user_info; in qib_write() 2073 dest = &cmd.cmd.recv_ctrl; in qib_write() 2079 dest = &cmd.cmd.ctxt_info; in qib_write() 2086 dest = &cmd.cmd.tid_info; in qib_write() 2092 dest = &cmd.cmd.part_key; in qib_write() 2105 dest = &cmd.cmd.poll_type; in qib_write() 2117 dest = &cmd.cmd.sdma_inflight; in qib_write() 2123 dest = &cmd.cmd.sdma_complete; in qib_write() 2129 dest = &cmd.cmd.event_mask; in qib_write() 2218 cmd.cmd.sdma_inflight); in qib_write() [all …]
|