Home
last modified time | relevance | path

Searched refs:cmd (Results 801 – 825 of 6808) sorted by relevance

1...<<31323334353637383940>>...273

/openbmc/linux/drivers/comedi/drivers/
H A Daddi_apci_1032.c191 struct comedi_cmd *cmd) in apci1032_cos_cmdtest() argument
197 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW); in apci1032_cos_cmdtest()
198 err |= comedi_check_trigger_src(&cmd->scan_begin_src, TRIG_EXT); in apci1032_cos_cmdtest()
199 err |= comedi_check_trigger_src(&cmd->convert_src, TRIG_FOLLOW); in apci1032_cos_cmdtest()
201 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_NONE); in apci1032_cos_cmdtest()
211 err |= comedi_check_trigger_arg_is(&cmd->start_arg, 0); in apci1032_cos_cmdtest()
212 err |= comedi_check_trigger_arg_is(&cmd->scan_begin_arg, 0); in apci1032_cos_cmdtest()
213 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, 0); in apci1032_cos_cmdtest()
214 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in apci1032_cos_cmdtest()
215 cmd->chanlist_len); in apci1032_cos_cmdtest()
[all …]
/openbmc/linux/drivers/leds/
H A Dleds-el15203000.c91 u8 cmd[2]; in el15203000_cmd() local
108 cmd[0] = led->reg; in el15203000_cmd()
109 cmd[1] = brightness; in el15203000_cmd()
111 for (i = 0; i < ARRAY_SIZE(cmd); i++) { in el15203000_cmd()
116 ret = spi_write(led->priv->spi, &cmd[i], sizeof(cmd[i])); in el15203000_cmd()
195 u8 cmd; in el15203000_pattern_set_P() local
204 cmd = EL_PIPE_CASCADE; in el15203000_pattern_set_P()
209 cmd = EL_PIPE_INV_CASCADE; in el15203000_pattern_set_P()
214 cmd = EL_PIPE_BOUNCE; in el15203000_pattern_set_P()
219 cmd = EL_PIPE_INV_BOUNCE; in el15203000_pattern_set_P()
[all …]
/openbmc/openbmc-test-automation/lib/
H A Ddmtf_redfishtool_utils.robot25 ${cmd}= Catenate ${cmd_args} GET ${uri}
26 Log ${cmd}
27 ${rc} ${cmd_output}= Run and Return RC and Output ${cmd}
44 ${cmd}= Catenate ${cmd_args} PATCH ${uri} --data=${payload}
45 Log ${cmd}
46 ${rc} ${cmd_output}= Run and Return RC and Output ${cmd}
65 Log ${cmd}
66 ${rc} ${cmd_output}= Run and Return RC and Output ${cmd}
82 ${cmd}= Catenate ${cmd_args} DELETE ${uri}
83 Log ${cmd}
[all …]
/openbmc/linux/drivers/ata/
H A Dlibata-scsi.c662 switch (cmd) { in ata_sas_scsi_ioctl()
781 scsi_done(cmd); in ata_scsi_qc_new()
1699 done(cmd); in ata_qc_done()
1778 ata_sg_init(qc, scsi_sglist(cmd), scsi_sg_count(cmd)); in ata_scsi_translate()
1800 scsi_done(cmd); in ata_scsi_translate()
1806 scsi_done(cmd); in ata_scsi_translate()
1843 struct scsi_cmnd *cmd = args->cmd; in ata_scsi_rbuf_fill() local
1851 sg_copy_from_buffer(scsi_sglist(cmd), scsi_sg_count(cmd), in ata_scsi_rbuf_fill()
2692 if (cmd->cmnd[0] == INQUIRY && (cmd->cmnd[1] & 0x03) == 0) in atapi_qc_complete()
4129 switch (cmd) { in ata_get_xlat_func()
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/utils/
H A Dnfs.py22 cmd = None
33cmd = Command(["unfsd", "-d", "-p", "-e", exports.name, "-n", str(nfsport), "-m", str(mountport)],
35 cmd.run()
38 if cmd is not None:
39 cmd.stop()
H A Dgitarchive.py111 cmd = base_cmd.copy()
114 cmd.append('origin')
116 cmd.append("refs/tags/"+pattern)
118 tags_refs = repo.run_cmd(cmd)
124 cmd = base_cmd.copy()
125 cmd.append(url)
127 cmd.append(pattern)
132 cmd = ["tag"]
134 cmd += ["-l", pattern]
195 cmd = ['push', '--tags']
[all …]
/openbmc/ipmitool/src/plugins/serial/
H A Dserial_terminal.c79 unsigned char cmd; member
101 unsigned char cmd; member
111 unsigned char cmd; member
121 uint8_t cmd; member
530 inner_rq->msg.cmd = req->msg.cmd; in serial_term_build_msg()
550 ctx[1].cmd = outer_rq->msg.cmd; in serial_term_build_msg()
558 term_hdr->cmd = req->msg.cmd; in serial_term_build_msg()
567 ctx[0].cmd = term_hdr->cmd; in serial_term_build_msg()
685 && hdr->cmd == req_ctx->cmd) { in serial_term_wait_response()
739 hdr.cmd = tmp_ctx.cmd; in serial_term_get_message()
[all …]
/openbmc/linux/drivers/hid/
H A Dhid-mcp2200.c42 u8 cmd; member
51 u8 cmd; member
64 u8 cmd; member
70 u8 cmd; member
112 read_all->cmd = READ_ALL; in mcp_cmd_read_all()
136 struct mcp_set_clear_outputs *cmd; in mcp_set_multiple() local
144 cmd->cmd = SET_CLEAR_OUTPUTS; in mcp_set_multiple()
145 cmd->set_bmap = value; in mcp_set_multiple()
146 cmd->clear_bmap = ~(value); in mcp_set_multiple()
148 status = hid_hw_output_report(mcp->hdev, (u8 *) cmd, in mcp_set_multiple()
[all …]
/openbmc/u-boot/test/py/
H A Du_boot_utils.py156 def run_and_log(u_boot_console, cmd, ignore_errors=False): argument
172 if isinstance(cmd, str):
173 cmd = cmd.split()
174 runner = u_boot_console.log.get_runner(cmd[0], sys.stdout)
175 output = runner.run(cmd, ignore_errors=ignore_errors)
179 def run_and_log_expect_exception(u_boot_console, cmd, retcode, msg): argument
192 runner = u_boot_console.log.get_runner(cmd[0], sys.stdout)
193 runner.run(cmd)
/openbmc/u-boot/tools/
H A Dublimage.c72 static void parse_cfg_cmd(struct ubl_header *ublhdr, int32_t cmd, char *token, in parse_cfg_cmd() argument
77 switch (cmd) { in parse_cfg_cmd()
108 static void parse_cfg_fld(struct ubl_header *ublhdr, int32_t *cmd, in parse_cfg_fld() argument
114 *cmd = get_table_entry_id(ublimage_cmds, in parse_cfg_fld()
116 if (*cmd < 0) { in parse_cfg_fld()
123 parse_cfg_cmd(ublhdr, *cmd, token, name, lineno, fld, *dcd_len); in parse_cfg_fld()
140 int32_t cmd; in parse_cfg_file() local
167 for (fld = CFG_COMMAND, cmd = CMD_INVALID, in parse_cfg_file()
177 parse_cfg_fld(ublhdr, &cmd, token, name, in parse_cfg_file()
/openbmc/u-boot/test/py/tests/
H A Dtest_dfu.py160 cmd = 'setenv "%s" "%s"' % (dfu_alt_info_env,
162 u_boot_console.run_command(cmd)
164 cmd = 'dfu 0 ' + env__dfu_config['cmd_params']
165 u_boot_console.run_command(cmd, wait_for_prompt=False)
213 cmd = ['dfu-util', '-a', alt_setting, up_dn_load_arg, fn]
215 cmd += ['-p', env__usb_dev_port['host_usb_port_path']]
216 u_boot_utils.run_and_log(u_boot_console, cmd)
/openbmc/linux/drivers/net/wireless/marvell/libertas/
H A Dethtool.c42 struct cmd_ds_802_11_eeprom_access cmd; in lbs_ethtool_get_eeprom() local
49 cmd.hdr.size = cpu_to_le16(sizeof(struct cmd_ds_802_11_eeprom_access) - in lbs_ethtool_get_eeprom()
51 cmd.action = cpu_to_le16(CMD_ACT_GET); in lbs_ethtool_get_eeprom()
52 cmd.offset = cpu_to_le16(eeprom->offset); in lbs_ethtool_get_eeprom()
53 cmd.len = cpu_to_le16(eeprom->len); in lbs_ethtool_get_eeprom()
54 ret = lbs_cmd_with_response(priv, CMD_802_11_EEPROM_ACCESS, &cmd); in lbs_ethtool_get_eeprom()
56 memcpy(bytes, cmd.value, eeprom->len); in lbs_ethtool_get_eeprom()
/openbmc/linux/sound/drivers/vx/
H A Dvx_cmd.c87 void vx_init_rmh(struct vx_rmh *rmh, unsigned int cmd) in vx_init_rmh() argument
89 if (snd_BUG_ON(cmd >= CMD_LAST_INDEX)) in vx_init_rmh()
91 rmh->LgCmd = vx_dsp_cmds[cmd].length; in vx_init_rmh()
92 rmh->LgStat = vx_dsp_cmds[cmd].st_length; in vx_init_rmh()
93 rmh->DspStat = vx_dsp_cmds[cmd].st_type; in vx_init_rmh()
94 rmh->Cmd[0] = vx_dsp_cmds[cmd].opcode; in vx_init_rmh()
/openbmc/openbmc/meta-openembedded/meta-filesystems/recipes-filesystems/zfs/zfs/
H A D0001-fs-tests-cmd-readmmap-Replace-uint_t-with-uint32_t.patch4 Subject: [PATCH] fs-tests/cmd/readmmap: Replace uint_t with uint32_t
11 tests/zfs-tests/cmd/readmmap.c | 5 +++--
14 diff --git a/tests/zfs-tests/cmd/readmmap.c b/tests/zfs-tests/cmd/readmmap.c
16 --- a/tests/zfs-tests/cmd/readmmap.c
17 +++ b/tests/zfs-tests/cmd/readmmap.c
/openbmc/linux/drivers/crypto/
H A Datmel-i2c.h167 struct atmel_i2c_cmd cmd; member
178 int atmel_i2c_send_receive(struct i2c_client *client, struct atmel_i2c_cmd *cmd);
180 void atmel_i2c_init_read_cmd(struct atmel_i2c_cmd *cmd);
181 void atmel_i2c_init_random_cmd(struct atmel_i2c_cmd *cmd);
182 void atmel_i2c_init_genkey_cmd(struct atmel_i2c_cmd *cmd, u16 keyid);
183 int atmel_i2c_init_ecdh_cmd(struct atmel_i2c_cmd *cmd,
/openbmc/linux/arch/s390/kernel/
H A Dcpcmd.c64 int __cpcmd(const char *cmd, char *response, int rlen, int *response_code) in __cpcmd() argument
70 cmdlen = strlen(cmd); in __cpcmd()
72 memcpy(cpcmd_buf, cmd, cmdlen); in __cpcmd()
90 int cpcmd(const char *cmd, char *response, int rlen, int *response_code) in cpcmd() argument
103 len = __cpcmd(cmd, lowbuf, rlen, response_code); in cpcmd()
109 len = __cpcmd(cmd, response, rlen, response_code); in cpcmd()
/openbmc/linux/drivers/nvme/target/
H A Dzns.c173 if (req->cmd->zmr.zra != NVME_ZRA_ZONE_REPORT) { in nvmet_bdev_validate_zone_mgmt_recv()
178 switch (req->cmd->zmr.pr) { in nvmet_bdev_validate_zone_mgmt_recv()
187 switch (req->cmd->zmr.zrasf) { in nvmet_bdev_validate_zone_mgmt_recv()
284 .zrasf = req->cmd->zmr.zrasf, in nvmet_bdev_zone_zmgmt_recv_work()
309 if (req->cmd->zmr.pr) in nvmet_bdev_zone_zmgmt_recv_work()
363 switch (zsa_req_op(data->req->cmd->zms.zsa)) { in zmgmt_send_scan_cb()
432 zsa_req_op(req->cmd->zms.zsa) | REQ_SYNC, in nvmet_bdev_zone_mgmt_emulate_all()
456 switch (zsa_req_op(req->cmd->zms.zsa)) { in nvmet_bdev_execute_zmgmt_send_all()
494 if (req->cmd->zms.select_all) { in nvmet_bdev_zmgmt_send_work()
613 struct nvme_command *cmd = req->cmd; in nvmet_bdev_zns_parse_io_cmd() local
[all …]
H A DMakefile12 nvmet-y += core.o configfs.o admin-cmd.o fabrics-cmd.o \
13 discovery.o io-cmd-file.o io-cmd-bdev.o
16 nvmet-$(CONFIG_NVME_TARGET_AUTH) += fabrics-cmd-auth.o auth.o
/openbmc/qemu/include/qapi/qmp/
H A Ddispatch.h53 bool qmp_command_is_enabled(const QmpCommand *cmd);
54 bool qmp_command_available(const QmpCommand *cmd, Error **errp);
55 const char *qmp_command_name(const QmpCommand *cmd);
56 bool qmp_has_success_response(const QmpCommand *cmd);
62 typedef void (*qmp_cmd_callback_fn)(const QmpCommand *cmd, void *opaque);
/openbmc/linux/include/drm/
H A Ddrm_ioctl.h67 typedef int drm_ioctl_compat_t(struct file *filp, unsigned int cmd,
146 unsigned int cmd; member
164 .cmd = DRM_IOCTL_##ioctl, \
170 long drm_ioctl(struct file *filp, unsigned int cmd, unsigned long arg);
173 long drm_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg);
/openbmc/ipmitool/lib/
H A Dipmi_firewall.c232 req.msg.cmd = BMC_GET_NETFN_SUPPORT; in _get_netfn_support()
612 if (!p || !cmd) { in _get_subfn_support()
638 memcpy(cmd->subfn_support, rsp->data, sizeof(cmd->subfn_support)); in _get_subfn_support()
659 if (!p || !cmd) { in _get_subfn_configurable()
685 memcpy(cmd->subfn_config, rsp->data, sizeof(cmd->subfn_config)); in _get_subfn_configurable()
706 if (!p || !cmd) { in _get_subfn_enables()
732 memcpy(cmd->subfn_enable, rsp->data, sizeof(cmd->subfn_enable)); in _get_subfn_enables()
756 if (!p || !cmd) { in _set_subfn_enables()
773 (~cmd->subfn_config[c] & cmd->subfn_enable[c]); in _set_subfn_enables()
932 cmd = in ipmi_firewall_info()
[all …]
/openbmc/linux/scripts/
H A Dget_maintainer.pl1545 my ($cmd) = @_;
1548 my $output = `$cmd`;
1556 my ($cmd) = @_;
1624 my ($cmd) = @_;
1652 my ($cmd) = @_;
1669 my $cmd;
1751 my $cmd;
2298 my $cmd;
2316 my $cmd;
2339 my $cmd;
[all …]
/openbmc/linux/drivers/mmc/host/
H A Dusdhi6rol0.c560 mrq->cmd->opcode); in usdhi6_dma_complete()
914 if (mrq->cmd->error || in usdhi6_request_done()
920 mrq->cmd->error, in usdhi6_request_done()
935 struct mmc_command *cmd = mrq->cmd; in usdhi6_cmd_flags() local
936 u16 opc = cmd->opcode; in usdhi6_cmd_flags()
988 struct mmc_command *cmd = mrq->cmd; in usdhi6_rq_start() local
1218 struct mmc_command *cmd = host->mrq->cmd; in usdhi6_resp_read() local
1370 struct mmc_command *cmd = mrq->cmd; in usdhi6_end_cmd() local
1482 cmd = mrq->cmd; in usdhi6_sd_bh()
1534 cmd->error = -EFAULT; in usdhi6_sd_bh()
[all …]
/openbmc/u-boot/drivers/i2c/
H A Dast2600_i2c.c117 u32 cmd, isr; in ast2600_i2c_read_data() local
123 cmd |= AST2600_I2CM_START_CMD; in ast2600_i2c_read_data()
126 cmd |= AST2600_I2CM_RX_CMD_LAST; in ast2600_i2c_read_data()
129 cmd |= AST2600_I2CM_STOP_CMD; in ast2600_i2c_read_data()
131 writel(cmd, &priv->regs->cmd_sts); in ast2600_i2c_read_data()
155 u32 cmd, isr; in ast2600_i2c_write_data() local
160 writel(cmd, &priv->regs->cmd_sts); in ast2600_i2c_write_data()
174 cmd |= AST2600_I2CM_TX_CMD; in ast2600_i2c_write_data()
177 cmd |= AST2600_I2CM_START_CMD; in ast2600_i2c_write_data()
180 cmd |= AST2600_I2CM_STOP_CMD; in ast2600_i2c_write_data()
[all …]
/openbmc/linux/drivers/target/iscsi/cxgbit/
H A Dcxgbit_ddp.c83 req->cmd = htonl(ULPTX_CMD_V(ULP_TX_MEM_WRITE) | in cxgbit_ppod_init_idata()
230 cxgbit_get_r2t_ttt(struct iscsit_conn *conn, struct iscsit_cmd *cmd, in cxgbit_get_r2t_ttt() argument
235 struct cxgbit_cmd *ccmd = iscsit_priv_cmd(cmd); in cxgbit_get_r2t_ttt()
245 ttinfo->sgl = cmd->se_cmd.t_data_sg; in cxgbit_get_r2t_ttt()
246 ttinfo->nents = cmd->se_cmd.t_data_nents; in cxgbit_get_r2t_ttt()
248 ret = cxgbit_ddp_reserve(csk, ttinfo, cmd->se_cmd.data_length); in cxgbit_get_r2t_ttt()
251 csk, cmd, cmd->se_cmd.data_length, ttinfo->nents); in cxgbit_get_r2t_ttt()
259 pr_debug("cdev 0x%p, cmd 0x%p, tag 0x%x\n", cdev, cmd, ttinfo->tag); in cxgbit_get_r2t_ttt()
265 struct cxgbit_cmd *ccmd = iscsit_priv_cmd(cmd); in cxgbit_unmap_cmd()
280 if (unlikely(cmd->write_data_done != in cxgbit_unmap_cmd()
[all …]

1...<<31323334353637383940>>...273