Home
last modified time | relevance | path

Searched refs:cmd (Results 901 – 925 of 6808) sorted by relevance

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

/openbmc/u-boot/include/
H A Dtpm-common.h189 #define MAKE_TPM_CMD_ENTRY(cmd) \ argument
190 U_BOOT_CMD_MKENT(cmd, 0, 1, do_tpm_ ## cmd, "", "")
192 #define TPM_COMMAND_NO_ARG(cmd) \ argument
193 int do_##cmd(cmd_tbl_t *cmdtp, int flag, \
204 return report_return_code(cmd(dev)); \
/openbmc/qemu/scripts/
H A Drender_block_graph.py46 bds_nodes = qmp.cmd('query-named-block-nodes')
49 job_nodes = qmp.cmd('query-block-jobs')
52 block_graph = qmp.cmd('x-debug-query-block-graph')
97 def cmd(self, cmd): argument
99 m = {'execute': cmd}
/openbmc/linux/net/bluetooth/
H A Dmgmt_util.h42 int (*cmd_complete)(struct mgmt_pending_cmd *cmd, u8 status);
51 int mgmt_cmd_status(struct sock *sk, u16 index, u16 cmd, u8 status);
52 int mgmt_cmd_complete(struct sock *sk, u16 index, u16 cmd, u8 status,
62 void (*cb)(struct mgmt_pending_cmd *cmd, void *data),
70 void mgmt_pending_free(struct mgmt_pending_cmd *cmd);
71 void mgmt_pending_remove(struct mgmt_pending_cmd *cmd);
/openbmc/phosphor-host-ipmid/
H A Dhost-interface.cpp54 auto cmd = std::make_tuple( in execute() local
59 ipmid_send_cmd_to_host(std::move(cmd)); in execute()
63 void Host::commandStatusHandler(IpmiCmdData cmd, bool status) in commandStatusHandler() argument
69 this->commandComplete(intfCommand.at(std::get<0>(cmd)), value); in commandStatusHandler()
91 auto cmd = phosphor::host::command::CommandHandler( in currentFirmwareCondition() local
95 ipmid_send_cmd_to_host(std::move(cmd)); in currentFirmwareCondition()
/openbmc/linux/drivers/scsi/
H A Dncr53c8xx.c1131 u_long cmd; member
4003 cmd = lcmd; in ncr_flush_done_cmds()
4116 if ((cmd->cmnd[0] == 0 || cmd->cmnd[0] == 0x12) && in ncr_queue_command()
4123 PRINT_ADDR(cmd, "CMD=%x ", cmd->cmnd[0]); in ncr_queue_command()
4146 cp->cmd = cmd; in ncr_queue_command()
4339 cp->phys.cmd.size = cpu_to_scr(cmd->cmd_len); in ncr_queue_command()
4685 cmd = cp->cmd; in ncr_complete()
4784 ncr_alloc_lcb (np, cmd->device->id, cmd->device->lun); in ncr_complete()
5357 struct scsi_cmnd *cmd = cp->cmd; in ncr_setsync() local
5414 struct scsi_cmnd *cmd = cp->cmd; in ncr_setwide() local
[all …]
/openbmc/linux/drivers/spi/
H A Dspi-ti-qspi.c59 u32 cmd; member
246 unsigned int cmd; in qspi_write_msg() local
251 cmd = qspi->cmd | QSPI_WR_SNGL; in qspi_write_msg()
282 cmd = qspi->cmd | QSPI_WR_SNGL; in qspi_write_msg()
315 unsigned int cmd; in qspi_read_msg() local
321 cmd = qspi->cmd; in qspi_read_msg()
324 cmd |= QSPI_RD_DUAL; in qspi_read_msg()
327 cmd |= QSPI_RD_QUAD; in qspi_read_msg()
330 cmd |= QSPI_RD_SNGL; in qspi_read_msg()
687 qspi->cmd = 0; in ti_qspi_start_transfer_one()
[all …]
/openbmc/linux/drivers/media/pci/cobalt/
H A Dcobalt-i2c.c113 int cmd; in cobalt_tx_bytes() local
123 cmd = M00018_CR_BITMAP_WR_MSK | in cobalt_tx_bytes()
127 cmd = M00018_CR_BITMAP_WR_MSK | in cobalt_tx_bytes()
131 cmd = M00018_CR_BITMAP_WR_MSK; in cobalt_tx_bytes()
135 iowrite8(cmd, &regs->cr_sr); in cobalt_tx_bytes()
171 int cmd; in cobalt_rx_bytes() local
178 cmd = M00018_CR_BITMAP_RD_MSK | in cobalt_rx_bytes()
182 cmd = M00018_CR_BITMAP_RD_MSK | in cobalt_rx_bytes()
186 cmd = M00018_CR_BITMAP_RD_MSK; in cobalt_rx_bytes()
191 cmd |= M00018_CR_BITMAP_ACK_MSK; in cobalt_rx_bytes()
[all …]
/openbmc/openbmc/poky/bitbake/lib/bblayers/
H A Dlayerindex.py37 cmd = ['git', 'clone']
39 cmd.extend(['--depth', '1'])
41 cmd.extend(['-b' , branch])
42 cmd.extend([url, repodir])
43 result = subprocess.call(cmd)
58 cmd = base_cmd + ['branch']
59 completed_proc = subprocess.run(cmd, text=True, capture_output=True)
65 cmd = base_cmd + ['status', '--short']
66 completed_proc = subprocess.run(cmd, text=True, capture_output=True)
69 cmd = base_cmd + ['checkout', branch]
[all …]
/openbmc/linux/drivers/net/ethernet/engleder/
H A Dtsnep_rxnfc.c95 struct ethtool_rxnfc *cmd) in tsnep_rxnfc_get_rule() argument
97 struct ethtool_rx_flow_spec *fsp = &cmd->fs; in tsnep_rxnfc_get_rule()
100 cmd->data = adapter->rxnfc_max; in tsnep_rxnfc_get_rule()
125 struct ethtool_rxnfc *cmd, in tsnep_rxnfc_get_all() argument
131 cmd->data = adapter->rxnfc_max; in tsnep_rxnfc_get_all()
136 if (count == cmd->rule_cnt) { in tsnep_rxnfc_get_all()
148 cmd->rule_cnt = count; in tsnep_rxnfc_get_all()
202 struct ethtool_rxnfc *cmd) in tsnep_rxnfc_add_rule() argument
206 (struct ethtool_rx_flow_spec *)&cmd->fs; in tsnep_rxnfc_add_rule()
270 struct ethtool_rxnfc *cmd) in tsnep_rxnfc_del_rule() argument
[all …]
/openbmc/linux/include/linux/dma/
H A Dqcom_bam_dma.h48 enum bam_command_type cmd, __le32 data) in bam_prep_ce_le32() argument
51 cpu_to_le32((addr & 0xffffff) | ((cmd & 0xff) << 24)); in bam_prep_ce_le32()
67 enum bam_command_type cmd, u32 data) in bam_prep_ce() argument
69 bam_prep_ce_le32(bam_ce, addr, cmd, cpu_to_le32(data)); in bam_prep_ce()
/openbmc/linux/drivers/net/can/m_can/
H A Dtcan4x5x.h22 u8 cmd; member
28 struct tcan4x5x_buf_cmd cmd; member
48 tcan4x5x_spi_cmd_set_len(struct tcan4x5x_buf_cmd *cmd, u8 len) in tcan4x5x_spi_cmd_set_len() argument
51 cmd->len = len >> 2; in tcan4x5x_spi_cmd_set_len()
/openbmc/linux/drivers/gpu/drm/i915/gem/selftests/
H A Di915_gem_context.c917 u32 *cmd; in rpcs_query_batch() local
1517 u32 *cmd; in write_to_scratch() local
1535 *cmd++ = 0; in write_to_scratch()
1538 *cmd++ = value; in write_to_scratch()
1607 u32 *cmd; in read_from_scratch() local
1638 *cmd++ = GPR0; in read_from_scratch()
1642 *cmd++ = GPR0; in read_from_scratch()
1644 *cmd++ = 0; in read_from_scratch()
1674 *cmd++ = reg; in read_from_scratch()
1677 *cmd++ = reg; in read_from_scratch()
[all …]
/openbmc/linux/net/netlink/
H A Dgenetlink.c150 u32 cmd; member
173 if (family->ops[i].cmd == cmd) { in genl_get_cmd_full()
187 op->cmd = family->small_ops[i].cmd; in genl_op_from_small()
204 if (family->small_ops[i].cmd == cmd) { in genl_get_cmd_small()
247 if (family->split_ops[i].cmd == cmd && in genl_get_cmd_split()
286 op->cmd = full->cmd; in genl_cmd_full_to_split()
378 iter->cmd = iter->doit.cmd | iter->dumpit.cmd; in genl_op_iter_next()
588 if (i.cmd == j.cmd) in genl_validate_ops()
608 if (a->cmd < b->cmd) { in genl_validate_ops()
610 } else if (a->cmd > b->cmd) { in genl_validate_ops()
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D15182 self.vm.cmd('blockdev-mirror',
127 self.vm.cmd('blockdev-mirror',
141 self.vm.cmd('block-job-set-speed', device='mirror', speed=0)
151 self.vm.cmd('blockdev-mirror',
210 self.vm.cmd('object-add', **{
219 self.vm.cmd('blockdev-add', **{
232 self.vm.cmd('blockdev-add', **{
245 self.vm.cmd('nbd-server-start', addr={
252 self.vm.cmd('block-export-add', id='exp0', type='nbd',
306 self.vm.cmd('blockdev-mirror',
[all …]
/openbmc/linux/drivers/comedi/drivers/
H A Dpcl726.c158 struct comedi_cmd *cmd) in pcl726_intr_cmdtest() argument
164 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW); in pcl726_intr_cmdtest()
165 err |= comedi_check_trigger_src(&cmd->scan_begin_src, TRIG_EXT); in pcl726_intr_cmdtest()
166 err |= comedi_check_trigger_src(&cmd->convert_src, TRIG_FOLLOW); in pcl726_intr_cmdtest()
168 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_NONE); in pcl726_intr_cmdtest()
178 err |= comedi_check_trigger_arg_is(&cmd->start_arg, 0); in pcl726_intr_cmdtest()
179 err |= comedi_check_trigger_arg_is(&cmd->scan_begin_arg, 0); in pcl726_intr_cmdtest()
180 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, 0); in pcl726_intr_cmdtest()
181 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in pcl726_intr_cmdtest()
182 cmd->chanlist_len); in pcl726_intr_cmdtest()
[all …]
/openbmc/linux/drivers/crypto/ccp/
H A Dccp-crypto-main.c67 struct ccp_cmd *cmd; member
180 held->cmd->flags |= CCP_CMD_MAY_BACKLOG; in ccp_crypto_complete()
181 ret = ccp_enqueue_cmd(held->cmd); in ccp_crypto_complete()
215 if (!(crypto_cmd->cmd->flags & CCP_CMD_MAY_BACKLOG)) { in ccp_crypto_enqueue_cmd()
234 ret = ccp_enqueue_cmd(crypto_cmd->cmd); in ccp_crypto_enqueue_cmd()
268 struct ccp_cmd *cmd) in ccp_crypto_enqueue_request() argument
284 crypto_cmd->cmd = cmd; in ccp_crypto_enqueue_request()
288 cmd->callback = ccp_crypto_complete; in ccp_crypto_enqueue_request()
289 cmd->data = crypto_cmd; in ccp_crypto_enqueue_request()
292 cmd->flags |= CCP_CMD_MAY_BACKLOG; in ccp_crypto_enqueue_request()
[all …]
/openbmc/openbmc/poky/meta/recipes-extended/blktool/blktool/
H A D0003-Fix-3-d-argument-for-BLKROSET-it-must-be-const-int.patch37 @@ -171,7 +171,14 @@ static void handle_bool(int argc, char **argv, struct command *cmd)
39 } else if ((argc == 4) && (cmd->write_ioctl_name != NULL)) {
41 - if (ioctl(blkdev, cmd->write_ioctl, do_32))
45 + ret = ioctl(blkdev, cmd->write_ioctl, &do_32);
47 + ret = ioctl(blkdev, cmd->write_ioctl, do_32);
50 pdie(cmd->write_ioctl_name, 1);
67 struct command cmd;
/openbmc/phosphor-ipmi-blobs/
H A Dprocess.cpp54 IpmiBlobHandler validateBlobCommand(uint8_t cmd, std::span<const uint8_t> data) in validateBlobCommand() argument
58 auto command = static_cast<BlobOEMCommands>(cmd); in validateBlobCommand()
69 if (requestLength > sizeof(cmd)) in validateBlobCommand()
126 Resp processBlobCommand(IpmiBlobHandler cmd, ManagerInterface* mgr, in processBlobCommand() argument
129 Resp result = cmd(mgr, data); in processBlobCommand()
176 Resp handleBlobCommand(uint8_t cmd, std::vector<uint8_t> data, size_t maxSize) in handleBlobCommand() argument
179 return processBlobCommand(validateBlobCommand(cmd, data), getBlobManager(), in handleBlobCommand()
/openbmc/linux/drivers/net/wireless/ath/ar5523/
H A Dar5523.c75 if (cmd->odata) { in ar5523_read_reply()
79 cmd->olen = 0; in ar5523_read_reply()
84 cmd->res = 0; in ar5523_read_reply()
130 cmd->res = 0; in ar5523_cmd_rx_cb()
131 cmd->olen = 0; in ar5523_cmd_rx_cb()
162 cmd->res = 0; in ar5523_cmd_rx_cb()
239 cmd->res = 0; in ar5523_cmd_tx_cb()
271 cmd->olen = olen; in ar5523_cmd()
277 cmd->buf_tx, xferlen, ar5523_cmd_tx_cb, cmd); in ar5523_cmd()
294 return cmd->res; in ar5523_cmd()
[all …]
/openbmc/linux/drivers/media/usb/gspca/
H A Dkinect.c42 __le16 cmd; member
120 static int send_cmd(struct gspca_dev *gspca_dev, uint16_t cmd, void *cmdbuf, in send_cmd() argument
138 chdr->cmd = cpu_to_le16(cmd); in send_cmd()
146 cmd, in send_cmd()
169 if (rhdr->cmd != chdr->cmd) { in send_cmd()
171 rhdr->cmd, chdr->cmd); in send_cmd()
202 __le16 cmd[2]; in write_register() local
205 cmd[0] = cpu_to_le16(reg); in write_register()
206 cmd[1] = cpu_to_le16(data); in write_register()
209 res = send_cmd(gspca_dev, 0x03, cmd, 4, reply, 4); in write_register()
/openbmc/linux/drivers/xen/xen-pciback/
H A Dconf_space_header.c36 struct pci_cmd_info *cmd = kmalloc(sizeof(*cmd), GFP_KERNEL); in command_init() local
39 if (!cmd) in command_init()
44 kfree(cmd); in command_init()
48 return cmd; in command_init()
54 const struct pci_cmd_info *cmd = data; in command_read() local
57 *value |= cmd->val & ~PCI_COMMAND_GUEST; in command_read()
67 struct pci_cmd_info *cmd = data; in command_write() local
92 if (!(cmd->val & PCI_COMMAND_INVALIDATE) && in command_write()
101 } else if ((cmd->val & PCI_COMMAND_INVALIDATE) && in command_write()
108 ((cmd->val ^ value) & PCI_COMMAND_INTX_DISABLE)) in command_write()
[all …]
/openbmc/qemu/hw/sd/
H A Dbcm2835_sdhost.c118 request.cmd = s->cmd & SDCMD_CMD_MASK; in bcm2835_sdhost_send_command()
125 if (!(s->cmd & SDCMD_NO_RESPONSE)) { in bcm2835_sdhost_send_command()
126 if (rlen == 0 || (rlen == 4 && (s->cmd & SDCMD_LONG_RESPONSE))) { in bcm2835_sdhost_send_command()
151 s->cmd |= SDCMD_FAIL_FLAG; in bcm2835_sdhost_send_command()
189 is_read = (s->cmd & SDCMD_READ_CMD) != 0; in bcm2835_sdhost_fifo_run()
190 is_write = (s->cmd & SDCMD_WRITE_CMD) != 0; in bcm2835_sdhost_fifo_run()
266 res = s->cmd; in bcm2835_sdhost_read()
321 s->cmd = value; in bcm2835_sdhost_write()
325 s->cmd &= ~SDCMD_NEW_FLAG; in bcm2835_sdhost_write()
385 VMSTATE_UINT32(cmd, BCM2835SDHostState),
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Defibootpartition.py17 cmd = "runqemu nographic serial wic ovmf"
19 cmd += " kvm"
32 with runqemu(image, ssh=False, launch_cmd=cmd) as qemu:
33 self.assertTrue(qemu.runner.logged, "Failed: %s" % cmd)
/openbmc/u-boot/board/synopsys/axs10x/
H A Daxs10x.c101 int cmd = readl((void __iomem *)AXC003_CREG_CPU_START); in smp_kick_all_cpus() local
104 cmd |= (1 << BITS_CORE_SEL) | (1 << BITS_START); in smp_kick_all_cpus()
105 cmd &= ~(1 << BITS_START_MODE); in smp_kick_all_cpus()
107 cmd |= (1 << BITS_START_CORE1); in smp_kick_all_cpus()
109 writel(cmd, (void __iomem *)AXC003_CREG_CPU_START); in smp_kick_all_cpus()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/nss/nss/
H A Dnss-no-rpath-for-cross-compiling.patch10 nss/cmd/platlibs.mk | 4 ++--
13 diff --git a/nss/cmd/platlibs.mk b/nss/cmd/platlibs.mk
15 --- a/nss/cmd/platlibs.mk
16 +++ b/nss/cmd/platlibs.mk

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