Home
last modified time | relevance | path

Searched refs:hdrive (Results 1 – 1 of 1) sorted by relevance

/linux-3.4.99/drivers/scsi/
Dgdth.c167 static int gdth_fill_cache_cmd(gdth_ha_str *ha, Scsi_Cmnd *scp, u16 hdrive);
177 static int gdth_analyse_hdrive(gdth_ha_str *ha, u16 hdrive);
1928 static int gdth_analyse_hdrive(gdth_ha_str *ha, u16 hdrive) in gdth_analyse_hdrive() argument
1933 TRACE(("gdth_analyse_hdrive() hanum %d drive %d\n", ha->hanum, hdrive)); in gdth_analyse_hdrive()
1934 if (hdrive >= MAX_HDRIVES) in gdth_analyse_hdrive()
1937 if (!gdth_internal_cmd(ha, CACHESERVICE, GDT_INFO, hdrive, 0, 0)) in gdth_analyse_hdrive()
1939 ha->hdr[hdrive].present = TRUE; in gdth_analyse_hdrive()
1940 ha->hdr[hdrive].size = ha->info; in gdth_analyse_hdrive()
1943 ha->hdr[hdrive].size &= ~SECS32; in gdth_analyse_hdrive()
1945 gdth_eval_mapping(ha->hdr[hdrive].size,&drv_cyls,&drv_hds,&drv_secs); in gdth_analyse_hdrive()
[all …]