Home
last modified time | relevance | path

Searched refs:cmdp (Results 1 – 5 of 5) sorted by relevance

/drivers/scsi/csiostor/
Dcsio_mb.c80 struct fw_hello_cmd *cmdp = (struct fw_hello_cmd *)(mbp->mb); in csio_mb_hello() local
82 CSIO_INIT_MBP(mbp, cmdp, tmo, hw, cbfn, 1); in csio_mb_hello()
84 cmdp->op_to_write = htonl(FW_CMD_OP_V(FW_HELLO_CMD) | in csio_mb_hello()
86 cmdp->retval_len16 = htonl(FW_CMD_LEN16_V(sizeof(*cmdp) / 16)); in csio_mb_hello()
87 cmdp->err_to_clearinit = htonl( in csio_mb_hello()
143 struct fw_bye_cmd *cmdp = (struct fw_bye_cmd *)(mbp->mb); in csio_mb_bye() local
145 CSIO_INIT_MBP(mbp, cmdp, tmo, hw, cbfn, 1); in csio_mb_bye()
147 cmdp->op_to_write = htonl(FW_CMD_OP_V(FW_BYE_CMD) | in csio_mb_bye()
149 cmdp->retval_len16 = htonl(FW_CMD_LEN16_V(sizeof(*cmdp) / 16)); in csio_mb_bye()
166 struct fw_reset_cmd *cmdp = (struct fw_reset_cmd *)(mbp->mb); in csio_mb_reset() local
[all …]
/drivers/scsi/
Dscsi_ioctl.c355 if (copy_from_user(scmd->cmnd, hdr->cmdp, hdr->cmd_len)) in scsi_fill_sghdr_rq()
629 .cmdp = (uintptr_t)hdr->cmdp, in put_sg_io_hdr()
677 .cmdp = compat_ptr(hdr32.cmdp), in get_sg_io_hdr()
817 hdr.cmdp = ((struct cdrom_generic_command __user *) arg)->cmd; in scsi_cdrom_send_packet()
Datp870u.c123 unsigned char i, j, c, target_id, lun,cmdp; in atp870u_intr_handle() local
145 cmdp = atp_readb_io(dev, c, 0x10); in atp870u_intr_handle()
288 if (cmdp == 0x44 || i == 0x80) in atp870u_intr_handle()
294 if (cmdp == 0x41) { in atp870u_intr_handle()
Dpmcraid.c4513 struct pmcraid_cmd *cmdp = pinstance->cmd_list[i]; in pmcraid_init_buffers() local
4514 pmcraid_init_cmdblk(cmdp, i); in pmcraid_init_buffers()
4515 cmdp->drv_inst = pinstance; in pmcraid_init_buffers()
4516 list_add_tail(&cmdp->free_list, &pinstance->free_cmd_pool); in pmcraid_init_buffers()
Dsg.c761 if ((!hp->cmdp) || (hp->cmd_len < 6) || (hp->cmd_len > sizeof (cmnd))) { in sg_new_write()
765 if (copy_from_user(cmnd, hp->cmdp, hp->cmd_len)) { in sg_new_write()