tag | line | file | source code |
mscp | 332 | kernel/blk_drv/scsi/ultrastor.c | static struct mscp mscp = { |
mscp | 355 | kernel/blk_drv/scsi/ultrastor.c | mscp.number_of_sg_list = (char) SCpnt->use_sg; |
mscp | 356 | kernel/blk_drv/scsi/ultrastor.c | mscp.transfer_data = *(Longword *)&sglist; |
mscp | 359 | kernel/blk_drv/scsi/ultrastor.c | mscp.transfer_data_length = *(Longword *)&transfer_length; |
mscp | 384 | kernel/blk_drv/scsi/ultrastor.c | mscp.opcode = OP_SCSI; |
mscp | 385 | kernel/blk_drv/scsi/ultrastor.c | mscp.xdir = DTD_SCSI; |
mscp | 386 | kernel/blk_drv/scsi/ultrastor.c | mscp.dcn = FALSE; |
mscp | 387 | kernel/blk_drv/scsi/ultrastor.c | mscp.ca = TRUE; |
mscp | 388 | kernel/blk_drv/scsi/ultrastor.c | mscp.target_id = SCpnt->target; |
mscp | 389 | kernel/blk_drv/scsi/ultrastor.c | mscp.ch_no = 0; |
mscp | 390 | kernel/blk_drv/scsi/ultrastor.c | mscp.lun = SCpnt->lun; |
mscp | 393 | kernel/blk_drv/scsi/ultrastor.c | mscp.sg = TRUE; |
mscp | 398 | kernel/blk_drv/scsi/ultrastor.c | mscp.sg = FALSE; |
mscp | 399 | kernel/blk_drv/scsi/ultrastor.c | mscp.transfer_data = *(Longword *)&SCpnt->request_buffer; |
mscp | 400 | kernel/blk_drv/scsi/ultrastor.c | mscp.transfer_data_length = *(Longword *)&SCpnt->request_bufflen; |
mscp | 403 | kernel/blk_drv/scsi/ultrastor.c | memset(&mscp.command_link, 0, sizeof(mscp.command_link)); /*???*/ |
mscp | 404 | kernel/blk_drv/scsi/ultrastor.c | mscp.scsi_command_link_id = 0; /*???*/ |
mscp | 405 | kernel/blk_drv/scsi/ultrastor.c | mscp.length_of_sense_byte = 0; /*???*/ |
mscp | 406 | kernel/blk_drv/scsi/ultrastor.c | mscp.length_of_scsi_cdbs = COMMAND_SIZE(*(unsigned char *)SCpnt->cmnd); |
mscp | 407 | kernel/blk_drv/scsi/ultrastor.c | memcpy(mscp.scsi_cdbs, SCpnt->cmnd, mscp.length_of_scsi_cdbs); |
mscp | 408 | kernel/blk_drv/scsi/ultrastor.c | mscp.adapter_status = 0; |
mscp | 409 | kernel/blk_drv/scsi/ultrastor.c | mscp.target_status = 0; |
mscp | 410 | kernel/blk_drv/scsi/ultrastor.c | memset(&mscp.sense_data, 0, sizeof(mscp.sense_data)); /*???*/ |
mscp | 425 | kernel/blk_drv/scsi/ultrastor.c | outb_p(BYTE(&mscp, 0), OGM_DATA_PTR(PORT_ADDRESS + 0)); |
mscp | 426 | kernel/blk_drv/scsi/ultrastor.c | outb_p(BYTE(&mscp, 1), OGM_DATA_PTR(PORT_ADDRESS + 1)); |
mscp | 427 | kernel/blk_drv/scsi/ultrastor.c | outb_p(BYTE(&mscp, 2), OGM_DATA_PTR(PORT_ADDRESS + 2)); |
mscp | 428 | kernel/blk_drv/scsi/ultrastor.c | outb_p(BYTE(&mscp, 3), OGM_DATA_PTR(PORT_ADDRESS + 3)); |
mscp | 510 | kernel/blk_drv/scsi/ultrastor.c | (mscp.adapter_status << 16) | mscp.target_status); |
mscp | 531 | kernel/blk_drv/scsi/ultrastor.c | SCtmp->result = (mscp.adapter_status << 16) | mscp.target_status; |