Home
last modified time | relevance | path

Searched refs:cmd (Results 951 – 975 of 6808) sorted by relevance

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

/openbmc/u-boot/test/py/tests/
H A Dtest_shell_basics.py19 cmd = 'echo hello; echo world'
20 response = u_boot_console.run_command(cmd)
28 cmd = 'setenv list 1; setenv list ${list}2; setenv list ${list}3; ' + \
30 response = u_boot_console.run_command(cmd)
/openbmc/linux/net/bpfilter/
H A Dmain.c15 static int handle_get_cmd(struct mbox_request *cmd) in handle_get_cmd() argument
17 switch (cmd->cmd) { in handle_get_cmd()
26 static int handle_set_cmd(struct mbox_request *cmd) in handle_set_cmd() argument
/openbmc/linux/fs/nilfs2/
H A Dioctl.c188 unsigned int cmd, void __user *argp) in nilfs_ioctl_change_cpmode() argument
243 unsigned int cmd, void __user *argp) in nilfs_ioctl_delete_checkpoint() argument
322 unsigned int cmd, void __user *argp) in nilfs_ioctl_get_cpstat() argument
389 unsigned int cmd, void __user *argp) in nilfs_ioctl_get_sustat() argument
498 unsigned int cmd, void __user *argp) in nilfs_ioctl_get_bdescs() argument
983 unsigned int cmd, void __user *argp) in nilfs_ioctl_sync() argument
1156 unsigned int cmd, void __user *argp, in nilfs_ioctl_get_info() argument
1207 unsigned int cmd, void __user *argp) in nilfs_ioctl_set_suinfo() argument
1276 switch (cmd) { in nilfs_ioctl()
1321 switch (cmd) { in nilfs_compat_ioctl()
[all …]
/openbmc/linux/drivers/net/phy/
H A Dphy.c296 cmd->base.speed = phydev->speed; in phy_ethtool_ksettings_get()
297 cmd->base.duplex = phydev->duplex; in phy_ethtool_ksettings_get()
302 cmd->base.port = PORT_BNC; in phy_ethtool_ksettings_get()
304 cmd->base.port = phydev->port; in phy_ethtool_ksettings_get()
308 cmd->base.autoneg = phydev->autoneg; in phy_ethtool_ksettings_get()
310 cmd->base.eth_tp_mdix = phydev->mdix; in phy_ethtool_ksettings_get()
332 switch (cmd) { in phy_mii_ioctl()
454 return phy_do_ioctl(dev, ifr, cmd); in phy_do_ioctl_running()
1047 u8 autoneg = cmd->base.autoneg; in phy_ethtool_ksettings_set()
1048 u8 duplex = cmd->base.duplex; in phy_ethtool_ksettings_set()
[all …]
/openbmc/u-boot/include/fsl-mc/
H A Dfsl_dpbp.h33 #define DPBP_CMD_OPEN(cmd, dpbp_id) \ argument
34 MC_CMD_OP(cmd, 0, 0, 32, int, dpbp_id)
37 #define DPBP_RSP_GET_ATTRIBUTES(cmd, attr) \ argument
39 MC_RSP_OP(cmd, 0, 16, 16, uint16_t, attr->bpid); \
40 MC_RSP_OP(cmd, 0, 32, 32, int, attr->id);\
/openbmc/linux/include/linux/
H A Dreboot.h51 extern void do_kernel_restart(char *cmd);
58 extern void machine_restart(char *cmd);
136 const char *cmd; member
167 extern void kernel_restart_prepare(char *cmd);
168 extern void kernel_restart(char *cmd);
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dnetcnt.c22 char cmd[128]; in serial_test_netcnt() local
42 snprintf(cmd, sizeof(cmd), "%s ::1 -A -c 10000 -q > /dev/null", ping_command(AF_INET6)); in serial_test_netcnt()
43 ASSERT_OK(system(cmd), cmd); in serial_test_netcnt()
H A Dbpf_nf.c59 char cmd[128]; in test_bpf_nf_ct() local
71 snprintf(cmd, sizeof(cmd), iptables, "-A"); in test_bpf_nf_ct()
72 if (!ASSERT_OK(system(cmd), cmd)) in test_bpf_nf_ct()
133 snprintf(cmd, sizeof(cmd), iptables, "-D"); in test_bpf_nf_ct()
134 system(cmd); in test_bpf_nf_ct()
/openbmc/u-boot/test/image/
H A Dtest-imagetools.sh69 local cmd="$@"
71 echo "# ${cmd}"
72 ${cmd} 2>&1
83 local cmd="$@"
85 echo "# ${cmd}"
86 ${cmd} >${redir}
/openbmc/openbmc/poky/bitbake/lib/bb/fetch2/
H A Dssh.py108 cmd = 'scp -B -r %s %s %s/' % (
114 check_network_access(d, cmd, urldata.url)
116 runfetchcmd(cmd, d)
146 cmd = 'ssh -o BatchMode=true %s %s [ -f %s ]' % (
152 check_network_access(d, cmd, urldata.url)
153 runfetchcmd(cmd, d)
/openbmc/openpower-proc-control/extensions/phal/
H A Dfw_update_watch.cpp147 std::string cmd("/usr/bin/attributes "); in exportDevtree() local
148 cmd += "export "; in exportDevtree()
149 cmd += DEVTREE_EXPORT_FILTER_FILE; in exportDevtree()
150 cmd += " > "; in exportDevtree()
151 cmd += DEVTREE_EXP_FILE; in exportDevtree()
152 execl("/bin/sh", "sh", "-c", cmd.c_str(), 0); in exportDevtree()
/openbmc/qemu/scripts/simplebench/
H A Dbench_block_job.py33 def bench_block_job(cmd, cmd_args, qemu_args): argument
56 res = vm.qmp(cmd, **cmd_args)
59 return {'error': '"{}" command failed: {}'.format(cmd, str(res))}
97 def bench_block_copy(qemu_binary, cmd, cmd_options, source, target): argument
99 assert cmd in ('blockdev-backup', 'blockdev-mirror')
121 return bench_block_job(cmd, cmd_options,
/openbmc/linux/drivers/remoteproc/
H A Dremoteproc_cdev.c25 char cmd[10]; in rproc_cdev_write() local
27 if (!len || len > sizeof(cmd)) in rproc_cdev_write()
30 ret = copy_from_user(cmd, buf, len); in rproc_cdev_write()
34 if (!strncmp(cmd, "start", len)) { in rproc_cdev_write()
36 } else if (!strncmp(cmd, "stop", len)) { in rproc_cdev_write()
38 } else if (!strncmp(cmd, "detach", len)) { in rproc_cdev_write()
/openbmc/u-boot/drivers/power/
H A Dpower_core.c126 char *cmd, *name; in do_pmic() local
142 cmd = argv[2]; in do_pmic()
144 debug("%s: name: %s cmd: %s\n", __func__, name, cmd); in do_pmic()
149 if (strcmp(cmd, "dump") == 0) { in do_pmic()
155 if (strcmp(cmd, "read") == 0) { in do_pmic()
170 if (strcmp(cmd, "write") == 0) { in do_pmic()
181 if (strcmp(cmd, "bat") == 0) { in do_pmic()
/openbmc/linux/include/drm/
H A Ddrm_mipi_dbi.h33 int (*command)(struct mipi_dbi *dbi, u8 *cmd, u8 *param, size_t num);
190 int mipi_dbi_command_read(struct mipi_dbi *dbi, u8 cmd, u8 *val);
191 int mipi_dbi_command_buf(struct mipi_dbi *dbi, u8 cmd, u8 *data, size_t len);
192 int mipi_dbi_command_stackbuf(struct mipi_dbi *dbi, u8 cmd, const u8 *data,
209 #define mipi_dbi_command(dbi, cmd, seq...) \ argument
214 ret = mipi_dbi_command_stackbuf(dbi, cmd, d, ARRAY_SIZE(d)); \
216 dev_err_ratelimited(dev, "error %d when sending command %#02x\n", ret, cmd); \
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_nic.c1099 struct ethtool_link_ksettings *cmd) in aq_nic_get_link_ksettings() argument
1104 cmd->base.port = PORT_FIBRE; in aq_nic_get_link_ksettings()
1106 cmd->base.port = PORT_TP; in aq_nic_get_link_ksettings()
1108 cmd->base.duplex = DUPLEX_UNKNOWN; in aq_nic_get_link_ksettings()
1110 cmd->base.duplex = self->link_status.full_duplex ? in aq_nic_get_link_ksettings()
1112 cmd->base.autoneg = self->aq_nic_cfg.is_autoneg; in aq_nic_get_link_ksettings()
1117 ethtool_link_ksettings_add_link_mode(cmd, supported, in aq_nic_get_link_ksettings()
1271 const struct ethtool_link_ksettings *cmd) in aq_nic_set_link_ksettings() argument
1273 int fduplex = (cmd->base.duplex == DUPLEX_FULL); in aq_nic_set_link_ksettings()
1274 u32 speed = cmd->base.speed; in aq_nic_set_link_ksettings()
[all …]
/openbmc/linux/net/bluetooth/cmtp/
H A Dsock.c66 static int do_cmtp_sock_ioctl(struct socket *sock, unsigned int cmd, void __user *argp) in do_cmtp_sock_ioctl() argument
75 BT_DBG("cmd %x arg %p", cmd, argp); in do_cmtp_sock_ioctl()
77 switch (cmd) { in do_cmtp_sock_ioctl()
139 static int cmtp_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in cmtp_sock_ioctl() argument
141 return do_cmtp_sock_ioctl(sock, cmd, (void __user *)arg); in cmtp_sock_ioctl()
145 static int cmtp_sock_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in cmtp_sock_compat_ioctl() argument
148 if (cmd == CMTPGETCONNLIST) { in cmtp_sock_compat_ioctl()
170 return do_cmtp_sock_ioctl(sock, cmd, argp); in cmtp_sock_compat_ioctl()
/openbmc/linux/net/bluetooth/bnep/
H A Dsock.c53 static int do_bnep_sock_ioctl(struct socket *sock, unsigned int cmd, void __user *argp) in do_bnep_sock_ioctl() argument
63 BT_DBG("cmd %x arg %p", cmd, argp); in do_bnep_sock_ioctl()
65 switch (cmd) { in do_bnep_sock_ioctl()
137 static int bnep_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in bnep_sock_ioctl() argument
139 return do_bnep_sock_ioctl(sock, cmd, (void __user *)arg); in bnep_sock_ioctl()
143 static int bnep_sock_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in bnep_sock_compat_ioctl() argument
146 if (cmd == BNEPGETCONNLIST) { in bnep_sock_compat_ioctl()
168 return do_bnep_sock_ioctl(sock, cmd, argp); in bnep_sock_compat_ioctl()
/openbmc/linux/drivers/net/ethernet/amd/pds_core/
H A Dfw.c20 union pds_core_dev_cmd cmd = { in pdsc_devcmd_fw_download_locked() local
28 return pdsc_devcmd_locked(pdsc, &cmd, &comp, pdsc->devcmd_timeout); in pdsc_devcmd_fw_download_locked()
33 union pds_core_dev_cmd cmd = { in pdsc_devcmd_fw_install() local
40 err = pdsc_devcmd(pdsc, &cmd, &comp, pdsc->devcmd_timeout); in pdsc_devcmd_fw_install()
50 union pds_core_dev_cmd cmd = { in pdsc_devcmd_fw_activate() local
57 return pdsc_devcmd(pdsc, &cmd, &comp, pdsc->devcmd_timeout); in pdsc_devcmd_fw_activate()
66 union pds_core_dev_cmd cmd = { in pdsc_fw_status_long_wait() local
82 err = pdsc_devcmd(pdsc, &cmd, &comp, pdsc->devcmd_timeout); in pdsc_fw_status_long_wait()
/openbmc/linux/tools/perf/
H A Dperf-completion.sh129 cmds_=$($cmd $1 --list-cmds)
147 local cmd
149 cmd=${words[0]}
157 cmds=$($cmd --list-opts)
159 cmds=$($cmd --list-cmds)
167 local raw_evts=$($cmd list --raw-dump)
205 subcmds=$($cmd $prev_skip_opts --list-cmds)
213 opts=$($cmd $subcmd --list-opts)
/openbmc/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_fw.c28 union ionic_dev_cmd cmd = { in ionic_dev_cmd_firmware_download() local
35 ionic_dev_cmd_go(idev, &cmd); in ionic_dev_cmd_firmware_download()
40 union ionic_dev_cmd cmd = { in ionic_dev_cmd_firmware_install() local
45 ionic_dev_cmd_go(idev, &cmd); in ionic_dev_cmd_firmware_install()
50 union ionic_dev_cmd cmd = { in ionic_dev_cmd_firmware_activate() local
56 ionic_dev_cmd_go(idev, &cmd); in ionic_dev_cmd_firmware_activate()
65 union ionic_dev_cmd cmd = { in ionic_fw_status_long_wait() local
77 ionic_dev_cmd_go(&ionic->idev, &cmd); in ionic_fw_status_long_wait()
/openbmc/qemu/tests/qemu-iotests/tests/
H A Dluks-detached-header282 cmd = 'qemu-io luks-2-payload-raw-format "write -P 41 0 64k"'
285 command_line=cmd
289 cmd = 'qemu-io luks-2-payload-raw-format "read -P 41 0 64k"'
292 command_line=cmd
297 cmd = 'qemu-io luks-3-payload-qcow2-format "write -P 42 0 64k"'
300 command_line=cmd
304 cmd = 'qemu-io luks-3-payload-qcow2-format "read -P 42 0 64k"'
307 command_line=cmd
/openbmc/linux/drivers/s390/net/
H A Dqeth_l3_main.c320 struct qeth_ipa_cmd *cmd; in qeth_l3_send_setdelmc() local
328 cmd = __ipa_cmd(iob); in qeth_l3_send_setdelmc()
371 struct qeth_ipa_cmd *cmd; in qeth_l3_send_setdelip() local
380 cmd = __ipa_cmd(iob); in qeth_l3_send_setdelip()
403 struct qeth_ipa_cmd *cmd; in qeth_l3_send_setrouting() local
411 cmd = __ipa_cmd(iob); in qeth_l3_send_setrouting()
915 if (cmd->hdr.return_code) in qeth_l3_iqd_read_initial_mac_cb()
1045 cmd = __ipa_cmd(iob); in qeth_diags_trace()
1319 cmd->hdr.return_code = cmd->data.setassparms.hdr.return_code; in qeth_l3_arp_query_cb()
1391 cmd = __ipa_cmd(iob); in qeth_l3_query_arp_cache_info()
[all …]
/openbmc/linux/tools/perf/trace/beauty/
H A Dioctl.c126 static size_t ioctl__scnprintf_cmd(unsigned long cmd, char *bf, size_t size, bool show_prefix) in ioctl__scnprintf_cmd() argument
129 int dir = _IOC_DIR(cmd), in ioctl__scnprintf_cmd()
130 type = _IOC_TYPE(cmd), in ioctl__scnprintf_cmd()
131 nr = _IOC_NR(cmd), in ioctl__scnprintf_cmd()
132 sz = _IOC_SIZE(cmd); in ioctl__scnprintf_cmd()
177 unsigned long cmd = arg->val; in syscall_arg__scnprintf_ioctl_cmd() local
183 return ioctl__scnprintf_usbdevfs_cmd(_IOC_NR(cmd), _IOC_DIR(cmd), bf, size); in syscall_arg__scnprintf_ioctl_cmd()
186 return ioctl__scnprintf_cmd(cmd, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_ioctl_cmd()
/openbmc/linux/drivers/nvme/host/
H A Dtrace.h48 TP_PROTO(struct request *req, struct nvme_command *cmd),
49 TP_ARGS(req, cmd),
65 __entry->opcode = cmd->common.opcode;
66 __entry->flags = cmd->common.flags;
67 __entry->cid = cmd->common.command_id;
68 __entry->nsid = le32_to_cpu(cmd->common.nsid);
70 __entry->fctype = cmd->fabrics.fctype;
72 memcpy(__entry->cdw10, &cmd->common.cdws,
101 __entry->cid = nvme_req(req)->cmd->common.command_id;

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