Home
last modified time | relevance | path

Searched refs:cmd (Results 276 – 300 of 6803) sorted by relevance

1...<<11121314151617181920>>...273

/openbmc/linux/drivers/scsi/bfa/
H A Dbfad_bsg.c154 (struct bfa_bsg_ioc_fwstats_s *)cmd; in bfad_iocmd_ioc_get_fwstats()
381 cmd->status = bfa_fcport_cfg_topology(&bfad->bfa, cmd->param); in bfad_iocmd_set_port_cfg()
383 cmd->status = bfa_fcport_cfg_speed(&bfad->bfa, cmd->param); in bfad_iocmd_set_port_cfg()
385 cmd->status = bfa_fcport_cfg_hardalpa(&bfad->bfa, cmd->param); in bfad_iocmd_set_port_cfg()
416 if (cmd == IOCMD_PORT_BBCR_ENABLE) in bfad_iocmd_port_cfg_bbcr()
936 if (cmd == IOCMD_RATELIM_ENABLE) in bfad_iocmd_ratelim()
2674 (struct bfa_bsg_tfru_s *)cmd; in bfad_iocmd_tfru_read()
2696 (struct bfa_bsg_tfru_s *)cmd; in bfad_iocmd_tfru_write()
2718 (struct bfa_bsg_fruvpd_s *)cmd; in bfad_iocmd_fruvpd_read()
2740 (struct bfa_bsg_fruvpd_s *)cmd; in bfad_iocmd_fruvpd_update()
[all …]
/openbmc/linux/net/wireless/
H A Dwext-core.c453 unsigned int cmd, in wireless_send_event() argument
506 cmd); in wireless_send_event()
579 event->cmd = cmd; in wireless_send_event()
616 compat_event->cmd = cmd; in wireless_send_event()
753 switch (cmd) { in ioctl_standard_iw_point()
783 if (IW_IS_SET(cmd)) { in ioctl_standard_iw_point()
995 if ((IW_IS_SET(cmd) || cmd == SIOCGIWENCODE || in wext_permission_check()
1068 struct iw_request_info info = { .cmd = cmd, .flags = 0 }; in wext_handle_ioctl()
1081 IW_IS_GET(cmd) && in wext_handle_ioctl()
1091 unsigned int cmd, in compat_standard_call() argument
[all …]
/openbmc/linux/tools/perf/
H A Dbuiltin-daemon.c813 union cmd cmd; in handle_server_socket() local
821 if (sizeof(cmd) != readn(fd, &cmd, sizeof(cmd))) { in handle_server_socket()
832 switch (cmd.cmd) { in handle_server_socket()
1374 if (sizeof(*cmd) != writen(fd, cmd, sizeof(*cmd))) { in send_cmd()
1404 union cmd cmd; in send_cmd_list() local
1407 cmd.list.cmd = CMD_LIST; in send_cmd_list()
1424 union cmd cmd; in __cmd_signal() local
1450 union cmd cmd; in __cmd_stop() local
1462 cmd.cmd = CMD_STOP; in __cmd_stop()
1476 union cmd cmd; in __cmd_ping() local
[all …]
/openbmc/linux/drivers/hid/amd-sfh-hid/sfh1_1/
H A Damd_sfh_interface.c34 cmd_base.cmd.cmd_id = ENABLE_SENSOR; in amd_start_sensor()
35 cmd_base.cmd.intr_disable = 0; in amd_start_sensor()
36 cmd_base.cmd.sub_cmd_value = 1; in amd_start_sensor()
37 cmd_base.cmd.sensor_id = info.sensor_idx; in amd_start_sensor()
47 cmd_base.cmd.cmd_id = DISABLE_SENSOR; in amd_stop_sensor()
48 cmd_base.cmd.intr_disable = 0; in amd_stop_sensor()
49 cmd_base.cmd.sub_cmd_value = 1; in amd_stop_sensor()
50 cmd_base.cmd.sensor_id = sensor_idx; in amd_stop_sensor()
61 cmd_base.cmd.cmd_id = DISABLE_SENSOR; in amd_stop_all_sensor()
62 cmd_base.cmd.intr_disable = 0; in amd_stop_all_sensor()
[all …]
/openbmc/linux/include/sound/
H A Dhda_regmap.h82 unsigned int cmd = snd_hdac_regmap_encode_verb(nid, verb); in snd_hdac_regmap_write() local
84 return snd_hdac_regmap_write_raw(codec, cmd, val); in snd_hdac_regmap_write()
101 unsigned int cmd = snd_hdac_regmap_encode_verb(nid, verb); in snd_hdac_regmap_update() local
103 return snd_hdac_regmap_update_raw(codec, cmd, mask, val); in snd_hdac_regmap_update()
118 unsigned int cmd = snd_hdac_regmap_encode_verb(nid, verb); in snd_hdac_regmap_read() local
120 return snd_hdac_regmap_read_raw(codec, cmd, val); in snd_hdac_regmap_read()
139 unsigned int cmd = snd_hdac_regmap_encode_amp(nid, ch, dir, idx); in snd_hdac_regmap_get_amp() local
142 err = snd_hdac_regmap_read_raw(codec, cmd, &val); in snd_hdac_regmap_get_amp()
165 return snd_hdac_regmap_update_raw(codec, cmd, mask, val); in snd_hdac_regmap_update_amp()
187 err = snd_hdac_regmap_read_raw(codec, cmd, &val); in snd_hdac_regmap_get_amp_stereo()
[all …]
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Drfi.c86 struct iwl_rfi_config_cmd cmd; in iwl_rfi_send_config_cmd() local
90 .data[0] = &cmd, in iwl_rfi_send_config_cmd()
91 .len[0] = sizeof(cmd), in iwl_rfi_send_config_cmd()
101 memcpy(cmd.table, iwl_rfi_table, sizeof(cmd.table)); in iwl_rfi_send_config_cmd()
103 memcpy(cmd.table, rfi_table, sizeof(cmd.table)); in iwl_rfi_send_config_cmd()
105 cmd.oem = 1; in iwl_rfi_send_config_cmd()
121 struct iwl_host_cmd cmd = { in iwl_rfi_get_freq_table() local
130 ret = iwl_mvm_send_cmd(mvm, &cmd); in iwl_rfi_get_freq_table()
137 iwl_free_resp(&cmd); in iwl_rfi_get_freq_table()
141 resp = kmemdup(cmd.resp_pkt->data, resp_size, GFP_KERNEL); in iwl_rfi_get_freq_table()
[all …]
/openbmc/qemu/hw/scsi/
H A Dscsi-bus.c856 cmd.mode, cmd.xfer); in scsi_req_new()
871 req->cmd = cmd; in scsi_req_new()
876 trace_scsi_inquiry(d->id, lun, tag, cmd.buf[1], cmd.buf[2]); in scsi_req_new()
1115 cmd->xfer = 0; in scsi_req_xfer()
1336 if (!cmd->xfer) { in scsi_cmd_xfer_mode()
1389 cmd->mode = (cmd->buf[2] & 0x8) ? in scsi_cmd_xfer_mode()
1404 cmd->lba = -1; in scsi_req_parse_cdb()
1410 cmd->len = len; in scsi_req_parse_cdb()
1429 memcpy(cmd->buf, buf, cmd->len); in scsi_req_parse_cdb()
1431 cmd->lba = scsi_cmd_lba(cmd); in scsi_req_parse_cdb()
[all …]
/openbmc/linux/drivers/scsi/
H A Dvirtio_scsi.c113 struct virtio_scsi_cmd_resp *resp = &cmd->resp.cmd; in virtscsi_complete_cmd()
215 if (cmd->comp) in virtscsi_complete_free()
592 virtio_scsi_init_hdr(vscsi->vdev, &cmd->req.cmd, sc); in virtscsi_queuecommand()
593 memcpy(cmd->req.cmd.cdb, sc->cmnd, sc->cmd_len); in virtscsi_queuecommand()
594 req_size = sizeof(cmd->req.cmd); in virtscsi_queuecommand()
598 ret = virtscsi_add_cmd(req_vq, cmd, req_size, sizeof(cmd->resp.cmd), kick); in virtscsi_queuecommand()
600 cmd->resp.cmd.response = VIRTIO_SCSI_S_BAD_TARGET; in virtscsi_queuecommand()
648 if (!cmd) in virtscsi_device_reset()
651 memset(cmd, 0, sizeof(*cmd)); in virtscsi_device_reset()
706 if (!cmd) in virtscsi_abort()
[all …]
H A Dmvumi.c255 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in mvumi_create_internal_cmd()
256 if (!cmd) { in mvumi_create_internal_cmd()
276 cmd->frame, cmd->frame_phys); in mvumi_create_internal_cmd()
293 if (cmd && cmd->frame) { in mvumi_delete_internal_cmd()
305 cmd->frame, cmd->frame_phys); in mvumi_delete_internal_cmd()
371 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in mvumi_alloc_cmds()
372 if (!cmd) in mvumi_alloc_cmds()
1599 if (cmd) in mvumi_probe_devices()
1842 cmd->request_id = cmd->frame->request_id; in mvumi_send_command()
1843 mhba->tag_cmd[cmd->frame->tag] = cmd; in mvumi_send_command()
[all …]
H A Dmac53c94.c81 scsi_sg_count(cmd), scsi_bufflen(cmd), scsi_sglist(cmd)); in mac53c94_queue_lck()
85 cmd->host_scribble = NULL; in mac53c94_queue_lck()
90 state->request_q = cmd; in mac53c94_queue_lck()
146 struct scsi_cmnd *cmd; in mac53c94_start() local
237 if (!cmd) { in mac53c94_interrupt()
266 && (scsi_sg_count(cmd) > 0 || scsi_bufflen(cmd))) { in mac53c94_interrupt()
314 scsi_dma_unmap(cmd); in mac53c94_interrupt()
343 struct scsi_cmnd *cmd; in cmd_done() local
346 if (cmd) { in cmd_done()
347 cmd->result = result; in cmd_done()
[all …]
H A Dscsi.c139 scsi_print_sense(cmd); in scsi_log_completion()
296 unsigned char cmd[16]; in scsi_vpd_inquiry() local
301 cmd[0] = INQUIRY; in scsi_vpd_inquiry()
302 cmd[1] = 1; /* EVPD */ in scsi_vpd_inquiry()
303 cmd[2] = page; in scsi_vpd_inquiry()
304 cmd[3] = len >> 8; in scsi_vpd_inquiry()
305 cmd[4] = len & 0xff; in scsi_vpd_inquiry()
549 unsigned char cmd[16]; in scsi_report_opcode() local
568 memset(cmd, 0, 16); in scsi_report_opcode()
573 cmd[3] = opcode; in scsi_report_opcode()
[all …]
/openbmc/u-boot/tools/patman/
H A Dgitutil.py32 cmd = ['git']
37 cmd.append('--oneline')
41 cmd.append('--reverse')
43 cmd.append('-n%d' % count)
45 cmd.append(commit_range)
50 cmd.append('--')
51 return cmd
419 cmd += to
420 cmd += cc
424 cmd += args
[all …]
/openbmc/linux/drivers/mmc/core/
H A Dcore.c85 struct mmc_command *cmd = mrq->cmd; in mmc_should_fail_request() local
96 if ((cmd && cmd->error) || data->error || in mmc_should_fail_request()
141 struct mmc_command *cmd = mrq->cmd; in mmc_request_done() local
189 cmd->resp[0], cmd->resp[1], in mmc_request_done()
190 cmd->resp[2], cmd->resp[3]); in mmc_request_done()
276 mrq->cmd->opcode, mrq->cmd->arg, mrq->cmd->flags); in mmc_mrq_pr_debug()
404 cmd = mrq->cmd; in mmc_wait_for_req_done()
406 if (!cmd->error || !cmd->retries || in mmc_wait_for_req_done()
549 memset(&cmd, 0, sizeof(cmd)); in mmc_cqe_recovery()
558 memset(&cmd, 0, sizeof(cmd)); in mmc_cqe_recovery()
[all …]
/openbmc/linux/drivers/comedi/drivers/
H A Ddas6402.c177 struct comedi_cmd *cmd = &async->cmd; in das6402_interrupt() local
192 if (cmd->stop_src == TRIG_COUNT && in das6402_interrupt()
193 async->scans_done >= cmd->stop_arg) in das6402_interrupt()
225 struct comedi_cmd *cmd = &s->async->cmd; in das6402_ai_cmd() local
227 unsigned int chan_hi = CR_CHAN(cmd->chanlist[cmd->chanlist_len - 1]); in das6402_ai_cmd()
248 struct comedi_cmd *cmd) in das6402_ai_check_chanlist() argument
289 struct comedi_cmd *cmd) in das6402_ai_cmdtest() argument
321 cmd->chanlist_len); in das6402_ai_cmdtest()
323 if (cmd->stop_src == TRIG_COUNT) in das6402_ai_cmdtest()
333 arg = cmd->convert_arg; in das6402_ai_cmdtest()
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/runtime/cases/
H A Dstap.py20 cmd = 'make -j -C /usr/src/kernel scripts prepare'
21 status, output = self.target.run(cmd, 900)
22 self.assertEqual(status, 0, msg='\n'.join([cmd, output]))
24cmd = 'stap -v -p4 -m stap-hello --disable-cache -DSTP_NO_VERREL_CHECK -e \'probe oneshot { print(…
25 status, output = self.target.run(cmd, 900)
26 self.assertEqual(status, 0, msg='\n'.join([cmd, output]))
28 cmd = 'staprun -v -R -b1 stap-hello.ko'
29 self.assertEqual(status, 0, msg='\n'.join([cmd, output]))
30 self.assertIn('Hello, SystemTap!', output, msg='\n'.join([cmd, output]))
/openbmc/linux/include/xen/arm/
H A Dhypercall.h47 int HYPERVISOR_xen_version(int cmd, void *arg);
48 int HYPERVISOR_console_io(int cmd, int count, char *str);
49 int HYPERVISOR_grant_table_op(unsigned int cmd, void *uop, unsigned int count);
50 int HYPERVISOR_sched_op(int cmd, void *arg);
51 int HYPERVISOR_event_channel_op(int cmd, void *arg);
53 int HYPERVISOR_memory_op(unsigned int cmd, void *arg);
54 int HYPERVISOR_physdev_op(int cmd, void *arg);
55 int HYPERVISOR_vcpu_op(int cmd, int vcpuid, void *extra_args);
56 int HYPERVISOR_vm_assist(unsigned int cmd, unsigned int type);
/openbmc/linux/tools/testing/selftests/mm/
H A Dgup_test.c34 switch (cmd) { in cmd_to_str()
57 if ((cmd == PIN_FAST_BENCHMARK) || (cmd == GUP_FAST_BENCHMARK) || in gup_thread()
58 (cmd == PIN_LONGTERM_BENCHMARK)) { in gup_thread()
61 status = ioctl(gup_fd, cmd, &gup); in gup_thread()
76 status = ioctl(gup_fd, cmd, &gup); in gup_thread()
104 cmd = PIN_FAST_BENCHMARK; in main()
107 cmd = PIN_BASIC_TEST; in main()
110 cmd = PIN_LONGTERM_BENCHMARK; in main()
113 cmd = DUMP_USER_PAGES_TEST; in main()
150 cmd = GUP_BASIC_TEST; in main()
[all …]
/openbmc/linux/drivers/crypto/ccp/
H A Dplatform-access.c25 static int check_recovery(u32 __iomem *cmd) in check_recovery() argument
30 static int wait_cmd(u32 __iomem *cmd) in wait_cmd() argument
60 u32 __iomem *cmd, *lo, *hi; in psp_send_platform_access_msg() local
81 if (check_recovery(cmd)) { in psp_send_platform_access_msg()
87 if (wait_cmd(cmd)) { in psp_send_platform_access_msg()
107 iowrite32(cmd_reg, cmd); in psp_send_platform_access_msg()
109 if (wait_cmd(cmd)) { in psp_send_platform_access_msg()
128 cmd_reg = ioread32(cmd); in psp_send_platform_access_msg()
152 u32 __iomem *button, *cmd; in psp_ring_platform_doorbell() local
164 if (wait_cmd(cmd)) { in psp_ring_platform_doorbell()
[all …]
/openbmc/linux/drivers/regulator/
H A Dcros-ec-regulator.c28 struct ec_params_regulator_enable cmd = { in cros_ec_regulator_enable() local
34 sizeof(cmd), NULL, 0); in cros_ec_regulator_enable()
40 struct ec_params_regulator_enable cmd = { in cros_ec_regulator_disable() local
46 sizeof(cmd), NULL, 0); in cros_ec_regulator_disable()
52 struct ec_params_regulator_is_enabled cmd = { in cros_ec_regulator_is_enabled() local
59 sizeof(cmd), &resp, sizeof(resp)); in cros_ec_regulator_is_enabled()
79 struct ec_params_regulator_get_voltage cmd = { in cros_ec_regulator_get_voltage() local
86 sizeof(cmd), &resp, sizeof(resp)); in cros_ec_regulator_get_voltage()
112 sizeof(cmd), NULL, 0); in cros_ec_regulator_set_voltage()
127 struct ec_params_regulator_get_info cmd = { in cros_ec_regulator_init_info() local
[all …]
/openbmc/linux/drivers/infiniband/hw/efa/
H A Defa_com_cmd.c70 cmd.qkey = params->qkey; in efa_com_modify_qp()
77 sizeof(cmd), in efa_com_modify_qp()
84 cmd.qp_handle, cmd.modify_mask, err); in efa_com_modify_qp()
105 sizeof(cmd), in efa_com_query_qp()
658 sizeof(cmd), in efa_com_alloc_pd()
681 cmd.pd = params->pdn; in efa_com_dealloc_pd()
685 sizeof(cmd), in efa_com_dealloc_pd()
710 sizeof(cmd), in efa_com_alloc_uar()
737 sizeof(cmd), in efa_com_dealloc_uar()
773 cmd.type, cmd.scope, cmd.scope_modifier, err); in efa_com_get_stats()
[all …]
/openbmc/u-boot/test/py/tests/
H A Dtest_ums.py139 u_boot_console.run_command(cmd, wait_for_prompt=False)
157 cmd = ('/bin/mount', host_ums_part_node)
158 u_boot_utils.run_and_log(u_boot_console, cmd)
174 cmd = ('/bin/umount', host_ums_part_node)
175 u_boot_utils.run_and_log(u_boot_console, cmd, ignore_errors)
208 cmd = ('rm', '-f', mounted_test_fn)
209 u_boot_utils.run_and_log(u_boot_console, cmd)
212 cmd = ('cp', test_f.abs_fn, mounted_test_fn)
213 u_boot_utils.run_and_log(u_boot_console, cmd)
227 cmd = ('rm', '-f', mounted_test_fn)
[all …]
/openbmc/qemu/hw/audio/
H A Dvirtio-snd.c143 g_free(cmd->elem); in virtio_snd_ctrl_cmd_free()
144 g_free(cmd); in virtio_snd_ctrl_cmd_free()
210 if (iov_size(cmd->elem->in_sg, cmd->elem->in_num) < in virtio_snd_handle_pcm_info()
216 iov_size(cmd->elem->in_sg, cmd->elem->in_num), in virtio_snd_handle_pcm_info()
248 iov_from_buf(cmd->elem->in_sg, in virtio_snd_handle_pcm_info()
749 &cmd->resp, in process_cmd()
751 virtqueue_push(cmd->vq, cmd->elem, in process_cmd()
763 virtio_snd_ctrl_command *cmd; in virtio_snd_process_cmdq() local
775 process_cmd(s, cmd); in virtio_snd_process_cmdq()
808 cmd->elem = elem; in virtio_snd_handle_ctrl()
[all …]
/openbmc/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_sriov_common.c321 cmd.hdr = hdr; in qlcnic_sriov_post_bc_msg()
322 cmd.pay = pay; in qlcnic_sriov_post_bc_msg()
332 __func__, cmd.cmd_op, cmd.type, ahw->pci_func, in qlcnic_sriov_post_bc_msg()
340 __func__, cmd.cmd_op, cmd.type, ahw->pci_func, in qlcnic_sriov_post_bc_msg()
473 memset(&cmd, 0, sizeof(cmd)); in qlcnic_sriov_get_vf_acl()
1450 kfree(cmd); in __qlcnic_sriov_issue_cmd()
1472 memset(&cmd, 0, sizeof(cmd)); in qlcnic_sriov_channel_cfg_cmd()
1615 cmd = entry->cmd; in qlcnic_sriov_handle_async_issue_cmd()
1636 entry->cmd = cmd; in qlcnic_sriov_alloc_async_cmd()
1653 kfree(cmd); in qlcnic_sriov_schedule_async_cmd()
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D05572 self.vm.cmd(cmd, device='drive0', target=target, sync='full')
87 self.vm.cmd(cmd, device='drive0',
217 self.vm.cmd(cmd, device='drive0', target=target, sync='full')
236 self.vm.cmd(cmd, device='drive0',
262 self.vm.cmd(cmd, device='drive0',
301 'type': cmd,
322 'type': cmd,
362 'type': cmd,
508 self.vm.cmd(cmd, device='drive0', sync='full', compress=True, **args)
533 self.vm.cmd(cmd, device='drive0', sync='full', compress=True, **args)
[all …]
/openbmc/linux/net/nfc/hci/
H A Dhcp.c28 struct hci_msg *cmd; in nfc_hci_hcp_message_tx() local
33 cmd = kzalloc(sizeof(struct hci_msg), GFP_KERNEL); in nfc_hci_hcp_message_tx()
34 if (cmd == NULL) in nfc_hci_hcp_message_tx()
37 INIT_LIST_HEAD(&cmd->msg_l); in nfc_hci_hcp_message_tx()
38 skb_queue_head_init(&cmd->msg_frags); in nfc_hci_hcp_message_tx()
40 cmd->cb = cb; in nfc_hci_hcp_message_tx()
41 cmd->cb_context = cb_context; in nfc_hci_hcp_message_tx()
42 cmd->completion_delay = completion_delay; in nfc_hci_hcp_message_tx()
88 skb_queue_tail(&cmd->msg_frags, skb); in nfc_hci_hcp_message_tx()
107 skb_queue_purge(&cmd->msg_frags); in nfc_hci_hcp_message_tx()
[all …]

1...<<11121314151617181920>>...273