Lines Matching refs:hwif
36 ide_hwif_t *hwif = (ide_hwif_t *) m->private;
39 switch (hwif->chipset) {
74 ide_hwif_t *hwif = (ide_hwif_t *) m->private;
76 if (hwif && hwif->mate)
77 seq_printf(m, "%s\n", hwif->mate->name);
98 ide_hwif_t *hwif = (ide_hwif_t *) m->private;
100 seq_printf(m, "%c\n", hwif->channel ? '1' : '0');
665 void ide_proc_port_register_devices(ide_hwif_t *hwif)
668 struct proc_dir_entry *parent = hwif->proc;
673 ide_port_for_each_dev(i, drive, hwif) {
691 remove_proc_entry(drive->name, drive->hwif->proc);
703 void ide_proc_register_port(ide_hwif_t *hwif)
705 if (!hwif->proc) {
706 hwif->proc = proc_mkdir(hwif->name, proc_ide_root);
708 if (!hwif->proc)
711 ide_add_proc_entries(hwif->proc, hwif_entries, hwif);
715 void ide_proc_unregister_port(ide_hwif_t *hwif)
717 if (hwif->proc) {
718 ide_remove_proc_entries(hwif->proc, hwif_entries);
719 remove_proc_entry(hwif->name, proc_ide_root);
720 hwif->proc = NULL;