Lines Matching defs:index
971 sprintf(disk->disk_name, "hd%c", 'a' + hwif->index * MAX_DRIVES + unit);
1042 dev_set_name(dev, "%u.%u", hwif->index, i);
1196 u8 j = (hwif->index * MAX_DRIVES) + i;
1223 static void ide_init_port_data(ide_hwif_t *hwif, unsigned int index)
1226 hwif->index = index;
1227 hwif->major = ide_hwif_to_major[index];
1232 hwif->name[3] = '0' + index;
1260 * Return the new port slot index or -ENOENT if we are out of free slots.
1414 ide_free_port_slot(hwif->index);