/openbmc/linux/drivers/scsi/qla2xxx/ |
H A D | qla_target.c | 2737 cmd = prm->cmd; in qlt_print_dif_err() 2745 cmd->lba, cmd->lba, cmd->num_blks, &cmd->se_cmd, in qlt_print_dif_err() 2752 cmd->lba, cmd->lba, cmd->num_blks, &cmd->se_cmd, in qlt_print_dif_err() 2759 cmd->lba, cmd->lba, cmd->num_blks, &cmd->se_cmd, in qlt_print_dif_err() 2766 cmd->lba, cmd->lba, cmd->num_blks, &cmd->se_cmd, in qlt_print_dif_err() 2784 prm->cmd = cmd; in qlt_pre_xmit_response() 3422 prm.cmd = cmd; in qlt_rdy_to_xfer() 3527 cmd->a_ref_tag, cmd->e_ref_tag, cmd->a_app_tag, in qlt_handle_dif_error() 3528 cmd->e_app_tag, cmd->a_guard, cmd->e_guard, cmd, in qlt_handle_dif_error() 3544 cmd->e_app_tag, cmd->a_guard, cmd->e_guard, cmd, in qlt_handle_dif_error() [all …]
|
/openbmc/linux/drivers/vdpa/pds/ |
H A D | cmds.c | 20 union pds_core_adminq_cmd cmd = { in pds_vdpa_init_hw() local 29 err = pds_client_adminq_cmd(padev, &cmd, sizeof(cmd.vdpa_init), in pds_vdpa_init_hw() 42 union pds_core_adminq_cmd cmd = { in pds_vdpa_cmd_reset() local 50 err = pds_client_adminq_cmd(padev, &cmd, sizeof(cmd.vdpa), &comp, 0); in pds_vdpa_cmd_reset() 62 union pds_core_adminq_cmd cmd = { in pds_vdpa_cmd_set_status() local 71 err = pds_client_adminq_cmd(padev, &cmd, sizeof(cmd.vdpa_status), &comp, 0); in pds_vdpa_cmd_set_status() 83 union pds_core_adminq_cmd cmd = { in pds_vdpa_cmd_set_mac() local 93 err = pds_client_adminq_cmd(padev, &cmd, sizeof(cmd.vdpa_setattr), in pds_vdpa_cmd_set_mac() 116 err = pds_client_adminq_cmd(padev, &cmd, sizeof(cmd.vdpa_setattr), in pds_vdpa_cmd_set_max_vq_pairs() 150 err = pds_client_adminq_cmd(padev, &cmd, sizeof(cmd.vdpa_vq_init), in pds_vdpa_cmd_init_vq() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/tipcutils/tipcutils/ |
H A D | 0002-replace-non-standard-uint-with-unsigned-int.patch | 41 die("Unable to send cmd %u to clients\n", cmd); 50 __u32 cmd; 53 -static void client_to_master(uint cmd) 68 *cmd = ntohl(c.cmd); 77 die("Unable to send cmd %u to servers\n", cmd); 89 - uint cmd, msglen, msgcnt, echo; 90 + unsigned int cmd, msglen, msgcnt, echo; 98 - uint cmd; 104 + unsigned int cmd; 165 - uint cmd; [all …]
|
/openbmc/linux/drivers/vfio/pci/pds/ |
H A D | cmds.c | 24 union pds_core_adminq_cmd cmd = {}; in pds_vfio_client_adminq_cmd() local 91 union pds_core_adminq_cmd cmd = { in pds_vfio_suspend_wait_device_cmd() local 131 union pds_core_adminq_cmd cmd = { in pds_vfio_suspend_device_cmd() local 165 union pds_core_adminq_cmd cmd = { in pds_vfio_resume_device_cmd() local 182 union pds_core_adminq_cmd cmd = { in pds_vfio_get_lm_state_size_cmd() local 283 union pds_core_adminq_cmd cmd = { in pds_vfio_get_lm_state_cmd() local 321 union pds_core_adminq_cmd cmd = { in pds_vfio_set_lm_state_cmd() local 361 union pds_core_adminq_cmd cmd = { in pds_vfio_send_host_vf_lm_status_cmd() local 390 union pds_core_adminq_cmd cmd = { in pds_vfio_dirty_status_cmd() local 431 union pds_core_adminq_cmd cmd = { in pds_vfio_dirty_enable_cmd() local [all …]
|
/openbmc/linux/drivers/comedi/drivers/ |
H A D | das800.c | 265 struct comedi_cmd *cmd) in das800_ai_check_chanlist() argument 293 struct comedi_cmd *cmd) in das800_ai_do_cmdtest() argument 325 if (cmd->convert_src == TRIG_TIMER) { in das800_ai_do_cmdtest() 332 cmd->chanlist_len); in das800_ai_do_cmdtest() 334 if (cmd->stop_src == TRIG_COUNT) in das800_ai_do_cmdtest() 355 if (cmd->chanlist && cmd->chanlist_len > 0) in das800_ai_do_cmdtest() 369 struct comedi_cmd *cmd = &async->cmd; in das800_ai_do_cmd() local 395 if (cmd->start_src == TRIG_EXT) in das800_ai_do_cmd() 425 struct comedi_cmd *cmd; in das800_interrupt() local 440 cmd = &async->cmd; in das800_interrupt() [all …]
|
H A D | dt3000.c | 416 cmd->chanlist_len); in dt3k_ai_cmdtest() 418 if (cmd->stop_src == TRIG_COUNT) in dt3k_ai_cmdtest() 429 arg = cmd->scan_begin_arg; in dt3k_ai_cmdtest() 435 arg = cmd->convert_arg; in dt3k_ai_cmdtest() 440 arg = cmd->convert_arg * cmd->scan_end_arg; in dt3k_ai_cmdtest() 442 &cmd->scan_begin_arg, arg); in dt3k_ai_cmdtest() 454 struct comedi_cmd *cmd = &s->async->cmd; in dt3k_ai_cmd() local 461 chan = CR_CHAN(cmd->chanlist[i]); in dt3k_ai_cmd() 466 aref = CR_AREF(cmd->chanlist[0]); in dt3k_ai_cmd() 471 divider = dt3k_ns_to_timer(50, &cmd->convert_arg, cmd->flags); in dt3k_ai_cmd() [all …]
|
H A D | pcmmio.c | 326 struct comedi_cmd *cmd = &s->async->cmd; in pcmmio_handle_dio_intr() local 384 struct comedi_cmd *cmd = &s->async->cmd; in pcmmio_start_intr() local 391 if (cmd->chanlist) { in pcmmio_start_intr() 428 struct comedi_cmd *cmd = &s->async->cmd; in pcmmio_inttrig_start_intr() local 431 if (trig_num != cmd->start_arg) in pcmmio_inttrig_start_intr() 449 struct comedi_cmd *cmd = &s->async->cmd; in pcmmio_cmd() local 468 struct comedi_cmd *cmd) in pcmmio_cmdtest() argument 499 cmd->chanlist_len); in pcmmio_cmdtest() 538 unsigned char cmd = 0; in pcmmio_ai_insn_read() local 564 cmd |= PCMMIO_AI_CMD_SE; in pcmmio_ai_insn_read() [all …]
|
H A D | addi_apci_2032.c | 79 struct comedi_cmd *cmd) in apci2032_int_cmdtest() argument 108 cmd->chanlist_len); in apci2032_int_cmdtest() 109 if (cmd->stop_src == TRIG_COUNT) in apci2032_int_cmdtest() 127 struct comedi_cmd *cmd = &s->async->cmd; in apci2032_int_cmd() local 134 for (n = 0; n < cmd->chanlist_len; n++) in apci2032_int_cmd() 135 enabled_isns |= 1 << CR_CHAN(cmd->chanlist[n]); in apci2032_int_cmd() 166 struct comedi_cmd *cmd = &s->async->cmd; in apci2032_interrupt() local 195 for (i = 0; i < cmd->chanlist_len; i++) { in apci2032_interrupt() 196 unsigned int chan = CR_CHAN(cmd->chanlist[i]); in apci2032_interrupt() 204 if (cmd->stop_src == TRIG_COUNT && in apci2032_interrupt() [all …]
|
/openbmc/linux/drivers/target/iscsi/cxgbit/ |
H A D | cxgbit_target.c | 843 if (!cmd) { in cxgbit_allocate_cmd() 852 return cmd; in cxgbit_allocate_cmd() 902 if (cmd->write_data_done == cmd->se_cmd.data_length) { in cxgbit_handle_immediate_data() 1015 if (!cmd) in cxgbit_handle_iscsi_dataout() 1149 if (cmd) in cxgbit_handle_nop_out() 1220 if (!cmd) in cxgbit_target_rx_opcode() 1231 if (!cmd) in cxgbit_target_rx_opcode() 1239 if (!cmd) in cxgbit_target_rx_opcode() 1248 if (!cmd) in cxgbit_target_rx_opcode() 1252 if (!cmd) in cxgbit_target_rx_opcode() [all …]
|
/openbmc/linux/drivers/scsi/libsas/ |
H A D | sas_scsi_host.c | 139 task->uldd_task = cmd; in sas_create_task() 140 ASSIGN_SAS_TASK(cmd, task); in sas_create_task() 148 task->ssp_task.cmd = cmd; in sas_create_task() 198 scsi_done(cmd); in sas_queuecommand() 213 sas_end_task(cmd, task); in sas_eh_finish_cmd() 237 sas_eh_finish_cmd(cmd); in sas_scsi_clear_queue_lu() 250 sas_eh_finish_cmd(cmd); in sas_scsi_clear_queue_I_T() 264 sas_eh_finish_cmd(cmd); in sas_scsi_clear_queue_port() 335 cmd->device->lun); in sas_recover_lu() 587 cmd->device->lun); in sas_eh_handle_sas_errors() [all …]
|
/openbmc/u-boot/cmd/ |
H A D | cros_ec.c | 98 const char *cmd; in do_cros_ec() local 104 cmd = argv[1]; in do_cros_ec() 105 if (0 == strcmp("init", cmd)) { in do_cros_ec() 123 if (0 == strcmp("id", cmd)) { in do_cros_ec() 131 } else if (0 == strcmp("info", cmd)) { in do_cros_ec() 148 } else if (0 == strcmp("hash", cmd)) { in do_cros_ec() 171 enum ec_reboot_cmd cmd; in do_cros_ec() local 174 cmd = EC_REBOOT_COLD; in do_cros_ec() 178 cmd = EC_REBOOT_JUMP_RO; in do_cros_ec() 180 cmd = EC_REBOOT_JUMP_RW; in do_cros_ec() [all …]
|
/openbmc/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_streamoutput.c | 97 } *cmd; in vmw_dx_streamoutput_unscrub() local 102 cmd = VMW_CMD_CTX_RESERVE(dev_priv, sizeof(*cmd), so->ctx->id); in vmw_dx_streamoutput_unscrub() 103 if (!cmd) in vmw_dx_streamoutput_unscrub() 107 cmd->header.size = sizeof(cmd->body); in vmw_dx_streamoutput_unscrub() 108 cmd->body.soid = so->id; in vmw_dx_streamoutput_unscrub() 168 } *cmd; in vmw_dx_streamoutput_scrub() local 175 cmd = VMW_CMD_CTX_RESERVE(dev_priv, sizeof(*cmd), so->ctx->id); in vmw_dx_streamoutput_scrub() 176 if (!cmd) in vmw_dx_streamoutput_scrub() 180 cmd->header.size = sizeof(cmd->body); in vmw_dx_streamoutput_scrub() 181 cmd->body.soid = res->id; in vmw_dx_streamoutput_scrub() [all …]
|
/openbmc/qemu/scripts/ |
H A D | disas-objdump.pl | 31 my ($cmd, $mach) = @_; 33 $cmd = $aobjdump if !$cmd; 34 return "$cmd -m $mach --disassemble-all -b binary"; 74 my $cmd = objcommand(); 75 $cmd = $cmd . " --adjust-vma=" . $vma if $vma; 76 $cmd = $cmd . " " . $outname; 79 open IN, "-|", $cmd;
|
/openbmc/u-boot/include/fsl-mc/ |
H A D | fsl_dpio.h | 27 #define DPIO_CMD_OPEN(cmd, dpio_id) \ argument 28 MC_CMD_OP(cmd, 0, 0, 32, int, dpio_id) 31 #define DPIO_CMD_CREATE(cmd, cfg) \ argument 33 MC_CMD_OP(cmd, 0, 16, 2, enum dpio_channel_mode, \ 35 MC_CMD_OP(cmd, 0, 32, 8, uint8_t, cfg->num_priorities);\ 39 #define DPIO_RSP_GET_ATTR(cmd, attr) \ argument 41 MC_RSP_OP(cmd, 0, 0, 32, int, attr->id);\ 42 MC_RSP_OP(cmd, 0, 32, 16, uint16_t, attr->qbman_portal_id);\ 43 MC_RSP_OP(cmd, 0, 48, 8, uint8_t, attr->num_priorities);\ 45 MC_RSP_OP(cmd, 1, 0, 64, uint64_t, attr->qbman_portal_ce_offset);\ [all …]
|
/openbmc/linux/drivers/target/ |
H A D | target_core_tmr.c | 57 struct se_cmd *cmd) in target_check_cdb_and_preempt() argument 183 struct se_cmd *cmd; in core_tmr_drain_tmr_list() local 195 cmd = tmr_p->task_cmd; in core_tmr_drain_tmr_list() 196 if (!cmd) { in core_tmr_drain_tmr_list() 216 sess = cmd->se_sess; in core_tmr_drain_tmr_list() 236 cmd = tmr_p->task_cmd; in core_tmr_drain_tmr_list() 274 struct se_cmd *cmd, *next; in core_tmr_drain_state_list() local 311 cmd)) in core_tmr_drain_state_list() 317 if (prout_cmd == cmd) in core_tmr_drain_state_list() 320 sess = cmd->se_sess; in core_tmr_drain_state_list() [all …]
|
/openbmc/linux/drivers/net/can/peak_canfd/ |
H A D | peak_canfd.c | 50 struct pucan_command *cmd; in pucan_add_cmd() local 58 memset(cmd, 0, sizeof(*cmd)); in pucan_add_cmd() 63 return cmd; in pucan_add_cmd() 135 le16_to_cpu(cmd->brp), cmd->tseg1, cmd->tseg2, cmd->sjw_t); in pucan_set_timing_slow() 154 le16_to_cpu(cmd->brp), cmd->tseg1, cmd->tseg2, cmd->sjw); in pucan_set_timing_fast() 175 cmd->idx = row; in pucan_set_std_filter() 201 cmd->tx_counter = 0; in pucan_clr_err_counters() 202 cmd->rx_counter = 0; in pucan_clr_err_counters() 209 struct pucan_options *cmd; in pucan_set_options() local 220 struct pucan_options *cmd; in pucan_clr_options() local [all …]
|
/openbmc/linux/drivers/scsi/ |
H A D | megaraid.c | 439 scb->cmd = cmd; in DEF_SCSI_QCMD() 706 memcpy(pthru->cdb, cmd->cmnd, cmd->cmd_len); in mega_build_cmd() 746 mbox->m_out.cmd = (*cmd->cmnd & 0x02) ? in mega_build_cmd() 751 mbox->m_out.cmd = (*cmd->cmnd & 0x02) ? in mega_build_cmd() 974 memcpy(pthru->cdb, cmd->cmnd, cmd->cmd_len); in mega_prepare_passthru() 1038 memcpy(epthru->cdb, cmd->cmnd, cmd->cmd_len); in mega_prepare_extpassthru() 1444 cmd = scb->cmd; in mega_cmd_done() 1503 cmd = scb->cmd; in mega_cmd_done() 1716 cmd = scb->cmd; in mega_build_sglist() 1930 cmd->cmnd[0], cmd->device->channel, in megaraid_abort_and_reset() [all …]
|
H A D | scsi_debugfs.c | 37 struct scsi_cmnd *cmd = blk_mq_rq_to_pdu(rq), *cmd2; in scsi_show_rq() local 38 struct Scsi_Host *shost = cmd->device->host; in scsi_show_rq() 39 int alloc_ms = jiffies_to_msecs(jiffies - cmd->jiffies_at_alloc); in scsi_show_rq() 46 if (cmd == cmd2) { in scsi_show_rq() 52 if (cmd == cmd2) { in scsi_show_rq() 60 __scsi_format_command(buf, sizeof(buf), cmd->cmnd, cmd->cmd_len); in scsi_show_rq() 62 buf, cmd->retries, cmd->allowed, cmd->result, in scsi_show_rq() 64 scsi_flags_show(m, cmd->flags, scsi_cmd_flags, in scsi_show_rq()
|
/openbmc/linux/tools/usb/usbip/src/ |
H A D | usbip.c | 95 const struct command *cmd; in usbip_help() local 110 for (cmd = cmds; cmd->name != NULL; cmd++) in usbip_help() 111 if (cmd->help != NULL) in usbip_help() 112 printf(" %-10s %s\n", cmd->name, cmd->help); in usbip_help() 127 static int run_command(const struct command *cmd, int argc, char *argv[]) in run_command() argument 129 dbg("running command: `%s'", cmd->name); in run_command() 130 return cmd->fn(argc, argv); in run_command() 142 char *cmd; in main() local 175 cmd = argv[optind]; in main() 176 if (cmd) { in main() [all …]
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | devlink_port_split.py | 26 def run_command(cmd, should_fail=False): argument 57 cmd = "devlink -j port show" 58 stdout, stderr = run_command(cmd) 82 stdout, stderr = run_command(cmd) 100 stdout, stderr = run_command(cmd) 136 stdout, stderr = run_command(cmd) 214 cmd = "udevadm settle" 215 stdout, stderr = run_command(cmd) 262 cmd = "devlink -j dev show" 270 cmd = "devlink dev show %s" % dev [all …]
|
/openbmc/skeleton/op-flasher/ |
H A D | flasher_obj.c | 231 cmdline *cmd = user_data; in on_bus_acquired() local 232 if(cmd->argc < 4) in on_bus_acquired() 235 g_main_loop_quit(cmd->loop); in on_bus_acquired() 238 printf("Starting flasher: %s,%s,%s,\n",cmd->argv[1],cmd->argv[2],cmd->argv[3]); in on_bus_acquired() 276 int rc = flash(flash_control, chip, address, cmd->argv[2], cmd->argv[3]); in on_bus_acquired() 284 g_main_loop_quit(cmd->loop); in on_bus_acquired() 291 cmdline cmd; in main() local 292 cmd.argc = argc; in main() 293 cmd.argv = argv; in main() 297 cmd.loop = loop; in main() [all …]
|
/openbmc/linux/net/bluetooth/ |
H A D | mgmt.c | 2555 mgmt_cmd_complete(cmd->sk, cmd->index, cmd->opcode, in mgmt_class_complete() 5220 mgmt_cmd_complete(cmd->sk, cmd->index, cmd->opcode, in mgmt_add_adv_patterns_monitor_complete() 5429 mgmt_cmd_complete(cmd->sk, cmd->index, cmd->opcode, in mgmt_remove_adv_monitor_complete() 8565 mgmt_cmd_status(cmd->sk, cmd->index, cmd->opcode, in add_advertising_complete() 8568 mgmt_cmd_complete(cmd->sk, cmd->index, cmd->opcode, in add_advertising_complete() 8756 mgmt_cmd_status(cmd->sk, cmd->index, cmd->opcode, in add_ext_adv_params_complete() 8759 mgmt_cmd_complete(cmd->sk, cmd->index, cmd->opcode, in add_ext_adv_params_complete() 8907 mgmt_cmd_status(cmd->sk, cmd->index, cmd->opcode, in add_ext_adv_data_complete() 8910 mgmt_cmd_complete(cmd->sk, cmd->index, cmd->opcode, in add_ext_adv_data_complete() 9069 mgmt_cmd_status(cmd->sk, cmd->index, cmd->opcode, in remove_advertising_complete() [all …]
|
/openbmc/linux/drivers/scsi/esas2r/ |
H A D | esas2r_vda.c | 157 datalen = vi->cmd.mgt.data_length; in esas2r_process_vda_ioctl() 159 || vi->cmd.mgt.mgt_func == in esas2r_process_vda_ioctl() 185 datalen = vi->cmd.mgt.data_length; in esas2r_process_vda_ioctl() 201 cpu_to_le32(vi->cmd.mgt.dev_index); in esas2r_process_vda_ioctl() 225 &vi->cmd.cfg.data, in esas2r_process_vda_ioctl() 226 vi->cmd.cfg.data_length); in esas2r_process_vda_ioctl() 240 vi->cmd.gsv.rsp_len = vercnt; in esas2r_process_vda_ioctl() 288 vi->cmd.mgt.scan_generation = in esas2r_complete_vda_ioctl() 294 vi->cmd.mgt.data_length = in esas2r_complete_vda_ioctl() 328 &vi->cmd.cfg.data); in esas2r_complete_vda_ioctl() [all …]
|
/openbmc/linux/drivers/bus/fsl-mc/ |
H A D | obj-api.c | 50 struct fsl_mc_command cmd = { 0 }; in fsl_mc_obj_open() local 59 cmd.header = mc_encode_cmd_header(cmd_id, cmd_flags, 0); in fsl_mc_obj_open() 60 cmd_params = (struct fsl_mc_obj_cmd_open *)cmd.params; in fsl_mc_obj_open() 64 err = mc_send_command(mc_io, &cmd); in fsl_mc_obj_open() 69 *token = mc_cmd_hdr_read_token(&cmd); in fsl_mc_obj_open() 79 struct fsl_mc_command cmd = { 0 }; in fsl_mc_obj_close() local 82 cmd.header = mc_encode_cmd_header(OBJ_CMDID_CLOSE, cmd_flags, in fsl_mc_obj_close() 86 return mc_send_command(mc_io, &cmd); in fsl_mc_obj_close() 94 struct fsl_mc_command cmd = { 0 }; in fsl_mc_obj_reset() local 97 cmd.header = mc_encode_cmd_header(OBJ_CMDID_RESET, cmd_flags, in fsl_mc_obj_reset() [all …]
|
/openbmc/linux/net/devlink/ |
H A D | netlink_gen.c | 213 .cmd = DEVLINK_CMD_GET, 223 .cmd = DEVLINK_CMD_GET, 229 .cmd = DEVLINK_CMD_PORT_GET, 239 .cmd = DEVLINK_CMD_PORT_GET, 246 .cmd = DEVLINK_CMD_SB_GET, 256 .cmd = DEVLINK_CMD_SB_GET, 348 .cmd = DEVLINK_CMD_INFO_GET, 358 .cmd = DEVLINK_CMD_INFO_GET, 381 .cmd = DEVLINK_CMD_TRAP_GET, 391 .cmd = DEVLINK_CMD_TRAP_GET, [all …]
|