Lines Matching refs:cd_index
98 int cd_index; member
441 media_bays[i].cd_index = -1; in check_media_bay()
459 media_bays[i].cd_index = -1; in check_media_bay_by_base()
488 media_bays[i].cd_index = index; in media_bay_set_ide_infos()
565 if (bay->cd_index < 0) { in media_bay_step()
567 bay->cd_index = ide_register(bay->cd_base, 0, bay->cd_irq); in media_bay_step()
570 if (bay->cd_index == -1) { in media_bay_step()
576 printk(KERN_DEBUG "media-bay %d is ide %d\n", i, bay->cd_index); in media_bay_step()
593 if (bay->cd_index >= 0) { in media_bay_step()
595 bay->cd_index); in media_bay_step()
596 ide_unregister(bay->cd_index); in media_bay_step()
597 bay->cd_index = -1; in media_bay_step()
750 media_bays[i].cd_index = -1; in media_bay_init()