/openbmc/linux/arch/x86/include/asm/xen/ |
H A D | hypercall.h | 279 HYPERVISOR_callback_op(int cmd, void *arg) in HYPERVISOR_callback_op() argument 281 return _hypercall2(int, callback_op, cmd, arg); in HYPERVISOR_callback_op() 386 HYPERVISOR_sched_op(int cmd, void *arg) in HYPERVISOR_sched_op() argument 388 return _hypercall2(int, sched_op, cmd, arg); in HYPERVISOR_sched_op() 416 return _hypercall2(long, memory_op, cmd, arg); in HYPERVISOR_memory_op() 426 HYPERVISOR_event_channel_op(int cmd, void *arg) in HYPERVISOR_event_channel_op() argument 432 HYPERVISOR_xen_version(int cmd, void *arg) in HYPERVISOR_xen_version() argument 434 return _hypercall2(int, xen_version, cmd, arg); in HYPERVISOR_xen_version() 444 HYPERVISOR_physdev_op(int cmd, void *arg) in HYPERVISOR_physdev_op() argument 446 return _hypercall2(int, physdev_op, cmd, arg); in HYPERVISOR_physdev_op() [all …]
|
/openbmc/linux/drivers/mmc/host/ |
H A D | meson-gx-mmc.c | 219 if (cmd->opcode == MMC_SET_BLOCK_COUNT && !cmd->error) in meson_mmc_get_next_command() 220 return cmd->mrq->cmd; in meson_mmc_get_next_command() 222 (!cmd->mrq->sbc || cmd->error || cmd->data->error)) in meson_mmc_get_next_command() 657 host->cmd = NULL; in meson_mmc_request_done() 800 host->cmd = cmd; in meson_mmc_start_cmd() 953 cmd = host->cmd; in meson_mmc_irq() 968 cmd->error = 0; in meson_mmc_irq() 995 if (cmd->error) { in meson_mmc_irq() 1026 struct mmc_command *next_cmd, *cmd = host->cmd; in meson_mmc_irq_thread() local 1033 if (cmd->error) { in meson_mmc_irq_thread() [all …]
|
/openbmc/linux/drivers/comedi/drivers/ |
H A D | pcl818.c | 427 struct comedi_cmd *cmd = &s->async->cmd; in pcl818_ai_write_sample() local 447 if (cmd->stop_src == TRIG_COUNT && in pcl818_ai_write_sample() 537 struct comedi_cmd *cmd = &s->async->cmd; in pcl818_interrupt() local 633 struct comedi_cmd *cmd) in ai_cmdtest() argument 673 cmd->chanlist_len); in ai_cmdtest() 675 if (cmd->stop_src == TRIG_COUNT) in ai_cmdtest() 697 if (cmd->chanlist) { in ai_cmdtest() 699 cmd->chanlist_len)) in ai_cmdtest() 711 struct comedi_cmd *cmd = &s->async->cmd; in pcl818_ai_cmd() local 718 seglen = check_channel_list(dev, s, cmd->chanlist, cmd->chanlist_len); in pcl818_ai_cmd() [all …]
|
H A D | ni_mio_common.c | 1287 struct comedi_cmd *cmd = &s->async->cmd; in handle_a_interrupt() local 1401 struct comedi_cmd *cmd = &async->cmd; in ni_ai_munge() local 2131 cmd->convert_arg * cmd->scan_end_arg) { in ni_ai_cmdtest() 2133 cmd->convert_arg * cmd->scan_end_arg; in ni_ai_cmdtest() 2150 struct comedi_cmd *cmd = &s->async->cmd; in ni_ai_inttrig() local 2165 const struct comedi_cmd *cmd = &s->async->cmd; in ni_ai_cmd() local 2523 struct comedi_cmd *cmd = &s->async->cmd; in ni_ao_munge() local 2866 struct comedi_cmd *cmd = &s->async->cmd; in ni_ao_inttrig() local 3167 const struct comedi_cmd *cmd = &s->async->cmd; in ni_ao_cmd_set_channels() local 3602 if (cmd->chanlist && cmd->chanlist_len > 0) in ni_cdio_cmdtest() [all …]
|
/openbmc/u-boot/drivers/mmc/ |
H A D | bcm2835_sdhost.c | 408 WARN_ON(host->cmd); in bcm2835_send_command() 410 if ((cmd->resp_type & MMC_RSP_136) && (cmd->resp_type & MMC_RSP_BUSY)) { in bcm2835_send_command() 422 host->cmd = cmd; in bcm2835_send_command() 461 struct mmc_cmd *cmd = host->cmd; in bcm2835_finish_command() local 498 cmd->response[3 - i] = in bcm2835_finish_command() 507 host->cmd = NULL; in bcm2835_finish_command() 519 if (!host->cmd) in bcm2835_check_cmd_error() 666 if (cmd) in bcm2835_send_cmd() 675 (cmd && cmd->cmdidx != MMC_CMD_STOP_TRANSMISSION)) { in bcm2835_send_cmd() 680 if (cmd) in bcm2835_send_cmd() [all …]
|
/openbmc/linux/drivers/net/ |
H A D | mii.c | 157 cmd->base.port = PORT_MII; in mii_ethtool_get_link_ksettings() 160 cmd->base.phy_address = mii->phy_id; in mii_ethtool_get_link_ksettings() 178 cmd->base.autoneg = AUTONEG_ENABLE; in mii_ethtool_get_link_ksettings() 192 cmd->base.speed = SPEED_1000; in mii_ethtool_get_link_ksettings() 196 cmd->base.speed = SPEED_100; in mii_ethtool_get_link_ksettings() 199 cmd->base.speed = SPEED_10; in mii_ethtool_get_link_ksettings() 216 mii->full_duplex = cmd->base.duplex; in mii_ethtool_get_link_ksettings() 331 u32 speed = cmd->base.speed; in mii_ethtool_set_link_ksettings() 337 if (cmd->base.duplex != DUPLEX_HALF && cmd->base.duplex != DUPLEX_FULL) in mii_ethtool_set_link_ksettings() 339 if (cmd->base.port != PORT_MII) in mii_ethtool_set_link_ksettings() [all …]
|
/openbmc/linux/drivers/soc/ti/ |
H A D | knav_qmss_acc.c | 278 struct knav_reg_acc_command *cmd) in knav_acc_write() argument 283 cmd->command, cmd->queue_mask, cmd->list_dma, in knav_acc_write() 284 cmd->queue_num, cmd->timer_config); in knav_acc_write() 302 struct knav_reg_acc_command *cmd, in knav_acc_setup_cmd() argument 320 memset(cmd, 0, sizeof(*cmd)); in knav_acc_setup_cmd() 321 cmd->command = acc->channel; in knav_acc_setup_cmd() 322 cmd->queue_mask = queue_mask; in knav_acc_setup_cmd() 325 cmd->queue_num |= queue_base; in knav_acc_setup_cmd() 331 cmd->timer_config |= info->timer_count; in knav_acc_setup_cmd() 338 struct knav_reg_acc_command cmd; in knav_acc_stop() local [all …]
|
/openbmc/linux/drivers/crypto/ccp/ |
H A D | ccp-crypto-des3.c | 87 memset(&rctx->cmd, 0, sizeof(rctx->cmd)); in ccp_des3_crypt() 88 INIT_LIST_HEAD(&rctx->cmd.entry); in ccp_des3_crypt() 89 rctx->cmd.engine = CCP_ENGINE_DES3; in ccp_des3_crypt() 90 rctx->cmd.u.des3.type = ctx->u.des3.type; in ccp_des3_crypt() 91 rctx->cmd.u.des3.mode = ctx->u.des3.mode; in ccp_des3_crypt() 92 rctx->cmd.u.des3.action = (encrypt) in ccp_des3_crypt() 97 rctx->cmd.u.des3.iv = iv_sg; in ccp_des3_crypt() 98 rctx->cmd.u.des3.iv_len = iv_len; in ccp_des3_crypt() 99 rctx->cmd.u.des3.src = req->src; in ccp_des3_crypt() 100 rctx->cmd.u.des3.src_len = req->cryptlen; in ccp_des3_crypt() [all …]
|
/openbmc/linux/drivers/scsi/qedi/ |
H A D | qedi_fw.c | 25 cmd->io_tbl.sge_valid = 0; in qedi_iscsi_unmap_sg_list() 39 struct qedi_cmd *cmd; in qedi_process_logout_resp() local 71 &cmd->io_cmd); in qedi_process_logout_resp() 91 struct qedi_cmd *cmd; in qedi_process_text_resp() local 135 &cmd->io_cmd); in qedi_process_text_resp() 267 struct qedi_cmd *cmd; in qedi_process_login_resp() local 1173 ctask = cmd->task; in qedi_cleanup_all_io() 1178 if (cmd->scsi_cmd && cmd->scsi_cmd->device) { in qedi_cleanup_all_io() 1182 cmd->scsi_cmd, cmd->scsi_cmd->device, in qedi_cleanup_all_io() 1879 bd_count = qedi_map_scsi_sg(cmd->conn->qedi, cmd); in qedi_iscsi_map_sg_list() [all …]
|
/openbmc/linux/tools/testing/selftests/iommu/ |
H A D | iommufd.c | 75 struct iommu_destroy cmd = { .size = sizeof(cmd), .id = 0 }; in TEST_F() local 84 &cmd)); in TEST_F() 94 } cmd = { .cmd = { .size = sizeof(struct _struct) - 1 }, \ in TEST_F() 100 cmd.cmd.size = sizeof(struct _struct) + 1; \ in TEST_F() 102 cmd.cmd.size = sizeof(struct _struct); \ in TEST_F() 105 cmd.cmd.size = sizeof(struct _struct) + 1; \ in TEST_F() 133 } cmd = { .cmd = { .size = sizeof(cmd), .id = 0 } }; in TEST_F() local 141 cmd.cmd.size = sizeof(cmd.cmd); in TEST_F() 144 cmd.cmd.size = sizeof(cmd.cmd) - 1; in TEST_F() 163 cmd.val64 = 1; in TEST_F() [all …]
|
/openbmc/linux/drivers/vhost/ |
H A D | scsi.c | 570 if (cmd->saved_iter_addr && vhost_scsi_copy_sgl_to_iov(cmd)) { in vhost_scsi_complete_cmd_work() 589 vhost_add_used(cmd->tvc_vq, cmd->tvc_vq_desc, 0); in vhost_scsi_complete_cmd_work() 631 memset(cmd, 0, sizeof(*cmd)); in vhost_scsi_get_cmd() 647 return cmd; in vhost_scsi_get_cmd() 752 cmd->saved_iter_addr = dup_iter(&cmd->saved_iter, iter, in vhost_scsi_copy_iov_to_sgl() 836 cmd->tvc_prot_sgl, cmd->tvc_prot_sgl_count); in vhost_scsi_mapal() 854 cmd->tvc_sgl, cmd->tvc_sgl_count); in vhost_scsi_mapal() 856 ret = vhost_scsi_map_iov_to_sgl(cmd, data_iter, cmd->tvc_sgl, in vhost_scsi_mapal() 859 sg_init_table(cmd->tvc_sgl, cmd->tvc_sgl_count); in vhost_scsi_mapal() 909 cmd->tvc_lun, cmd->tvc_exp_data_len, in vhost_scsi_target_queue_cmd() [all …]
|
/openbmc/linux/include/linux/reset/ |
H A D | bcm63xx_pmb.h | 37 u32 cmd; in __bpcm_do_op() local 39 cmd = (PMC_PMBM_START | op | (addr & 0xff) << 12 | off); in __bpcm_do_op() 40 writel(cmd, master + PMB_CTRL); in __bpcm_do_op() 42 cmd = readl(master + PMB_CTRL); in __bpcm_do_op() 43 if (!(cmd & PMC_PMBM_START)) in __bpcm_do_op() 46 if (cmd & PMC_PMBM_SLAVE_ERR) in __bpcm_do_op() 49 if (cmd & PMC_PMBM_TIMEOUT) in __bpcm_do_op()
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | devices.c | 402 .len = { sizeof(cmd), }, in iwl5000_hw_channel_switch() 403 .data = { &cmd, }, in iwl5000_hw_channel_switch() 441 cmd.switch_time); in iwl5000_hw_channel_switch() 442 cmd.expect_beacon = in iwl5000_hw_channel_switch() 563 .len = { sizeof(*cmd), }, in iwl6000_hw_channel_switch() 568 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in iwl6000_hw_channel_switch() 569 if (!cmd) in iwl6000_hw_channel_switch() 572 hcmd.data[0] = cmd; in iwl6000_hw_channel_switch() 609 cmd->switch_time); in iwl6000_hw_channel_switch() 610 cmd->expect_beacon = in iwl6000_hw_channel_switch() [all …]
|
/openbmc/linux/drivers/net/ethernet/broadcom/asp2/ |
H A D | bcmasp_ethtool.c | 228 u32 loc = cmd->fs.location; in bcmasp_flow_insert() 231 if (cmd->fs.ring_cookie == RX_CLS_FLOW_WAKE) in bcmasp_flow_insert() 259 cmd->fs.location = nfilter->hw_index; in bcmasp_flow_insert() 292 cmd->data = NUM_NET_FILTERS; in bcmasp_flow_get() 304 switch (cmd->cmd) { in bcmasp_set_rxnfc() 306 ret = bcmasp_flow_insert(dev, cmd); in bcmasp_set_rxnfc() 309 ret = bcmasp_flow_delete(dev, cmd); in bcmasp_set_rxnfc() 328 switch (cmd->cmd) { in bcmasp_get_rxnfc() 332 cmd->data |= RX_CLS_LOC_SPECIAL; in bcmasp_get_rxnfc() 335 err = bcmasp_flow_get(intf, cmd); in bcmasp_get_rxnfc() [all …]
|
/openbmc/qemu/tests/qtest/libqos/ |
H A D | ahci.h | 608 void ahci_guest_io_resume(AHCIQState *ahci, AHCICommand *cmd); 624 void ahci_command_issue(AHCIQState *ahci, AHCICommand *cmd); 626 void ahci_command_wait(AHCIQState *ahci, AHCICommand *cmd); 627 void ahci_command_verify(AHCIQState *ahci, AHCICommand *cmd); 628 void ahci_command_free(AHCICommand *cmd); 635 void ahci_command_set_size(AHCICommand *cmd, uint64_t xbytes); 637 void ahci_command_set_sizes(AHCICommand *cmd, uint64_t xbytes, 639 void ahci_command_set_acmd(AHCICommand *cmd, void *acmd); 640 void ahci_command_enable_atapi_dma(AHCICommand *cmd); 645 uint8_t ahci_command_slot(AHCICommand *cmd); [all …]
|
/openbmc/linux/mm/ |
H A D | gup_test.c | 15 switch (cmd) { in put_back_pages() 45 switch (cmd) { in verify_dma_pinned() 57 } else if (cmd == PIN_LONGTERM_BENCHMARK && in verify_dma_pinned() 100 static int __gup_test_ioctl(unsigned int cmd, in __gup_test_ioctl() argument 109 cmd != GUP_FAST_BENCHMARK && cmd != PIN_FAST_BENCHMARK; in __gup_test_ioctl() 137 switch (cmd) { in __gup_test_ioctl() 186 verify_dma_pinned(cmd, pages, nr_pages); in __gup_test_ioctl() 188 if (cmd == DUMP_USER_PAGES_TEST) in __gup_test_ioctl() 321 switch (cmd) { in pin_longterm_test_ioctl() 344 switch (cmd) { in gup_test_ioctl() [all …]
|
/openbmc/linux/drivers/net/ethernet/cavium/liquidio/ |
H A D | octeon_nic.h | 82 union octeon_instr_64B cmd; member 120 union octeon_instr_64B *cmd, in octnet_prepare_pci_cmd_o2() argument 128 memset(cmd, 0, sizeof(union octeon_instr_64B)); in octnet_prepare_pci_cmd_o2() 130 ih2 = (struct octeon_instr_ih2 *)&cmd->cmd2.ih2; in octnet_prepare_pci_cmd_o2() 157 irh = (struct octeon_instr_irh *)&cmd->cmd2.irh; in octnet_prepare_pci_cmd_o2() 174 union octeon_instr_64B *cmd, in octnet_prepare_pci_cmd_o3() argument 183 memset(cmd, 0, sizeof(union octeon_instr_64B)); in octnet_prepare_pci_cmd_o3() 185 ih3 = (struct octeon_instr_ih3 *)&cmd->cmd3.ih3; in octnet_prepare_pci_cmd_o3() 220 irh = (struct octeon_instr_irh *)&cmd->cmd3.irh; in octnet_prepare_pci_cmd_o3() 247 octnet_prepare_pci_cmd_o2(oct, cmd, setup, tag); in octnet_prepare_pci_cmd() [all …]
|
/openbmc/linux/arch/arm/mach-footbridge/ |
H A D | dc21285.c | 151 unsigned int cmd; in dc21285_abort_irq() local 154 cmd = *CSR_PCICMD; in dc21285_abort_irq() 155 status = cmd >> 16; in dc21285_abort_irq() 156 cmd = cmd & 0xffff; in dc21285_abort_irq() 174 *CSR_PCICMD = cmd; in dc21285_abort_irq() 211 unsigned int cmd; in dc21285_dparity_irq() local 217 cmd = *CSR_PCICMD & 0xffff; in dc21285_dparity_irq() 218 *CSR_PCICMD = cmd | 1 << 24; in dc21285_dparity_irq() 226 unsigned int cmd; in dc21285_parity_irq() local 232 cmd = *CSR_PCICMD & 0xffff; in dc21285_parity_irq() [all …]
|
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/ |
H A D | wic.py | 220 runCmd(cmd) 227 runCmd(cmd) 240 runCmd(cmd) 248 runCmd(cmd) 255 runCmd(cmd) 266 runCmd(cmd) 277 runCmd(cmd) 285 runCmd(cmd) 296 runCmd(cmd) 310 runCmd(cmd) [all …]
|
H A D | debuginfod.py | 74 cmd = [ 90 cmd.append("--scan-deb-dir") 92 cmd.append("--scan-deb-dir") 94 cmd.append("--scan-rpm-dir") 101 cmd.append("--port=%d" % self.port) 104 self.debuginfod = subprocess.Popen(cmd, env={}) 127 cmd = (self.debuginfod_find, "debuginfo", pkgs / "xz" / "usr" / "bin" / "xz.xz") 129 output = subprocess.check_output(cmd, env=env, text=True) 152 …cmd = "DEBUGINFOD_URLS=http://%s:%d/ debuginfod-find debuginfo /usr/bin/xz" % (qemu.server_ip, sel… 154 status, output = qemu.run_serial(cmd)
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | mac-ctxt.c | 560 cmd->short_slot = in iwl_mvm_mac_ctxt_cmd_common() 564 cmd->filter_flags = 0; in iwl_mvm_mac_ctxt_cmd_common() 580 sizeof(*cmd), cmd); in iwl_mvm_mac_ctxt_send_cmd() 672 cmd.p2p_sta.ctwin = in iwl_mvm_mac_ctxt_cmd_sta() 677 ctxt_sta = &cmd.sta; in iwl_mvm_mac_ctxt_cmd_sta() 1027 cmd.len[0] = len; in iwl_mvm_mac_ctxt_send_beacon_cmd() 1028 cmd.data[0] = data; in iwl_mvm_mac_ctxt_send_beacon_cmd() 1029 cmd.dataflags[0] = 0; in iwl_mvm_mac_ctxt_send_beacon_cmd() 1322 iwl_mvm_mac_ctxt_cmd_fill_ap(mvm, vif, &cmd, &cmd.ap, in iwl_mvm_mac_ctxt_cmd_ap() 1341 iwl_mvm_mac_ctxt_cmd_fill_ap(mvm, vif, &cmd, &cmd.go.ap, in iwl_mvm_mac_ctxt_cmd_go() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_psp.c | 509 struct psp_gfx_cmd_resp *cmd = psp->cmd; in psp_sw_fini() local 704 struct psp_gfx_cmd_resp *cmd = psp->cmd; in acquire_psp_cmd_buf() local 737 cmd->cmd.cmd_setup_tmr.buf_size = size; in psp_prep_tmr_cmd_buf() 749 cmd->cmd.cmd_load_toc.toc_size = size; in psp_prep_load_toc_cmd_buf() 948 cmd->cmd.boot_cfg.sub_cmd = BOOTCFG_CMD_GET; in psp_boot_config_get() 973 cmd->cmd.boot_cfg.sub_cmd = BOOTCFG_CMD_SET; in psp_boot_config_set() 974 cmd->cmd.boot_cfg.boot_config = boot_cfg; in psp_boot_config_set() 1022 cmd->cmd.cmd_spatial_part.mode = mode; in psp_spatial_partition() 1099 cmd->cmd.cmd_setup_reg_prog.reg_id = id; in psp_prep_reg_prog_cmd_buf() 1132 cmd->cmd.cmd_load_ta.cmd_buf_phy_addr_lo = in psp_prep_ta_load_cmd_buf() [all …]
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | smp-tbsync.c | 27 volatile int cmd; member 47 int cmd; in smp_generic_take_timebase() local 62 cmd = tbsync->cmd; in smp_generic_take_timebase() 66 if (cmd == kExit) in smp_generic_take_timebase() 71 if (cmd == kSetAndTest) in smp_generic_take_timebase() 78 static int start_contest(int cmd, long offset, int num) in start_contest() argument 84 tbsync->cmd = cmd; in start_contest() 162 tbsync->cmd = kExit; in smp_generic_give_timebase()
|
/openbmc/openbmc/poky/meta/recipes-devtools/go/go/ |
H A D | 0004-make.bash-override-CC-when-building-dist-and-go_boot.patch | 28 rm -f cmd/dist/dist 29 -GOROOT="$GOROOT_BOOTSTRAP" nogoenv "$GOROOT_BOOTSTRAP/bin/go" build -o cmd/dist/dist ./cmd/dist 30 …}}" GOROOT="$GOROOT_BOOTSTRAP" nogoenv "$GOROOT_BOOTSTRAP/bin/go" build -o cmd/dist/dist ./cmd/dist 33 eval $(./cmd/dist/dist env -p || echo FAIL=true) 36 # Bootstrap installs a proper cmd/dist, built with the new toolchain. 38 -./cmd/dist/dist bootstrap -a $vflag $GO_DISTFLAGS "$@" 39 +CC="${BUILD_CC:-${CC}}" ./cmd/dist/dist bootstrap -a $vflag $GO_DISTFLAGS "$@" 40 rm -f ./cmd/dist/dist
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | test_local_storage.c | 97 char cmd[256]; in test_test_local_storage() local 120 snprintf(cmd, sizeof(cmd), "cp /bin/rm %s", tmp_exec_path); in test_test_local_storage() 121 if (!ASSERT_OK(system(cmd), "system(cp)")) in test_test_local_storage() 147 snprintf(cmd, sizeof(cmd), "mv %s/copy_of_rm %s/check_null_ptr", in test_test_local_storage() 149 if (!ASSERT_OK(system(cmd), "system(mv)")) in test_test_local_storage() 165 snprintf(cmd, sizeof(cmd), "rm -rf %s", tmp_dir_path); in test_test_local_storage() 166 system(cmd); in test_test_local_storage()
|