tag | line | file | source code |
mscp | 311 | kernel/blk_drv/scsi/ultrastor.c | static struct mscp mscp = { |
mscp | 325 | kernel/blk_drv/scsi/ultrastor.c | memset((char *)&mscp + 1, 0, sizeof (struct mscp) - 1); |
mscp | 326 | kernel/blk_drv/scsi/ultrastor.c | mscp.target_id = target; |
mscp | 328 | kernel/blk_drv/scsi/ultrastor.c | mscp.transfer_data = *(Longword *)&buff; |
mscp | 329 | kernel/blk_drv/scsi/ultrastor.c | mscp.transfer_data_length = *(Longword *)&bufflen, |
mscp | 330 | kernel/blk_drv/scsi/ultrastor.c | mscp.length_of_scsi_cdbs = ((*(unsigned char *)cmnd <= 0x1F) ? 6 : 10); |
mscp | 331 | kernel/blk_drv/scsi/ultrastor.c | memcpy(mscp.scsi_cdbs, cmnd, mscp.length_of_scsi_cdbs); |
mscp | 346 | kernel/blk_drv/scsi/ultrastor.c | outb_p(BYTE(&mscp, 0), OGM_DATA_PTR(PORT_ADDRESS + 0)); |
mscp | 347 | kernel/blk_drv/scsi/ultrastor.c | outb_p(BYTE(&mscp, 1), OGM_DATA_PTR(PORT_ADDRESS + 1)); |
mscp | 348 | kernel/blk_drv/scsi/ultrastor.c | outb_p(BYTE(&mscp, 2), OGM_DATA_PTR(PORT_ADDRESS + 2)); |
mscp | 349 | kernel/blk_drv/scsi/ultrastor.c | outb_p(BYTE(&mscp, 3), OGM_DATA_PTR(PORT_ADDRESS + 3)); |
mscp | 392 | kernel/blk_drv/scsi/ultrastor.c | (mscp.adapter_status << 16) | mscp.target_status); |
mscp | 396 | kernel/blk_drv/scsi/ultrastor.c | return (mscp.adapter_status << 16) | mscp.target_status; |
mscp | 444 | kernel/blk_drv/scsi/ultrastor.c | (mscp.adapter_status << 16) | mscp.target_status); |
mscp | 463 | kernel/blk_drv/scsi/ultrastor.c | done(host_number, (mscp.adapter_status << 16) | mscp.target_status); |