Searched refs:mate (Results 1 - 19 of 19) sorted by relevance

/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/ide/
H A Dns87415.c144 if (hwif->mate) {
145 hwif->select_data = hwif->mate->select_data;
180 else if (!hwif->irq && hwif->mate && hwif->mate->irq)
181 hwif->irq = hwif->mate->irq; /* share IRQ with mate */
H A Ddtc2278.c131 ide_hwifs[0].mate = &ide_hwifs[1];
132 ide_hwifs[1].mate = &ide_hwifs[0];
H A Dtrm290.c250 else if (!hwif->irq && hwif->mate && hwif->mate->irq)
251 hwif->irq = hwif->mate->irq; /* sharing IRQ with mate */
H A Dcs5530.c137 ide_drive_t *mate = &hwif->drives[unit^1]; local
154 * handle this requirement by looking at our mate drive to see
157 if (mate->present) {
158 struct hd_driveid *mateid = mate->id;
159 if (mateid && (mateid->capability & 1) && !hwif->dmaproc(ide_dma_bad_drive, mate)) {
171 * selecting UDMA only if the mate said it was ok.
347 if (hwif->mate)
348 hwif->serialized = hwif->mate->serialized = 1;
H A Dcmd640.c554 unsigned int mate; local
555 if (cmd_drives[mate = index ^ 1]->present) {
556 if (setup_count < setup_counts[mate])
557 setup_count = setup_counts[mate];
558 if (active_count < active_counts[mate])
559 active_count = active_counts[mate];
560 if (recovery_count < recovery_counts[mate])
561 recovery_count = recovery_counts[mate];
802 cmd_hwif0->mate = cmd_hwif1;
803 cmd_hwif1->mate
[all...]
H A Dicside.c673 ide_hwif_t *hwif, *mate; local
696 mate = icside_setup(port, &icside_cardinfo_v6_2, ec->irq);
712 if (mate) {
713 mate->config_data = slot_port;
714 mate->select_data = sel | 1;
715 mate->hw.dma = ec->dma;
716 mate->hw.priv = (void *)
718 mate->channel = 1;
719 icside_setup_dma(mate, autodma);
724 return hwif || mate
[all...]
H A Dumc8672.c157 ide_hwifs[0].mate = &ide_hwifs[1];
158 ide_hwifs[1].mate = &ide_hwifs[0];
H A Dide-probe.c170 ide_drive_t *mate = &HWIF(drive)->drives[1^drive->select.b.unit]; local
171 if (!mate->ata_flash) {
172 mate->present = 0;
173 mate->noprobe = 1;
514 if ((hwif->chipset != ide_4drives || !hwif->mate->present) &&
544 if (hwif->chipset != ide_4drives || !hwif->mate->present) {
660 if (hwif->mate && hwif->mate->irq == h->irq)
664 if (h->mate && hwif->irq == h->mate
[all...]
H A Dali14xx.c217 ide_hwifs[0].mate = &ide_hwifs[1];
218 ide_hwifs[1].mate = &ide_hwifs[0];
H A Dht6560b.c326 ide_hwifs[0].mate = &ide_hwifs[1];
327 ide_hwifs[1].mate = &ide_hwifs[0];
H A Dide-dma.c833 if (hwif->mate && hwif->mate->dma_base) {
834 dma_base = hwif->mate->dma_base - (hwif->channel ? 0 : 8);
887 (hwif->mate && hwif->mate->dma_base)) {
H A Dide-pci.c611 ide_hwif_t *hwif, *mate = NULL; local
774 if (mate) {
775 hwif->mate = mate;
776 mate->mate = hwif;
779 mate->serialized = 1;
826 unsigned long dma_base = ide_get_or_set_dma_base(hwif, (!mate && d->extra) ? d->extra : 0, d->name);
860 mate = hwif;
H A Dide-proc.c191 if (hwif->mate && hwif->mate->hwgroup)
192 mategroup = (ide_hwgroup_t *)(hwif->mate->hwgroup);
427 if (hwif && hwif->mate && hwif->mate->present)
428 len = sprintf(page, "%s\n", hwif->mate->name);
791 { "mate", S_IFREG|S_IRUGO, proc_ide_read_mate, NULL },
H A Dpdc4030.c231 hwif->mate = hwif2;
232 hwif2->mate = hwif;
H A Dqd65xx.c424 ide_hwifs[i].mate = &ide_hwifs[i^1];
H A Dide.c2418 if ((!hwif->present && !hwif->mate && !initializing) ||
3472 ide_hwif_t *mate = &ide_hwifs[hw^1]; local
3473 mate->drives[0].select.all ^= 0x20;
3474 mate->drives[1].select.all ^= 0x20;
3475 hwif->chipset = mate->chipset = ide_4drives;
3476 mate->irq = hwif->irq;
3477 memcpy(mate->io_ports, hwif->io_ports, sizeof(hwif->io_ports));
3509 hwif->mate = &ide_hwifs[hw^1];
3510 hwif->mate->mate
[all...]
H A Dhpt366.c1058 if (hwif->mate)
1059 hwif->serialized = hwif->mate->serialized = 1;
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/
H A Dide.h533 struct hwif_s *mate; /* other hwif from same PCI chip */ member in struct:hwif_s
546 unsigned serialized : 1; /* serialized operation with mate hwif */
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/
H A Dide.h533 struct hwif_s *mate; /* other hwif from same PCI chip */ member in struct:hwif_s
546 unsigned serialized : 1; /* serialized operation with mate hwif */

Completed in 110 milliseconds