Lines Matching refs:cpu_to_le32
143 msg->u.head[0] = cpu_to_le32(FIVE_WORD_MSG_SIZE | SGL_OFFSET_0);
145 cpu_to_le32(I2O_CMD_BLOCK_CFLUSH << 24 | HOST_TID << 12 | dev->
147 msg->body[0] = cpu_to_le32(60 << 16);
171 msg->u.head[0] = cpu_to_le32(FIVE_WORD_MSG_SIZE | SGL_OFFSET_0);
173 cpu_to_le32(I2O_CMD_BLOCK_MMOUNT << 24 | HOST_TID << 12 | dev->
175 msg->body[0] = cpu_to_le32(-1);
176 msg->body[1] = cpu_to_le32(0x00000000);
200 msg->u.head[0] = cpu_to_le32(FIVE_WORD_MSG_SIZE | SGL_OFFSET_0);
202 cpu_to_le32(I2O_CMD_BLOCK_MLOCK << 24 | HOST_TID << 12 | dev->
204 msg->body[0] = cpu_to_le32(-1);
228 msg->u.head[0] = cpu_to_le32(FIVE_WORD_MSG_SIZE | SGL_OFFSET_0);
230 cpu_to_le32(I2O_CMD_BLOCK_MUNLOCK << 24 | HOST_TID << 12 | dev->
232 msg->body[0] = cpu_to_le32(media_id);
258 msg->u.head[0] = cpu_to_le32(FOUR_WORD_MSG_SIZE | SGL_OFFSET_0);
260 cpu_to_le32(I2O_CMD_BLOCK_POWER << 24 | HOST_TID << 12 | i2o_dev->
262 msg->body[0] = cpu_to_le32(op << 24);
761 msg->u.s.icntxt = cpu_to_le32(i2o_block_driver.context);
762 msg->u.s.tcntxt = cpu_to_le32(tcntxt);
822 cpu_to_le32(I2O_CMD_PRIVATE << 24 | HOST_TID << 12 | tid);
824 *mptr++ = cpu_to_le32(I2O_VENDOR_DPT << 16 | I2O_CMD_SCSI_EXEC);
825 *mptr++ = cpu_to_le32(tid);
840 *mptr++ = cpu_to_le32(scsi_flags);
847 *mptr++ = cpu_to_le32(blk_rq_bytes(req));
851 msg->u.head[1] = cpu_to_le32(cmd | HOST_TID << 12 | tid);
852 *mptr++ = cpu_to_le32(ctl_flags);
853 *mptr++ = cpu_to_le32(blk_rq_bytes(req));
855 cpu_to_le32((u32) (blk_rq_pos(req) << KERNEL_SECTOR_SHIFT));
857 cpu_to_le32(blk_rq_pos(req) >> (32 - KERNEL_SECTOR_SHIFT));
866 cpu_to_le32(I2O_MESSAGE_SIZE(mptr - &msg->u.head[0]) | sgl_offset);