dcdb 1912 drivers/scsi/ips.c memcpy(&scb->dcdb, &pt->CoppCP.dcdb, sizeof (IPS_DCDB_TABLE)); dcdb 1941 drivers/scsi/ips.c if (scb->cmd.dcdb.op_code == IPS_CMD_DCDB) dcdb 1942 drivers/scsi/ips.c scb->cmd.dcdb.dcdb_address = cpu_to_le32(scb->scb_busaddr + dcdb 1944 drivers/scsi/ips.c dcdb - dcdb 1948 drivers/scsi/ips.c if (scb->cmd.dcdb.op_code == IPS_CMD_DCDB) dcdb 1949 drivers/scsi/ips.c scb->dcdb.buffer_pointer = dcdb 1961 drivers/scsi/ips.c scb->dcdb.cmd_attribute |= IPS_TIMEOUT10; dcdb 1963 drivers/scsi/ips.c scb->dcdb.cmd_attribute |= IPS_TIMEOUT60; dcdb 1965 drivers/scsi/ips.c scb->dcdb.cmd_attribute |= IPS_TIMEOUT20M; dcdb 2000 drivers/scsi/ips.c if (scb->cmd.dcdb.op_code == IPS_CMD_DCDB) /* Copy DCDB Back to Caller's Area */ dcdb 2001 drivers/scsi/ips.c memcpy(&pt->CoppCP.dcdb, &scb->dcdb, sizeof (IPS_DCDB_TABLE)); dcdb 2674 drivers/scsi/ips.c scb->dcdb.transfer_length = scb->data_len; dcdb 2679 drivers/scsi/ips.c scb->dcdb.transfer_length = 0; dcdb 2682 drivers/scsi/ips.c scb->dcdb.cmd_attribute = dcdb 2689 drivers/scsi/ips.c scb->dcdb.cmd_attribute = 0; dcdb 2691 drivers/scsi/ips.c if (!(scb->dcdb.cmd_attribute & 0x3)) dcdb 2692 drivers/scsi/ips.c scb->dcdb.transfer_length = 0; dcdb 2695 drivers/scsi/ips.c scb->dcdb.cmd_attribute |= IPS_TRANSFER64K; dcdb 2696 drivers/scsi/ips.c scb->dcdb.transfer_length = 0; dcdb 3186 drivers/scsi/ips.c scb->dcdb.transfer_length = scb->data_len; dcdb 3187 drivers/scsi/ips.c scb->dcdb.cmd_attribute |= dcdb 3190 drivers/scsi/ips.c if (!(scb->dcdb.cmd_attribute & 0x3)) dcdb 3191 drivers/scsi/ips.c scb->dcdb.transfer_length = 0; dcdb 3194 drivers/scsi/ips.c scb->dcdb.cmd_attribute |= IPS_TRANSFER64K; dcdb 3195 drivers/scsi/ips.c scb->dcdb.transfer_length = 0; dcdb 3262 drivers/scsi/ips.c IPS_ERR_CKCOND ? scb->dcdb.sense_info[2] & 0xf : 0, dcdb 3264 drivers/scsi/ips.c IPS_ERR_CKCOND ? scb->dcdb.sense_info[12] : 0, dcdb 3266 drivers/scsi/ips.c IPS_ERR_CKCOND ? scb->dcdb.sense_info[13] : 0); dcdb 3294 drivers/scsi/ips.c if ((scb->cmd.dcdb.op_code == IPS_CMD_EXTENDED_DCDB) || dcdb 3295 drivers/scsi/ips.c (scb->cmd.dcdb.op_code == dcdb 3297 drivers/scsi/ips.c tapeDCDB = (IPS_DCDB_TABLE_TAPE *) & scb->dcdb; dcdb 3301 drivers/scsi/ips.c (uint32_t) scb->dcdb.transfer_length; dcdb 3336 drivers/scsi/ips.c if ((scb->cmd.dcdb.op_code == dcdb 3338 drivers/scsi/ips.c || (scb->cmd.dcdb.op_code == dcdb 3341 drivers/scsi/ips.c (IPS_DCDB_TABLE_TAPE *) & scb->dcdb; dcdb 3347 drivers/scsi/ips.c scb->dcdb.sense_info, dcdb 3720 drivers/scsi/ips.c scb->cmd.dcdb.command_id = IPS_COMMAND_ID(ha, scb); dcdb 3721 drivers/scsi/ips.c scb->cmd.dcdb.dcdb_address = cpu_to_le32(scb->scb_busaddr + dcdb 3723 drivers/scsi/ips.c dcdb - dcdb 3725 drivers/scsi/ips.c scb->cmd.dcdb.reserved = 0; dcdb 3726 drivers/scsi/ips.c scb->cmd.dcdb.reserved2 = 0; dcdb 3727 drivers/scsi/ips.c scb->cmd.dcdb.reserved3 = 0; dcdb 3728 drivers/scsi/ips.c scb->cmd.dcdb.segment_4G = 0; dcdb 3729 drivers/scsi/ips.c scb->cmd.dcdb.enhanced_sg = 0; dcdb 3735 drivers/scsi/ips.c scb->cmd.dcdb.op_code = IPS_CMD_EXTENDED_DCDB; dcdb 3737 drivers/scsi/ips.c scb->cmd.dcdb.op_code = dcdb 3739 drivers/scsi/ips.c scb->cmd.dcdb.enhanced_sg = dcdb 3743 drivers/scsi/ips.c tapeDCDB = (IPS_DCDB_TABLE_TAPE *) & scb->dcdb; /* Use Same Data Area as Old DCDB Struct */ dcdb 3761 drivers/scsi/ips.c if (scb->cmd.dcdb.op_code == IPS_CMD_EXTENDED_DCDB_SG) dcdb 3775 drivers/scsi/ips.c scb->cmd.dcdb.op_code = IPS_CMD_DCDB; dcdb 3777 drivers/scsi/ips.c scb->cmd.dcdb.op_code = IPS_CMD_DCDB_SG; dcdb 3778 drivers/scsi/ips.c scb->cmd.dcdb.enhanced_sg = dcdb 3782 drivers/scsi/ips.c scb->dcdb.device_address = dcdb 3784 drivers/scsi/ips.c scb->dcdb.cmd_attribute |= IPS_DISCONNECT_ALLOWED; dcdb 3788 drivers/scsi/ips.c scb->dcdb.cmd_attribute |= IPS_TIMEOUT10; /* TimeOut is 10 Seconds */ dcdb 3790 drivers/scsi/ips.c scb->dcdb.cmd_attribute |= IPS_TIMEOUT60; /* TimeOut is 60 Seconds */ dcdb 3792 drivers/scsi/ips.c scb->dcdb.cmd_attribute |= IPS_TIMEOUT20M; /* TimeOut is 20 Minutes */ dcdb 3795 drivers/scsi/ips.c scb->dcdb.transfer_length = scb->data_len; dcdb 3796 drivers/scsi/ips.c if (scb->dcdb.cmd_attribute & IPS_TRANSFER64K) dcdb 3797 drivers/scsi/ips.c scb->dcdb.transfer_length = 0; dcdb 3798 drivers/scsi/ips.c if (scb->cmd.dcdb.op_code == IPS_CMD_DCDB_SG) dcdb 3799 drivers/scsi/ips.c scb->dcdb.buffer_pointer = dcdb 3802 drivers/scsi/ips.c scb->dcdb.buffer_pointer = dcdb 3804 drivers/scsi/ips.c scb->dcdb.cdb_length = scb->scsi_cmd->cmd_len; dcdb 3805 drivers/scsi/ips.c scb->dcdb.sense_length = sizeof (scb->dcdb.sense_info); dcdb 3806 drivers/scsi/ips.c scb->dcdb.sg_count = scb->sg_len; dcdb 3807 drivers/scsi/ips.c scb->dcdb.reserved = 0; dcdb 3808 drivers/scsi/ips.c memcpy(scb->dcdb.scsi_cdb, scb->scsi_cmd->cmnd, dcdb 3810 drivers/scsi/ips.c scb->dcdb.scsi_status = 0; dcdb 3811 drivers/scsi/ips.c scb->dcdb.reserved2[0] = 0; dcdb 3812 drivers/scsi/ips.c scb->dcdb.reserved2[1] = 0; dcdb 3813 drivers/scsi/ips.c scb->dcdb.reserved2[2] = 0; dcdb 587 drivers/scsi/ips.h IPS_DCDB_CMD dcdb; dcdb 1066 drivers/scsi/ips.h IPS_DCDB_TABLE dcdb; dcdb 1093 drivers/scsi/ips.h IPS_DCDB_TABLE dcdb; dcdb 1271 drivers/scsi/myrb.c struct myrb_dcdb *dcdb; dcdb 1279 drivers/scsi/myrb.c dcdb = dma_pool_alloc(cb->dcdb_pool, GFP_ATOMIC, &dcdb_addr); dcdb 1280 drivers/scsi/myrb.c if (!dcdb) dcdb 1284 drivers/scsi/myrb.c dma_pool_free(cb->dcdb_pool, dcdb, dcdb_addr); dcdb 1293 drivers/scsi/myrb.c dcdb->channel = sdev->channel; dcdb 1294 drivers/scsi/myrb.c dcdb->target = sdev->id; dcdb 1297 drivers/scsi/myrb.c dcdb->data_xfer = MYRB_DCDB_XFER_NONE; dcdb 1300 drivers/scsi/myrb.c dcdb->data_xfer = MYRB_DCDB_XFER_SYSTEM_TO_DEVICE; dcdb 1303 drivers/scsi/myrb.c dcdb->data_xfer = MYRB_DCDB_XFER_DEVICE_TO_SYSTEM; dcdb 1306 drivers/scsi/myrb.c dcdb->data_xfer = MYRB_DCDB_XFER_ILLEGAL; dcdb 1309 drivers/scsi/myrb.c dcdb->early_status = false; dcdb 1311 drivers/scsi/myrb.c dcdb->timeout = MYRB_DCDB_TMO_10_SECS; dcdb 1313 drivers/scsi/myrb.c dcdb->timeout = MYRB_DCDB_TMO_60_SECS; dcdb 1315 drivers/scsi/myrb.c dcdb->timeout = MYRB_DCDB_TMO_10_MINS; dcdb 1317 drivers/scsi/myrb.c dcdb->timeout = MYRB_DCDB_TMO_24_HRS; dcdb 1318 drivers/scsi/myrb.c dcdb->no_autosense = false; dcdb 1319 drivers/scsi/myrb.c dcdb->allow_disconnect = true; dcdb 1321 drivers/scsi/myrb.c dcdb->dma_addr = sg_dma_address(sgl); dcdb 1323 drivers/scsi/myrb.c dcdb->xfer_len_lo = sg_dma_len(sgl) & 0xffff; dcdb 1324 drivers/scsi/myrb.c dcdb->xfer_len_hi4 = sg_dma_len(sgl) >> 16; dcdb 1326 drivers/scsi/myrb.c dcdb->xfer_len_lo = sg_dma_len(sgl); dcdb 1327 drivers/scsi/myrb.c dcdb->xfer_len_hi4 = 0; dcdb 1329 drivers/scsi/myrb.c dcdb->cdb_len = scmd->cmd_len; dcdb 1330 drivers/scsi/myrb.c dcdb->sense_len = sizeof(dcdb->sense); dcdb 1331 drivers/scsi/myrb.c memcpy(&dcdb->cdb, scmd->cmnd, scmd->cmd_len); dcdb 2335 drivers/scsi/myrb.c if (cmd_blk->dcdb) { dcdb 2336 drivers/scsi/myrb.c memcpy(scmd->sense_buffer, &cmd_blk->dcdb->sense, 64); dcdb 2337 drivers/scsi/myrb.c dma_pool_free(cb->dcdb_pool, cmd_blk->dcdb, dcdb 2339 drivers/scsi/myrb.c cmd_blk->dcdb = NULL; dcdb 686 drivers/scsi/myrb.h struct myrb_dcdb *dcdb; dcdb 1672 drivers/scsi/myrs.c cmd_blk->dcdb = NULL; dcdb 1676 drivers/scsi/myrs.c cmd_blk->dcdb = dma_pool_alloc(cs->dcdb_pool, GFP_ATOMIC, dcdb 1678 drivers/scsi/myrs.c if (!cmd_blk->dcdb) { dcdb 1717 drivers/scsi/myrs.c memcpy(cmd_blk->dcdb, scmd->cmnd, scmd->cmd_len); dcdb 1736 drivers/scsi/myrs.c if (cmd_blk->dcdb) { dcdb 1738 drivers/scsi/myrs.c cmd_blk->dcdb, dcdb 1740 drivers/scsi/myrs.c cmd_blk->dcdb = NULL; dcdb 2074 drivers/scsi/myrs.c if (cmd_blk->dcdb) { dcdb 2075 drivers/scsi/myrs.c dma_pool_free(cs->dcdb_pool, cmd_blk->dcdb, dcdb 2077 drivers/scsi/myrs.c cmd_blk->dcdb = NULL; dcdb 878 drivers/scsi/myrs.h unsigned char *dcdb;