Searched refs:vendor_cmd (Results 1 – 1 of 1) sorted by relevance
410 cpqfc_passthru_t *vendor_cmd; in cpqfcTS_ioctl() local455 vendor_cmd = ioc.argp; // i.e., CPQ specific command struct in cpqfcTS_ioctl()458 if (vendor_cmd->len) { in cpqfcTS_ioctl()459 buf = kmalloc(vendor_cmd->len, GFP_KERNEL); in cpqfcTS_ioctl()470 if ((vendor_cmd->rw_flag == VENDOR_WRITE_OPCODE) && vendor_cmd->len) in cpqfcTS_ioctl()471 if (copy_from_user(buf, vendor_cmd->bufp, vendor_cmd->len)) { in cpqfcTS_ioctl()477 memcpy(&ScsiPassThruCmnd->cmnd[0], &vendor_cmd->cdb[0], MAX_COMMAND_SIZE); in cpqfcTS_ioctl()491 memcpy(&ScsiPassThruCmnd->SCp.buffers_residual, &vendor_cmd->cdb[12], 4); in cpqfcTS_ioctl()500 ScsiPassThruCmnd->SCp.phase = vendor_cmd->bus; in cpqfcTS_ioctl()501 ScsiPassThruCmnd->SCp.have_data_in = vendor_cmd->pdrive; in cpqfcTS_ioctl()[all …]