Home
last modified time | relevance | path

Searched refs:mate (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.4/drivers/ide/
Dumc8672.c110 ide_hwif_t *mate = hwif->mate; in umc_set_pio_mode() local
116 if (mate) in umc_set_pio_mode()
117 spin_lock_irqsave(&mate->lock, flags); in umc_set_pio_mode()
118 if (mate && mate->handler) { in umc_set_pio_mode()
124 if (mate) in umc_set_pio_mode()
125 spin_unlock_irqrestore(&mate->lock, flags); in umc_set_pio_mode()
Dcs5530.c84 ide_drive_t *mate = ide_get_pair_dev(drive); in cs5530_udma_filter() local
88 if (mate == NULL) in cs5530_udma_filter()
90 mateid = mate->id; in cs5530_udma_filter()
92 if (ata_id_has_dma(mateid) && __ide_dma_bad_drive(mate) == 0) { in cs5530_udma_filter()
Dpalm_bk3710.c130 static void palm_bk3710_setpiomode(void __iomem *base, ide_drive_t *mate, in palm_bk3710_setpiomode() argument
155 if (mate) { in palm_bk3710_setpiomode()
156 u8 mode2 = mate->pio_mode - XFER_PIO_0; in palm_bk3710_setpiomode()
198 ide_drive_t *mate; in palm_bk3710_set_pio_mode() local
206 mate = ide_get_pair_dev(drive); in palm_bk3710_set_pio_mode()
207 palm_bk3710_setpiomode(base, mate, is_slave, cycle_time, pio); in palm_bk3710_set_pio_mode()
Dcmd640.c474 unsigned int mate = index ^ 1; in program_drive_counts() local
477 if (setup_count < setup_counts[mate]) in program_drive_counts()
478 setup_count = setup_counts[mate]; in program_drive_counts()
479 if (active_count < active_counts[mate]) in program_drive_counts()
480 active_count = active_counts[mate]; in program_drive_counts()
481 if (recovery_count < recovery_counts[mate]) in program_drive_counts()
482 recovery_count = recovery_counts[mate]; in program_drive_counts()
Dsc1200.c107 ide_drive_t *mate = ide_get_pair_dev(drive); in sc1200_udma_filter() local
111 if (mate == NULL) in sc1200_udma_filter()
113 mateid = mate->id; in sc1200_udma_filter()
115 if (ata_id_has_dma(mateid) && __ide_dma_bad_drive(mate) == 0) { in sc1200_udma_filter()
Dsetup-pci.c88 if (hwif->mate && hwif->mate->dma_base) { in ide_pci_dma_base()
89 dma_base = hwif->mate->dma_base - (hwif->channel ? 0 : 8); in ide_pci_dma_base()
135 if ((dma_stat & 0x80) && hwif->mate && hwif->mate->dma_base) { in ide_pci_check_simplex()
Dide-probe.c1438 ide_hwif_t *hwif, *mate = NULL; in ide_host_register() local
1446 mate = NULL; in ide_host_register()
1453 if ((i & 1) && mate) { in ide_host_register()
1454 hwif->mate = mate; in ide_host_register()
1455 mate->mate = hwif; in ide_host_register()
1458 mate = (i & 1) ? NULL : hwif; in ide_host_register()
1478 hwif->mate == NULL || hwif->mate->present == 0) { in ide_host_register()
Dns87415.c228 if (hwif->mate) { in init_hwif_ns87415()
229 hwif->select_data = hwif->mate->select_data; in init_hwif_ns87415()
Dcy82c693.c157 hwif->mate = primary; in init_iops_cy82c693()
Dide-proc.c64 if (hwif && hwif->mate) in ide_mate_proc_show()
65 seq_printf(m, "%s\n", hwif->mate->name); in ide_mate_proc_show()
/Linux-v5.4/drivers/tty/serial/
Dpmac_zilog.h17 struct uart_pmac_port *mate; member
76 return uap->mate; in pmz_get_port_A()
Dpmac_zilog.c447 uap_b = uap_a->mate; in pmz_interrupt()
1668 pmz_ports[count].mate = &pmz_ports[count+1]; in pmz_probe()
1669 pmz_ports[count+1].mate = &pmz_ports[count]; in pmz_probe()
1744 pmz_ports[0].mate = &pmz_ports[1]; in pmz_probe()
1745 pmz_ports[1].mate = &pmz_ports[0]; in pmz_probe()
/Linux-v5.4/include/linux/
Dide.h718 struct hwif_s *mate; /* other hwif from same PCI chip */ member
/Linux-v5.4/Documentation/filesystems/
Dproc.txt1102 mate Mate name