/openbmc/ipmitool/src/plugins/lanplus/ |
H A D | lanplus.c | 318 e->rq_seq, e->req.msg.cmd); in ipmi_req_add_entry() 328 while (e && (e->rq_seq != seq || e->req.msg.cmd != cmd)) { in ipmi_req_lookup_entry() 343 while (e && (e->rq_seq != seq || e->req.msg.cmd != cmd)) { in ipmi_req_remove_entry() 349 seq, cmd); in ipmi_req_remove_entry() 384 e->rq_seq, e->req.msg.cmd); in ipmi_req_clear_entries() 1445 msg[len++] = req->msg.cmd; in getIpmiPayloadWireRep() 1897 entry->req.msg.cmd = 0x34; in ipmi_lanplus_build_v2x_ipmi_cmd() 2027 msg[len++] = req->msg.cmd; in ipmi_lanplus_build_v15_ipmi_cmd() 2742 req.msg.cmd = 0x3c; in ipmi_close_session_cmd() 3324 req.msg.cmd = 0x3b; in ipmi_set_session_privlvl_cmd() [all …]
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_modes.c | 2543 if (cmd->xres == 0 || cmd->yres == 0) in drm_mode_create_from_cmdline_mode() 2546 if (strlen(cmd->name)) in drm_mode_create_from_cmdline_mode() 2548 else if (cmd->cvt) in drm_mode_create_from_cmdline_mode() 2550 cmd->xres, cmd->yres, in drm_mode_create_from_cmdline_mode() 2551 cmd->refresh_specified ? cmd->refresh : 60, in drm_mode_create_from_cmdline_mode() 2552 cmd->rb, cmd->interlace, in drm_mode_create_from_cmdline_mode() 2553 cmd->margins); in drm_mode_create_from_cmdline_mode() 2556 cmd->xres, cmd->yres, in drm_mode_create_from_cmdline_mode() 2557 cmd->refresh_specified ? cmd->refresh : 60, in drm_mode_create_from_cmdline_mode() 2558 cmd->interlace, in drm_mode_create_from_cmdline_mode() [all …]
|
/openbmc/linux/drivers/scsi/csiostor/ |
H A D | csio_mb.c | 1161 __be64 cmd[CSIO_MB_MAX_REGS]; in csio_mb_debug_cmd_handler() local 1170 csio_mb_dump_fw_dbg(hw, cmd); in csio_mb_debug_cmd_handler() 1193 __be64 *cmd = mbp->mb; in csio_mb_issue() local 1271 cmd++; in csio_mb_issue() 1296 cmd = mbp->mb; in csio_mb_issue() 1338 hw->pfn, *((uint8_t *)cmd)); in csio_mb_issue() 1407 uint8_t opcode = *(uint8_t *)cmd; in csio_mb_fwevt_handler() 1416 pcmd = (struct fw_port_cmd *)cmd; in csio_mb_fwevt_handler() 1455 csio_mb_dump_fw_dbg(hw, cmd); in csio_mb_fwevt_handler() 1476 __be64 *cmd; in csio_mb_isr_handler() local [all …]
|
/openbmc/linux/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_minidump.c | 1133 cmd->rsp.arg[2] = tmp_hdr.size; in qlcnic_fw_flash_get_minidump_temp_size() 1144 struct qlcnic_cmd_args cmd; in qlcnic_fw_get_minidump_temp_size() local 1152 qlcnic_free_mbx_args(&cmd); in qlcnic_fw_get_minidump_temp_size() 1158 *temp_size = cmd.rsp.arg[2]; in qlcnic_fw_get_minidump_temp_size() 1159 *version = cmd.rsp.arg[3]; in qlcnic_fw_get_minidump_temp_size() 1160 qlcnic_free_mbx_args(&cmd); in qlcnic_fw_get_minidump_temp_size() 1174 struct qlcnic_cmd_args cmd; in __qlcnic_fw_cmd_get_minidump_temp() local 1187 cmd.req.arg[1] = LSD(tmp_addr_t); in __qlcnic_fw_cmd_get_minidump_temp() 1188 cmd.req.arg[2] = MSD(tmp_addr_t); in __qlcnic_fw_cmd_get_minidump_temp() 1189 cmd.req.arg[3] = temp_size; in __qlcnic_fw_cmd_get_minidump_temp() [all …]
|
/openbmc/linux/net/devlink/ |
H A D | trap.c | 259 enum devlink_command cmd, u32 portid, u32 seq, in devlink_nl_trap_fill() argument 477 enum devlink_command cmd, u32 portid, u32 seq, in devlink_nl_trap_group_fill() argument 1170 enum devlink_command cmd) in devlink_trap_group_notify() argument 1175 WARN_ON_ONCE(cmd != DEVLINK_CMD_TRAP_GROUP_NEW && in devlink_trap_group_notify() 1176 cmd != DEVLINK_CMD_TRAP_GROUP_DEL); in devlink_trap_group_notify() 1231 enum devlink_command cmd) in devlink_trap_notify() argument 1236 WARN_ON_ONCE(cmd != DEVLINK_CMD_TRAP_NEW && in devlink_trap_notify() 1237 cmd != DEVLINK_CMD_TRAP_DEL); in devlink_trap_notify() 1707 enum devlink_command cmd) in devlink_trap_policer_notify() argument 1712 WARN_ON_ONCE(cmd != DEVLINK_CMD_TRAP_POLICER_NEW && in devlink_trap_policer_notify() [all …]
|
/openbmc/ipmitool/lib/ |
H A D | ipmi_kontronoem.c | 186 req.msg.cmd = 0x82; in ipmi_kontronoem_send_set_large_buffer() 240 req.msg.cmd = 0x0C; in ipmi_kontron_set_serial_number() 268 req.msg.cmd = GET_FRU_INFO; in ipmi_kontron_set_serial_number() 301 req.msg.cmd = GET_FRU_DATA; in ipmi_kontron_set_serial_number() 529 req.msg.cmd = 0x0E; in ipmi_kontron_set_mfg_date() 553 req.msg.cmd = GET_FRU_INFO; in ipmi_kontron_set_mfg_date() 581 req.msg.cmd = GET_FRU_DATA; in ipmi_kontron_set_mfg_date() 687 req.msg.cmd = 0x02; in ipmi_kontron_nextboot_set()
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-fsi.c | 240 u32 cmd = I2C_CMD_WITH_START | I2C_CMD_WITH_ADDR; in fsi_i2c_start() local 245 cmd |= I2C_CMD_READ; in fsi_i2c_start() 248 cmd |= I2C_CMD_WITH_STOP; in fsi_i2c_start() 250 cmd |= FIELD_PREP(I2C_CMD_ADDR, msg->addr); in fsi_i2c_start() 251 cmd |= FIELD_PREP(I2C_CMD_LEN, msg->len); in fsi_i2c_start() 253 return fsi_i2c_write_reg(i2c->fsi, I2C_FSI_CMD, &cmd); in fsi_i2c_start() 479 u32 cmd = I2C_CMD_WITH_STOP; in fsi_i2c_abort() local 504 rc = fsi_i2c_write_reg(fsi, I2C_FSI_CMD, &cmd); in fsi_i2c_abort()
|
/openbmc/qemu/tests/qtest/libqos/ |
H A D | pci.c | 223 uint16_t cmd; in qpci_device_enable() local 226 cmd = qpci_config_readw(dev, PCI_COMMAND); in qpci_device_enable() 227 cmd |= PCI_COMMAND_IO | PCI_COMMAND_MEMORY | PCI_COMMAND_MASTER; in qpci_device_enable() 228 qpci_config_writew(dev, PCI_COMMAND, cmd); in qpci_device_enable() 231 cmd = qpci_config_readw(dev, PCI_COMMAND); in qpci_device_enable() 232 g_assert_cmphex(cmd & PCI_COMMAND_IO, ==, PCI_COMMAND_IO); in qpci_device_enable() 233 g_assert_cmphex(cmd & PCI_COMMAND_MEMORY, ==, PCI_COMMAND_MEMORY); in qpci_device_enable() 234 g_assert_cmphex(cmd & PCI_COMMAND_MASTER, ==, PCI_COMMAND_MASTER); in qpci_device_enable()
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | mcdi.h | 145 int efx_mcdi_rpc(struct efx_nic *efx, unsigned cmd, const efx_dword_t *inbuf, 148 int efx_mcdi_rpc_quiet(struct efx_nic *efx, unsigned cmd, 153 int efx_mcdi_rpc_start(struct efx_nic *efx, unsigned cmd, 155 int efx_mcdi_rpc_finish(struct efx_nic *efx, unsigned cmd, size_t inlen, 158 int efx_mcdi_rpc_finish_quiet(struct efx_nic *efx, unsigned cmd, 166 int efx_mcdi_rpc_async(struct efx_nic *efx, unsigned int cmd, 170 int efx_mcdi_rpc_async_quiet(struct efx_nic *efx, unsigned int cmd, 176 void efx_mcdi_display_error(struct efx_nic *efx, unsigned cmd,
|
/openbmc/linux/sound/soc/sof/ |
H A D | ipc3-control.c | 59 if (cdata->cmd == SOF_CTRL_CMD_BINARY) { in sof_ipc3_set_get_kcontrol_data() 67 cdata->rhdr.hdr.cmd = SOF_IPC_GLB_COMP_MSG | ipc_cmd; in sof_ipc3_set_get_kcontrol_data() 399 if (header.numid != cdata->cmd) { in sof_ipc3_bytes_ext_put() 498 header.numid = cdata->cmd; in _sof_ipc3_bytes_ext_get() 531 if (cdata->cmd == SOF_CTRL_CMD_BINARY) { in snd_sof_update_control() 582 switch (cdata->cmd) { in sof_ipc3_control_update() 594 dev_err(sdev->dev, "Unknown cmd %u in %s\n", cdata->cmd, __func__); in sof_ipc3_control_update() 611 switch (cdata->cmd) { in sof_ipc3_control_update()
|
/openbmc/linux/sound/soc/sof/intel/ |
H A D | hda-dai.c | 260 static int __maybe_unused hda_dai_trigger(struct snd_pcm_substream *substream, int cmd, in hda_dai_trigger() argument 273 dev_dbg(dai->dev, "cmd=%d dai %s direction %d\n", cmd, in hda_dai_trigger() 283 ret = ops->pre_trigger(sdev, dai, substream, cmd); in hda_dai_trigger() 289 ret = ops->trigger(sdev, dai, substream, cmd); in hda_dai_trigger() 295 ret = ops->post_trigger(sdev, dai, substream, cmd); in hda_dai_trigger() 300 switch (cmd) { in hda_dai_trigger() 497 int sdw_hda_dai_trigger(struct snd_pcm_substream *substream, int cmd, in sdw_hda_dai_trigger() argument 500 return hda_dai_trigger(substream, cmd, cpu_dai); in sdw_hda_dai_trigger()
|
/openbmc/linux/drivers/nvme/target/ |
H A D | fabrics-cmd-auth.c | 190 if (req->cmd->auth_send.secp != NVME_AUTH_DHCHAP_PROTOCOL_IDENTIFIER) { in nvmet_execute_auth_send() 196 if (req->cmd->auth_send.spsp0 != 0x01) { in nvmet_execute_auth_send() 202 if (req->cmd->auth_send.spsp1 != 0x01) { in nvmet_execute_auth_send() 208 tl = le32_to_cpu(req->cmd->auth_send.tl); in nvmet_execute_auth_send() 438 if (req->cmd->auth_receive.secp != NVME_AUTH_DHCHAP_PROTOCOL_IDENTIFIER) { in nvmet_execute_auth_receive() 444 if (req->cmd->auth_receive.spsp0 != 0x01) { in nvmet_execute_auth_receive() 450 if (req->cmd->auth_receive.spsp1 != 0x01) { in nvmet_execute_auth_receive() 456 al = le32_to_cpu(req->cmd->auth_receive.al); in nvmet_execute_auth_receive()
|
/openbmc/linux/fs/ |
H A D | locks.c | 417 switch (cmd) { in flock_translate_cmd() 2083 if (cmd & LOCK_MAND) { in SYSCALL_DEFINE2() 2106 can_sleep = !(cmd & LOCK_NB); in SYSCALL_DEFINE2() 2226 if (cmd == F_OFD_GETLK) { in fcntl_getlk() 2358 switch (cmd) { in fcntl_setlk() 2364 cmd = F_SETLK; in fcntl_setlk() 2373 cmd = F_SETLKW; in fcntl_setlk() 2433 if (cmd == F_OFD_GETLK) { in fcntl_getlk64() 2480 switch (cmd) { in fcntl_setlk64() 2486 cmd = F_SETLK64; in fcntl_setlk64() [all …]
|
/openbmc/linux/drivers/usb/host/ |
H A D | xhci-ring.c | 634 struct xhci_command *cmd; in xhci_move_dequeue_past_td() local 725 if (!cmd) { in xhci_move_dequeue_past_td() 1628 list_del(&cmd->cmd_list); in xhci_complete_del_and_free_cmd() 1630 if (cmd->completion) { in xhci_complete_del_and_free_cmd() 1631 cmd->status = status; in xhci_complete_del_and_free_cmd() 1632 complete(cmd->completion); in xhci_complete_del_and_free_cmd() 1634 kfree(cmd); in xhci_complete_del_and_free_cmd() 1732 struct xhci_command *cmd; in handle_cmd_completion() local 1799 if (!cmd->completion) in handle_cmd_completion() 1810 if (!cmd->completion) in handle_cmd_completion() [all …]
|
/openbmc/linux/drivers/scsi/cxlflash/ |
H A D | superpipe.c | 1922 static char *decode_ioctl(unsigned int cmd) in decode_ioctl() argument 1924 switch (cmd) { in decode_ioctl() 2064 switch (cmd) { in ioctl_common() 2131 switch (cmd) { in cxlflash_ioctl() 2142 switch (cmd) { in cxlflash_ioctl() 2153 __func__, decode_ioctl(cmd), cmd, shost->host_no, in cxlflash_ioctl() 2155 rc = ioctl_common(sdev, cmd); in cxlflash_ioctl() 2178 __func__, size, cmd, decode_ioctl(cmd), arg); in cxlflash_ioctl() 2186 __func__, hdr->version, decode_ioctl(cmd)); in cxlflash_ioctl() 2201 __func__, size, cmd, decode_ioctl(cmd), arg); in cxlflash_ioctl() [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | ops.c | 909 switch (hdr->cmd) { in iwl_mvm_frob_hcmd() 1563 if (cmds_trig->cmds[i].cmd_id != pkt->hdr.cmd || in iwl_mvm_rx_check_trigger() 1569 pkt->hdr.group_id, pkt->hdr.cmd); in iwl_mvm_rx_check_trigger() 1634 u16 cmd = WIDE_ID(pkt->hdr.group_id, pkt->hdr.cmd); in iwl_mvm_rx() local 1638 else if (cmd == WIDE_ID(LEGACY_GROUP, REPLY_RX_PHY_CMD)) in iwl_mvm_rx() 1650 u16 cmd = WIDE_ID(pkt->hdr.group_id, pkt->hdr.cmd); in iwl_mvm_rx_mq() local 1654 else if (unlikely(cmd == WIDE_ID(DATA_PATH_GROUP, in iwl_mvm_rx_mq() 1657 else if (cmd == WIDE_ID(LEGACY_GROUP, FRAME_RELEASE)) in iwl_mvm_rx_mq() 1668 const struct iwl_device_cmd *cmd) in iwl_mvm_async_cb() argument 2016 u16 cmd = WIDE_ID(pkt->hdr.group_id, pkt->hdr.cmd); in iwl_mvm_rx_mq_rss() local [all …]
|
/openbmc/linux/drivers/memstick/host/ |
H A D | jmb38x_ms.c | 369 unsigned int data_len, cmd, t_val; in jmb38x_ms_issue_cmd() local 387 cmd = host->req->tpc << 16; in jmb38x_ms_issue_cmd() 388 cmd |= TPC_DATA_SEL; in jmb38x_ms_issue_cmd() 391 cmd |= TPC_DIR; in jmb38x_ms_issue_cmd() 395 cmd |= TPC_GET_INT; in jmb38x_ms_issue_cmd() 397 cmd |= TPC_WAIT_INT; in jmb38x_ms_issue_cmd() 411 cmd &= ~(TPC_DATA_SEL | 0xf); in jmb38x_ms_issue_cmd() 413 cmd |= data_len & 0xf; in jmb38x_ms_issue_cmd() 444 cmd &= ~(TPC_DATA_SEL | 0xf); in jmb38x_ms_issue_cmd() 446 cmd |= data_len & 0xf; in jmb38x_ms_issue_cmd() [all …]
|
/openbmc/linux/drivers/net/usb/ |
H A D | catc.c | 681 struct ethtool_link_ksettings *cmd) in catc_get_link_ksettings() argument 687 ethtool_link_ksettings_zero_link_mode(cmd, supported); in catc_get_link_ksettings() 688 ethtool_link_ksettings_add_link_mode(cmd, supported, 10baseT_Half); in catc_get_link_ksettings() 689 ethtool_link_ksettings_add_link_mode(cmd, supported, TP); in catc_get_link_ksettings() 691 ethtool_link_ksettings_zero_link_mode(cmd, advertising); in catc_get_link_ksettings() 693 ethtool_link_ksettings_add_link_mode(cmd, advertising, TP); in catc_get_link_ksettings() 695 cmd->base.speed = SPEED_10; in catc_get_link_ksettings() 696 cmd->base.duplex = DUPLEX_HALF; in catc_get_link_ksettings() 697 cmd->base.port = PORT_TP; in catc_get_link_ksettings() 698 cmd->base.phy_address = 0; in catc_get_link_ksettings() [all …]
|
/openbmc/linux/drivers/input/misc/ |
H A D | uinput.c | 887 static long uinput_ioctl_handler(struct file *file, unsigned int cmd, in uinput_ioctl_handler() argument 911 switch (cmd) { in uinput_ioctl_handler() 1063 size = _IOC_SIZE(cmd); in uinput_ioctl_handler() 1066 switch (cmd & ~IOCSIZE_MASK) { in uinput_ioctl_handler() 1089 return uinput_ioctl_handler(file, cmd, arg, (void __user *)arg); in uinput_ioctl() 1106 unsigned int cmd, unsigned long arg) in uinput_compat_ioctl() argument 1108 switch (cmd) { in uinput_compat_ioctl() 1110 cmd = UI_SET_PHYS; in uinput_compat_ioctl() 1113 cmd = UI_BEGIN_FF_UPLOAD; in uinput_compat_ioctl() 1116 cmd = UI_END_FF_UPLOAD; in uinput_compat_ioctl() [all …]
|
/openbmc/linux/drivers/xen/xenbus/ |
H A D | xenbus_dev_backend.c | 74 static long xenbus_backend_ioctl(struct file *file, unsigned int cmd, in xenbus_backend_ioctl() argument 80 switch (cmd) { in xenbus_backend_ioctl()
|
/openbmc/linux/include/uapi/linux/ |
H A D | ax25.h | 74 int cmd; member 82 unsigned int cmd; member
|
/openbmc/u-boot/arch/x86/lib/ |
H A D | pmu.c | 17 u32 cmd; member 75 writel(0x00002201, ®s->cmd); in pmu_power_lss()
|
/openbmc/linux/drivers/platform/x86/intel/ |
H A D | turbo_max_3.c | 37 u64 value, cmd = OC_MAILBOX_FC_CONTROL_CMD; in get_oc_core_priority() local 41 value = cmd << MSR_OC_MAILBOX_CMD_OFFSET; in get_oc_core_priority()
|
/openbmc/openbmc/poky/meta/lib/oeqa/runtime/cases/ |
H A D | maturin.py | 50 cmd = "cd %s; maturin develop" % targetdir 51 status, output = self.target.run(cmd)
|
/openbmc/linux/drivers/net/wwan/iosm/ |
H A D | iosm_ipc_devlink.h | 195 __le16 cmd; member 203 int ipc_devlink_send_cmd(struct iosm_devlink *ipc_devlink, u16 cmd, u32 entry);
|