/drivers/ide/ |
D | alim15x3.c | 104 ide_drive_t *pair = ide_get_pair_dev(drive); in ali_set_pio_mode() local 110 if (pair) { in ali_set_pio_mode() 113 ide_timing_compute(pair, pair->pio_mode, &p, T, 1); in ali_set_pio_mode() 116 if (pair->dma_mode) { in ali_set_pio_mode() 117 ide_timing_compute(pair, pair->dma_mode, &p, T, 1); in ali_set_pio_mode() 168 ide_drive_t *pair = ide_get_pair_dev(drive); in ali_set_dma_mode() local 177 if (pair) { in ali_set_dma_mode() 180 ide_timing_compute(pair, pair->pio_mode, &p, T, 1); in ali_set_dma_mode() 183 if (pair->dma_mode) { in ali_set_dma_mode() 184 ide_timing_compute(pair, pair->dma_mode, in ali_set_dma_mode()
|
D | cmd64x.c | 98 ide_drive_t *pair = ide_get_pair_dev(drive); in cmd64x_program_timings() local 100 if (pair) { in cmd64x_program_timings() 103 ide_timing_compute(pair, pair->pio_mode, &tp, T, 0); in cmd64x_program_timings() 105 if (pair->dma_mode) { in cmd64x_program_timings() 106 ide_timing_compute(pair, pair->dma_mode, in cmd64x_program_timings()
|
D | ide-pm.c | 8 ide_drive_t *pair = ide_get_pair_dev(drive); in generic_ide_suspend() local 16 if ((drive->dn & 1) == 0 || pair == NULL) in generic_ide_suspend() 34 if ((drive->dn & 1) || pair == NULL) in generic_ide_suspend() 44 ide_drive_t *pair = ide_get_pair_dev(drive); in generic_ide_resume() local 52 if ((drive->dn & 1) == 0 || pair == NULL) { in generic_ide_resume()
|
D | opti621.c | 67 ide_drive_t *pair = ide_get_pair_dev(drive); in opti621_set_pio_mode() local 85 if (pair) { in opti621_set_pio_mode() 86 pair_mode = (unsigned long)ide_get_drivedata(pair); in opti621_set_pio_mode()
|
D | tx4938ide.c | 63 ide_drive_t *pair; in tx4938ide_set_pio_mode() local 65 pair = ide_get_pair_dev(drive); in tx4938ide_set_pio_mode() 66 if (pair) in tx4938ide_set_pio_mode() 67 safe = min_t(u8, safe, pair->pio_mode - XFER_PIO_0); in tx4938ide_set_pio_mode()
|
D | it821x.c | 173 ide_drive_t *pair = ide_get_pair_dev(drive); in it821x_clock_strategy() local 216 if(pair && itdev->udma[1-unit] != UDMA_OFF) { in it821x_clock_strategy() 217 it821x_program_udma(pair, itdev->udma[1-unit]); in it821x_clock_strategy() 218 it821x_program(pair, itdev->pio[1-unit]); in it821x_clock_strategy() 242 ide_drive_t *pair = ide_get_pair_dev(drive); in it821x_set_pio_mode() local 255 if (pair) { in it821x_set_pio_mode() 256 u8 pair_pio = pair->pio_mode - XFER_PIO_0; in it821x_set_pio_mode()
|
D | cs5535.c | 83 ide_drive_t *pair = ide_get_pair_dev(drive); in cs5535_set_speed() local 88 if (pair) { in cs5535_set_speed() 89 u8 piob = pair->pio_mode - XFER_PIO_0; in cs5535_set_speed()
|
D | cs5536.c | 147 ide_drive_t *pair = ide_get_pair_dev(drive); in cs5536_set_pio_mode() local 154 if (pair) in cs5536_set_pio_mode() 155 cmd_pio = min_t(u8, pio, pair->pio_mode - XFER_PIO_0); in cs5536_set_pio_mode()
|
D | tx4939ide.c | 113 ide_drive_t *pair; in tx4939ide_set_pio_mode() local 115 pair = ide_get_pair_dev(drive); in tx4939ide_set_pio_mode() 116 if (pair) in tx4939ide_set_pio_mode() 117 safe = min_t(u8, safe, pair->pio_mode - XFER_PIO_0); in tx4939ide_set_pio_mode()
|
/drivers/ata/ |
D | pata_ali.c | 209 struct ata_device *pair = ata_dev_pair(adev); in ali_set_piomode() local 214 if (pair) { in ali_set_piomode() 216 ata_timing_compute(pair, pair->pio_mode, &p, T, 1); in ali_set_piomode() 218 if (pair->dma_mode) { in ali_set_piomode() 219 ata_timing_compute(pair, pair->dma_mode, &p, T, 1); in ali_set_piomode() 244 struct ata_device *pair = ata_dev_pair(adev); in ali_set_dmamode() local 263 if (pair) { in ali_set_dmamode() 265 ata_timing_compute(pair, pair->pio_mode, &p, T, 1); in ali_set_dmamode() 267 if (pair->dma_mode) { in ali_set_dmamode() 268 ata_timing_compute(pair, pair->dma_mode, &p, T, 1); in ali_set_dmamode()
|
D | pata_cs5535.c | 106 struct ata_device *pair = ata_dev_pair(adev); in cs5535_set_piomode() local 112 if (pair) { in cs5535_set_piomode() 113 int pairmode = pair->pio_mode - XFER_PIO_0; in cs5535_set_piomode() 117 wrmsr(ATAC_CH0D0_PIO + 2 * pair->devno, in cs5535_set_piomode()
|
D | pata_opti.c | 108 struct ata_device *pair = ata_dev_pair(adev); in opti_set_piomode() local 133 if (pair) { in opti_set_piomode() 135 u8 pair_addr = addr_timing[clock][pair->pio_mode - XFER_PIO_0]; in opti_set_piomode()
|
D | pata_cmd640.c | 60 struct ata_device *pair = ata_dev_pair(adev); in cmd640_set_piomode() local 69 if (ap->port_no && pair) { in cmd640_set_piomode() 71 ata_timing_compute(pair, pair->pio_mode, &p, T, 1); in cmd640_set_piomode()
|
D | pata_optidma.c | 117 struct ata_device *pair = ata_dev_pair(adev); in optidma_mode_setup() local 152 if (pair) { in optidma_mode_setup() 155 if (pair->dma_mode) in optidma_mode_setup() 158 pair_addr = addr_timing[pci_clock][pair->pio_mode - XFER_PIO_0]; in optidma_mode_setup()
|
D | pata_sil680.c | 125 struct ata_device *pair = ata_dev_pair(adev); in sil680_set_piomode() local 127 if (pair != NULL && adev->pio_mode > pair->pio_mode) in sil680_set_piomode() 128 lowest_pio = pair->pio_mode - XFER_PIO_0; in sil680_set_piomode()
|
D | pata_cs5536.c | 175 struct ata_device *pair = ata_dev_pair(adev); in cs5536_set_piomode() local 181 if (pair) in cs5536_set_piomode() 182 cmdmode = min(mode, pair->pio_mode - XFER_PIO_0); in cs5536_set_piomode()
|
D | pata_cmd64x.c | 123 struct ata_device *pair = ata_dev_pair(adev); in cmd64x_set_timing() local 125 if (pair) { in cmd64x_set_timing() 127 ata_timing_compute(pair, pair->pio_mode, &tp, T, 0); in cmd64x_set_timing()
|
D | pata_legacy.c | 463 struct ata_device *pair = ata_dev_pair(adev); in opti82c611a_set_piomode() local 480 if (pair) { in opti82c611a_set_piomode() 482 ata_timing_compute(pair, pair->pio_mode, &tp, clock, 1000); in opti82c611a_set_piomode() 538 struct ata_device *pair = ata_dev_pair(adev); in opti82c46x_set_piomode() local 559 if (pair) { in opti82c46x_set_piomode() 561 ata_timing_compute(pair, pair->pio_mode, &tp, clock, 1000); in opti82c46x_set_piomode()
|
D | pata_pdc2027x.c | 269 struct ata_device *pair = ata_dev_pair(adev); in pdc2027x_mode_filter() local 271 if (adev->class != ATA_DEV_ATA || adev->devno == 0 || pair == NULL) in pdc2027x_mode_filter() 275 ata_id_c_string(pair->id, model_num, ATA_ID_PROD, in pdc2027x_mode_filter() 278 if (strstr(model_num, "Maxtor") == NULL && pair->dma_mode == XFER_UDMA_6) in pdc2027x_mode_filter()
|
D | pata_it821x.c | 190 struct ata_device *pair = ata_dev_pair(adev); in it821x_clock_strategy() local 232 if (pair && itdev->udma[1-unit] != UDMA_OFF) { in it821x_clock_strategy() 233 it821x_program_udma(ap, pair, itdev->udma[1-unit]); in it821x_clock_strategy() 234 it821x_program(ap, pair, itdev->pio[1-unit]); in it821x_clock_strategy()
|
D | pata_ep93xx.c | 333 struct ata_device *pair = ata_dev_pair(adev); in ep93xx_pata_set_piomode() local 344 if (pair && pair->pio_mode) { in ep93xx_pata_set_piomode() 346 ata_timing_compute(pair, pair->pio_mode, &t, T, 0); in ep93xx_pata_set_piomode()
|
/drivers/net/wireless/b43legacy/ |
D | phy.c | 1290 struct b43legacy_lopair *pair) in b43legacy_lo_write() argument 1294 value = (u8)(pair->low); in b43legacy_lo_write() 1295 value |= ((u8)(pair->high)) << 8; in b43legacy_lo_write() 1299 if (pair->low < -8 || pair->low > 8 || in b43legacy_lo_write() 1300 pair->high < -8 || pair->high > 8) { in b43legacy_lo_write() 1304 pair->low, pair->high); in b43legacy_lo_write() 1342 struct b43legacy_lopair *pair; in b43legacy_phy_lo_adjust() local 1346 pair = b43legacy_find_lopair(dev, 2, 3, 0); in b43legacy_phy_lo_adjust() 1348 pair = b43legacy_current_lopair(dev); in b43legacy_phy_lo_adjust() 1349 b43legacy_lo_write(dev, pair); in b43legacy_phy_lo_adjust() [all …]
|
/drivers/media/pci/bt8xx/ |
D | bttv-input.c | 166 unsigned int pair; in bttv_rc5_decode() local 171 pair = code & 0x3; in bttv_rc5_decode() 175 switch (pair) { in bttv_rc5_decode()
|
/drivers/tty/ |
D | pty.c | 453 struct tty_struct *pair = tty->link; in pty_remove() local 455 if (pair) in pty_remove() 456 pair->driver->ttys[pair->index] = NULL; in pty_remove()
|
/drivers/gpio/ |
D | gpio-cs5535.c | 164 void cs5535_gpio_setup_event(unsigned offset, int pair, int pme) in cs5535_gpio_setup_event() argument 187 val |= ((pair & 7) << shift); in cs5535_gpio_setup_event()
|