Lines Matching refs:cpu_to_le32
196 req->header.result = cpu_to_le32(IOP_RESULT_SUCCESS);
262 reqhdr->flags |= cpu_to_le32(IOP_REQUEST_FLAG_SYNC_REQUEST);
340 req->header.flags = cpu_to_le32(IOP_REQUEST_FLAG_OUTPUT_CONTEXT);
341 req->header.type = cpu_to_le32(IOP_REQUEST_TYPE_GET_CONFIG);
343 cpu_to_le32(sizeof(struct hpt_iop_request_get_config));
344 req->header.result = cpu_to_le32(IOP_RESULT_PENDING);
345 req->header.context = cpu_to_le32(IOP_REQUEST_TYPE_GET_CONFIG<<5);
395 req->header.flags = cpu_to_le32(IOP_REQUEST_FLAG_OUTPUT_CONTEXT);
396 req->header.type = cpu_to_le32(IOP_REQUEST_TYPE_SET_CONFIG);
398 cpu_to_le32(sizeof(struct hpt_iop_request_set_config));
399 req->header.result = cpu_to_le32(IOP_RESULT_PENDING);
400 req->header.context = cpu_to_le32(IOP_REQUEST_TYPE_SET_CONFIG<<5);
560 BUG_ON(req->header.type != cpu_to_le32(IOP_REQUEST_TYPE_SCSI_COMMAND));
616 req->header.result = cpu_to_le32(IOP_RESULT_SUCCESS);
696 psg[idx].size = cpu_to_le32(sg_dma_len(sg));
698 cpu_to_le32(1) : 0;
708 reqhdr->context = cpu_to_le32(IOPMU_QUEUE_ADDR_HOST_BIT |
736 reqhdr->context = cpu_to_le32(_req->index<<8 |
800 req->header.flags = cpu_to_le32(IOP_REQUEST_FLAG_OUTPUT_CONTEXT);
801 req->header.type = cpu_to_le32(IOP_REQUEST_TYPE_SCSI_COMMAND);
802 req->header.result = cpu_to_le32(IOP_RESULT_PENDING);
803 req->dataxfer_length = cpu_to_le32(scsi_bufflen(scp));
807 req->header.size = cpu_to_le32(
1066 set_config.iop_id = cpu_to_le32(host->host_no);