/openbmc/openbmc/poky/scripts/ |
H A D | oe-setup-build | 94 …cmd = "TEMPLATECONF={} . {} {}".format(template["templatepath"], os.path.join(coredir, 'oe-init-bu… 96 cmd = cmd + " && {}".format(os.environ['SHELL']) 97 print("Running:", cmd) 98 subprocess.run(cmd, shell=True, executable=os.environ['SHELL'])
|
/openbmc/intel-ipmi-oem/include/ |
H A D | bridgingcommands.hpp | 120 uint8_t cmd; member 133 uint8_t cmd; member 151 uint8_t cmd; member 167 uint8_t cmd; member 172 uint8_t seq, uint8_t rsLun, uint8_t cmd,
|
/openbmc/phosphor-net-ipmid/ |
H A D | command_table.cpp | 50 command.cmd()); in executeCommand() 69 uint8_t cmd = command.cmd(); in executeCommand() local 102 "xyz.openbmc_project.Ipmi.Server", "execute", netFn, lun, cmd, in executeCommand() 154 command.cmd()); in executeCommand()
|
H A D | message.hpp | 63 uint8_t cmd; member 76 uint8_t cmd; member 179 command |= static_cast<uint32_t>(request->cmd); in getCommand() 223 respHeader->cmd = reqHeader->cmd; in createResponse()
|
/openbmc/linux/drivers/scsi/qla4xxx/ |
H A D | ql4_nvram.c | 12 static inline void eeprom_cmd(uint32_t cmd, struct scsi_qla_host *ha) in eeprom_cmd() argument 14 writel(cmd, isp_nvram(ha)); in eeprom_cmd() 44 static int fm93c56a_cmd(struct scsi_qla_host * ha, int cmd, int addr) in fm93c56a_cmd() argument 65 (cmd & mask) ? AUBURN_EEPROM_DO_1 : AUBURN_EEPROM_DO_0; in fm93c56a_cmd() 80 cmd = cmd << 1; in fm93c56a_cmd()
|
/openbmc/linux/sound/soc/ |
H A D | soc-link.c | 144 static int soc_link_trigger(struct snd_pcm_substream *substream, int cmd) in soc_link_trigger() argument 151 ret = rtd->dai_link->ops->trigger(substream, cmd); in soc_link_trigger() 156 int snd_soc_link_trigger(struct snd_pcm_substream *substream, int cmd, in snd_soc_link_trigger() argument 162 switch (cmd) { in snd_soc_link_trigger() 166 ret = soc_link_trigger(substream, cmd); in snd_soc_link_trigger() 177 ret = soc_link_trigger(substream, cmd); in snd_soc_link_trigger()
|
/openbmc/linux/sound/hda/ |
H A D | hdac_bus.c | 88 unsigned int cmd, unsigned int *res) in snd_hdac_bus_exec_verb() argument 93 err = snd_hdac_bus_exec_verb_unlocked(bus, addr, cmd, res); in snd_hdac_bus_exec_verb() 108 unsigned int cmd, unsigned int *res) in snd_hdac_bus_exec_verb_unlocked() argument 113 if (cmd == ~0) in snd_hdac_bus_exec_verb_unlocked() 121 trace_hda_send_cmd(bus, cmd); in snd_hdac_bus_exec_verb_unlocked() 122 err = bus->ops->command(bus, cmd); in snd_hdac_bus_exec_verb_unlocked()
|
/openbmc/linux/drivers/hwmon/ |
H A D | sbrmi.c | 70 u8 cmd; member 114 SBRMI_INBNDMSG0, msg->cmd); in rmi_mailbox_xfer() 204 msg.cmd = SBRMI_READ_PKG_PWR_CONSUMPTION; in sbrmi_read() 208 msg.cmd = SBRMI_READ_PKG_PWR_LIMIT; in sbrmi_read() 241 msg.cmd = SBRMI_WRITE_PKG_PWR_LIMIT; in sbrmi_write() 290 msg.cmd = SBRMI_READ_PKG_MAX_PWR_LIMIT; in sbrmi_get_max_pwr_limit()
|
/openbmc/u-boot/drivers/mmc/ |
H A D | zynq_sdhci.c | 89 struct mmc_cmd cmd; in arasan_sdhci_execute_tuning() local 114 cmd.cmdidx = opcode; in arasan_sdhci_execute_tuning() 115 cmd.resp_type = MMC_RSP_R1; in arasan_sdhci_execute_tuning() 116 cmd.cmdarg = 0; in arasan_sdhci_execute_tuning() 125 if (cmd.cmdidx == MMC_CMD_SEND_TUNING_BLOCK_HS200 && in arasan_sdhci_execute_tuning() 135 mmc_send_cmd(mmc, &cmd, NULL); in arasan_sdhci_execute_tuning() 138 if (cmd.cmdidx == MMC_CMD_SEND_TUNING_BLOCK) in arasan_sdhci_execute_tuning()
|
/openbmc/qemu/backends/tpm/ |
H A D | tpm_passthrough.c | 127 static void tpm_passthrough_handle_request(TPMBackend *tb, TPMBackendCmd *cmd, in tpm_passthrough_handle_request() argument 132 trace_tpm_passthrough_handle_request(cmd); in tpm_passthrough_handle_request() 134 tpm_passthrough_unix_tx_bufs(tpm_pt, cmd->in, cmd->in_len, in tpm_passthrough_handle_request() 135 cmd->out, cmd->out_len, &cmd->selftest_done, in tpm_passthrough_handle_request()
|
/openbmc/qemu/tests/qemu-iotests/tests/ |
H A D | migrate-bitmaps-postcopy-test | 121 self.vm_a.cmd('block-dirty-bitmap-add', node='drive0', 142 self.vm_a.cmd('block-dirty-bitmap-disable', node='drive0', 153 self.vm_a.cmd('block-dirty-bitmap-enable', node='drive0', 159 self.vm_a.cmd('migrate-set-capabilities', capabilities=caps) 161 self.vm_b.cmd('migrate-set-capabilities', capabilities=caps) 163 self.vm_a.cmd('migrate', uri='exec:cat>' + fifo) 165 self.vm_a.cmd('migrate-start-postcopy')
|
/openbmc/linux/drivers/scsi/ |
H A D | sgiwd93.c | 70 void fill_hpc_entries(struct ip22_hostdata *hd, struct scsi_cmnd *cmd, int din) in fill_hpc_entries() argument 72 struct scsi_pointer *scsi_pointer = WD33C93_scsi_pointer(cmd); in fill_hpc_entries() 108 static int dma_setup(struct scsi_cmnd *cmd, int datainp) in dma_setup() argument 110 struct scsi_pointer *scsi_pointer = WD33C93_scsi_pointer(cmd); in dma_setup() 111 struct ip22_hostdata *hdata = host_to_hostdata(cmd->device->host); in dma_setup() 113 (struct hpc3_scsiregs *) cmd->device->host->base; in dma_setup() 128 fill_hpc_entries(hdata, cmd, datainp); in dma_setup()
|
/openbmc/linux/drivers/pps/ |
H A D | pps.c | 91 unsigned int cmd, unsigned long arg) in pps_cdev_ioctl() argument 99 switch (cmd) { in pps_cdev_ioctl() 250 unsigned int cmd, unsigned long arg) in pps_cdev_compat_ioctl() argument 255 cmd = _IOC(_IOC_DIR(cmd), _IOC_TYPE(cmd), _IOC_NR(cmd), sizeof(void *)); in pps_cdev_compat_ioctl() 257 if (cmd == PPS_FETCH) { in pps_cdev_compat_ioctl() 293 return pps_cdev_ioctl(file, cmd, arg); in pps_cdev_compat_ioctl()
|
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | fwil.c | 97 brcmf_fil_cmd_data(struct brcmf_if *ifp, u32 cmd, void *data, u32 len, bool set) in brcmf_fil_cmd_data() argument 110 err = brcmf_proto_set_dcmd(drvr, ifp->ifidx, cmd, in brcmf_fil_cmd_data() 113 err = brcmf_proto_query_dcmd(drvr, ifp->ifidx, cmd, in brcmf_fil_cmd_data() 130 brcmf_fil_cmd_data_set(struct brcmf_if *ifp, u32 cmd, void *data, u32 len) in brcmf_fil_cmd_data_set() argument 136 brcmf_dbg(FIL, "ifidx=%d, cmd=%d, len=%d\n", ifp->ifidx, cmd, len); in brcmf_fil_cmd_data_set() 140 err = brcmf_fil_cmd_data(ifp, cmd, data, len, true); in brcmf_fil_cmd_data_set() 148 brcmf_fil_cmd_data_get(struct brcmf_if *ifp, u32 cmd, void *data, u32 len) in brcmf_fil_cmd_data_get() argument 153 err = brcmf_fil_cmd_data(ifp, cmd, data, len, false); in brcmf_fil_cmd_data_get() 155 brcmf_dbg(FIL, "ifidx=%d, cmd=%d, len=%d, err=%d\n", ifp->ifidx, cmd, in brcmf_fil_cmd_data_get()
|
/openbmc/linux/include/media/ |
H A D | v4l2-ioctl.h | 587 bool valid_prio, unsigned int cmd, void *arg); 669 void v4l_printk_ioctl(const char *prefix, unsigned int cmd); 685 long int v4l2_compat_ioctl32(struct file *file, unsigned int cmd, 689 unsigned int v4l2_compat_translate_cmd(unsigned int cmd); 690 int v4l2_compat_get_user(void __user *arg, void *parg, unsigned int cmd); 691 int v4l2_compat_put_user(void __user *arg, void *parg, unsigned int cmd); 694 unsigned int cmd, void *arg); 697 unsigned int cmd, void *arg); 706 typedef long (*v4l2_kioctl)(struct file *file, unsigned int cmd, void *arg); 721 long int video_usercopy(struct file *file, unsigned int cmd, [all …]
|
/openbmc/linux/arch/ia64/kernel/ |
H A D | salinfo.c | 286 char cmd[32]; in salinfo_event_read() local 323 snprintf(cmd, sizeof(cmd), "read %d\n", cpu); in salinfo_event_read() 325 size = strlen(cmd); in salinfo_event_read() 328 if (copy_to_user(buffer, cmd, size)) in salinfo_event_read() 498 char cmd[32]; in salinfo_log_write() local 503 size = sizeof(cmd); in salinfo_log_write() 506 if (copy_from_user(cmd, buffer, size)) in salinfo_log_write() 509 if (sscanf(cmd, "read %d", &cpu) == 1) { in salinfo_log_write() 511 } else if (sscanf(cmd, "clear %d", &cpu) == 1) { in salinfo_log_write() 515 } else if (sscanf(cmd, "oemdata %d %d", &cpu, &offset) == 2) { in salinfo_log_write()
|
/openbmc/openbmc/poky/meta/lib/oe/package_manager/ |
H A D | __init__.py | 141 cmd = ["cross-localedef", "--verbose"] 142 cmd += arch_options 143 cmd += ["--add-to-archive", path] 144 subprocess.check_output(cmd, env=env, stderr=subprocess.STDOUT) 333 cmd = ["oe-pkgdata-util", "-p", pkgdatadir, "list-pkgs", globs] 334 bb.note('Running %s' % cmd) 345 (' '.join(cmd), e.returncode, e.output.decode("utf-8"))) 384 cmd = ["oe-pkgdata-util", 389 cmd.extend(['--exclude=' + '|'.join(exclude.split())]) 391 bb.note('Running %s' % cmd) [all …]
|
/openbmc/linux/drivers/thermal/ |
H A D | thermal_netlink.c | 601 int cmd = info->op.cmd; in thermal_genl_cmd_dumpit() local 605 hdr = genlmsg_put(skb, 0, 0, &thermal_gnl_family, 0, cmd); in thermal_genl_cmd_dumpit() 609 ret = cmd_cb[cmd](&p); in thermal_genl_cmd_dumpit() 629 int cmd = info->genlhdr->cmd; in thermal_genl_cmd_doit() local 637 hdr = genlmsg_put_reply(msg, info, &thermal_gnl_family, 0, cmd); in thermal_genl_cmd_doit() 641 ret = cmd_cb[cmd](&p); in thermal_genl_cmd_doit() 659 .cmd = THERMAL_GENL_CMD_TZ_GET_ID, 664 .cmd = THERMAL_GENL_CMD_TZ_GET_TRIP, 669 .cmd = THERMAL_GENL_CMD_TZ_GET_TEMP, 674 .cmd = THERMAL_GENL_CMD_TZ_GET_GOV, [all …]
|
/openbmc/linux/drivers/scsi/snic/ |
H A D | vnic_dev.c | 54 int (*devcmd_rtn)(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, 276 pci_name(vdev->pdev), _CMD_N(cmd), fetch_idx, posted); in _svnic_dev_cmd2() 281 dc2c->cmd_ring[posted].cmd = cmd; in _svnic_dev_cmd2() 284 if ((_CMD_FLAGS(cmd) & _CMD_FLAGS_NOWAIT)) in _svnic_dev_cmd2() 287 if (_CMD_DIR(cmd) & _CMD_DIR_WRITE) { in _svnic_dev_cmd2() 321 cmd != CMD_CAPABILITY) in _svnic_dev_cmd2() 323 err, _CMD_N(cmd)); in _svnic_dev_cmd2() 327 if (_CMD_DIR(cmd) & _CMD_DIR_READ) { in _svnic_dev_cmd2() 336 pr_err("Timed out devcmd %d\n", _CMD_N(cmd)); in _svnic_dev_cmd2() 433 int svnic_dev_cmd(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, in svnic_dev_cmd() argument [all …]
|
/openbmc/linux/arch/um/drivers/ |
H A D | virt-pci.c | 72 struct virtio_pcidev_msg *cmd, in um_pci_send_cmd() argument 91 switch (cmd->op) { in um_pci_send_cmd() 106 memcpy(buf, cmd, cmd_size); in um_pci_send_cmd() 112 memcpy(ncmd, cmd, cmd_size); in um_pci_send_cmd() 115 cmd = (void *)ncmd; in um_pci_send_cmd() 122 cmd = (void *)buf; in um_pci_send_cmd() 125 cmd = (void *)buf; in um_pci_send_cmd() 138 posted ? cmd : HANDLE_NO_FREE(cmd), in um_pci_send_cmd() 142 kfree(cmd); in um_pci_send_cmd() 520 void *cmd; in um_pci_cmd_vq_cb() local [all …]
|
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/ |
H A D | aq_ethtool.c | 48 struct ethtool_link_ksettings *cmd) in aq_ethtool_get_link_ksettings() argument 52 aq_nic_get_link_ksettings(aq_nic, cmd); in aq_ethtool_get_link_ksettings() 53 cmd->base.speed = netif_carrier_ok(ndev) ? in aq_ethtool_get_link_ksettings() 508 struct ethtool_rxnfc *cmd, in aq_ethtool_get_rxnfc() argument 517 switch (cmd->cmd) { in aq_ethtool_get_rxnfc() 519 cmd->data = cfg->vecs; in aq_ethtool_get_rxnfc() 525 err = aq_get_rxnfc_rule(aq_nic, cmd); in aq_ethtool_get_rxnfc() 539 struct ethtool_rxnfc *cmd) in aq_ethtool_set_rxnfc() argument 544 switch (cmd->cmd) { in aq_ethtool_set_rxnfc() 546 err = aq_add_rxnfc_rule(aq_nic, cmd); in aq_ethtool_set_rxnfc() [all …]
|
/openbmc/u-boot/drivers/usb/host/ |
H A D | dwc2.c | 524 int txlen, struct devrequest *cmd) in dwc_otg_submit_rh_msg_in_status() argument 592 struct devrequest *cmd) in dwc_otg_submit_rh_msg_in_descriptor() argument 675 struct devrequest *cmd) in dwc_otg_submit_rh_msg_in_configuration() argument 701 switch (cmd->request) { in dwc_otg_submit_rh_msg_in() 704 txlen, cmd); in dwc_otg_submit_rh_msg_in() 707 txlen, cmd); in dwc_otg_submit_rh_msg_in() 710 txlen, cmd); in dwc_otg_submit_rh_msg_in() 721 struct devrequest *cmd) in dwc_otg_submit_rh_msg_out() argument 726 uint16_t bmrtype_breq = cmd->requesttype | (cmd->request << 8); in dwc_otg_submit_rh_msg_out() 789 struct devrequest *cmd) in dwc_otg_submit_rh_msg() argument [all …]
|
/openbmc/linux/drivers/cxl/core/ |
H A D | mbox.c | 28 ((cmd) - cxl_mem_commands) < ARRAY_SIZE(cxl_mem_commands); (cmd)++) 518 struct cxl_mem_command *cmd; in cxl_query_cmd() local 535 cxl_for_each_cmd(cmd) { in cxl_query_cmd() 536 struct cxl_command_info info = cmd->info; in cxl_query_cmd() 720 if (cmd) { in cxl_walk_cel() 721 set_bit(cmd->info.id, mds->enabled_cmds); in cxl_walk_cel() 792 struct cxl_mem_command *cmd; in cxl_enumerate_cmds() local 826 cxl_for_each_cmd(cmd) in cxl_enumerate_cmds() 1141 if (cmd != CXL_MBOX_OP_SANITIZE && cmd != CXL_MBOX_OP_SECURE_ERASE) in __cxl_mem_sanitize() 1159 if (cmd == CXL_MBOX_OP_SECURE_ERASE && in __cxl_mem_sanitize() [all …]
|
/openbmc/linux/drivers/crypto/ccp/ |
H A D | sev-dev.c | 128 static int sev_cmd_buffer_len(int cmd) in sev_cmd_buffer_len() argument 130 switch (cmd) { in sev_cmd_buffer_len() 324 buf_len = sev_cmd_buffer_len(cmd); in __sev_do_cmd_locked() 341 cmd, phys_msb, phys_lsb, psp_timeout); in __sev_do_cmd_locked() 654 goto cmd; in sev_ioctl_do_pek_csr() 668 cmd: in sev_ioctl_do_pek_csr() 1011 goto cmd; in sev_ioctl_do_pdh_export() 1040 cmd: in sev_ioctl_do_pdh_export() 1089 if (input.cmd > SEV_MAX) in sev_ioctl() 1094 switch (input.cmd) { in sev_ioctl() [all …]
|
/openbmc/ipmitool/lib/ |
H A D | ipmi_picmg.c | 561 req.msg.cmd = PICMG_GET_ADDRESS_INFO_CMD; in ipmi_picmg_getaddr() 690 struct picmg_set_fru_activation_cmd cmd; in ipmi_picmg_fru_activation() local 694 req.msg.cmd = PICMG_FRU_ACTIVATION_CMD; in ipmi_picmg_fru_activation() 695 req.msg.data = (unsigned char*) &cmd; in ipmi_picmg_fru_activation() 702 cmd.fru_state = state; in ipmi_picmg_fru_activation() 728 req.msg.cmd = PICMG_GET_FRU_POLICY_CMD; in ipmi_picmg_fru_activation_policy_get() 767 req.msg.cmd = PICMG_SET_FRU_POLICY_CMD; in ipmi_picmg_fru_activation_policy_set() 1407 req.msg.cmd = PICMG_GET_POWER_LEVEL_CMD; in ipmi_picmg_get_power_level() 1457 req.msg.cmd = PICMG_SET_POWER_LEVEL_CMD; in ipmi_picmg_set_power_level() 1561 req.msg.cmd = PICMG_FRU_CONTROL_CMD; in ipmi_picmg_fru_control() [all …]
|