Lines Matching refs:enquiry2

913 	struct myrb_enquiry2 *enquiry2;  in myrb_get_hba_config()  local
923 enquiry2 = dma_alloc_coherent(&pdev->dev, sizeof(struct myrb_enquiry2), in myrb_get_hba_config()
925 if (!enquiry2) { in myrb_get_hba_config()
936 enquiry2, enquiry2_addr); in myrb_get_hba_config()
972 switch (enquiry2->hw.sub_model) { in myrb_get_hba_config()
974 if (enquiry2->scsi_cap.bus_speed == MYRB_SCSI_SPEED_ULTRA) in myrb_get_hba_config()
1009 enquiry2->hw.sub_model); in myrb_get_hba_config()
1044 if (enquiry2->fw.major_version == 0) { in myrb_get_hba_config()
1045 enquiry2->fw.major_version = cb->enquiry->fw_major_version; in myrb_get_hba_config()
1046 enquiry2->fw.minor_version = cb->enquiry->fw_minor_version; in myrb_get_hba_config()
1047 enquiry2->fw.firmware_type = '0'; in myrb_get_hba_config()
1048 enquiry2->fw.turn_id = 0; in myrb_get_hba_config()
1052 enquiry2->fw.major_version, in myrb_get_hba_config()
1053 enquiry2->fw.minor_version, in myrb_get_hba_config()
1054 enquiry2->fw.firmware_type, in myrb_get_hba_config()
1055 enquiry2->fw.turn_id); in myrb_get_hba_config()
1056 if (!((enquiry2->fw.major_version == 5 && in myrb_get_hba_config()
1057 enquiry2->fw.minor_version >= 6) || in myrb_get_hba_config()
1058 (enquiry2->fw.major_version == 4 && in myrb_get_hba_config()
1059 enquiry2->fw.minor_version >= 6) || in myrb_get_hba_config()
1060 (enquiry2->fw.major_version == 3 && in myrb_get_hba_config()
1061 enquiry2->fw.minor_version >= 51) || in myrb_get_hba_config()
1062 (enquiry2->fw.major_version == 2 && in myrb_get_hba_config()
1073 switch (enquiry2->hw.model) { in myrb_get_hba_config()
1085 pchan_max = enquiry2->cfg_chan; in myrb_get_hba_config()
1088 pchan_cur = enquiry2->cur_chan; in myrb_get_hba_config()
1089 if (enquiry2->scsi_cap.bus_width == MYRB_WIDTH_WIDE_32BIT) in myrb_get_hba_config()
1091 else if (enquiry2->scsi_cap.bus_width == MYRB_WIDTH_WIDE_16BIT) in myrb_get_hba_config()
1095 cb->ldev_block_size = enquiry2->ldev_block_size; in myrb_get_hba_config()
1097 shost->max_id = enquiry2->max_targets; in myrb_get_hba_config()
1098 memsize = enquiry2->mem_size >> 20; in myrb_get_hba_config()
1099 cb->safte_enabled = (enquiry2->fault_mgmt == MYRB_FAULT_SAFTE); in myrb_get_hba_config()
1110 shost->can_queue = enquiry2->max_cmds; in myrb_get_hba_config()
1117 shost->max_sectors = enquiry2->max_sectors; in myrb_get_hba_config()
1118 shost->sg_tablesize = enquiry2->max_sge; in myrb_get_hba_config()
1188 enquiry2, enquiry2_addr); in myrb_get_hba_config()