Lines Matching refs:drive_nr
63 static long disk_size(DAC960_Controller_T *p, int drive_nr) in disk_size() argument
66 if (drive_nr >= p->LogicalDriveCount) in disk_size()
68 return p->V1.LogicalDriveInformation[drive_nr]. in disk_size()
72 p->V2.LogicalDeviceInformation[drive_nr]; in disk_size()
83 int drive_nr = (long)disk->private_data; in DAC960_open() local
88 if (p->V1.LogicalDriveInformation[drive_nr]. in DAC960_open()
93 p->V2.LogicalDeviceInformation[drive_nr]; in DAC960_open()
100 if (!get_capacity(p->disks[drive_nr])) in DAC960_open()
112 int drive_nr = (long)disk->private_data; in DAC960_getgeo() local
117 geo->cylinders = p->V1.LogicalDriveInformation[drive_nr]. in DAC960_getgeo()
121 p->V2.LogicalDeviceInformation[drive_nr]; in DAC960_getgeo()
148 int drive_nr = (long)disk->private_data; in DAC960_check_events() local
150 if (!p->LogicalDriveInitiallyAccessible[drive_nr]) in DAC960_check_events()