/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 | 101 ide_drive_t *pair = ide_get_pair_dev(drive); in cmd64x_program_timings() local 103 if (pair) { in cmd64x_program_timings() 106 ide_timing_compute(pair, pair->pio_mode, &tp, T, 0); in cmd64x_program_timings() 108 if (pair->dma_mode) { in cmd64x_program_timings() 109 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() 74 ide_drive_t *pair = ide_get_pair_dev(drive); in generic_ide_resume() local 82 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 | 464 struct ata_device *pair = ata_dev_pair(adev); in opti82c611a_set_piomode() local 481 if (pair) { in opti82c611a_set_piomode() 483 ata_timing_compute(pair, pair->pio_mode, &tp, clock, 1000); in opti82c611a_set_piomode() 539 struct ata_device *pair = ata_dev_pair(adev); in opti82c46x_set_piomode() local 560 if (pair) { in opti82c46x_set_piomode() 562 ata_timing_compute(pair, pair->pio_mode, &tp, clock, 1000); in opti82c46x_set_piomode()
|
D | pata_pdc2027x.c | 270 struct ata_device *pair = ata_dev_pair(adev); in pdc2027x_mode_filter() local 272 if (adev->class != ATA_DEV_ATA || adev->devno == 0 || pair == NULL) in pdc2027x_mode_filter() 276 ata_id_c_string(pair->id, model_num, ATA_ID_PROD, in pdc2027x_mode_filter() 279 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/gpu/drm/msm/mdp/mdp5/ |
D | mdp5_ctl.c | 66 struct mdp5_ctl *pair; /* Paired CTL to be flushed together */ member 459 if (ctl->pair) { in fix_for_single_flush() 465 if (ctl->pair->flush_pending) { in fix_for_single_flush() 466 *flush_id = min_t(u32, ctl->id, ctl->pair->id); in fix_for_single_flush() 470 ctl->pair->flush_pending = false; in fix_for_single_flush() 558 ctlx->pair = NULL; in mdp5_ctl_pair() 559 ctly->pair = NULL; in mdp5_ctl_pair() 562 } else if ((ctlx->pair != NULL) || (ctly->pair != NULL)) { in mdp5_ctl_pair() 570 ctlx->pair = ctly; in mdp5_ctl_pair() 571 ctly->pair = ctlx; in mdp5_ctl_pair()
|
/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/gpu/drm/nouveau/nvkm/engine/disp/ |
D | base.c | 287 struct nvkm_output *outp, *outt, *pair; in nvkm_disp_ctor() local 376 list_for_each_entry(pair, &disp->outp, head) { in nvkm_disp_ctor() 377 if (pair->info.i2c_index == ccb_index) { in nvkm_disp_ctor() 378 outp->conn = pair->conn; in nvkm_disp_ctor()
|
/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()
|