Lines Matching refs:pdi
264 gdth_diskinfo_str *pdi; in gdth_get_info() local
422 pdi = (gdth_diskinfo_str *)buf; in gdth_get_info()
441 strncpy(hrec,pdi->vendor,8); in gdth_get_info()
442 strncpy(hrec+8,pdi->product,16); in gdth_get_info()
443 strncpy(hrec+24,pdi->revision,4); in gdth_get_info()
447 'A'+i,pdi->target_id,pdi->lun,hrec); in gdth_get_info()
450 pdi->no_ldrive &= 0xffff; in gdth_get_info()
451 if (pdi->no_ldrive == 0xffff) in gdth_get_info()
454 sprintf(hrec,"%d",pdi->no_ldrive); in gdth_get_info()
457 pdi->blkcnt/(1024*1024/pdi->blksize), in gdth_get_info()
461 pdi->devtype = 0xff; in gdth_get_info()
464 if (pdi->devtype == 0) { in gdth_get_info()
467 if (pds->list[k].tid == pdi->target_id && in gdth_get_info()
468 pds->list[k].lun == pdi->lun) { in gdth_get_info()