/openbmc/phosphor-host-ipmid/ |
H A D | host-interface.hpp | 64 void commandStatusHandler(IpmiCmdData cmd, bool status);
|
/openbmc/kcsbridge/src/ |
H A D | meson.build | 11 'cmd.cpp',
|
/openbmc/linux/include/linux/dma/ |
H A D | qcom-gpi-dma.h | 45 enum spi_transfer_cmd cmd; member
|
/openbmc/qemu/include/gdbstub/ |
H A D | commands.h | 62 const char *cmd; member
|
/openbmc/linux/drivers/dma/ |
H A D | st_fdma.c | 77 unsigned long nbytes, ch_cmd, cmd; in st_fdma_xfer_desc() local 85 cmd = FDMA_CMD_START(fchan->vchan.chan.chan_id); in st_fdma_xfer_desc() 91 writel(cmd, in st_fdma_xfer_desc() 625 unsigned long cmd = FDMA_CMD_PAUSE(ch_id); in st_fdma_pause() local 631 fdma_write(fchan->fdev, cmd, FDMA_CMD_SET_OFST); in st_fdma_pause() 663 unsigned long cmd = FDMA_CMD_PAUSE(ch_id); in st_fdma_terminate_all() local 668 fdma_write(fchan->fdev, cmd, FDMA_CMD_SET_OFST); in st_fdma_terminate_all()
|
/openbmc/linux/tools/net/ynl/lib/ |
H A D | ynl.py | 237 def cmd(self): member in NlMsg 334 def cmd(self): member in GenlMsg 366 op = ynl.rsp_by_value[msg.cmd()] 618 op = self.rsp_by_value[decoded.cmd()] 645 if decoded.cmd() not in self.async_msg_ids: 707 if nl_msg.nl_seq != req_seq or decoded.cmd() != op.rsp_value: 708 if decoded.cmd() in self.async_msg_ids:
|
/openbmc/linux/tools/testing/selftests/tc-testing/ |
H A D | tdc.py | 169 def replace_keywords(cmd): argument 174 tcmd = Template(cmd) 223 cmd = cmdinfo[0] 226 cmd = cmdinfo 228 if not cmd: 231 (proc, foutput) = exec_cmd(args, pm, stage, cmd) 235 print("{} *** Could not execute: \"{}\"".format(prefix, cmd),
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_vce.c | 755 uint32_t cmd = amdgpu_ib_get_value(ib, idx + 1); in amdgpu_vce_ring_parse_cs() local 763 switch (cmd) { in amdgpu_vce_ring_parse_cs() 821 uint32_t cmd = amdgpu_ib_get_value(ib, idx + 1); in amdgpu_vce_ring_parse_cs() local 823 switch (cmd) { in amdgpu_vce_ring_parse_cs() 932 DRM_ERROR("invalid VCE command (0x%x)!\n", cmd); in amdgpu_vce_ring_parse_cs() 987 uint32_t cmd = amdgpu_ib_get_value(ib, idx + 1); in amdgpu_vce_ring_parse_cs_vm() local 995 switch (cmd) { in amdgpu_vce_ring_parse_cs_vm()
|
/openbmc/linux/drivers/s390/net/ |
H A D | qeth_core.h | 773 struct qeth_ipa_cmd *cmd); 875 struct qeth_cmd_buffer *cmd) in qeth_trylock_channel() argument 877 return cmpxchg(&channel->active_cmd, NULL, cmd) == NULL; in qeth_trylock_channel() 1004 enum qeth_diags_cmds cmd) in qeth_is_diagass_supported() argument 1006 return card->info.diagass_support & (__u32)cmd; in qeth_is_diagass_supported() 1079 int qeth_do_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); 1081 void __user *data, int cmd);
|
/openbmc/linux/net/devlink/ |
H A D | region.c | 122 enum devlink_command cmd, u32 portid, in devlink_nl_region_fill() argument 129 hdr = genlmsg_put(msg, portid, seq, &devlink_nl_family, flags, cmd); in devlink_nl_region_fill() 174 enum devlink_command cmd, u32 portid, u32 seq) in devlink_nl_region_notify_build() argument 185 hdr = genlmsg_put(msg, portid, seq, &devlink_nl_family, 0, cmd); in devlink_nl_region_notify_build() 231 enum devlink_command cmd) in devlink_nl_region_notify() argument 236 WARN_ON(cmd != DEVLINK_CMD_REGION_NEW && cmd != DEVLINK_CMD_REGION_DEL); in devlink_nl_region_notify() 240 msg = devlink_nl_region_notify_build(region, snapshot, cmd, 0, 0); in devlink_nl_region_notify()
|
/openbmc/linux/drivers/hwmon/ |
H A D | applesmc.c | 185 static int send_byte(u8 cmd, u16 port) in send_byte() argument 202 outb(cmd, port); in send_byte() 208 static int send_command(u8 cmd) in send_command() argument 215 outb(cmd, APPLESMC_CMD_PORT); in send_command() 248 static int read_smc(u8 cmd, const char *key, u8 *buffer, u8 len) in read_smc() argument 258 if (send_command(cmd) || send_argument(key)) { in read_smc() 292 static int write_smc(u8 cmd, const char *key, const u8 *buffer, u8 len) in write_smc() argument 301 if (send_command(cmd) || send_argument(key)) { in write_smc()
|
/openbmc/linux/drivers/s390/char/ |
H A D | raw3270.c | 200 void raw3270_request_set_cmd(struct raw3270_request *rq, u8 cmd) in raw3270_request_set_cmd() argument 202 rq->ccw.cmd_code = cmd; in raw3270_request_set_cmd() 290 int cmd, void *data, size_t len) in raw3270_start_request() argument 297 raw3270_request_set_cmd(rq, cmd); in raw3270_start_request() 350 if (irb->scsw.cmd.dstat & DEV_STAT_DEV_END) in raw3270_irq() 352 if (irb->scsw.cmd.dstat == (DEV_STAT_CHN_END | in raw3270_irq() 357 if ((irb->scsw.cmd.dstat & DEV_STAT_UNIT_CHECK) && in raw3270_irq() 700 if (irb->scsw.cmd.dstat & DEV_STAT_UNIT_CHECK) { in raw3270_init_irq() 707 if (irb->scsw.cmd.dstat & DEV_STAT_ATTENTION) { in raw3270_init_irq()
|
/openbmc/linux/drivers/vfio/pci/hisilicon/ |
H A D | hisi_acc_vfio_pci.c | 258 static void qm_db(struct hisi_qm *qm, u16 qn, u8 cmd, in qm_db() argument 265 if (cmd == QM_DOORBELL_CMD_SQ || cmd == QM_DOORBELL_CMD_CQ) in qm_db() 270 doorbell = qn | ((u64)cmd << QM_DB_CMD_SHIFT_V2) | in qm_db() 768 unsigned int cmd, unsigned long arg) in hisi_acc_vf_precopy_ioctl() argument 777 if (cmd != VFIO_MIG_GET_PRECOPY_INFO) in hisi_acc_vf_precopy_ioctl() 1266 static long hisi_acc_vfio_pci_ioctl(struct vfio_device *core_vdev, unsigned int cmd, in hisi_acc_vfio_pci_ioctl() argument 1269 if (cmd == VFIO_DEVICE_GET_REGION_INFO) { in hisi_acc_vfio_pci_ioctl() 1302 return vfio_pci_core_ioctl(core_vdev, cmd, arg); in hisi_acc_vfio_pci_ioctl()
|
/openbmc/linux/drivers/net/dsa/ |
H A D | rzn1_a5psw.c | 1044 u32 cmd, status; in a5psw_mdio_read() local 1047 cmd = A5PSW_MDIO_COMMAND_READ; in a5psw_mdio_read() 1048 cmd |= FIELD_PREP(A5PSW_MDIO_COMMAND_REG_ADDR, phy_reg); in a5psw_mdio_read() 1049 cmd |= FIELD_PREP(A5PSW_MDIO_COMMAND_PHY_ADDR, phy_id); in a5psw_mdio_read() 1051 a5psw_reg_writel(a5psw, A5PSW_MDIO_COMMAND, cmd); in a5psw_mdio_read() 1070 u32 cmd; in a5psw_mdio_write() local 1072 cmd = FIELD_PREP(A5PSW_MDIO_COMMAND_REG_ADDR, phy_reg); in a5psw_mdio_write() 1073 cmd |= FIELD_PREP(A5PSW_MDIO_COMMAND_PHY_ADDR, phy_id); in a5psw_mdio_write() 1075 a5psw_reg_writel(a5psw, A5PSW_MDIO_COMMAND, cmd); in a5psw_mdio_write()
|
/openbmc/linux/drivers/net/can/c_can/ |
H A D | c_can_main.c | 235 static void c_can_obj_update(struct net_device *dev, int iface, u32 cmd, u32 obj) in c_can_obj_update() argument 240 priv->write_reg32(priv, reg, (cmd << 16) | obj); in c_can_obj_update() 251 u32 obj, u32 cmd) in c_can_object_get() argument 253 c_can_obj_update(dev, iface, cmd, obj); in c_can_object_get() 257 u32 obj, u32 cmd) in c_can_object_put() argument 259 c_can_obj_update(dev, iface, cmd | IF_COMM_WR, obj); in c_can_object_put() 458 u32 idx, obj, cmd = IF_COMM_TX; in c_can_start_xmit() local 472 cmd &= ~IF_COMM_TXRQST; /* Cache the message */ in c_can_start_xmit() 481 c_can_object_put(dev, IF_TX, obj, cmd); in c_can_start_xmit()
|
/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | atmel_nand.c | 1208 int cmd, unsigned int ctrl) in at91_nand_hwcontrol() argument 1229 if (cmd != NAND_CMD_NONE) in at91_nand_hwcontrol() 1230 writeb(cmd, this->IO_ADDR_W); in at91_nand_hwcontrol() 1245 static int nand_command(int block, int page, uint32_t offs, u8 cmd) in nand_command() argument 1249 void (*hwctrl)(struct mtd_info *mtd, int cmd, in nand_command() 1255 if (cmd == NAND_CMD_READOOB) { in nand_command() 1257 cmd = NAND_CMD_READ0; in nand_command() 1260 hwctrl(mtd, cmd, NAND_CTRL_CLE | NAND_CTRL_CHANGE); in nand_command() 1262 if ((this->options & NAND_BUSWIDTH_16) && !nand_opcode_8bits(cmd)) in nand_command() 1342 void (*hwctrl)(struct mtd_info *mtd, int cmd, in spl_nand_erase_one()
|
/openbmc/u-boot/tools/ |
H A D | moveconfig.py | 1180 cmd = list(self.make_cmd) 1181 cmd.append(self.defconfig) 1182 self.ps = subprocess.Popen(cmd, stdout=self.devnull, 1200 cmd = list(self.make_cmd) 1201 cmd.append('KCONFIG_IGNORE_DUPLICATES=1') 1202 cmd.append(AUTO_CONF_PATH) 1203 self.ps = subprocess.Popen(cmd, stdout=self.devnull, env=env, 1236 cmd = list(self.make_cmd) 1237 cmd.append('savedefconfig') 1238 self.ps = subprocess.Popen(cmd, stdout=self.devnull,
|
/openbmc/openbmc/poky/scripts/pybootchartgui/pybootchartgui/ |
H A D | draw.py | 835 cmdString = proc.cmd 914 return proc.cmd == 'bootchartd' or proc.cmd == 'bootchart-colle' 918 self.cmd = proc.cmd 967 if not proc.cmd in m_proc_list: 968 m_proc_list[proc.cmd] = CumlSample (proc) 970 s = m_proc_list[proc.cmd] 1060 label = cs.cmd 1111 str = "%s - %.0f(ms) (%2.2f%%)" % (cs.cmd, time/1000000, (time/total_time) * 100.0)
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_overlay.c | 717 u32 cmd = OCMD_ENABLE | OCMD_BUF_TYPE_FRAME | OCMD_BUFFER0; in overlay_cmd_reg() local 722 cmd |= OCMD_YUV_422_PLANAR; in overlay_cmd_reg() 725 cmd |= OCMD_YUV_420_PLANAR; in overlay_cmd_reg() 729 cmd |= OCMD_YUV_410_PLANAR; in overlay_cmd_reg() 735 cmd |= OCMD_YUV_422_PACKED; in overlay_cmd_reg() 738 cmd |= OCMD_YUV_411_PACKED; in overlay_cmd_reg() 746 cmd |= OCMD_UV_SWAP; in overlay_cmd_reg() 749 cmd |= OCMD_Y_SWAP; in overlay_cmd_reg() 752 cmd |= OCMD_Y_AND_UV_SWAP; in overlay_cmd_reg() 757 return cmd; in overlay_cmd_reg()
|
/openbmc/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_drv.c | 1253 static long vmw_generic_ioctl(struct file *filp, unsigned int cmd, in vmw_generic_ioctl() argument 1260 unsigned int nr = DRM_IOCTL_NR(cmd); in vmw_generic_ioctl() 1273 return ioctl_func(filp, cmd, arg); in vmw_generic_ioctl() 1280 if (unlikely(ioctl->cmd != cmd)) in vmw_generic_ioctl() 1287 return ioctl_func(filp, cmd, arg); in vmw_generic_ioctl() 1296 static long vmw_unlocked_ioctl(struct file *filp, unsigned int cmd, in vmw_unlocked_ioctl() argument 1299 return vmw_generic_ioctl(filp, cmd, arg, &drm_ioctl); in vmw_unlocked_ioctl() 1303 static long vmw_compat_ioctl(struct file *filp, unsigned int cmd, in vmw_compat_ioctl() argument 1306 return vmw_generic_ioctl(filp, cmd, arg, &drm_compat_ioctl); in vmw_compat_ioctl()
|
/openbmc/u-boot/include/ |
H A D | ec_commands.h | 912 uint8_t cmd; /* Command to check */ member 916 uint16_t cmd; /* Command to check */ member 1288 uint8_t cmd; member 1702 uint8_t cmd; /* Command (see enum lightbar_command) */ member 1902 uint8_t cmd; /* enum ec_vboot_hash_cmd */ member 2204 uint8_t cmd; member 2898 uint8_t cmd; /* Command to send (enum ec_keyscan_seq_cmd) */ member 3545 uint8_t cmd; /* enum charge_state_command */ member 3876 uint8_t cmd; /* enum ec_reboot_cmd */ member 4110 uint8_t cmd; member [all …]
|
/openbmc/linux/drivers/spi/ |
H A D | spi-bcm-qspi.c | 420 u8 command = op->cmd.opcode; in bcm_qspi_bspi_set_flex_mode() 503 bcm_qspi_bspi_set_xfer_params(qspi, op->cmd.opcode, 0, 0, 0); in bcm_qspi_bspi_set_override() 1156 u8 cmd[6] = { }; in bcm_qspi_mspi_exec_mem_op() local 1159 memset(cmd, 0, sizeof(cmd)); in bcm_qspi_mspi_exec_mem_op() 1164 cmd[0] = op->cmd.opcode; in bcm_qspi_mspi_exec_mem_op() 1166 cmd[1 + i] = op->addr.val >> (8 * (op->addr.nbytes - i - 1)); in bcm_qspi_mspi_exec_mem_op() 1168 t[0].tx_buf = cmd; in bcm_qspi_mspi_exec_mem_op() 1171 t[0].tx_nbits = op->cmd.buswidth; in bcm_qspi_mspi_exec_mem_op() 1224 len < 4 || op->cmd.opcode == SPINOR_OP_RDSFDP) in bcm_qspi_exec_mem_op()
|
/openbmc/linux/drivers/scsi/ |
H A D | scsi_error.c | 117 static bool scsi_cmd_retry_allowed(struct scsi_cmnd *cmd) in scsi_cmd_retry_allowed() argument 119 if (cmd->allowed == SCSI_CMD_RETRIES_NO_LIMIT) in scsi_cmd_retry_allowed() 122 return ++cmd->retries <= cmd->allowed; in scsi_cmd_retry_allowed() 125 static bool scsi_eh_should_retry_cmd(struct scsi_cmnd *cmd) in scsi_eh_should_retry_cmd() argument 127 struct scsi_device *sdev = cmd->device; in scsi_eh_should_retry_cmd() 131 return host->hostt->eh_should_retry_cmd(cmd); in scsi_eh_should_retry_cmd() 522 static inline void set_scsi_ml_byte(struct scsi_cmnd *cmd, u8 status) in set_scsi_ml_byte() argument 524 cmd->result = (cmd->result & 0xffff00ff) | (status << 8); in set_scsi_ml_byte() 2531 bool scsi_command_normalize_sense(const struct scsi_cmnd *cmd, in scsi_command_normalize_sense() argument 2534 return scsi_normalize_sense(cmd->sense_buffer, in scsi_command_normalize_sense()
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76.h | 213 int (*mcu_send_msg)(struct mt76_dev *dev, int cmd, const void *data, 216 int cmd, int *seq); 217 int (*mcu_parse_response)(struct mt76_dev *dev, int cmd, 1510 int cmd, bool wait_resp, struct sk_buff **ret); 1511 int __mt76_mcu_send_firmware(struct mt76_dev *dev, int cmd, const void *data, 1514 mt76_mcu_send_firmware(struct mt76_dev *dev, int cmd, const void *data, in mt76_mcu_send_firmware() argument 1519 return __mt76_mcu_send_firmware(dev, cmd, data, len, max_len); in mt76_mcu_send_firmware() 1523 mt76_mcu_send_msg(struct mt76_dev *dev, int cmd, const void *data, int len, in mt76_mcu_send_msg() argument 1526 return mt76_mcu_send_and_get_msg(dev, cmd, data, len, wait_resp, NULL); in mt76_mcu_send_msg() 1530 mt76_mcu_skb_send_msg(struct mt76_dev *dev, struct sk_buff *skb, int cmd, in mt76_mcu_skb_send_msg() argument [all …]
|
/openbmc/linux/drivers/watchdog/ |
H A D | sbc60xxwdt.c | 221 static long fop_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in fop_ioctl() argument 232 switch (cmd) { in fop_ioctl()
|