Searched refs:mate (Results 1 – 12 of 12) sorted by relevance
/drivers/ide/ |
D | umc8672.c | 109 ide_hwif_t *mate = hwif->mate; in umc_set_pio_mode() local 115 if (mate) in umc_set_pio_mode() 116 spin_lock_irqsave(&mate->lock, flags); in umc_set_pio_mode() 117 if (mate && mate->handler) { in umc_set_pio_mode() 123 if (mate) in umc_set_pio_mode() 124 spin_unlock_irqrestore(&mate->lock, flags); in umc_set_pio_mode()
|
D | palm_bk3710.c | 143 static void palm_bk3710_setpiomode(void __iomem *base, ide_drive_t *mate, in palm_bk3710_setpiomode() argument 168 if (mate) { in palm_bk3710_setpiomode() 169 u8 mode2 = mate->pio_mode - XFER_PIO_0; in palm_bk3710_setpiomode() 211 ide_drive_t *mate; in palm_bk3710_set_pio_mode() local 219 mate = ide_get_pair_dev(drive); in palm_bk3710_set_pio_mode() 220 palm_bk3710_setpiomode(base, mate, is_slave, cycle_time, pio); in palm_bk3710_set_pio_mode()
|
D | cs5530.c | 84 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()
|
D | cmd640.c | 473 unsigned int mate = index ^ 1; in program_drive_counts() local 476 if (setup_count < setup_counts[mate]) in program_drive_counts() 477 setup_count = setup_counts[mate]; in program_drive_counts() 478 if (active_count < active_counts[mate]) in program_drive_counts() 479 active_count = active_counts[mate]; in program_drive_counts() 480 if (recovery_count < recovery_counts[mate]) in program_drive_counts() 481 recovery_count = recovery_counts[mate]; in program_drive_counts()
|
D | sc1200.c | 107 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()
|
D | setup-pci.c | 88 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()
|
D | ide-probe.c | 1372 ide_hwif_t *hwif, *mate = NULL; in ide_host_register() local 1377 mate = NULL; in ide_host_register() 1384 if ((i & 1) && mate) { in ide_host_register() 1385 hwif->mate = mate; in ide_host_register() 1386 mate->mate = hwif; in ide_host_register() 1389 mate = (i & 1) ? NULL : hwif; in ide_host_register() 1409 hwif->mate == NULL || hwif->mate->present == 0) { in ide_host_register()
|
D | ns87415.c | 227 if (hwif->mate) { in init_hwif_ns87415() 228 hwif->select_data = hwif->mate->select_data; in init_hwif_ns87415()
|
D | cy82c693.c | 156 hwif->mate = primary; in init_iops_cy82c693()
|
D | ide-proc.c | 76 if (hwif && hwif->mate) in ide_mate_proc_show() 77 seq_printf(m, "%s\n", hwif->mate->name); in ide_mate_proc_show()
|
/drivers/tty/serial/ |
D | pmac_zilog.h | 16 struct uart_pmac_port *mate; member 75 return uap->mate; in pmz_get_port_A()
|
D | pmac_zilog.c | 462 uap_b = uap_a->mate; in pmz_interrupt() 1683 pmz_ports[count].mate = &pmz_ports[count+1]; in pmz_probe() 1684 pmz_ports[count+1].mate = &pmz_ports[count]; in pmz_probe() 1759 pmz_ports[0].mate = &pmz_ports[1]; in pmz_probe() 1760 pmz_ports[1].mate = &pmz_ports[0]; in pmz_probe()
|