/openbmc/linux/include/linux/ |
H A D | nvme-tcp.h | 137 struct nvme_command cmd; member 191 struct nvme_tcp_cmd_pdu cmd; member
|
/openbmc/openbmc/poky/meta/lib/oeqa/sdk/ |
H A D | case.py | 14 def _run(self, cmd): argument 16 (self.tc.sdk_env, cmd), shell=True, executable="/bin/bash",
|
/openbmc/qemu/tests/functional/ |
H A D | test_arm_integratorcp.py | 87 self.vm.cmd('human-monitor-command', command_line='stop') 88 self.vm.cmd('human-monitor-command',
|
/openbmc/linux/drivers/gpio/ |
H A D | gpiolib-cdev.c | 80 static long call_ioctl_locked(struct file *file, unsigned int cmd, in call_ioctl_locked() argument 87 ret = func(file, cmd, arg); in call_ioctl_locked() 257 switch (cmd) { in linehandle_ioctl_unlocked() 308 return call_ioctl_locked(file, cmd, arg, lh->gdev, in linehandle_ioctl() 1630 switch (cmd) { in linereq_ioctl_unlocked() 1642 static long linereq_ioctl(struct file *file, unsigned int cmd, in linereq_ioctl() argument 1647 return call_ioctl_locked(file, cmd, arg, lr->gdev, in linereq_ioctl() 2154 if (cmd == GPIOHANDLE_GET_LINE_VALUES_IOCTL) { in lineevent_ioctl_unlocked() 2177 return call_ioctl_locked(file, cmd, arg, le->gdev, in lineevent_ioctl() 2676 switch (cmd) { in gpio_ioctl_unlocked() [all …]
|
/openbmc/linux/drivers/block/drbd/ |
H A D | drbd_receiver.c | 44 enum drbd_packet cmd; member 838 return pi.cmd; in receive_first_packet() 5062 cmd = &drbd_cmd_handler[pi.cmd]; in drbdd() 5065 cmdname(pi.cmd), pi.cmd); in drbdd() 5298 cmdname(pi.cmd), pi.cmd); in drbd_do_features() 5421 cmdname(pi.cmd), pi.cmd); in drbd_do_auth() 5487 cmdname(pi.cmd), pi.cmd); in drbd_do_auth() 6046 cmd = &ack_receiver_tbl[pi.cmd]; in drbd_ack_receiver() 6047 if (pi.cmd >= ARRAY_SIZE(ack_receiver_tbl) || !cmd->fn) { in drbd_ack_receiver() 6049 cmdname(pi.cmd), pi.cmd); in drbd_ack_receiver() [all …]
|
/openbmc/linux/net/bluetooth/ |
H A D | hci_conn.c | 255 cmd = kzalloc(sizeof(*cmd) + vnd_len, GFP_KERNEL); in configure_datapath_sync() 256 if (!cmd) { in configure_datapath_sync() 265 cmd->vnd_len = vnd_len; in configure_datapath_sync() 268 cmd->direction = 0x00; in configure_datapath_sync() 270 sizeof(*cmd) + vnd_len, cmd, HCI_CMD_TIMEOUT); in configure_datapath_sync() 272 cmd->direction = 0x01; in configure_datapath_sync() 274 sizeof(*cmd) + vnd_len, cmd, in configure_datapath_sync() 278 kfree(cmd); in configure_datapath_sync() 1916 memset(&cmd, 0, sizeof(cmd)); in hci_iso_setup_path() 1925 &cmd) < 0) in hci_iso_setup_path() [all …]
|
/openbmc/linux/drivers/net/usb/ |
H A D | sr9800.c | 28 static int sr_read_cmd(struct usbnet *dev, u8 cmd, u16 value, u16 index, in sr_read_cmd() argument 33 err = usbnet_read_cmd(dev, cmd, SR_REQ_RD_REG, value, index, in sr_read_cmd() 41 static int sr_write_cmd(struct usbnet *dev, u8 cmd, u16 value, u16 index, in sr_write_cmd() argument 46 err = usbnet_write_cmd(dev, cmd, SR_REQ_WR_REG, value, index, in sr_write_cmd() 55 sr_write_cmd_async(struct usbnet *dev, u8 cmd, u16 value, u16 index, in sr_write_cmd_async() argument 58 usbnet_write_cmd_async(dev, cmd, SR_REQ_WR_REG, value, index, data, in sr_write_cmd_async() 488 static int sr_ioctl(struct net_device *net, struct ifreq *rq, int cmd) in sr_ioctl() argument 492 return generic_mii_ioctl(&dev->mii, if_mii(rq), cmd, NULL); in sr_ioctl() 536 struct ethtool_cmd ecmd = { .cmd = ETHTOOL_GSET }; in sr9800_link_reset()
|
/openbmc/linux/drivers/char/ipmi/ |
H A D | ipmi_watchdog.c | 405 msg.cmd = IPMI_WDOG_SET_TIMER; in __ipmi_set_timeout() 497 msg.cmd = IPMI_WDOG_RESET_TIMER; in panic_halt_ipmi_heartbeat() 569 msg.cmd = IPMI_WDOG_RESET_TIMER; in __ipmi_heartbeat() 670 unsigned int cmd, unsigned long arg) in ipmi_ioctl() argument 676 switch (cmd) { in ipmi_ioctl() 739 unsigned int cmd, in ipmi_unlocked_ioctl() argument 745 ret = ipmi_ioctl(file, cmd, arg); in ipmi_unlocked_ioctl() 918 if (msg->msg.cmd == IPMI_WDOG_RESET_TIMER && in ipmi_wdog_msg_handler() 924 msg->msg.cmd); in ipmi_wdog_msg_handler()
|
H A D | ssif_bmc.c | 438 static bool supported_read_cmd(u8 cmd) in supported_read_cmd() argument 440 if (cmd == SSIF_IPMI_SINGLEPART_READ || in supported_read_cmd() 441 cmd == SSIF_IPMI_MULTIPART_READ_START || in supported_read_cmd() 442 cmd == SSIF_IPMI_MULTIPART_READ_MIDDLE) in supported_read_cmd() 448 static bool supported_write_cmd(u8 cmd) in supported_write_cmd() argument 450 if (cmd == SSIF_IPMI_SINGLEPART_WRITE || in supported_write_cmd() 451 cmd == SSIF_IPMI_MULTIPART_WRITE_START || in supported_write_cmd() 452 cmd == SSIF_IPMI_MULTIPART_WRITE_MIDDLE || in supported_write_cmd() 453 cmd == SSIF_IPMI_MULTIPART_WRITE_END) in supported_write_cmd()
|
/openbmc/linux/net/ncsi/ |
H A D | ncsi-netlink.c | 543 net = dev_net(nr->cmd->dev); in ncsi_send_netlink_timeout() 545 nla_put_u32(skb, NCSI_ATTR_IFINDEX, nr->cmd->dev->ifindex); in ncsi_send_netlink_timeout() 552 nr->cmd->data)->channel))); in ncsi_send_netlink_timeout() 725 .cmd = NCSI_CMD_PKG_INFO, 732 .cmd = NCSI_CMD_SET_INTERFACE, 738 .cmd = NCSI_CMD_CLEAR_INTERFACE, 744 .cmd = NCSI_CMD_SEND_CMD, 750 .cmd = NCSI_CMD_SET_PACKAGE_MASK, 756 .cmd = NCSI_CMD_SET_CHANNEL_MASK,
|
/openbmc/linux/drivers/tty/ |
H A D | pty.c | 454 unsigned int cmd, unsigned long arg) in pty_bsd_ioctl() argument 456 switch (cmd) { in pty_bsd_ioctl() 475 unsigned int cmd, unsigned long arg) in pty_bsd_compat_ioctl() argument 481 return pty_bsd_ioctl(tty, cmd, (unsigned long)compat_ptr(arg)); in pty_bsd_compat_ioctl() 643 unsigned int cmd, unsigned long arg) in pty_unix98_ioctl() argument 645 switch (cmd) { in pty_unix98_ioctl() 665 unsigned int cmd, unsigned long arg) in pty_unix98_compat_ioctl() argument 671 return pty_unix98_ioctl(tty, cmd, in pty_unix98_compat_ioctl() 672 cmd == TIOCSIG ? arg : (unsigned long)compat_ptr(arg)); in pty_unix98_compat_ioctl()
|
/openbmc/linux/arch/alpha/kernel/ |
H A D | core_cia.c | 858 const char *cmd; in cia_decode_pci_error() local 862 cmd = pci_cmd_desc[cia->pci_err0 & 0x7]; in cia_decode_pci_error() 877 printk(KERN_CRIT " DMA command: %s\n", cmd); in cia_decode_pci_error() 904 const char *cmd; in cia_decode_pci_error() local 911 cmd = pci_cmd_desc[(cia->pci_err0 >> 24) & 0xF]; in cia_decode_pci_error() 921 printk(KERN_CRIT " PCI command: %s\n", cmd); in cia_decode_pci_error() 1090 const char *cmd; in cia_decode_parity_error() local 1095 cmd = cmd_desc[(cia->cpu_err1 >> 8) & 0xF]; in cia_decode_parity_error() 1100 printk(KERN_CRIT " Command: %s, Parity bit: %d\n", cmd, par); in cia_decode_parity_error()
|
/openbmc/linux/arch/s390/kvm/ |
H A D | pv.c | 103 .header.cmd = UVC_CMD_CREATE_SEC_CPU, in kvm_s390_pv_create_cpu() 274 .header.cmd = UVC_CMD_DESTROY_SEC_CONF_FAST, in kvm_s390_pv_deinit_vm_fast() 561 .header.cmd = UVC_CMD_CREATE_SEC_CONF, in kvm_s390_pv_init_vm() 614 .header.cmd = UVC_CMD_SET_SEC_CONF_PARAMS, in kvm_s390_pv_set_sec_parms() 633 .header.cmd = UVC_CMD_UNPACK_IMG, in unpack_one() 684 .header.cmd = UVC_CMD_CPU_SET_STATE, in kvm_s390_pv_set_cpu_state() 702 .header.cmd = UVC_CMD_DUMP_CPU, in kvm_s390_pv_dump_cpu() 750 .header.cmd = UVC_CMD_DUMP_CONF_STOR_STATE, in kvm_s390_pv_dump_stor_state() 859 .header.cmd = UVC_CMD_DUMP_COMPLETE, in kvm_s390_pv_dump_complete()
|
/openbmc/linux/drivers/tee/optee/ |
H A D | ffa_abi.c | 501 switch (arg->cmd) { in handle_ffa_rpc_func_cmd() 514 u32 cmd, struct optee_msg_arg *arg) in optee_handle_ffa_rpc() argument 516 switch (cmd) { in optee_handle_ffa_rpc() 524 pr_warn("Unknown RPC func 0x%x\n", cmd); in optee_handle_ffa_rpc() 537 u32 cmd = data->data0; in optee_ffa_yielding_call() local 554 if (cmd == OPTEE_FFA_YIELDING_CALL_RESUME) { in optee_ffa_yielding_call() 564 data->data0 = cmd; in optee_ffa_yielding_call() 586 cmd = OPTEE_FFA_YIELDING_CALL_RESUME; in optee_ffa_yielding_call() 587 data->data0 = cmd; in optee_ffa_yielding_call()
|
/openbmc/linux/sound/firewire/fireworks/ |
H A D | fireworks_hwdep.c | 278 unsigned int cmd, unsigned long arg) in hwdep_ioctl() argument 282 switch (cmd) { in hwdep_ioctl() 297 unsigned int cmd, unsigned long arg) in hwdep_compat_ioctl() argument 299 return hwdep_ioctl(hwdep, file, cmd, in hwdep_compat_ioctl()
|
/openbmc/linux/drivers/rtc/ |
H A D | rtc-moxart.c | 99 static u8 moxart_rtc_read_register(struct device *dev, u8 cmd) in moxart_rtc_read_register() argument 110 moxart_rtc_write_byte(dev, cmd); in moxart_rtc_read_register() 123 static void moxart_rtc_write_register(struct device *dev, u8 cmd, u8 data) in moxart_rtc_write_register() argument 133 moxart_rtc_write_byte(dev, cmd); in moxart_rtc_write_register()
|
/openbmc/linux/drivers/xen/ |
H A D | pcpu.c | 80 .cmd = XENPF_cpu_offline, in xen_pcpu_down() 91 .cmd = XENPF_cpu_online, in xen_pcpu_up() 280 .cmd = XENPF_get_cpuinfo, in sync_pcpu() 410 .cmd = XENPF_set_processor_pminfo, in xen_sanitize_proc_cap_bits()
|
/openbmc/linux/drivers/net/wwan/iosm/ |
H A D | iosm_ipc_devlink.c | 147 int ipc_devlink_send_cmd(struct iosm_devlink *ipc_devlink, u16 cmd, u32 entry) in ipc_devlink_send_cmd() argument 152 rpsi_cmd.cmd = cpu_to_le16(cmd); in ipc_devlink_send_cmd() 154 rpsi_cmd.cmd; in ipc_devlink_send_cmd()
|
/openbmc/linux/kernel/time/ |
H A D | posix-clock.c | 73 unsigned int cmd, unsigned long arg) in posix_clock_ioctl() argument 82 err = clk->ops.ioctl(clk, cmd, arg); in posix_clock_ioctl() 91 unsigned int cmd, unsigned long arg) in posix_clock_compat_ioctl() argument 100 err = clk->ops.ioctl(clk, cmd, arg); in posix_clock_compat_ioctl()
|
/openbmc/linux/drivers/net/ethernet/marvell/ |
H A D | mv643xx_eth.c | 674 u32 cmd = 0; in skb_tx_csum() local 695 cmd |= MAC_HDR_EXTRA_4_BYTES; in skb_tx_csum() 697 cmd |= MAC_HDR_EXTRA_8_BYTES; in skb_tx_csum() 708 cmd |= UDP_FRAME; in skb_tx_csum() 720 cmd |= 5 << TX_IHL_SHIFT; in skb_tx_csum() 722 *command = cmd; in skb_tx_csum() 1514 cmd->base.speed = SPEED_10; in mv643xx_eth_get_link_ksettings_phyless() 1517 cmd->base.speed = SPEED_100; in mv643xx_eth_get_link_ksettings_phyless() 1523 cmd->base.speed = -1; in mv643xx_eth_get_link_ksettings_phyless() 1528 cmd->base.port = PORT_MII; in mv643xx_eth_get_link_ksettings_phyless() [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | lib.c | 998 struct iwl_host_cmd cmd = { in iwlagn_send_patterns() local 1007 cmd.len[0] = struct_size(pattern_cmd, patterns, wowlan->n_patterns); in iwlagn_send_patterns() 1009 pattern_cmd = kmalloc(cmd.len[0], GFP_KERNEL); in iwlagn_send_patterns() 1028 cmd.data[0] = pattern_cmd; in iwlagn_send_patterns() 1029 err = iwl_dvm_send_cmd(priv, &cmd); in iwlagn_send_patterns() 1223 iwl_get_cmd_string(priv->trans, cmd->id)); in iwl_dvm_send_cmd() 1232 IWL_ERR(priv, "Fw not loaded - dropping CMD: %x\n", cmd->id); in iwl_dvm_send_cmd() 1241 if (!(cmd->flags & CMD_ASYNC)) in iwl_dvm_send_cmd() 1244 return iwl_trans_send_cmd(priv->trans, cmd); in iwl_dvm_send_cmd() 1250 struct iwl_host_cmd cmd = { in iwl_dvm_send_cmd_pdu() local [all …]
|
/openbmc/linux/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_if.h | 839 __le64 cmd; member 881 u64 cmd; in encode_txq_desc_cmd() local 885 cmd |= (nsge & IONIC_TXQ_DESC_NSGE_MASK) << IONIC_TXQ_DESC_NSGE_SHIFT; in encode_txq_desc_cmd() 886 cmd |= (addr & IONIC_TXQ_DESC_ADDR_MASK) << IONIC_TXQ_DESC_ADDR_SHIFT; in encode_txq_desc_cmd() 888 return cmd; in encode_txq_desc_cmd() 891 static inline void decode_txq_desc_cmd(u64 cmd, u8 *opcode, u8 *flags, in decode_txq_desc_cmd() argument 896 *nsge = (cmd >> IONIC_TXQ_DESC_NSGE_SHIFT) & IONIC_TXQ_DESC_NSGE_MASK; in decode_txq_desc_cmd() 897 *addr = (cmd >> IONIC_TXQ_DESC_ADDR_SHIFT) & IONIC_TXQ_DESC_ADDR_MASK; in decode_txq_desc_cmd() 2892 struct ionic_admin_cmd cmd; member 3023 union ionic_dev_cmd cmd; member [all …]
|
/openbmc/linux/drivers/media/rc/ |
H A D | fintek-cir.c | 235 static int fintek_cmdsize(u8 cmd, u8 subcmd) in fintek_cmdsize() argument 239 switch (cmd) { in fintek_cmdsize() 278 fintek->cmd = sample; in fintek_process_rx_ir_data() 279 if ((fintek->cmd == BUF_COMMAND_HEADER) || in fintek_process_rx_ir_data() 280 ((fintek->cmd & BUF_COMMAND_MASK) != in fintek_process_rx_ir_data() 285 fintek->rem = (fintek->cmd & BUF_LEN_MASK); in fintek_process_rx_ir_data() 293 fintek->rem = fintek_cmdsize(fintek->cmd, sample); in fintek_process_rx_ir_data()
|
/openbmc/linux/Documentation/w1/ |
H A D | w1-netlink.rst | 48 __u8 cmd - command opcode. 83 cmd->len; 84 w1_netlink_msg.len = sizeof(struct w1_netlink_cmd) + cmd->len; 85 w1_netlink_cmd.len = cmd->len; 107 [w1_netlink_cmd cmd = W1_CMD_SEARCH or W1_CMD_ALARM_SEARCH] 114 [w1_netlink_cmd cmd = W1_CMD_SEARCH or W1_CMD_ALARM_SEARCH 134 [w1_netlink_cmd cmd = W1_CMD_RESET]
|
/openbmc/linux/drivers/mmc/host/ |
H A D | sdhci.h | 309 __le16 cmd; member 339 __le16 cmd; member 548 struct mmc_command *cmd; /* Current command */ member 652 struct mmc_command *cmd); 665 dma_addr_t addr, int len, unsigned int cmd); 802 dma_addr_t addr, int len, unsigned int cmd); 826 void __sdhci_set_timeout(struct sdhci_host *host, struct mmc_command *cmd);
|