Lines Matching refs:i2o_raw_writel

598 	i2o_raw_writel(I2O_CMD_SCSI_EXEC<<24|HOST_TID<<12|tid, &msg[1]);  in i2o_scsi_queuecommand()
599 i2o_raw_writel(scsi_context, &msg[2]); /* So the I2O layer passes to us */ in i2o_scsi_queuecommand()
601 i2o_raw_writel((u32)SCpnt, &msg[3]); /* We want the SCSI control block back */ in i2o_scsi_queuecommand()
644 i2o_raw_writel(scsidir|0x20000000|SCpnt->cmd_len|tag, &msg[4]); in i2o_scsi_queuecommand()
681 i2o_raw_writel(direction|0xB0000000|(SCpnt->use_sg*2*4), mptr++); in i2o_scsi_queuecommand()
682 i2o_raw_writel(virt_to_bus(sg_chain_pool + sg_chain_tag), mptr); in i2o_scsi_queuecommand()
705 i2o_raw_writel(direction|0x10000000|sg->length, mptr++); in i2o_scsi_queuecommand()
707 i2o_raw_writel(virt_to_bus(sg->address), mptr++); in i2o_scsi_queuecommand()
714 i2o_raw_writel(direction|0xD0000000|(sg-1)->length, &mptr[-2]); in i2o_scsi_queuecommand()
720 i2o_raw_writel(len, lenptr); in i2o_scsi_queuecommand()
730 i2o_raw_writel(len = SCpnt->request_bufflen, lenptr); in i2o_scsi_queuecommand()
737 i2o_raw_writel(0xD0000000|direction|SCpnt->request_bufflen, mptr++); in i2o_scsi_queuecommand()
738 i2o_raw_writel(virt_to_bus(SCpnt->request_buffer), mptr++); in i2o_scsi_queuecommand()
746 i2o_raw_writel(reqlen<<16 | SGL_OFFSET_10, msg); in i2o_scsi_queuecommand()
813 i2o_raw_writel(FIVE_WORD_MSG_SIZE, msg); in i2o_scsi_abort()
814 i2o_raw_writel(I2O_CMD_SCSI_ABORT<<24|HOST_TID<<12|tid, msg+4); in i2o_scsi_abort()
815 i2o_raw_writel(scsi_context, msg+8); in i2o_scsi_abort()
816 i2o_raw_writel(0, msg+12); /* Not needed for an abort */ in i2o_scsi_abort()
817 i2o_raw_writel((u32)SCpnt, msg+16); /* FIXME 32bitism */ in i2o_scsi_abort()
860 i2o_raw_writel(FOUR_WORD_MSG_SIZE|SGL_OFFSET_0, msg); in i2o_scsi_reset()
861 i2o_raw_writel(I2O_CMD_SCSI_BUSRESET<<24|HOST_TID<<12|tid, msg+4); in i2o_scsi_reset()
862 i2o_raw_writel(scsi_context|0x80000000, msg+8); in i2o_scsi_reset()
865 i2o_raw_writel(c->unit << 16 | tid, msg+12); in i2o_scsi_reset()