/openbmc/qemu/hw/block/ |
H A D | pflash_cfi01.c | 75 uint8_t cmd; member 271 switch (pfl->cmd) { in pflash_read() 280 pfl->cmd = 0x00; in pflash_read() 467 uint8_t cmd; in pflash_write() local 469 cmd = value; in pflash_write() 480 switch (cmd) { in pflash_write() 510 pfl->cmd = cmd; in pflash_write() 514 pfl->cmd = cmd; in pflash_write() 533 pfl->cmd = cmd; in pflash_write() 870 pfl->cmd = 0x00; in pflash_cfi01_realize() [all …]
|
/openbmc/linux/drivers/block/ |
H A D | floppy.c | 2597 (raw_cmd->cmd[TRACK] || raw_cmd->cmd[HEAD]) && raw_cmd->rate == 2) in make_raw_rw_request() 2634 } else if (!raw_cmd->cmd[HEAD] && CT(raw_cmd->cmd[COMMAND]) == FD_WRITE) { in make_raw_rw_request() 2721 raw_cmd->cmd[COMMAND], raw_cmd->cmd[SECTOR], in make_raw_rw_request() 2722 raw_cmd->cmd[HEAD], raw_cmd->cmd[TRACK]); in make_raw_rw_request() 3041 cmd.next = NULL; in raw_cmd_copyout() 3043 ret = copy_to_user(param, &cmd, sizeof(cmd)); in raw_cmd_copyout() 3278 if (cmd == FDDEFPRM) in set_geometry() 3419 cmd = FDEJECT; in fd_locked_ioctl() 3431 if (((cmd & 0x40) && in fd_locked_ioctl() 3447 switch (cmd) { in fd_locked_ioctl() [all …]
|
/openbmc/linux/drivers/mtd/devices/ |
H A D | pmc551.c | 353 u16 cmd, tmp, i; in fixup_pmc551() local 475 } while ((PCI_COMMAND_IO) & cmd); in fixup_pmc551() 495 } while ((PCI_COMMAND_IO) & cmd); in fixup_pmc551() 510 } while ((PCI_COMMAND_IO) & cmd); in fixup_pmc551() 520 pci_read_config_word(dev, PCI_STATUS, &cmd); in fixup_pmc551() 521 if ((cmd & PCI_COMMAND_FAST_BACK) == 0) { in fixup_pmc551() 522 cmd |= PCI_COMMAND_FAST_BACK; in fixup_pmc551() 531 if ((cmd & PCI_STATUS_DEVSEL_MASK) != 0x0) { in fixup_pmc551() 532 cmd &= ~PCI_STATUS_DEVSEL_MASK; in fixup_pmc551() 606 (((0x1 << 1) & cmd) == 0) ? "off" : "on"); in fixup_pmc551() [all …]
|
/openbmc/linux/drivers/net/ethernet/cisco/enic/ |
H A D | enic_ethtool.c | 401 if (cnt == cmd->rule_cnt) in enic_grxclsrlall() 407 cmd->rule_cnt = cnt; in enic_grxclsrlall() 452 cmd->data = 0; in enic_get_rx_flow_hash() 457 switch (cmd->flow_type) { in enic_get_rx_flow_hash() 464 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in enic_get_rx_flow_hash() 469 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in enic_get_rx_flow_hash() 483 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in enic_get_rx_flow_hash() 498 switch (cmd->cmd) { in enic_get_rxnfc() 500 cmd->data = enic->rq_count; in enic_get_rxnfc() 505 cmd->data = enic->rfs_h.max; in enic_get_rxnfc() [all …]
|
/openbmc/linux/drivers/mmc/host/ |
H A D | owl-mmc.c | 117 struct mmc_command *cmd; member 174 struct mmc_command *cmd, in owl_mmc_send_cmd() argument 183 switch (mmc_resp_type(cmd)) { in owl_mmc_send_cmd() 218 cmd->error = -EINVAL; in owl_mmc_send_cmd() 237 owl_host->cmd = cmd; in owl_mmc_send_cmd() 245 timeout = msecs_to_jiffies(cmd->busy_timeout ? cmd->busy_timeout : in owl_mmc_send_cmd() 250 cmd->error = -ETIMEDOUT; in owl_mmc_send_cmd() 259 cmd->error = -EILSEQ; in owl_mmc_send_cmd() 265 cmd->error = -EILSEQ; in owl_mmc_send_cmd() 279 cmd->resp[1] = resp[1] >> 8; in owl_mmc_send_cmd() [all …]
|
/openbmc/linux/drivers/gpu/drm/qxl/ |
H A D | qxl_cmd.c | 181 struct qxl_command cmd; in qxl_push_command_ring_release() local 183 cmd.type = type; in qxl_push_command_ring_release() 193 struct qxl_command cmd; in qxl_push_cursor_ring_release() local 195 cmd.type = type; in qxl_push_cursor_ring_release() 462 struct qxl_surface_cmd *cmd; in qxl_hw_surface_alloc() local 481 cmd->type = QXL_SURFACE_CMD_CREATE; in qxl_hw_surface_alloc() 482 cmd->flags = QXL_SURF_FLAG_KEEP_DATA; in qxl_hw_surface_alloc() 488 cmd->surface_id = surf->surface_id; in qxl_hw_surface_alloc() 509 struct qxl_surface_cmd *cmd; in qxl_hw_surface_dealloc() local 535 cmd->type = QXL_SURFACE_CMD_DESTROY; in qxl_hw_surface_dealloc() [all …]
|
/openbmc/linux/drivers/net/ppp/ |
H A D | pppox.c | 67 int pppox_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in pppox_ioctl() argument 75 switch (cmd) { in pppox_ioctl() 93 pppox_protos[sk->sk_protocol]->ioctl(sock, cmd, arg) : -ENOTTY; in pppox_ioctl() 103 int pppox_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in pppox_compat_ioctl() argument 105 if (cmd == PPPOEIOCSFWD32) in pppox_compat_ioctl() 106 cmd = PPPOEIOCSFWD; in pppox_compat_ioctl() 108 return pppox_ioctl(sock, cmd, (unsigned long)compat_ptr(arg)); in pppox_compat_ioctl()
|
/openbmc/linux/sound/hda/ |
H A D | trace.h | 20 TP_PROTO(struct hdac_bus *bus, unsigned int cmd), 21 TP_ARGS(bus, cmd), 24 __field(u32, cmd) 28 __entry->cmd = cmd; 30 TP_printk("[%s:%d] val=0x%08x", __get_str(name), __entry->cmd >> 28, __entry->cmd)
|
/openbmc/linux/drivers/s390/char/ |
H A D | vmcp.c | 158 char *cmd; in vmcp_write() local 163 cmd = memdup_user_nul(buff, count); in vmcp_write() 164 if (IS_ERR(cmd)) in vmcp_write() 165 return PTR_ERR(cmd); in vmcp_write() 168 kfree(cmd); in vmcp_write() 175 kfree(cmd); in vmcp_write() 178 debug_text_event(vmcp_debug, 1, cmd); in vmcp_write() 179 session->resp_size = cpcmd(cmd, session->response, session->bufsize, in vmcp_write() 182 kfree(cmd); in vmcp_write() 200 static long vmcp_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in vmcp_ioctl() argument [all …]
|
/openbmc/qemu/hw/ppc/ |
H A D | pnv_bmc.c | 46 uint8_t cmd; member 67 .cmd = 0x04, /* AMI OEM SEL Power Notification */ in pnv_gen_oem_sel() 172 static void hiomap_cmd(IPMIBmcSim *ibs, uint8_t *cmd, unsigned int cmd_len, in hiomap_cmd() argument 181 rsp_buffer_push(rsp, cmd[2]); in hiomap_cmd() 182 rsp_buffer_push(rsp, cmd[3]); in hiomap_cmd() 184 switch (cmd[2]) { in hiomap_cmd() 191 if (hiomap_erase(pnor, blocks_to_bytes(cmd[5] << 8 | cmd[4]), in hiomap_cmd() 192 blocks_to_bytes(cmd[7] << 8 | cmd[6]))) { in hiomap_cmd() 235 qemu_log_mask(LOG_GUEST_ERROR, "HIOMAP: unknown command %02X\n", cmd[2]); in hiomap_cmd()
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_sp.c | 1077 enum bnx2x_vlan_mac_cmd cmd = elem->cmd_data.vlan_mac.cmd; in bnx2x_set_one_vlan_e2() local 1127 enum bnx2x_vlan_mac_cmd cmd = elem->cmd_data.vlan_mac.cmd; in bnx2x_set_one_vlan_mac_e2() local 1733 enum bnx2x_vlan_mac_cmd cmd = elem->cmd_data.vlan_mac.cmd; in bnx2x_vlan_mac_get_registry_elem() local 1804 cmd = elem->cmd_data.vlan_mac.cmd; in bnx2x_execute_vlan_mac() 1855 cmd = elem->cmd_data.vlan_mac.cmd; in bnx2x_execute_vlan_mac() 1879 cmd = elem->cmd_data.vlan_mac.cmd; in bnx2x_execute_vlan_mac() 4704 enum bnx2x_queue_cmd cmd = params->cmd, bit; in bnx2x_queue_set_pending() local 4713 bit = cmd; in bnx2x_queue_set_pending() 5499 enum bnx2x_queue_cmd cmd = params->cmd; in bnx2x_queue_chk_transition() local 5817 enum bnx2x_func_cmd cmd = params->cmd; in bnx2x_func_chk_transition() local [all …]
|
/openbmc/u-boot/include/net/ |
H A D | ncsi-pkt.h | 38 struct ncsi_cmd_pkt_hdr cmd; /* Command header */ member 51 struct ncsi_cmd_pkt_hdr cmd; /* Command header */ member 60 struct ncsi_cmd_pkt_hdr cmd; /* Command header */ member 69 struct ncsi_cmd_pkt_hdr cmd; /* Command header */ member 77 struct ncsi_cmd_pkt_hdr cmd; /* Command header */ member 87 struct ncsi_cmd_pkt_hdr cmd; /* Command header */ member 96 struct ncsi_cmd_pkt_hdr cmd; /* Command header */ member 108 struct ncsi_cmd_pkt_hdr cmd; /* Command header */ member 127 struct ncsi_cmd_pkt_hdr cmd; /* Command header */ member 135 struct ncsi_cmd_pkt_hdr cmd; /* Command header */ member [all …]
|
/openbmc/linux/arch/x86/kernel/ |
H A D | crash.c | 248 struct crash_memmap_data *cmd = arg; in memmap_entry_callback() local 249 struct boot_params *params = cmd->params; in memmap_entry_callback() 254 ei.type = cmd->type; in memmap_entry_callback() 282 struct crash_memmap_data cmd; in crash_setup_memmap_entries() local 289 memset(&cmd, 0, sizeof(struct crash_memmap_data)); in crash_setup_memmap_entries() 290 cmd.params = params; in crash_setup_memmap_entries() 293 cmd.type = E820_TYPE_RAM; in crash_setup_memmap_entries() 299 cmd.type = E820_TYPE_ACPI; in crash_setup_memmap_entries() 305 cmd.type = E820_TYPE_NVS; in crash_setup_memmap_entries() 310 cmd.type = E820_TYPE_RESERVED; in crash_setup_memmap_entries() [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/ |
H A D | img.c | 14 u8 cmd = iwl_cmd_opcode(cmd_id); in iwl_fw_lookup_cmd_ver() local 22 if (entry->group == grp && entry->cmd == cmd) { in iwl_fw_lookup_cmd_ver() 33 u8 iwl_fw_lookup_notif_ver(const struct iwl_fw *fw, u8 grp, u8 cmd, u8 def) in iwl_fw_lookup_notif_ver() argument 44 if (entry->group == grp && entry->cmd == cmd) { in iwl_fw_lookup_notif_ver()
|
/openbmc/linux/drivers/media/pci/cx18/ |
H A D | cx18-mailbox.h | 54 u32 cmd; member 70 int cx18_api(struct cx18 *cx, u32 cmd, int args, u32 data[]); 71 int cx18_vapi_result(struct cx18 *cx, u32 data[MAX_MB_ARGUMENTS], u32 cmd, 73 int cx18_vapi(struct cx18 *cx, u32 cmd, int args, ...); 74 int cx18_api_func(void *priv, u32 cmd, int in, int out,
|
/openbmc/linux/sound/core/seq/ |
H A D | seq_midi_event.c | 293 unsigned int cmd, type; in snd_midi_event_decode() local 310 cmd = 0xf0 + (type - ST_SPECIAL); in snd_midi_event_decode() 325 if ((cmd & 0xf0) == 0xf0 || dev->lastcmd != cmd || dev->nostat) { in snd_midi_event_decode() 326 dev->lastcmd = cmd; in snd_midi_event_decode() 328 xbuf[0] = cmd; in snd_midi_event_decode() 386 unsigned char cmd; in extra_decode_ctrl14() local 398 buf[idx++] = dev->lastcmd = cmd; in extra_decode_ctrl14() 403 buf[idx++] = cmd; in extra_decode_ctrl14() 412 buf[idx++] = dev->lastcmd = cmd; in extra_decode_ctrl14() 424 unsigned char cmd; in extra_decode_xrpn() local [all …]
|
/openbmc/openbmc-test-automation/oem/nuvoton/ |
H A D | test_ipmi_flash.robot | 55 ${output} ${stderr} ${rc}= OS Execute Command ${cmd} ignore_err=1 81 ${output} ${stderr} ${rc}= OS Execute Command ${cmd} ignore_err=1 97 OS Execute Command ${cmd} ignore_err=1 99 OS Execute Command ${cmd} ignore_err=1 138 ${output} ${stderr} ${rc}= BMC Execute Command ${cmd} 189 ${output} ${stderr} ${rc}= OS Execute Command ${cmd} 195 OS Execute Command ${cmd} fork=1 203 ${cmd}= Catenate systemctl show --property=Result 205 ${output} ${stderr} ${rc}= BMC Execute Command ${cmd} 226 ${output} ${stderr} ${rc}= OS Execute Command ${cmd} [all …]
|
/openbmc/openbmc/meta-phosphor/classes/ |
H A D | obmc-xmlpatch.bbclass | 50 cmd = [] 51 cmd.append(os.path.join(d.getVar("bindir", True), "obmc-mrw/patchxml.py")) 52 cmd.append("-x") 53 cmd.append(xml) 54 cmd.append("-p") 55 cmd.append(patch_file) 56 cmd.append("-o") 57 cmd.append(xml + ".patched") 60 subprocess.check_call(cmd)
|
/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | am335x_spl_bch.c | 30 u8 cmd) in nand_command() argument 34 void (*hwctrl)(struct mtd_info *mtd, int cmd, in nand_command() 41 if (cmd == NAND_CMD_READOOB) { in nand_command() 43 cmd = NAND_CMD_READ0; in nand_command() 47 hwctrl(mtd, cmd, NAND_CTRL_CLE | NAND_CTRL_CHANGE); in nand_command() 49 if (cmd == NAND_CMD_RESET) { in nand_command() 64 if ((this->options & NAND_BUSWIDTH_16) && !nand_opcode_8bits(cmd)) in nand_command() 73 if (cmd != NAND_CMD_RNDOUT) { in nand_command() 92 switch (cmd) { in nand_command()
|
/openbmc/linux/drivers/net/wireless/ti/wl12xx/ |
H A D | cmd.c | 278 struct wl12xx_cmd_channel_switch *cmd; in wl12xx_cmd_channel_switch() local 283 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl12xx_cmd_channel_switch() 284 if (!cmd) { in wl12xx_cmd_channel_switch() 289 cmd->role_id = wlvif->role_id; in wl12xx_cmd_channel_switch() 290 cmd->channel = ch_switch->chandef.chan->hw_value; in wl12xx_cmd_channel_switch() 291 cmd->switch_time = ch_switch->count; in wl12xx_cmd_channel_switch() 292 cmd->stop_tx = ch_switch->block_tx; in wl12xx_cmd_channel_switch() 296 cmd->post_switch_tx_disable = 0; in wl12xx_cmd_channel_switch() 298 ret = wl1271_cmd_send(wl, CMD_CHANNEL_SWITCH, cmd, sizeof(*cmd), 0); in wl12xx_cmd_channel_switch() 305 kfree(cmd); in wl12xx_cmd_channel_switch()
|
/openbmc/linux/drivers/char/hw_random/ |
H A D | imx-rngc.c | 76 u32 ctrl, cmd; in imx_rngc_irq_mask_clear() local 88 cmd = readl(rngc->base + RNGC_COMMAND); in imx_rngc_irq_mask_clear() 89 cmd |= RNGC_CMD_CLR_INT | RNGC_CMD_CLR_ERR; in imx_rngc_irq_mask_clear() 90 writel(cmd, rngc->base + RNGC_COMMAND); in imx_rngc_irq_mask_clear() 104 u32 cmd; in imx_rngc_self_test() local 110 cmd = readl(rngc->base + RNGC_COMMAND); in imx_rngc_self_test() 170 u32 cmd, ctrl; in imx_rngc_init() local 174 cmd = readl(rngc->base + RNGC_COMMAND); in imx_rngc_init() 175 writel(cmd | RNGC_CMD_CLR_ERR, rngc->base + RNGC_COMMAND); in imx_rngc_init() 182 cmd = readl(rngc->base + RNGC_COMMAND); in imx_rngc_init() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-kernel/trace-cmd/files/ |
H A D | 0002-Drop-using-_LARGEFILE64_SOURCE.patch | 11 lib/trace-cmd/trace-input.c | 1 - 12 lib/trace-cmd/trace-output.c | 1 - 13 lib/trace-cmd/trace-recorder.c | 1 - 23 diff --git a/lib/trace-cmd/trace-input.c b/lib/trace-cmd/trace-input.c 25 --- a/lib/trace-cmd/trace-input.c 26 +++ b/lib/trace-cmd/trace-input.c 35 diff --git a/lib/trace-cmd/trace-output.c b/lib/trace-cmd/trace-output.c 37 --- a/lib/trace-cmd/trace-output.c 38 +++ b/lib/trace-cmd/trace-output.c 47 diff --git a/lib/trace-cmd/trace-recorder.c b/lib/trace-cmd/trace-recorder.c [all …]
|
/openbmc/linux/drivers/crypto/ccp/ |
H A D | ccp-crypto-aes.c | 92 memset(&rctx->cmd, 0, sizeof(rctx->cmd)); in ccp_aes_crypt() 93 INIT_LIST_HEAD(&rctx->cmd.entry); in ccp_aes_crypt() 94 rctx->cmd.engine = CCP_ENGINE_AES; in ccp_aes_crypt() 95 rctx->cmd.u.aes.type = ctx->u.aes.type; in ccp_aes_crypt() 96 rctx->cmd.u.aes.mode = ctx->u.aes.mode; in ccp_aes_crypt() 97 rctx->cmd.u.aes.action = in ccp_aes_crypt() 101 rctx->cmd.u.aes.iv = iv_sg; in ccp_aes_crypt() 102 rctx->cmd.u.aes.iv_len = iv_len; in ccp_aes_crypt() 103 rctx->cmd.u.aes.src = req->src; in ccp_aes_crypt() 104 rctx->cmd.u.aes.src_len = req->cryptlen; in ccp_aes_crypt() [all …]
|
/openbmc/linux/drivers/iommu/arm/arm-smmu-v3/ |
H A D | arm-smmu-v3.c | 383 u64 cmd[CMDQ_ENT_DWORDS]; in __arm_smmu_cmdq_skip_err() local 868 u64 cmd[CMDQ_ENT_DWORDS]; in __arm_smmu_cmdq_issue_cmd() local 911 cmd->opcode); in arm_smmu_cmdq_batch_add() 934 cmd.resume.sid = sid; in arm_smmu_page_response() 1789 cmd->atc.size = log2_span; in arm_smmu_atc_inv_to_cmd() 1795 struct arm_smmu_cmdq_ent cmd; in arm_smmu_atc_inv_master() local 1814 struct arm_smmu_cmdq_ent cmd; in arm_smmu_atc_inv_domain() local 1911 if (cmd->tlbi.leaf) in __arm_smmu_tlb_inv_range() 1932 cmd->tlbi.scale = scale; in __arm_smmu_tlb_inv_range() 1936 cmd->tlbi.num = num - 1; in __arm_smmu_tlb_inv_range() [all …]
|
/openbmc/linux/fs/9p/ |
H A D | vfs_file.c | 110 if ((IS_SETLK(cmd) || IS_SETLKW(cmd)) && fl->fl_type != F_UNLCK) { in v9fs_file_lock() 157 if (IS_SETLKW(cmd)) in v9fs_file_do_lock() 294 filp, cmd, fl, filp); in v9fs_file_lock_dotl() 296 if ((IS_SETLK(cmd) || IS_SETLKW(cmd)) && fl->fl_type != F_UNLCK) { in v9fs_file_lock_dotl() 301 if (IS_SETLK(cmd) || IS_SETLKW(cmd)) in v9fs_file_lock_dotl() 302 ret = v9fs_file_do_lock(filp, cmd, fl); in v9fs_file_lock_dotl() 303 else if (IS_GETLK(cmd)) in v9fs_file_lock_dotl() 325 filp, cmd, fl, filp); in v9fs_file_flock_dotl() 330 if ((IS_SETLK(cmd) || IS_SETLKW(cmd)) && fl->fl_type != F_UNLCK) { in v9fs_file_flock_dotl() 338 if (IS_SETLK(cmd) | IS_SETLKW(cmd)) in v9fs_file_flock_dotl() [all …]
|