Home
last modified time | relevance | path

Searched refs:cmd (Results 751 – 775 of 6808) sorted by relevance

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

/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ioc32.c37 long amdgpu_kms_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in amdgpu_kms_compat_ioctl() argument
39 unsigned int nr = DRM_IOCTL_NR(cmd); in amdgpu_kms_compat_ioctl()
42 return drm_compat_ioctl(filp, cmd, arg); in amdgpu_kms_compat_ioctl()
44 return amdgpu_drm_ioctl(filp, cmd, arg); in amdgpu_kms_compat_ioctl()
/openbmc/linux/tools/perf/trace/beauty/
H A Dflock.c31 #define P_CMD(cmd) \ in syscall_arg__scnprintf_flock() argument
32 if ((op & LOCK_##cmd) == LOCK_##cmd) { \ in syscall_arg__scnprintf_flock()
33 …ntf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? prefix : "", #cmd); \ in syscall_arg__scnprintf_flock()
34 op &= ~LOCK_##cmd; \ in syscall_arg__scnprintf_flock()
/openbmc/linux/include/linux/
H A Dsed-opal.h26 int sed_ioctl(struct opal_dev *dev, unsigned int cmd, void __user *ioctl_ptr);
31 static inline bool is_sed_ioctl(unsigned int cmd) in is_sed_ioctl() argument
33 switch (cmd) { in is_sed_ioctl()
64 static inline bool is_sed_ioctl(unsigned int cmd) in is_sed_ioctl() argument
69 static inline int sed_ioctl(struct opal_dev *dev, unsigned int cmd, in sed_ioctl() argument
/openbmc/linux/drivers/net/wireless/mediatek/mt76/
H A Dmcu.c56 int mt76_mcu_send_and_get_msg(struct mt76_dev *dev, int cmd, const void *data, in mt76_mcu_send_and_get_msg() argument
62 return dev->mcu_ops->mcu_send_msg(dev, cmd, data, len, wait_resp); in mt76_mcu_send_and_get_msg()
68 return mt76_mcu_skb_send_and_get_msg(dev, skb, cmd, wait_resp, ret_skb); in mt76_mcu_send_and_get_msg()
73 int cmd, bool wait_resp, in mt76_mcu_skb_send_and_get_msg() argument
84 ret = dev->mcu_ops->mcu_skb_send_msg(dev, skb, cmd, &seq); in mt76_mcu_skb_send_and_get_msg()
97 ret = dev->mcu_ops->mcu_parse_response(dev, cmd, skb, seq); in mt76_mcu_skb_send_and_get_msg()
111 int __mt76_mcu_send_firmware(struct mt76_dev *dev, int cmd, const void *data, in __mt76_mcu_send_firmware() argument
119 err = mt76_mcu_send_msg(dev, cmd, data, cur_len, false); in __mt76_mcu_send_firmware()
/openbmc/linux/drivers/gpu/drm/tegra/
H A Dfb.c135 const struct drm_mode_fb_cmd2 *cmd) in tegra_fb_create() argument
137 const struct drm_format_info *info = drm_get_format_info(drm, cmd); in tegra_fb_create()
145 unsigned int width = cmd->width / (i ? info->hsub : 1); in tegra_fb_create()
146 unsigned int height = cmd->height / (i ? info->vsub : 1); in tegra_fb_create()
149 gem = drm_gem_object_lookup(file, cmd->handles[i]); in tegra_fb_create()
157 size = (height - 1) * cmd->pitches[i] + in tegra_fb_create()
158 width * bpp + cmd->offsets[i]; in tegra_fb_create()
169 fb = tegra_fb_alloc(drm, cmd, planes, i); in tegra_fb_create()
/openbmc/qemu/hw/display/
H A Dvirtio-gpu-gl.c62 struct virtio_gpu_ctrl_command *cmd; in virtio_gpu_gl_handle_ctrl() local
77 cmd = virtqueue_pop(vq, sizeof(struct virtio_gpu_ctrl_command)); in virtio_gpu_gl_handle_ctrl()
78 while (cmd) { in virtio_gpu_gl_handle_ctrl()
79 cmd->vq = vq; in virtio_gpu_gl_handle_ctrl()
80 cmd->error = 0; in virtio_gpu_gl_handle_ctrl()
81 cmd->finished = false; in virtio_gpu_gl_handle_ctrl()
82 QTAILQ_INSERT_TAIL(&g->cmdq, cmd, next); in virtio_gpu_gl_handle_ctrl()
83 cmd = virtqueue_pop(vq, sizeof(struct virtio_gpu_ctrl_command)); in virtio_gpu_gl_handle_ctrl()
/openbmc/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-ethtool.c318 cmd->base.speed = pdata->phy.speed; in xgbe_get_link_ksettings()
319 cmd->base.duplex = pdata->phy.duplex; in xgbe_get_link_ksettings()
321 cmd->base.speed = SPEED_UNKNOWN; in xgbe_get_link_ksettings()
322 cmd->base.duplex = DUPLEX_UNKNOWN; in xgbe_get_link_ksettings()
326 cmd->base.port = PORT_NONE; in xgbe_get_link_ksettings()
344 speed = cmd->base.speed; in xgbe_set_link_ksettings()
348 cmd->base.phy_address); in xgbe_set_link_ksettings()
355 cmd->base.autoneg); in xgbe_set_link_ksettings()
367 cmd->base.duplex); in xgbe_set_link_ksettings()
390 pdata->phy.duplex = cmd->base.duplex; in xgbe_set_link_ksettings()
[all …]
/openbmc/linux/drivers/media/dvb-frontends/
H A Dbcm3510.c220 ob[0] = cmd; in bcm3510_do_hab_cmd()
503 memset(&cmd,0,sizeof(cmd)); in bcm3510_set_frontend()
506 cmd.ACQUIRE0.MODE = 0x1; in bcm3510_set_frontend()
511 cmd.ACQUIRE0.MODE = 0x2; in bcm3510_set_frontend()
517 cmd.ACQUIRE0.MODE = 0x3; in bcm3510_set_frontend()
520 cmd.ACQUIRE0.MODE = 0x4; in bcm3510_set_frontend()
523 cmd.ACQUIRE0.MODE = 0x5; in bcm3510_set_frontend()
526 cmd.ACQUIRE0.MODE = 0x6; in bcm3510_set_frontend()
545 cmd.ACQUIRE0.OFFSET = 0; in bcm3510_set_frontend()
547 cmd.ACQUIRE0.FA = 1; in bcm3510_set_frontend()
[all …]
/openbmc/linux/drivers/media/platform/renesas/vsp1/
H A Dvsp1_dl.c465 cmd->pool = pool; in vsp1_dl_cmd_pool_create()
472 cmd->num_cmds = 1; in vsp1_dl_cmd_pool_create()
496 list_del(&cmd->free); in vsp1_dl_ext_cmd_get()
501 return cmd; in vsp1_dl_ext_cmd_get()
508 if (!cmd) in vsp1_dl_ext_cmd_put()
512 cmd->flags = 0; in vsp1_dl_ext_cmd_put()
515 list_add_tail(&cmd->free, &cmd->pool->free); in vsp1_dl_ext_cmd_put()
745 cmd->cmds[0].opcode = cmd->opcode; in vsp1_dl_ext_cmd_fill_header()
746 cmd->cmds[0].flags = cmd->flags; in vsp1_dl_ext_cmd_fill_header()
747 cmd->cmds[0].address_set = cmd->data_dma; in vsp1_dl_ext_cmd_fill_header()
[all …]
/openbmc/u-boot/drivers/spi/
H A Dti_qspi.c86 u32 cmd; member
112 u32 cmd; member
140 writel(priv->cmd | QSPI_INVAL, &priv->base->cmd); in ti_qspi_cs_deactivate()
142 readl(&priv->base->cmd); in ti_qspi_cs_deactivate()
221 priv->cmd = 0; in __ti_qspi_xfer()
222 priv->cmd |= QSPI_WLEN(8); in __ti_qspi_xfer()
225 priv->cmd |= QSPI_3_PIN; in __ti_qspi_xfer()
226 priv->cmd |= 0xfff; in __ti_qspi_xfer()
232 u32 cmd = priv->cmd; in __ti_qspi_xfer() local
255 writel(cmd | QSPI_WR_SNGL, &priv->base->cmd); in __ti_qspi_xfer()
[all …]
/openbmc/linux/drivers/infiniband/hw/mthca/
H A Dmthca_cmd.c393 &dev->cmd.context[token & dev->cmd.token_mask]; in mthca_cmd_event()
422 context = &dev->cmd.context[dev->cmd.free_head]; in mthca_cmd_wait()
461 dev->cmd.free_head = context - dev->cmd.context; in mthca_cmd_wait()
526 dev->cmd.flags = 0; in mthca_cmd_init()
538 if (!dev->cmd.pool) { in mthca_cmd_init()
562 dev->cmd.context = kmalloc_array(dev->cmd.max_cmds, in mthca_cmd_use_events()
565 if (!dev->cmd.context) in mthca_cmd_use_events()
573 dev->cmd.context[dev->cmd.max_cmds - 1].next = -1; in mthca_cmd_use_events()
576 sema_init(&dev->cmd.event_sem, dev->cmd.max_cmds); in mthca_cmd_use_events()
580 dev->cmd.token_mask < dev->cmd.max_cmds; in mthca_cmd_use_events()
[all …]
/openbmc/qemu/tests/qemu-iotests/tests/
H A Dmigrate-bitmaps-test70 vm.cmd('block-dirty-bitmap-add', params)
93 self.vm_a.cmd('migrate-set-capabilities',
101 self.vm_a.cmd('migrate', uri=mig_cmd)
115 self.vm_a.cmd('cont')
158 self.vm_b.cmd('migrate-set-capabilities',
170 self.vm_a.cmd('migrate-set-capabilities',
173 self.vm_a.cmd('migrate', uri=mig_cmd)
182 self.vm_b.cmd('migrate-set-capabilities',
250 self.vm.cmd('blockdev-add', blockdev)
270 self.vm.cmd('migrate', uri='exec: cat > /dev/null')
[all …]
/openbmc/linux/drivers/crypto/
H A Datmel-ecc.c52 struct atmel_i2c_cmd *cmd = &work_data->cmd; in atmel_ecdh_done() local
63 &cmd->data[RSP_DATA_IDX], n_sz); in atmel_ecdh_done()
81 struct atmel_i2c_cmd *cmd; in atmel_ecdh_set_secret() local
102 cmd = kmalloc(sizeof(*cmd), GFP_KERNEL); in atmel_ecdh_set_secret()
103 if (!cmd) in atmel_ecdh_set_secret()
117 atmel_i2c_init_genkey_cmd(cmd, DATA_SLOT_2); in atmel_ecdh_set_secret()
119 ret = atmel_i2c_send_receive(ctx->client, cmd); in atmel_ecdh_set_secret()
124 memcpy(public_key, &cmd->data[RSP_DATA_IDX], ATMEL_ECC_PUBKEY_SIZE); in atmel_ecdh_set_secret()
127 kfree(cmd); in atmel_ecdh_set_secret()
133 kfree(cmd); in atmel_ecdh_set_secret()
[all …]
/openbmc/qemu/scripts/kvm/
H A Dkvm_flightrecorder88 cmd = sys.argv[1]
89 if cmd == '--version':
101 if cmd == 'start':
115 elif cmd == 'stop':
118 elif cmd == 'dump':
120 elif cmd == 'tail':
/openbmc/u-boot/drivers/net/fsl-mc/dpio/
H A Dqbman_portal.h89 void qbman_swp_mc_submit(struct qbman_swp *p, void *cmd, uint32_t cmd_verb);
93 static inline void *qbman_swp_mc_complete(struct qbman_swp *swp, void *cmd, in qbman_swp_mc_complete() argument
98 qbman_swp_mc_submit(swp, cmd, cmd_verb); in qbman_swp_mc_complete()
102 cmd = qbman_swp_mc_result(swp); in qbman_swp_mc_complete()
103 } while (!cmd); in qbman_swp_mc_complete()
104 return cmd; in qbman_swp_mc_complete()
/openbmc/linux/drivers/net/ethernet/qualcomm/rmnet/
H A Drmnet_map_command.c54 struct rmnet_map_control_command *cmd; in rmnet_map_send_ack() local
64 cmd = (struct rmnet_map_control_command *)(map_header + 1); in rmnet_map_send_ack()
65 cmd->cmd_type = type & 0x03; in rmnet_map_send_ack()
78 struct rmnet_map_control_command *cmd; in rmnet_map_command() local
83 cmd = (struct rmnet_map_control_command *)(map_header + 1); in rmnet_map_command()
84 command_name = cmd->command_name; in rmnet_map_command()
/openbmc/openbmc/poky/meta/recipes-devtools/rust/files/
H A Drustc-bootstrap.patch15 let mut cmd = Command::new(builder.rustc(compiler));
16 cmd.arg("--target").arg(base.rustc_target_arg());
17 cmd.args(["-Zunstable-options", "--print", "target-spec-json"]);
18 + cmd.env("RUSTC_BOOTSTRAP", "1");
19 cmd.stdout(Stdio::piped());
21 let output = cmd.spawn().unwrap().wait_with_output().unwrap();
/openbmc/linux/sound/soc/sof/
H A Dipc3.c29 glb = cmd & SOF_GLB_TYPE_MASK; in ipc3_log_header()
30 type = cmd & SOF_CMD_TYPE_MASK; in ipc3_log_header()
222 dev_dbg(dev, "%s: 0x%x\n", text, cmd); in ipc3_log_header()
303 hdr->cmd, hdr->size, msg->reply_size); in ipc3_wait_tx_done()
347 __func__, hdr->cmd, ret); in ipc3_tx_msg_unlocked()
431 __func__, cdata->rhdr.hdr.cmd); in sof_ipc3_set_get_data()
996 u32 cmd; in sof_ipc3_do_rx_work() local
1007 cmd = hdr->cmd & SOF_GLB_TYPE_MASK; in sof_ipc3_do_rx_work()
1010 switch (cmd) { in sof_ipc3_do_rx_work()
1017 err = ipc3_fw_ready(sdev, cmd); in sof_ipc3_do_rx_work()
[all …]
/openbmc/u-boot/drivers/net/fsl-mc/
H A Dfsl_dpmng_cmd.h12 #define DPMNG_RSP_GET_VERSION(cmd, mc_ver_info) \ argument
14 MC_RSP_OP(cmd, 0, 0, 32, uint32_t, mc_ver_info->revision); \
15 MC_RSP_OP(cmd, 0, 32, 32, uint32_t, mc_ver_info->major); \
16 MC_RSP_OP(cmd, 1, 0, 32, uint32_t, mc_ver_info->minor); \
/openbmc/linux/drivers/nvdimm/
H A Dbus.c880 } else if (cmd == ND_CMD_CALL) { in nd_cmd_in_size()
921 } else if (cmd == ND_CMD_CALL) { in nd_cmd_out_size()
1034 unsigned int func = cmd; in __nd_ioctl()
1042 desc = nd_cmd_dimm_desc(cmd); in __nd_ioctl()
1047 desc = nd_cmd_bus_desc(cmd); in __nd_ioctl()
1054 if (cmd == ND_CMD_CALL) { in __nd_ioctl()
1076 cmd > ND_CMD_CALL || in __nd_ioctl()
1077 !test_bit(cmd, &cmd_mask)) in __nd_ioctl()
1082 switch (cmd) { in __nd_ioctl()
1090 : nvdimm_bus_cmd_name(cmd)); in __nd_ioctl()
[all …]
/openbmc/linux/ipc/
H A Dmsg.c424 switch (cmd) { in msgctl_down()
499 if (cmd == MSG_INFO) in msgctl_info()
503 if (cmd == MSG_INFO) { in msgctl_info()
519 int cmd, struct msqid64_ds *p) in msgctl_stat() argument
527 if (cmd == MSG_STAT || cmd == MSG_STAT_ANY) { in msgctl_stat()
542 if (cmd == MSG_STAT_ANY) in msgctl_stat()
577 if (cmd == IPC_STAT) { in msgctl_stat()
603 if (msqid < 0 || cmd < 0) in ksys_msgctl()
608 switch (cmd) { in ksys_msgctl()
740 if (msqid < 0 || cmd < 0) in compat_ksys_msgctl()
[all …]
/openbmc/u-boot/drivers/mmc/
H A Dsdhci.c43 if (cmd->resp_type & MMC_RSP_136) { in sdhci_cmd_done()
46 cmd->response[i] = sdhci_readl(host, in sdhci_cmd_done()
49 cmd->response[i] |= sdhci_readb(host, in sdhci_cmd_done()
163 if (cmd->cmdidx == MMC_CMD_STOP_TRANSMISSION ||
191 if (!(cmd->resp_type & MMC_RSP_PRESENT))
193 else if (cmd->resp_type & MMC_RSP_136)
195 else if (cmd->resp_type & MMC_RSP_BUSY) {
202 if (cmd->resp_type & MMC_RSP_CRC)
204 if (cmd->resp_type & MMC_RSP_OPCODE)
253 } else if (cmd->resp_type & MMC_RSP_BUSY) {
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/buildperf/
H A Dbase.py56 cmd = ['sudo', '-k']
58 cmd.append('-S')
61 cmd.append('-n')
65 runCmd2(cmd, data=input_data)
291 def run_cmd(self, cmd): argument
293 cmd_str = cmd if isinstance(cmd, str) else ' '.join(cmd)
296 runCmd2(cmd)
337 cmd_str = cmd if isinstance(cmd, str) else ' '.join(cmd)
374 cmd.append('--apparent-size')
375 cmd.append(path)
[all …]
/openbmc/linux/drivers/target/
H A Dtarget_core_rd.c381 struct se_device *se_dev = cmd->se_dev; in rd_do_prot_rw()
404 rc = sbc_dif_verify(cmd, cmd->t_task_lba, sectors, 0, in rd_do_prot_rw()
407 rc = sbc_dif_verify(cmd, cmd->t_task_lba, sectors, 0, in rd_do_prot_rw()
408 cmd->t_prot_sg, 0); in rd_do_prot_rw()
420 struct se_device *se_dev = cmd->se_dev; in rd_execute_rw()
433 target_complete_cmd(cmd, SAM_STAT_GOOD); in rd_execute_rw()
440 rd_size = cmd->data_length; in rd_execute_rw()
455 rc = rd_do_prot_rw(cmd, false); in rd_execute_rw()
523 rc = rd_do_prot_rw(cmd, true); in rd_execute_rw()
528 target_complete_cmd(cmd, SAM_STAT_GOOD); in rd_execute_rw()
[all …]
/openbmc/linux/drivers/cdrom/
H A Dgdrom.c176 short *cmd = spi_string; in gdrom_spicommand() local
201 outsw(GDROM_DATA_REG, cmd, 6); in gdrom_spicommand()
233 spin_command->cmd[0] = 0x70; in gdrom_preparedisk_cmd()
234 spin_command->cmd[2] = 0x1f; in gdrom_preparedisk_cmd()
268 toc_command->cmd[0] = 0x14; in gdrom_readtoc_cmd()
269 toc_command->cmd[1] = session; in gdrom_readtoc_cmd()
421 sense_command->cmd[0] = 0x13; in gdrom_getsense()
422 sense_command->cmd[4] = 10; in gdrom_getsense()
503 unsigned cmd, unsigned long arg) in gdrom_bdops_ioctl() argument
581 read_command->cmd[0] = 0x30; in gdrom_readdisk_dma()
[all …]

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