/openbmc/linux/drivers/char/agp/ |
H A D | isoch.c | 85 u32 mnistat, tnistat, tstatus, mcmd; in agp_3_5_isochronous_node_enable() local 255 pci_read_config_dword(dev, cur->capndx+AGPCMD, &mcmd); in agp_3_5_isochronous_node_enable() 259 mcmd &= ~(0xff << 24); in agp_3_5_isochronous_node_enable() 263 mcmd |= master[cdev].rq << 24; in agp_3_5_isochronous_node_enable() 265 pci_write_config_dword(dev, cur->capndx+AGPCMD, mcmd); in agp_3_5_isochronous_node_enable() 288 u32 tstatus, mcmd; in agp_3_5_nonisochronous_node_enable() local 302 pci_read_config_dword(cur->dev, cur->capndx+AGPCMD, &mcmd); in agp_3_5_nonisochronous_node_enable() 303 mcmd &= ~(0xff << 24); in agp_3_5_nonisochronous_node_enable() 304 mcmd |= ((cdev == ndevs - 1) ? rem : mrq) << 24; in agp_3_5_nonisochronous_node_enable() 305 pci_write_config_dword(cur->dev, cur->capndx+AGPCMD, mcmd); in agp_3_5_nonisochronous_node_enable()
|
/openbmc/linux/drivers/scsi/qla2xxx/ |
H A D | qla_target.c | 1212 static int qlt_reset(struct scsi_qla_host *vha, void *iocb, int mcmd) in qlt_reset() argument 1244 mcmd, loop_id); in qlt_reset() 1246 return qlt_issue_task_mgmt(sess, 0, mcmd, iocb, QLA24XX_MGMT_SEND_NACK); in qlt_reset() 1768 static int qlt_build_abts_resp_iocb(struct qla_tgt_mgmt_cmd *mcmd) in qlt_build_abts_resp_iocb() argument 1770 struct scsi_qla_host *vha = mcmd->vha; in qlt_build_abts_resp_iocb() 1777 struct abts_recv_from_24xx *abts = &mcmd->orig_iocb.abts; in qlt_build_abts_resp_iocb() 1778 struct qla_qpair *qpair = mcmd->qpair; in qlt_build_abts_resp_iocb() 1782 ha, mcmd->fc_tm_rsp); in qlt_build_abts_resp_iocb() 1804 qpair->req->outstanding_cmds[h] = (srb_t *)mcmd; in qlt_build_abts_resp_iocb() 1827 if (mcmd->fc_tm_rsp == FCP_TMF_CMPL) { in qlt_build_abts_resp_iocb() [all …]
|
H A D | tcm_qla2xxx.c | 236 struct qla_tgt_mgmt_cmd *mcmd = container_of(work, in tcm_qla2xxx_complete_mcmd() local 239 transport_generic_free_cmd(&mcmd->se_cmd, 0); in tcm_qla2xxx_complete_mcmd() 247 static void tcm_qla2xxx_free_mcmd(struct qla_tgt_mgmt_cmd *mcmd) in tcm_qla2xxx_free_mcmd() argument 249 if (!mcmd) in tcm_qla2xxx_free_mcmd() 251 INIT_WORK(&mcmd->free_work, tcm_qla2xxx_complete_mcmd); in tcm_qla2xxx_free_mcmd() 252 queue_work(tcm_qla2xxx_free_wq, &mcmd->free_work); in tcm_qla2xxx_free_mcmd() 339 struct qla_tgt_mgmt_cmd *mcmd = container_of(se_cmd, in tcm_qla2xxx_release_cmd() local 341 qlt_free_mcmd(mcmd); in tcm_qla2xxx_release_cmd() 575 static int tcm_qla2xxx_handle_tmr(struct qla_tgt_mgmt_cmd *mcmd, u64 lun, in tcm_qla2xxx_handle_tmr() argument 578 struct fc_port *sess = mcmd->sess; in tcm_qla2xxx_handle_tmr() [all …]
|
/openbmc/linux/drivers/scsi/ |
H A D | mac53c94.c | 197 struct mac53c94_cmd_priv *const mcmd = mac53c94_priv(cmd); in mac53c94_interrupt() local 267 nb = mcmd->this_residual; in mac53c94_interrupt() 270 mcmd->this_residual -= nb; in mac53c94_interrupt() 297 if (mcmd->this_residual != 0 in mac53c94_interrupt() 300 nb = mcmd->this_residual; in mac53c94_interrupt() 303 mcmd->this_residual -= nb; in mac53c94_interrupt() 325 mcmd->status = readb(®s->fifo); in mac53c94_interrupt() 326 mcmd->message = readb(®s->fifo); in mac53c94_interrupt() 334 cmd_done(state, (DID_OK << 16) + (mcmd->message << 8) + mcmd->status); in mac53c94_interrupt()
|
H A D | mesh.c | 589 struct mesh_cmd_priv *mcmd = mesh_priv(cmd); in mesh_done() local 592 set_status_byte(cmd, mcmd->status); in mesh_done() 594 scsi_msg_to_host_byte(cmd, mcmd->message); in mesh_done() 608 mcmd->this_residual -= ms->data_ptr; in mesh_done() 1597 struct mesh_cmd_priv *mcmd = mesh_priv(cmd); in cmd_complete() local 1599 mcmd->status = mr->fifo; in cmd_complete() 1602 mcmd->status); in cmd_complete()
|
/openbmc/u-boot/drivers/ram/rockchip/ |
H A D | dmc-rk3368.c | 194 u32 mcmd = START_CMD | cmd | rank; in send_command() local 196 debug("%s: writing %x to MCMD\n", __func__, mcmd); in send_command() 197 writel(mcmd, &pctl->mcmd); in send_command() 198 while (readl(&pctl->mcmd) & START_CMD) in send_command() 205 u32 mcmd = START_CMD | MRS_CMD | rank | (mr_num << 17) | (mr_data << 4); in send_mrs() local 207 debug("%s: writing %x to MCMD\n", __func__, mcmd); in send_mrs() 208 writel(mcmd, &pctl->mcmd); in send_mrs() 209 while (readl(&pctl->mcmd) & START_CMD) in send_mrs()
|
H A D | sdram_rk322x.c | 156 writel((START_CMD | (rank << 20) | arg | cmd), &pctl->mcmd); in send_command() 158 while (readl(&pctl->mcmd) & START_CMD) in send_command()
|
H A D | sdram_rk3188.c | 312 writel((START_CMD | (rank << 20) | arg | cmd), &pctl->mcmd); in send_command() 314 while (readl(&pctl->mcmd) & START_CMD) in send_command()
|
H A D | sdram_rk3288.c | 370 writel((START_CMD | (rank << 20) | arg | cmd), &pctl->mcmd); in send_command() 372 while (readl(&pctl->mcmd) & START_CMD) in send_command()
|
/openbmc/linux/drivers/mtd/spi-nor/controllers/ |
H A D | nxp-spifi.c | 60 u32 mcmd; member 114 writel(spifi->mcmd, spifi->io_base + SPIFI_MCMD); in nxp_spifi_set_memory_mode_on() 242 spifi->mcmd = SPIFI_CMD_FIELDFORM_ALL_SERIAL; in nxp_spifi_setup_memory_cmd() 246 spifi->mcmd = SPIFI_CMD_FIELDFORM_QUAD_DUAL_DATA; in nxp_spifi_setup_memory_cmd() 257 spifi->mcmd |= SPIFI_CMD_OPCODE(spifi->nor.read_opcode) | in nxp_spifi_setup_memory_cmd()
|
/openbmc/u-boot/drivers/net/ |
H A D | pic32_mdio.c | 58 writel(MIIMCMD_READ, &mii_regs->mcmd.raw); in pic32_mdio_read() 69 writel(0, &mii_regs->mcmd.raw); in pic32_mdio_read()
|
H A D | lpc32xx_eth.c | 88 u32 mcmd; /* MII management command register */ member 253 writel(1, ®s->mcmd); in mii_reg_read() 265 writel(0, ®s->mcmd); in mii_reg_read()
|
H A D | pic32_eth.h | 33 struct pic32_reg_atomic mcmd; /* 0x290 */ member
|
/openbmc/linux/drivers/platform/x86/ |
H A D | acerhdf.c | 117 static const struct manualcmd mcmd = { variable 327 ec_write(mcmd.mreg, mcmd.moff); in acerhdf_change_fanstate()
|
/openbmc/linux/drivers/isdn/capi/ |
H A D | capi.c | 869 struct capi_manufacturer_cmd mcmd; in capi_ioctl() local 872 if (copy_from_user(&mcmd, argp, sizeof(mcmd))) in capi_ioctl() 874 return capi20_manufacturer(mcmd.cmd, mcmd.data); in capi_ioctl()
|
/openbmc/u-boot/arch/arm/mach-sunxi/ |
H A D | dram_sun6i.c | 117 writel(MCTL_MCMD_NOP, &mctl_ctl->mcmd); in mctl_channel_init() 118 mctl_await_completion(&mctl_ctl->mcmd, MCTL_MCMD_BUSY, 0); in mctl_channel_init()
|
/openbmc/u-boot/arch/arm/include/asm/arch-rockchip/ |
H A D | ddr_rk3368.h | 20 u32 mcmd; member
|
H A D | sdram_rk3036.h | 16 u32 mcmd; member
|
H A D | ddr_rk3288.h | 15 u32 mcmd; member
|
H A D | sdram_rk322x.h | 49 u32 mcmd; member
|
/openbmc/u-boot/arch/arm/mach-rockchip/rk3036/ |
H A D | sdram_rk3036.c | 446 writel((START_CMD | (rank << 20) | arg | cmd), &pctl->mcmd); in send_command() 448 while (readl(&pctl->mcmd) & START_CMD) in send_command()
|
/openbmc/u-boot/arch/arm/include/asm/arch-sunxi/ |
H A D | dram_sun6i.h | 45 u32 mcmd; /* 0x40 */ member
|