Home
last modified time | relevance | path

Searched refs:cmd (Results 601 – 625 of 6808) sorted by relevance

1...<<21222324252627282930>>...273

/openbmc/linux/drivers/iio/pressure/
H A Dicp10100.c48 __be16 cmd; member
55 .cmd = cpu_to_be16(0x805D),
62 .cmd = cpu_to_be16(0xEFC8),
68 .cmd = cpu_to_be16(0xC7F7),
75 .cmd = cpu_to_be16(0x401A),
81 .cmd = cpu_to_be16(0x48A3),
133 .buf = (uint8_t *)&cmd->cmd, in icp10100_send_cmd()
152 dev_dbg(&st->client->dev, "sending cmd %#x\n", be16_to_cpu(cmd->cmd)); in icp10100_send_cmd()
154 if (cmd->response_word_nb > 0 && cmd->wait_us == 0) { in icp10100_send_cmd()
165 if (cmd->wait_us > 0) in icp10100_send_cmd()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath10k/
H A Dhtt_tx.c607 struct htt_cmd *cmd; in ath10k_htt_h2t_ver_req_msg() local
637 struct htt_cmd *cmd; in ath10k_htt_h2t_stats_req() local
679 struct htt_cmd *cmd; in ath10k_htt_send_frag_desc_bank_cfg_32() local
692 size = sizeof(cmd->hdr) + sizeof(cmd->frag_desc_bank_cfg32); in ath10k_htt_send_frag_desc_bank_cfg_32()
741 struct htt_cmd *cmd; in ath10k_htt_send_frag_desc_bank_cfg_64() local
754 size = sizeof(cmd->hdr) + sizeof(cmd->frag_desc_bank_cfg64); in ath10k_htt_send_frag_desc_bank_cfg_64()
820 struct htt_cmd *cmd; in ath10k_htt_send_rx_ring_cfg_32() local
835 len = sizeof(cmd->hdr) + sizeof(cmd->rx_setup_32.hdr) in ath10k_htt_send_rx_ring_cfg_32()
893 struct htt_cmd *cmd; in ath10k_htt_send_rx_ring_cfg_64() local
907 len = sizeof(cmd->hdr) + sizeof(cmd->rx_setup_64.hdr) in ath10k_htt_send_rx_ring_cfg_64()
[all …]
/openbmc/linux/include/trace/events/
H A Dxdma.h12 TP_PROTO(const struct aspeed_xdma *ctx, const struct aspeed_xdma_cmd *cmd),
13 TP_ARGS(ctx, cmd),
19 __field(__u64, cmd)
24 __entry->host = cmd->host_addr;
25 __entry->pitch = cmd->pitch;
26 __entry->cmd = cmd->cmd;
33 __entry->cmd
/openbmc/openbmc/meta-arm/meta-arm/lib/oeqa/runtime/cases/
H A Dfvp_devices.py7 def run_cmd(self, cmd, check=True): argument
13 (status, output) = self.target.run(cmd)
16 "status %d:\n%s" % (cmd, status, output))
22 cmd = f'find "/sys/class/{cls}" -type l -maxdepth 1'
23 _, output = self.run_cmd(cmd)
34 cmd = f'basename "$(readlink "{device}/device/driver")"'
35 _, output = self.run_cmd(cmd)
43 cmd = f'cat {hw_random} | grep {dev}'
44 self.run_cmd(cmd)
/openbmc/openbmc/poky/meta/recipes-devtools/go/go/
H A D0006-cmd-go-make-GOROOT-precious-by-default.patch26 src/cmd/go/internal/work/action.go | 3 +++
27 src/cmd/go/internal/work/build.go | 6 ++++++
31 diff --git a/src/cmd/go/internal/work/action.go b/src/cmd/go/internal/work/action.go
33 --- a/src/cmd/go/internal/work/action.go
34 +++ b/src/cmd/go/internal/work/action.go
45 diff --git a/src/cmd/go/internal/work/build.go b/src/cmd/go/internal/work/build.go
47 --- a/src/cmd/go/internal/work/build.go
48 +++ b/src/cmd/go/internal/work/build.go
69 diff --git a/src/cmd/go/internal/work/exec.go b/src/cmd/go/internal/work/exec.go
71 --- a/src/cmd/go/internal/work/exec.go
[all …]
/openbmc/linux/drivers/crypto/ccp/
H A Dccp-crypto-rsa.c52 req->dst_len = rctx->cmd.u.rsa.key_size >> 3; in ccp_rsa_complete()
71 memset(&rctx->cmd, 0, sizeof(rctx->cmd)); in ccp_rsa_crypt()
72 INIT_LIST_HEAD(&rctx->cmd.entry); in ccp_rsa_crypt()
73 rctx->cmd.engine = CCP_ENGINE_RSA; in ccp_rsa_crypt()
77 rctx->cmd.u.rsa.exp = &ctx->u.rsa.e_sg; in ccp_rsa_crypt()
80 rctx->cmd.u.rsa.exp = &ctx->u.rsa.d_sg; in ccp_rsa_crypt()
83 rctx->cmd.u.rsa.mod = &ctx->u.rsa.n_sg; in ccp_rsa_crypt()
84 rctx->cmd.u.rsa.mod_len = ctx->u.rsa.n_len; in ccp_rsa_crypt()
85 rctx->cmd.u.rsa.src = req->src; in ccp_rsa_crypt()
86 rctx->cmd.u.rsa.src_len = req->src_len; in ccp_rsa_crypt()
[all …]
/openbmc/openbmc/poky/meta/classes-global/
H A Dutils.bbclass170 cmd=$1
175 mv $cmd $cmd.real
189 chmod +x $cmd
201 cmd=$1
209 tail -n +2 $cmd > $cmd.real
210 chown --reference=$cmd $cmd.real
211 chmod --reference=$cmd $cmd.real
212 rm -f $cmd
226 chmod +x $cmd
237 cmd=$1
[all …]
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_mipi_dbi.c73 DRM_DEBUG_DRIVER("cmd=%02x\n", cmd); \
114 if (cmd == dbi->read_commands[i]) in mipi_dbi_command_is_read()
160 cmdbuf = kmemdup(&cmd, 1, GFP_KERNEL); in mipi_dbi_command_buf()
1072 dst16[0] = *cmd; in mipi_dbi_typec1_command_read()
1112 .tx_buf = cmd, in mipi_dbi_typec3_command_read()
1336 u8 val, cmd = 0, parameters[64]; in mipi_dbi_debugfs_command_write() local
1369 cmd = val; in mipi_dbi_debugfs_command_write()
1393 u8 cmd, val[4]; in mipi_dbi_debugfs_command_show() local
1400 for (cmd = 0; cmd < 255; cmd++) { in mipi_dbi_debugfs_command_show()
1404 switch (cmd) { in mipi_dbi_debugfs_command_show()
[all …]
/openbmc/linux/drivers/scsi/cxlflash/
H A Dmain.c165 if (cmd->scp) { in cmd_complete()
332 __func__, cmd, cmd->rcb.data_len, cmd->rcb.data_ea, rc); in send_cmd_ioarrin()
359 cmd->rcb.ioasa = &cmd->sa; in send_cmd_sq()
405 __func__, cmd->rcb.cdb[0], cmd->sa.ioasc); in wait_resp()
631 memcpy(cmd->rcb.cdb, scp->cmnd, sizeof(cmd->rcb.cdb)); in cxlflash_queuecommand()
2305 memset(cmd, 0, sizeof(*cmd)); in send_afu_cmd()
2314 __func__, afu, cmd, cmd->rcb.cdb[0], nretry); in send_afu_cmd()
3524 __func__, size, cmd, decode_hioctl(cmd), uarg); in cxlflash_chr_ioctl()
3548 __func__, size, cmd, decode_hioctl(cmd), uarg); in cxlflash_chr_ioctl()
3558 __func__, decode_hioctl(cmd), cmd, rc); in cxlflash_chr_ioctl()
[all …]
/openbmc/linux/include/net/
H A Dwext.h10 int wext_handle_ioctl(struct net *net, unsigned int cmd,
12 int compat_wext_handle_ioctl(struct net *net, unsigned int cmd,
18 static inline int wext_handle_ioctl(struct net *net, unsigned int cmd, in wext_handle_ioctl() argument
23 static inline int compat_wext_handle_ioctl(struct net *net, unsigned int cmd, in compat_wext_handle_ioctl() argument
46 unsigned int cmd, struct iw_request_info *info,
49 unsigned int cmd, struct iw_request_info *info,
/openbmc/linux/drivers/net/wireless/marvell/libertas/
H A Dcmd.h34 #define lbs_cmd(priv, cmdnr, cmd, cb, cb_arg) ({ \ argument
35 uint16_t __sz = le16_to_cpu((cmd)->hdr.size); \
36 (cmd)->hdr.size = cpu_to_le16(sizeof(*(cmd))); \
37 __lbs_cmd(priv, cmdnr, &(cmd)->hdr, __sz, cb, cb_arg); \
40 #define lbs_cmd_with_response(priv, cmdnr, cmd) \ argument
41 lbs_cmd(priv, cmdnr, cmd, lbs_cmd_copyback, (unsigned long) (cmd))
63 void __lbs_complete_command(struct lbs_private *priv, struct cmd_ctrl_node *cmd,
65 void lbs_complete_command(struct lbs_private *priv, struct cmd_ctrl_node *cmd,
/openbmc/linux/arch/arm/mach-omap2/
H A Dcommon.h134 void omap2xxx_restart(enum reboot_mode mode, const char *cmd);
136 static inline void omap2xxx_restart(enum reboot_mode mode, const char *cmd) in omap2xxx_restart() argument
142 void am33xx_restart(enum reboot_mode mode, const char *cmd);
144 static inline void am33xx_restart(enum reboot_mode mode, const char *cmd) in am33xx_restart() argument
150 void omap3xxx_restart(enum reboot_mode mode, const char *cmd);
152 static inline void omap3xxx_restart(enum reboot_mode mode, const char *cmd) in omap3xxx_restart() argument
158 void ti81xx_restart(enum reboot_mode mode, const char *cmd);
160 static inline void ti81xx_restart(enum reboot_mode mode, const char *cmd) in ti81xx_restart() argument
167 void omap44xx_restart(enum reboot_mode mode, const char *cmd);
169 static inline void omap44xx_restart(enum reboot_mode mode, const char *cmd) in omap44xx_restart() argument
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dmlx4.h896 struct mlx4_cmd cmd; member
1023 struct mlx4_cmd_info *cmd);
1083 struct mlx4_cmd_info *cmd);
1087 struct mlx4_cmd_info *cmd);
1142 struct mlx4_cmd_info *cmd);
1147 struct mlx4_cmd_info *cmd);
1182 struct mlx4_cmd_info *cmd);
1202 struct mlx4_cmd_info *cmd);
1331 struct mlx4_cmd_info *cmd);
1345 struct mlx4_cmd_info *cmd);
[all …]
/openbmc/linux/net/core/
H A Ddev_ioctl.c146 switch (cmd) { in dev_ifsioc_locked()
424 err = dev_eth_ioctl(dev, &ifrr, cmd); in generic_hwtstamp_ioctl_lower()
515 unsigned int cmd) in dev_ifsioc() argument
527 switch (cmd) { in dev_ifsioc()
616 return dev_siocbond(dev, ifr, cmd); in dev_ifsioc()
679 if (cmd == SIOCGIFNAME) in dev_ioctl()
692 switch (cmd) { in dev_ioctl()
805 if (cmd == SIOCWANDEV || in dev_ioctl()
806 cmd == SIOCGHWTSTAMP || in dev_ioctl()
807 (cmd >= SIOCDEVPRIVATE && in dev_ioctl()
[all …]
/openbmc/qemu/tests/avocado/
H A Dmachine_s390_ccw_virtio.py110 self.vm.cmd('device_del', id='rn1')
113 self.vm.cmd('device_del', id='rn2')
135 self.vm.cmd('device_add', driver='virtio-net-ccw',
144 self.vm.cmd('device_del', id='net_4711')
154 self.vm.cmd('human-monitor-command', command_line='balloon 96')
157 self.vm.cmd('human-monitor-command', command_line='balloon 128')
249 self.vm.cmd('screendump', filename=ppmfile.name)
265 self.vm.cmd('object-add', qom_type='cryptodev-backend-builtin',
267 self.vm.cmd('device_add', driver='virtio-crypto-ccw', id='crypdev0',
273 self.vm.cmd('device_del', id='crypdev0')
[all …]
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtest_ima.c19 const char *cmd) in _run_measured_process() argument
26 execlp("./ima_setup.sh", "./ima_setup.sh", cmd, measured_dir, in _run_measured_process()
71 char cmd[256]; in test_test_ima() local
93 snprintf(cmd, sizeof(cmd), "./ima_setup.sh setup %s", measured_dir); in test_test_ima()
94 err = system(cmd); in test_test_ima()
95 if (CHECK(err, "failed to run command", "%s, errno = %d\n", cmd, errno)) in test_test_ima()
234 snprintf(cmd, sizeof(cmd), "./ima_setup.sh cleanup %s", measured_dir); in test_test_ima()
235 err = system(cmd); in test_test_ima()
236 CHECK(err, "failed to run command", "%s, errno = %d\n", cmd, errno); in test_test_ima()
/openbmc/linux/drivers/block/
H A Dloop.c339 if (!cmd->use_aio || cmd->ret < 0 || cmd->ret == blk_rq_bytes(rq) || in lo_complete_rq()
341 if (cmd->ret < 0) in lo_complete_rq()
350 if (cmd->ret) { in lo_complete_rq()
352 cmd->ret = 0; in lo_complete_rq()
375 kfree(cmd->bvec); in lo_rw_aio_do_completion()
376 cmd->bvec = NULL; in lo_rw_aio_do_completion()
385 cmd->ret = ret; in lo_rw_aio_complete()
1509 switch (cmd) { in lo_simple_ioctl()
1533 switch (cmd) { in lo_ioctl()
1693 switch(cmd) { in lo_compat_ioctl()
[all …]
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dmxs_nand.c309 d->cmd.data = in mxs_nand_cmd_ctrl()
426 d->cmd.data = in mxs_nand_read_buf()
452 d->cmd.data = in mxs_nand_read_buf()
457 d->cmd.address = 0; in mxs_nand_read_buf()
512 d->cmd.data = in mxs_nand_write_buf()
567 d->cmd.data = in mxs_nand_ecc_read_page()
572 d->cmd.address = 0; in mxs_nand_ecc_read_page()
584 d->cmd.data = in mxs_nand_ecc_read_page()
609 d->cmd.data = in mxs_nand_ecc_read_page()
629 d->cmd.data = in mxs_nand_ecc_read_page()
[all …]
/openbmc/linux/drivers/target/
H A Dtarget_core_alua.c64 if (cmd->data_length < 4) { in target_emulate_report_referrals()
89 if (cmd->data_length > off) in target_emulate_report_referrals()
92 if (cmd->data_length > off) in target_emulate_report_referrals()
177 cmd->data_length) { in target_emulate_report_target_port_groups()
435 struct se_cmd *cmd, in core_alua_state_nonoptimized() argument
449 struct se_cmd *cmd, in core_alua_state_lba_dependent() argument
464 lba = cmd->t_task_lba; in core_alua_state_lba_dependent()
519 struct se_cmd *cmd, in core_alua_state_standby() argument
572 struct se_cmd *cmd, in core_alua_state_unavailable() argument
609 struct se_cmd *cmd, in core_alua_state_transition() argument
[all …]
/openbmc/openpower-proc-control/procedures/phal/
H A Dimport_devtree.cpp47 std::string cmd("/usr/bin/attributes "); in importDevtree() local
48 cmd += "import "; in importDevtree()
49 cmd += DEVTREE_EXP_FILE; in importDevtree()
50 cmd += " 2>"; in importDevtree()
51 cmd += " /dev/null"; in importDevtree()
52 execl("/bin/sh", "sh", "-c", cmd.c_str(), 0); in importDevtree()
/openbmc/qemu/hw/scsi/
H A Dscsi-disk.c350 switch (cmd->buf[0]) { in scsi_is_cmd_fua()
639 if (r->req.cmd.buf[0] == VERIFY_10 || r->req.cmd.buf[0] == VERIFY_12 || in scsi_write_data()
1656 int cmd = r->req.cmd.buf[0]; in scsi_disk_emulate_mode_select() local
2136 if ((req->cmd.buf[8] & 1) == 0 && req->cmd.lba) { in scsi_disk_emulate_command()
2205 if ((req->cmd.buf[14] & 1) == 0 && req->cmd.lba) { in scsi_disk_emulate_command()
2271 req->cmd.buf[0] == WRITE_SAME_10 ? 10 : 16, r->req.cmd.xfer); in scsi_disk_emulate_command()
2757 uint8_t cmd[16]; in get_device_type() local
2761 memset(cmd, 0, sizeof(cmd)); in get_device_type()
2763 cmd[0] = INQUIRY; in get_device_type()
2766 ret = scsi_SG_IO_FROM_DEV(s->qdev.conf.blk, cmd, sizeof(cmd), in get_device_type()
[all …]
/openbmc/linux/net/ncsi/
H A Dncsi-pkt.h38 struct ncsi_cmd_pkt_hdr cmd; /* Command header */ member
51 struct ncsi_cmd_pkt_hdr cmd; /* Command header */ member
60 struct ncsi_cmd_pkt_hdr cmd; /* Command header */ member
69 struct ncsi_cmd_pkt_hdr cmd; /* Command header */ member
77 struct ncsi_cmd_pkt_hdr cmd; /* Command header */ member
87 struct ncsi_cmd_pkt_hdr cmd; /* Command header */ member
96 struct ncsi_cmd_pkt_hdr cmd; /* Command header */ member
108 struct ncsi_cmd_pkt_hdr cmd; /* Command header */ member
127 struct ncsi_cmd_pkt_hdr cmd; /* Command header */ member
135 struct ncsi_cmd_pkt_hdr cmd; /* Command header */ member
[all …]
/openbmc/qemu/python/qemu/utils/
H A Dqemu_ga_client.py156 def fsfreeze(self, cmd: str) -> object:
157 if cmd not in ['status', 'freeze', 'thaw']:
207 cmd = args[0]
208 ret = client.fsfreeze(cmd)
209 if cmd == 'status':
214 verb = 'frozen' if cmd == 'freeze' else 'thawed'
283 if cmd not in commands:
284 print('Invalid command: ' + cmd)
296 if cmd == 'fsfreeze' and args[0] == 'freeze':
298 elif cmd != 'ping':
[all …]
/openbmc/linux/drivers/scsi/bnx2i/
H A Dbnx2i_iscsi.c190 bd_count = bnx2i_map_scsi_sg(cmd->conn->hba, cmd); in bnx2i_iscsi_map_sg_list()
219 memset(&cmd->req, 0x00, sizeof(cmd->req)); in bnx2i_setup_cmd_wqe_template()
220 cmd->req.op_code = 0xFF; in bnx2i_setup_cmd_wqe_template()
221 cmd->req.bd_list_addr_lo = (u32) cmd->io_tbl.bd_tbl_dma; in bnx2i_setup_cmd_wqe_template()
476 if (cmd->io_tbl.bd_tbl) in bnx2i_destroy_cmd_pool()
501 task->hdr = &cmd->hdr; in bnx2i_setup_cmd_pool()
1209 cmd->scsi_cmd = NULL; in bnx2i_mtask_xmit()
1242 cmd->conn = bnx2i_conn; in bnx2i_task_xmit()
1243 cmd->scsi_cmd = sc; in bnx2i_task_xmit()
1263 cmd->req.num_bds = cmd->io_tbl.bd_valid; in bnx2i_task_xmit()
[all …]
/openbmc/linux/lib/
H A Dtest_hmm.c393 start = cmd->addr; in dmirror_read()
413 cmd->faults++; in dmirror_read()
459 start = cmd->addr; in dmirror_write()
484 cmd->faults++; in dmirror_write()
922 cmd->cpages = 0; in dmirror_migrate_to_system()
1312 if (copy_from_user(&cmd, uarg, sizeof(cmd))) in dmirror_fops_unlocked_ioctl()
1317 if (cmd.addr >= (cmd.addr + (cmd.npages << PAGE_SHIFT))) in dmirror_fops_unlocked_ioctl()
1320 cmd.cpages = 0; in dmirror_fops_unlocked_ioctl()
1321 cmd.faults = 0; in dmirror_fops_unlocked_ioctl()
1346 cmd.addr + (cmd.npages << PAGE_SHIFT)); in dmirror_fops_unlocked_ioctl()
[all …]

1...<<21222324252627282930>>...273