/linux-2.4.37.9/drivers/ide/ |
D | setup-pci.c | 188 else if (hwif->mate && hwif->mate->dma_base) { in ide_get_or_set_dma_base() 189 dma_base = hwif->mate->dma_base - (hwif->channel ? 0 : 8); in ide_get_or_set_dma_base() 269 if(hwif->mate && hwif->mate->dma_base) in ide_get_or_set_dma_base() 414 static ide_hwif_t *ide_hwif_configure(struct pci_dev *dev, ide_pci_device_t *d, ide_hwif_t *mate, i… in ide_hwif_configure() argument 453 if (mate) { in ide_hwif_configure() 454 hwif->mate = mate; in ide_hwif_configure() 455 mate->mate = hwif; in ide_hwif_configure() 580 ide_hwif_t *hwif, *mate = NULL; in do_ide_setup_pci_device() local 655 if ((hwif = ide_hwif_configure(dev, d, mate, port, pciirq)) == NULL) in do_ide_setup_pci_device() 689 mate = hwif; in do_ide_setup_pci_device()
|
D | ide-probe.c | 254 ide_drive_t *mate = &hwif->drives[1^drive->select.b.unit]; in do_identify() 255 if (!mate->ata_flash) { in do_identify() 256 mate->present = 0; in do_identify() 257 mate->noprobe = 1; in do_identify() 832 if ((hwif->chipset != ide_4drives || !hwif->mate || !hwif->mate->present) && in probe_hwif() 899 !hwif->mate || in probe_hwif() 900 !hwif->mate->present) { in probe_hwif() 1038 if (hwif->mate && hwif->mate->irq == h->irq) in init_irq() 1042 if (h->mate && hwif->irq == h->mate->irq) in init_irq() 1248 (hwif->channel && hwif->mate) ? in init_gendisk() [all …]
|
D | ide-dma.c | 1075 if(hwif->mate == NULL) in ide_mapped_mmio_dma() 1078 hwif->dma_master = (hwif->channel) ? hwif->mate->dma_base : base; in ide_mapped_mmio_dma() 1101 if(hwif->mate == NULL) in ide_mmio_dma() 1104 hwif->dma_master = (hwif->channel) ? hwif->mate->dma_base : base; in ide_mmio_dma() 1129 if(hwif->mate == NULL) in ide_iomio_dma() 1132 hwif->dma_master = (hwif->channel) ? hwif->mate->dma_base : base; in ide_iomio_dma()
|
D | ide-proc.c | 162 if (hwif->mate && hwif->mate->hwgroup) in proc_ide_write_config() 163 mategroup = (ide_hwgroup_t *)(hwif->mate->hwgroup); in proc_ide_write_config() 464 if (hwif && hwif->mate && hwif->mate->present) in proc_ide_read_mate() 465 len = sprintf(page, "%s\n", hwif->mate->name); in proc_ide_read_mate()
|
D | ide.c | 1162 if (!hwif->hold && ((!hwif->present && !hwif->mate && !initializing) || in ide_register_hw() 2374 ide_hwif_t *mate = &ide_hwifs[hw^1]; in ide_setup() local 2375 mate->drives[0].select.all ^= 0x20; in ide_setup() 2376 mate->drives[1].select.all ^= 0x20; in ide_setup() 2377 hwif->chipset = mate->chipset = ide_4drives; in ide_setup() 2378 mate->irq = hwif->irq; in ide_setup() 2379 memcpy(mate->io_ports, hwif->io_ports, sizeof(hwif->io_ports)); in ide_setup() 2411 hwif->mate = &ide_hwifs[hw^1]; in ide_setup() 2412 hwif->mate->mate = hwif; in ide_setup() 2413 hwif->serialized = hwif->mate->serialized = 1; in ide_setup()
|
/linux-2.4.37.9/drivers/ide/legacy/ |
D | pdc4030.c | 224 hwif->mate = hwif2; in setup_pdc4030() 225 hwif2->mate = hwif; in setup_pdc4030() 324 void __init release_pdc4030(ide_hwif_t *hwif, ide_hwif_t *mate) in release_pdc4030() argument 336 if (mate != NULL) { in release_pdc4030() 337 mate->chipset = ide_unknown; in release_pdc4030() 338 mate->selectproc = NULL; in release_pdc4030() 339 mate->serialized = 0; in release_pdc4030() 340 mate->drives[0].io_32bit = 0; in release_pdc4030() 341 mate->drives[1].io_32bit = 0; in release_pdc4030() 342 mate->drives[0].keep_settings = 0; in release_pdc4030() [all …]
|
D | dtc2278.c | 137 ide_hwifs[0].mate = &ide_hwifs[1]; in probe_dtc2278() 138 ide_hwifs[1].mate = &ide_hwifs[0]; in probe_dtc2278() 163 ide_hwifs[0].mate = NULL; in dtc2278_release() 164 ide_hwifs[1].mate = NULL; in dtc2278_release()
|
D | umc8672.c | 161 ide_hwifs[0].mate = &ide_hwifs[1]; in probe_umc8672() 162 ide_hwifs[1].mate = &ide_hwifs[0]; in probe_umc8672() 188 ide_hwifs[0].mate = NULL; in umc8672_release() 189 ide_hwifs[1].mate = NULL; in umc8672_release()
|
D | ali14xx.c | 222 ide_hwifs[0].mate = &ide_hwifs[1]; in probe_ali14xx() 223 ide_hwifs[1].mate = &ide_hwifs[0]; in probe_ali14xx() 250 ide_hwifs[0].mate = NULL; in ali14xx_release() 251 ide_hwifs[1].mate = NULL; in ali14xx_release()
|
D | ht6560b.c | 328 ide_hwifs[0].mate = &ide_hwifs[1]; in probe_ht6560b() 329 ide_hwifs[1].mate = &ide_hwifs[0]; in probe_ht6560b() 364 ide_hwifs[0].mate = NULL; in ht6560b_release() 365 ide_hwifs[1].mate = NULL; in ht6560b_release()
|
/linux-2.4.37.9/drivers/ide/arm/ |
D | icside.c | 778 ide_hwif_t *hwif, *mate; in icside_register_v6() local 801 mate = icside_setup(port, &icside_cardinfo_v6_2, ec->irq); in icside_register_v6() 819 if (mate) { in icside_register_v6() 820 mate->config_data = slot_port; in icside_register_v6() 821 mate->select_data = sel | 1; in icside_register_v6() 822 mate->hw.dma = ec->dma; in icside_register_v6() 823 mate->hw.priv = (void *) in icside_register_v6() 825 mate->channel = 1; in icside_register_v6() 826 icside_setup_dma(mate, autodma); in icside_register_v6() 827 mate->drives[0].autodma = autodma; in icside_register_v6() [all …]
|
/linux-2.4.37.9/drivers/ide/pci/ |
D | cmd640.c | 543 unsigned int mate; in program_drive_counts() local 544 if (cmd_drives[mate = index ^ 1]->present) { in program_drive_counts() 545 if (setup_count < setup_counts[mate]) in program_drive_counts() 546 setup_count = setup_counts[mate]; in program_drive_counts() 547 if (active_count < active_counts[mate]) in program_drive_counts() 548 active_count = active_counts[mate]; in program_drive_counts() 549 if (recovery_count < recovery_counts[mate]) in program_drive_counts() 550 recovery_count = recovery_counts[mate]; in program_drive_counts() 827 cmd_hwif0->mate = cmd_hwif1; in ide_probe_for_cmd640x() 828 cmd_hwif1->mate = cmd_hwif0; in ide_probe_for_cmd640x()
|
D | ns87415.c | 167 if (hwif->mate) { in init_hwif_ns87415() 168 hwif->select_data = hwif->mate->select_data; in init_hwif_ns87415() 204 else if (!hwif->irq && hwif->mate && hwif->mate->irq) in init_hwif_ns87415() 205 hwif->irq = hwif->mate->irq; /* share IRQ with mate */ in init_hwif_ns87415()
|
D | cs5530.c | 156 ide_drive_t *mate = &hwif->drives[unit^1]; in cs5530_config_dma() local 181 if (mate->present) { in cs5530_config_dma() 182 struct hd_driveid *mateid = mate->id; in cs5530_config_dma() 184 !hwif->ide_dma_bad_drive(mate)) { in cs5530_config_dma() 377 if (hwif->mate) in init_hwif_cs5530() 378 hwif->serialized = hwif->mate->serialized = 1; in init_hwif_cs5530()
|
D | pdc202xx_new.c | 475 ide_hwif_t *mate = hwif->mate; in pdcnew_reset() local 478 pdcnew_reset_host(mate); in pdcnew_reset() 498 if (mate->present) { in pdcnew_reset() 500 mate->initializing = 1; in pdcnew_reset() 502 ide_drive_t *mdrive = &mate->drives[munit]; in pdcnew_reset() 504 if (mate->ide_dma_check) in pdcnew_reset() 505 mate->ide_dma_check(mdrive); in pdcnew_reset() 507 mate->tuneproc(mdrive, 5); in pdcnew_reset() 510 mate->initializing = 0; in pdcnew_reset()
|
D | sc1200.c | 154 ide_drive_t *mate = &hwif->drives[unit^1]; in sc1200_autoselect_dma_mode() local 166 if (mate->present) { in sc1200_autoselect_dma_mode() 167 struct hd_driveid *mateid = mate->id; in sc1200_autoselect_dma_mode() 168 if ((mateid->capability & 1) && !hwif->ide_dma_bad_drive(mate)) { in sc1200_autoselect_dma_mode() 531 if (hwif->mate) in init_hwif_sc1200() 532 hwif->serialized = hwif->mate->serialized = 1; in init_hwif_sc1200()
|
D | trm290.c | 341 else if (!hwif->irq && hwif->mate && hwif->mate->irq) in init_hwif_trm290() 343 hwif->irq = hwif->mate->irq; in init_hwif_trm290()
|
D | aec62xx.c | 215 hwif->mate->dma_status : in aec62xx_ratemask() 405 hwif->mate->dma_status : in aec62xx_irq_timeout() 450 if (hwif->mate) in init_hwif_aec62xx() 451 hwif->mate->serialized = hwif->serialized; in init_hwif_aec62xx()
|
D | pdc202xx_old.c | 633 ide_hwif_t *mate = hwif->mate; in pdc202xx_reset() local 636 pdc202xx_reset_host(mate); in pdc202xx_reset()
|
D | cy82c693.c | 419 hwif->mate = primary; in init_iops_cy82c693()
|
D | hpt366.c | 1239 if (hwif->mate) in init_hwif_hpt366() 1240 hwif->serialized = hwif->mate->serialized = 1; in init_hwif_hpt366()
|
/linux-2.4.37.9/include/linux/ |
D | ide.h | 853 struct hwif_s *mate; /* other hwif from same PCI chip */ member
|
/linux-2.4.37.9/Documentation/filesystems/ |
D | proc.txt | 355 mate Mate name
|