Lines Matching refs:sun_drives
136 } sun_drives[] ALIGN_PTR = { variable
212 for (i = 0; i < ARRAY_SIZE(sun_drives); i++) { in sun_autoconfigure_scsi()
213 if (*sun_drives[i].vendor && strcasecmp(sun_drives[i].vendor, vendor)) in sun_autoconfigure_scsi()
215 if (!strstr(model, sun_drives[i].model)) in sun_autoconfigure_scsi()
218 sun_drives[i].vendor, in sun_autoconfigure_scsi()
219 (*sun_drives[i].vendor) ? " " : "", in sun_autoconfigure_scsi()
220 sun_drives[i].model); in sun_autoconfigure_scsi()
221 p = sun_drives + i; in sun_autoconfigure_scsi()
249 for (i = 0; i < ARRAY_SIZE(sun_drives); i++) { in create_sunlabel()
251 i + 'a', sun_drives[i].vendor, in create_sunlabel()
252 (*sun_drives[i].vendor) ? " " : "", in create_sunlabel()
253 sun_drives[i].model); in create_sunlabel()
260 if (c >= 'a' && c < 'a' + ARRAY_SIZE(sun_drives)) { in create_sunlabel()
261 p = sun_drives + c - 'a'; in create_sunlabel()
264 if (c >= 'A' && c < 'A' + ARRAY_SIZE(sun_drives)) { in create_sunlabel()
265 p = sun_drives + c - 'A'; in create_sunlabel()