Lines Matching refs:cpu_to_le16

328 			cpu_to_le16(TW_REQ_LUN_IN(srb->device->lun, request_id));  in twl_scsiop_execute_scsi()
331 cpu_to_le16(TW_REQ_LUN_IN(0, request_id)); in twl_scsiop_execute_scsi()
348 …command_packet->sgl_entries__lunh = cpu_to_le16(TW_REQ_LUN_IN((srb->device->lun >> 4), scsi_sg_cou… in twl_scsiop_execute_scsi()
356 command_packet->sgl_entries__lunh = cpu_to_le16(TW_REQ_LUN_IN(0, use_sg)); in twl_scsiop_execute_scsi()
429 command_packet->byte6_offset.parameter_count = cpu_to_le16(1); in twl_aen_sync_time()
434 param->table_id = cpu_to_le16(TW_TIMEKEEP_TABLE | 0x8000); /* Controller time keep table */ in twl_aen_sync_time()
435 param->parameter_id = cpu_to_le16(0x3); /* SchedulerTime */ in twl_aen_sync_time()
436 param->parameter_size_bytes = cpu_to_le16(4); in twl_aen_sync_time()
695 cpu_to_le16(TW_REQ_LUN_IN(TW_LUN_OUT(newcommand->request_id__lunl), request_id)); in twl_load_sgl()
701 cpu_to_le16(TW_REQ_LUN_IN(TW_LUN_OUT(newcommand->sgl_entries__lunh), length ? 1 : 0)); in twl_load_sgl()
945 command_packet->byte6_offset.block_count = cpu_to_le16(1); in twl_get_param()
950 param->table_id = cpu_to_le16(table_id | 0x8000); in twl_get_param()
951 param->parameter_id = cpu_to_le16(parameter_id); in twl_get_param()
952 param->parameter_size_bytes = cpu_to_le16(parameter_size_bytes); in twl_get_param()
996 tw_initconnect->message_credits = cpu_to_le16(message_credits); in twl_initconnection()
1006 tw_initconnect->fw_srl = cpu_to_le16(current_fw_srl); in twl_initconnection()
1007 tw_initconnect->fw_arch_id = cpu_to_le16(current_fw_arch_id); in twl_initconnection()
1008 tw_initconnect->fw_branch = cpu_to_le16(current_fw_branch); in twl_initconnection()
1009 tw_initconnect->fw_build = cpu_to_le16(current_fw_build); in twl_initconnection()