/openbmc/linux/drivers/platform/x86/intel/ |
H A D | punit_ipc.c | 56 static inline void ipc_write_cmd(IPC_DEV *ipcdev, IPC_TYPE type, u32 cmd) in ipc_write_cmd() argument 58 writel(cmd, ipcdev->base[type][BASE_IFACE]); in ipc_write_cmd() 143 int intel_punit_ipc_simple_command(int cmd, int para1, int para2) in intel_punit_ipc_simple_command() argument 153 type = (cmd & IPC_PUNIT_CMD_TYPE_MASK) >> IPC_TYPE_OFFSET; in intel_punit_ipc_simple_command() 155 val = cmd & ~IPC_PUNIT_CMD_TYPE_MASK; in intel_punit_ipc_simple_command() 178 int intel_punit_ipc_command(u32 cmd, u32 para1, u32 para2, u32 *in, u32 *out) in intel_punit_ipc_command() argument 188 type = (cmd & IPC_PUNIT_CMD_TYPE_MASK) >> IPC_TYPE_OFFSET; in intel_punit_ipc_command() 196 val = cmd & ~IPC_PUNIT_CMD_TYPE_MASK; in intel_punit_ipc_command()
|
/openbmc/linux/drivers/platform/x86/ |
H A D | acerhdf.c | 129 struct fancmd cmd; member 137 struct fancmd cmd; member 297 if (fan != ctrl_cfg.cmd.cmd_off) in acerhdf_get_fanstate() 307 unsigned char cmd; in acerhdf_change_fanstate() local 318 cmd = (state == ACERHDF_FAN_OFF) ? ctrl_cfg.cmd.cmd_off in acerhdf_change_fanstate() 319 : ctrl_cfg.cmd.cmd_auto; in acerhdf_change_fanstate() 322 ec_write(ctrl_cfg.fanreg, cmd); in acerhdf_change_fanstate() 623 memcpy(&ctrl_cfg.cmd, &bt->cmd, sizeof(struct fancmd)); in acerhdf_check_hardware()
|
/openbmc/linux/drivers/scsi/aic7xxx/ |
H A D | aic79xx_osm.h | 500 void ahd_cmd_set_transaction_status(struct scsi_cmnd *cmd, uint32_t status) in ahd_cmd_set_transaction_status() argument 502 cmd->result &= ~(CAM_STATUS_MASK << 16); in ahd_cmd_set_transaction_status() 503 cmd->result |= status << 16; in ahd_cmd_set_transaction_status() 513 void ahd_cmd_set_scsi_status(struct scsi_cmnd *cmd, uint32_t status) in ahd_cmd_set_scsi_status() argument 515 cmd->result &= ~0xFFFF; in ahd_cmd_set_scsi_status() 516 cmd->result |= status; in ahd_cmd_set_scsi_status() 526 uint32_t ahd_cmd_get_transaction_status(struct scsi_cmnd *cmd) in ahd_cmd_get_transaction_status() argument 528 return ((cmd->result >> 16) & CAM_STATUS_MASK); in ahd_cmd_get_transaction_status() 538 uint32_t ahd_cmd_get_scsi_status(struct scsi_cmnd *cmd) in ahd_cmd_get_scsi_status() argument 540 return (cmd->result & 0xFFFF); in ahd_cmd_get_scsi_status()
|
/openbmc/linux/net/atm/ |
H A D | resources.c | 227 int atm_dev_ioctl(unsigned int cmd, void __user *buf, int __user *sioc_len, in atm_dev_ioctl() argument 241 switch (cmd) { in atm_dev_ioctl() 291 error = fetch_stats(dev, buf, cmd == ATM_GETSTATZ); in atm_dev_ioctl() 332 if (cmd == ATM_ADDADDR || cmd == ATM_ADDLECSADDR) in atm_dev_ioctl() 334 (cmd == ATM_ADDADDR ? in atm_dev_ioctl() 338 (cmd == ATM_DELADDR ? in atm_dev_ioctl() 345 (cmd == ATM_GETADDR ? in atm_dev_ioctl() 379 size = dev->ops->compat_ioctl(dev, cmd, buf); in atm_dev_ioctl() 386 size = dev->ops->ioctl(dev, cmd, buf); in atm_dev_ioctl()
|
/openbmc/linux/drivers/xen/xen-pciback/ |
H A D | pciback_ops.c | 111 u16 cmd; in xen_pcibk_reset_device() local 130 pci_read_config_word(dev, PCI_COMMAND, &cmd); in xen_pcibk_reset_device() 131 if (cmd & (PCI_COMMAND_INVALIDATE)) { in xen_pcibk_reset_device() 132 cmd &= ~(PCI_COMMAND_INVALIDATE); in xen_pcibk_reset_device() 133 pci_write_config_word(dev, PCI_COMMAND, cmd); in xen_pcibk_reset_device() 203 u16 cmd; in xen_pcibk_enable_msix() local 218 pci_read_config_word(pci_physfn(dev), PCI_COMMAND, &cmd); in xen_pcibk_enable_msix() 219 if (dev->msi_enabled || !(cmd & PCI_COMMAND_MEMORY)) in xen_pcibk_enable_msix() 341 switch (op->cmd) { in xen_pcibk_do_one_op() 378 if (op->cmd == XEN_PCI_OP_enable_msix && op->err == 0) { in xen_pcibk_do_one_op()
|
/openbmc/linux/drivers/media/usb/dvb-usb-v2/ |
H A D | ec168.c | 21 switch (req->cmd) { in ec168_ctrl_msg() 27 request = req->cmd; in ec168_ctrl_msg() 31 request = req->cmd; in ec168_ctrl_msg() 51 KBUILD_MODNAME, req->cmd); in ec168_ctrl_msg() 122 req.cmd = READ_DEMOD; in ec168_i2c_xfer() 142 req.cmd = WRITE_DEMOD; in ec168_i2c_xfer() 154 req.cmd = WRITE_I2C; in ec168_i2c_xfer() 238 req.cmd = SET_CONFIG; in ec168_download_firmware() 246 req.cmd = GPIO; in ec168_download_firmware() 254 req.cmd = WRITE_I2C; in ec168_download_firmware()
|
/openbmc/qemu/hw/misc/ |
H A D | edu.c | 65 #define EDU_DMA_DIR(cmd) (((cmd) & 0x2) >> 1) argument 73 dma_addr_t cmd; member 145 if (!(edu->dma.cmd & EDU_DMA_RUN)) { in edu_dma_timer() 149 if (EDU_DMA_DIR(edu->dma.cmd) == EDU_DMA_FROM_PCI) { in edu_dma_timer() 163 edu->dma.cmd &= ~EDU_DMA_RUN; in edu_dma_timer() 164 if (edu->dma.cmd & EDU_DMA_IRQ) { in edu_dma_timer() 176 if (write && (edu->dma.cmd & EDU_DMA_RUN)) { in dma_rw() 232 dma_rw(edu, false, &val, &edu->dma.cmd, false); in edu_mmio_read() 297 dma_rw(edu, true, &val, &edu->dma.cmd, true); in edu_mmio_write()
|
/openbmc/openbmc-test-automation/lib/ras/ |
H A D | host_utils.robot | 45 ${cmd}= Catenate putscom -c 0x${proc_chip_id} 0x${fir_address} 0x${value} 46 Start Command ${cmd} 55 ${cmd}= Catenate -l | grep -i ${chip_type} | cut -c1-8 56 ${proc_chip_id}= Getscom Operations On OS ${cmd} 77 ${cmd}= Catenate set -o pipefail ; ${probe_cpu_file_path} 79 ${output} ${stderr} ${rc}= OS Execute Command ${cmd} 96 ${output} ${stderr} ${rc}= OS Execute Command ${cmd} 147 ${output} ${stderr} ${rc}= OS Execute Command ${cmd} 154 ${output} ${stderr} ${rc}= Run Keyword OS Execute Command ${cmd} 161 ${cmd}= Catenate systemctl list-unit-files | grep opal-prd [all …]
|
/openbmc/linux/drivers/gpu/drm/msm/ |
H A D | msm_gem_submit.c | 35 ((u64)nr_cmds * sizeof(submit->cmd[0])); in submit_create() 62 submit->cmd = (void *)&submit->bos[nr_bos]; in submit_create() 107 kfree(submit->cmd[i].relocs); in __msm_gem_submit_destroy() 216 submit->cmd[i].type = submit_cmd.type; in submit_lookup_cmds() 217 submit->cmd[i].size = submit_cmd.size / 4; in submit_lookup_cmds() 232 if (!submit->cmd[i].relocs) { in submit_lookup_cmds() 881 if (!submit->cmd[i].size || in msm_ioctl_gem_submit() 882 ((submit->cmd[i].size + submit->cmd[i].offset) > in msm_ioctl_gem_submit() 889 submit->cmd[i].iova = iova + (submit->cmd[i].offset * 4); in msm_ioctl_gem_submit() 895 if (submit->cmd[i].nr_relocs) { in msm_ioctl_gem_submit() [all …]
|
/openbmc/linux/drivers/scsi/aacraid/ |
H A D | aachba.c | 1283 (void *) cmd); in aac_read_raw_io() 1318 (void *) cmd); in aac_read_block64() 1353 (void *) cmd); in aac_read_block() 1417 (void *) cmd); in aac_write_raw_io() 1452 (void *) cmd); in aac_write_block64() 1489 (void *) cmd); in aac_write_block() 1566 memcpy(hbacmd->cdb, cmd->cmnd, cmd->cmd_len); in aac_construct_hbacmd() 1591 memcpy(srbcmd->cdb, cmd->cmnd, cmd->cmd_len); in aac_scsi_64() 1607 (void *) cmd); in aac_scsi_64() 1622 memcpy(srbcmd->cdb, cmd->cmnd, cmd->cmd_len); in aac_scsi_32() [all …]
|
/openbmc/linux/drivers/infiniband/ulp/srpt/ |
H A D | ib_srpt.c | 1305 memset(&ioctx->cmd, 0, sizeof(ioctx->cmd)); in srpt_get_send_ioctx() 1433 struct se_cmd *cmd = &ioctx->cmd; in srpt_build_cmd_rsp() local 1556 struct se_cmd *cmd; in srpt_handle_cmd() local 1567 cmd = &send_ioctx->cmd; in srpt_handle_cmd() 1609 target_submit(cmd); in srpt_handle_cmd() 1613 target_send_busy(cmd); in srpt_handle_cmd() 1650 struct se_cmd *cmd; in srpt_handle_tsk_mgmt() local 1658 cmd = &send_ioctx->cmd; in srpt_handle_tsk_mgmt() 1673 cmd->se_tfo->queue_tm_rsp(cmd); in srpt_handle_tsk_mgmt() 2872 container_of(cmd, struct srpt_send_ioctx, cmd); in srpt_queue_response() [all …]
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_ethtool.c | 445 cmd->link_modes.supported); in nfp_add_media_link_mode() 456 cmd->link_modes.supported); in nfp_add_media_link_mode() 497 cmd->base.port = PORT_OTHER; in nfp_net_get_link_ksettings() 498 cmd->base.speed = SPEED_UNKNOWN; in nfp_net_get_link_ksettings() 524 cmd->base.duplex = DUPLEX_FULL; in nfp_net_get_link_ksettings() 538 cmd->base.speed = speed; in nfp_net_get_link_ksettings() 539 cmd->base.duplex = DUPLEX_FULL; in nfp_net_get_link_ksettings() 593 cmd->base.speed); in nfp_net_set_link_ksettings() 1304 cmd->data = 0; in nfp_net_get_rss_hash_opts() 1325 switch (cmd->cmd) { in nfp_net_get_rxnfc() [all …]
|
/openbmc/ipmitool/lib/ |
H A D | ipmi_vita.c | 181 req.msg.cmd = VITA_GET_VSO_CAPABILITIES_CMD; in vita_discover() 235 req.msg.cmd = VITA_GET_FRU_ADDRESS_INFO_CMD; in ipmi_vita_ipmb_address() 271 req.msg.cmd = VITA_GET_FRU_ADDRESS_INFO_CMD; in ipmi_vita_getaddr() 327 req.msg.cmd = VITA_GET_VSO_CAPABILITIES_CMD; in ipmi_vita_get_vso_capabilities() 393 req.msg.cmd = VITA_SET_FRU_ACTIVATION_CMD; in ipmi_vita_set_fru_activation() 638 req.msg.cmd = VITA_GET_FRU_LED_STATE_CMD; in ipmi_vita_get_led_state() 729 req.msg.cmd = VITA_SET_FRU_LED_STATE_CMD; in ipmi_vita_set_led_state() 782 req.msg.cmd = VITA_FRU_CONTROL_CMD; in ipmi_vita_fru_control() 909 int cmd = ipmi_vita_get_cmd(argc, argv); in ipmi_vita_main() local 911 switch (cmd) { in ipmi_vita_main() [all …]
|
/openbmc/linux/drivers/block/null_blk/ |
H A D | zoned.c | 377 struct nullb_device *dev = cmd->nq->dev; in null_zone_write() 382 trace_nullb_zone_op(cmd, zno, zone->cond); in null_zone_write() 409 cmd->rq->__sector = sector; in null_zone_write() 411 cmd->bio->bi_iter.bi_sector = sector; in null_zone_write() 613 struct nullb_device *dev = cmd->nq->dev; in null_zone_mgmt() 627 trace_nullb_zone_op(cmd, i, zone->cond); in null_zone_mgmt() 664 trace_nullb_zone_op(cmd, zone_no, zone->cond); in null_zone_mgmt() 683 return null_zone_write(cmd, sector, nr_sectors, true); in null_process_zoned_cmd() 689 return null_zone_mgmt(cmd, op, sector); in null_process_zoned_cmd() 691 dev = cmd->nq->dev; in null_process_zoned_cmd() [all …]
|
/openbmc/intel-ipmi-oem/src/ |
H A D | bridgingcommands.cpp | 137 cmd = ipmbBuffer->Header.Req.cmd; in IpmbRequest() 152 uint8_t cmd, uint8_t completionCode, in IpmbResponse() argument 155 rsLun(rsLun), cmd(cmd), completionCode(completionCode) in IpmbResponse() 173 ipmbBuffer->Header.Resp.cmd = cmd; in ipmbToi2cConstruct() 196 mesg.append(ipmbMeChannelNum, netFn, rqLun, cmd, data); in prepareRequest() 201 return (netFn << 8) | cmd; in makeCmdKey() 204 static constexpr bool isMeCmdAllowed(uint8_t netFn, uint8_t cmd) in isMeCmdAllowed() argument 220 switch (makeCmdKey(netFn, cmd)) in isMeCmdAllowed() 276 sendMsgReqData->Header.Req.cmd)) in handleIpmbChannel() 320 uint8_t netFn = 0, lun = 0, cmd = 0, cc = 0; in handleIpmbChannel() local [all …]
|
/openbmc/qemu/hw/net/rocker/ |
H A D | rocker_world.c | 40 char *buf, uint16_t cmd, RockerTlv *cmd_info_tlv) in world_do_cmd() argument 42 if (world->ops->cmd) { in world_do_cmd() 43 return world->ops->cmd(world, info, buf, cmd, cmd_info_tlv); in world_do_cmd()
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | intel_scu_ipc.h | 54 int intel_scu_ipc_dev_simple_command(struct intel_scu_ipc_dev *scu, int cmd, 56 int intel_scu_ipc_dev_command_with_size(struct intel_scu_ipc_dev *scu, int cmd, 60 static inline int intel_scu_ipc_dev_command(struct intel_scu_ipc_dev *scu, int cmd, in intel_scu_ipc_dev_command() argument 64 return intel_scu_ipc_dev_command_with_size(scu, cmd, sub, in, inlen, in intel_scu_ipc_dev_command()
|
/openbmc/qemu/ |
H A D | qemu-bridge-helper.c | 87 char *cmd, *arg, *argend; in parse_acl_file() local 98 cmd = ptr; in parse_acl_file() 99 arg = strchr(cmd, ' '); in parse_acl_file() 101 arg = strchr(cmd, '\t'); in parse_acl_file() 121 if (!g_str_equal(cmd, "include") && strlen(arg) >= IFNAMSIZ) { in parse_acl_file() 126 if (strcmp(cmd, "deny") == 0) { in parse_acl_file() 135 } else if (strcmp(cmd, "allow") == 0) { in parse_acl_file() 144 } else if (strcmp(cmd, "include") == 0) { in parse_acl_file() 148 fprintf(stderr, "Unknown command `%s'\n", cmd); in parse_acl_file()
|
/openbmc/linux/sound/pci/pcxhr/ |
H A D | pcxhr_hwdep.c | 68 rmh.cmd[0] |= mgr->firmware_num; in pcxhr_init_board() 70 rmh.cmd[1] = (1<<23) + mgr->granularity; in pcxhr_init_board() 94 rmh.cmd[0] |= IO_NUM_REG_STATUS; in pcxhr_sub_init() 95 rmh.cmd[1] = REG_STATUS_OPTIONS; in pcxhr_sub_init() 112 rmh.cmd[0] |= IO_NUM_REG_MUTE_OUT; in pcxhr_sub_init() 114 rmh.cmd[1] = 1; /* unmute digital plugs */ in pcxhr_sub_init() 130 rmh.cmd[0] |= IO_NUM_REG_MUTE_OUT; in pcxhr_reset_board() 179 rmh.cmd[1] |= 0x020000; /* add P_PCM_ONLY_MASK */ in pcxhr_dsp_allocate_pipe() 182 rmh.cmd[rmh.cmd_len++] = (audio_count == 1) ? 0x01 : 0x03; in pcxhr_dsp_allocate_pipe()
|
/openbmc/linux/drivers/net/ethernet/amd/pds_core/ |
H A D | adminq.c | 168 union pds_core_adminq_cmd *cmd, in __pdsc_adminq_post() argument 214 memcpy(q_info->desc, cmd, sizeof(*cmd)); in __pdsc_adminq_post() 220 cmd, sizeof(*cmd), true); in __pdsc_adminq_post() 234 union pds_core_adminq_cmd *cmd, in pdsc_adminq_post() argument 253 __func__, cmd->opcode); in pdsc_adminq_post() 258 index = __pdsc_adminq_post(pdsc, &pdsc->adminqcq, cmd, comp, &wc); in pdsc_adminq_post() 313 __func__, cmd->opcode, comp->status, ERR_PTR(err)); in pdsc_adminq_post()
|
/openbmc/linux/drivers/iio/chemical/ |
H A D | vz89x.c | 46 int (*xfer)(struct vz89x_data *data, u8 cmd); 58 u8 cmd; member 173 static int vz89x_i2c_xfer(struct vz89x_data *data, u8 cmd) in vz89x_i2c_xfer() argument 179 u8 buf[6] = { cmd, 0, 0, 0, 0, 0xf3 }; in vz89x_i2c_xfer() 196 static int vz89x_smbus_xfer(struct vz89x_data *data, u8 cmd) in vz89x_smbus_xfer() argument 202 ret = i2c_smbus_write_word_data(client, cmd, 0); in vz89x_smbus_xfer() 228 ret = data->xfer(data, chip->cmd); in vz89x_get_measurement() 325 .cmd = VZ89X_REG_MEASUREMENT, 335 .cmd = VZ89TE_REG_MEASUREMENT,
|
/openbmc/linux/drivers/pci/hotplug/ |
H A D | shpchp_hpc.c | 323 cmd, cmd_status); in shpc_write_cmd() 688 u8 pi, cmd; in hpc_set_bus_speed_mode() local 696 cmd = SETA_PCI_33MHZ; in hpc_set_bus_speed_mode() 699 cmd = SETA_PCI_66MHZ; in hpc_set_bus_speed_mode() 702 cmd = SETA_PCIX_66MHZ; in hpc_set_bus_speed_mode() 705 cmd = SETA_PCIX_100MHZ; in hpc_set_bus_speed_mode() 708 cmd = SETA_PCIX_133MHZ; in hpc_set_bus_speed_mode() 711 cmd = SETB_PCIX_66MHZ_EM; in hpc_set_bus_speed_mode() 714 cmd = SETB_PCIX_100MHZ_EM; in hpc_set_bus_speed_mode() 717 cmd = SETB_PCIX_133MHZ_EM; in hpc_set_bus_speed_mode() [all …]
|
H A D | pciehp_hpc.c | 177 slot_ctrl |= (cmd & mask); in pcie_do_write_cmd() 510 u16 cmd = 0, mask = 0; in pciehp_set_indicators() local 513 cmd |= (pwr & PCI_EXP_SLTCTL_PIC); in pciehp_set_indicators() 518 cmd |= (attn & PCI_EXP_SLTCTL_AIC); in pciehp_set_indicators() 522 if (cmd) { in pciehp_set_indicators() 781 u16 cmd, mask; in pcie_enable_notification() local 799 cmd = PCI_EXP_SLTCTL_DLLSCE; in pcie_enable_notification() 801 cmd |= PCI_EXP_SLTCTL_ABPE; in pcie_enable_notification() 803 cmd |= PCI_EXP_SLTCTL_PDCE; in pcie_enable_notification() 805 cmd |= PCI_EXP_SLTCTL_HPIE; in pcie_enable_notification() [all …]
|
/openbmc/linux/Documentation/admin-guide/ |
H A D | btmrvl.rst | 102 Hcitool cmd <ogf> <ocf> [Parameters] 106 hcitool cmd 0x3f 0x5b 0xf5 0x01 0x00 --Enable All interface 107 hcitool cmd 0x3f 0x5b 0xf5 0x01 0x01 --Enable Wlan interface 108 hcitool cmd 0x3f 0x5b 0xf5 0x01 0x02 --Enable BT interface 109 hcitool cmd 0x3f 0x5b 0xf5 0x00 0x00 --Disable All interface 110 hcitool cmd 0x3f 0x5b 0xf5 0x00 0x01 --Disable Wlan interface 111 hcitool cmd 0x3f 0x5b 0xf5 0x00 0x02 --Disable BT interface
|
/openbmc/linux/sound/core/seq/oss/ |
H A D | seq_oss.c | 48 static long odev_ioctl(struct file *file, unsigned int cmd, unsigned long arg); 172 odev_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in odev_ioctl() argument 181 if (cmd != SNDCTL_SEQ_SYNC && in odev_ioctl() 184 rc = snd_seq_oss_ioctl(dp, cmd, arg); in odev_ioctl() 185 if (cmd != SNDCTL_SEQ_SYNC) in odev_ioctl() 191 static long odev_ioctl_compat(struct file *file, unsigned int cmd, in odev_ioctl_compat() argument 194 return odev_ioctl(file, cmd, (unsigned long)compat_ptr(arg)); in odev_ioctl_compat()
|