Home
last modified time | relevance | path

Searched refs:port_ops (Results 1 – 25 of 143) sorted by relevance

123456

/drivers/ide/
Dide-xfer-mode.c125 const struct ide_port_ops *port_ops = hwif->port_ops; in ide_set_pio_mode() local
130 if (port_ops == NULL || port_ops->set_pio_mode == NULL) in ide_set_pio_mode()
137 if (port_ops->set_dma_mode == NULL) { in ide_set_pio_mode()
139 port_ops->set_pio_mode(hwif, drive); in ide_set_pio_mode()
147 port_ops->set_pio_mode(hwif, drive); in ide_set_pio_mode()
151 port_ops->set_pio_mode(hwif, drive); in ide_set_pio_mode()
159 const struct ide_port_ops *port_ops = hwif->port_ops; in ide_set_dma_mode() local
164 if (port_ops == NULL || port_ops->set_dma_mode == NULL) in ide_set_dma_mode()
171 port_ops->set_dma_mode(hwif, drive); in ide_set_dma_mode()
175 port_ops->set_dma_mode(hwif, drive); in ide_set_dma_mode()
[all …]
Dide-eh.c226 const struct ide_port_ops *port_ops = hwif->port_ops; in reset_pollfunc() local
230 if (port_ops && port_ops->reset_poll) { in reset_pollfunc()
231 err = port_ops->reset_poll(drive); in reset_pollfunc()
289 const struct ide_port_ops *port_ops = drive->hwif->port_ops; in pre_reset() local
311 if (port_ops && port_ops->pre_reset) in pre_reset()
312 port_ops->pre_reset(drive); in pre_reset()
339 const struct ide_port_ops *port_ops; in do_reset1() local
426 port_ops = hwif->port_ops; in do_reset1()
427 if (port_ops && port_ops->resetproc) in do_reset1()
428 port_ops->resetproc(drive); in do_reset1()
Dide-devsets.c100 const struct ide_port_ops *port_ops = hwif->port_ops; in set_pio_mode() local
105 if (port_ops == NULL || port_ops->set_pio_mode == NULL || in set_pio_mode()
117 port_ops->set_pio_mode(hwif, drive); in set_pio_mode()
120 port_ops->set_pio_mode(hwif, drive); in set_pio_mode()
Dide-dma.c243 const struct ide_port_ops *port_ops = hwif->port_ops; in ide_get_mode_mask() local
251 if (port_ops && port_ops->udma_filter) in ide_get_mode_mask()
252 mask &= port_ops->udma_filter(drive); in ide_get_mode_mask()
274 if (port_ops && port_ops->mdma_filter) in ide_get_mode_mask()
275 mask &= port_ops->mdma_filter(drive); in ide_get_mode_mask()
Daec62xx.c140 hwif->port_ops->set_dma_mode(hwif, drive); in aec_set_pio_mode()
189 .port_ops = &atp850_port_ops,
201 .port_ops = &atp86x_port_ops,
212 .port_ops = &atp86x_port_ops,
222 .port_ops = &atp86x_port_ops,
233 .port_ops = &atp86x_port_ops,
Dide-probe.c723 const struct ide_port_ops *port_ops = hwif->port_ops; in ide_port_tune_devices() local
730 if (port_ops && port_ops->quirkproc) in ide_port_tune_devices()
731 port_ops->quirkproc(drive); in ide_port_tune_devices()
1040 const struct ide_port_ops *port_ops = hwif->port_ops; in ide_port_init_devices() local
1058 if (port_ops && port_ops->init_dev) in ide_port_init_devices()
1059 port_ops->init_dev(drive); in ide_port_init_devices()
1082 hwif->port_ops = d->port_ops; in ide_init_port()
1130 const struct ide_port_ops *port_ops = hwif->port_ops; in ide_port_cable_detect() local
1132 if (port_ops && port_ops->cable_detect && (hwif->ultra_mask & 0x78)) { in ide_port_cable_detect()
1134 hwif->cbl = port_ops->cable_detect(hwif); in ide_port_cable_detect()
Dide-io.c669 if (hwif->port_ops && hwif->port_ops->clear_irq) in ide_timer_expiry()
670 hwif->port_ops->clear_irq(drive); in ide_timer_expiry()
790 if (hwif->port_ops && hwif->port_ops->test_irq && in ide_intr()
791 hwif->port_ops->test_irq(hwif) == 0) in ide_intr()
843 if (hwif->port_ops && hwif->port_ops->clear_irq) in ide_intr()
844 hwif->port_ops->clear_irq(drive); in ide_intr()
Dserverworks.c350 .port_ops = &osb4_port_ops,
358 .port_ops = &svwks_port_ops,
366 .port_ops = &svwks_port_ops,
374 .port_ops = &svwks_port_ops,
383 .port_ops = &svwks_port_ops,
Dide-iops.c32 const struct ide_port_ops *port_ops = drive->hwif->port_ops; in SELECT_MASK() local
34 if (port_ops && port_ops->maskproc) in SELECT_MASK()
35 port_ops->maskproc(drive, mask); in SELECT_MASK()
Dcmd64x.c338 .port_ops = &cmd64x_port_ops,
350 .port_ops = &cmd648_port_ops,
361 .port_ops = &cmd648_port_ops,
371 .port_ops = &cmd648_port_ops,
408 d.port_ops = &cmd64x_port_ops; in cmd64x_init_one()
Dmacide.c90 .port_ops = &macide_port_ops,
124 d.port_ops = NULL; in macide_init()
Dgayle.c144 d.port_ops = &gayle_a1200_port_ops; in amiga_gayle_ide_probe()
146 d.port_ops = &gayle_a4000_port_ops; in amiga_gayle_ide_probe()
/drivers/ata/
Dpata_amd.c465 .port_ops = &amd33_port_ops in amd_init_one()
472 .port_ops = &amd66_port_ops in amd_init_one()
479 .port_ops = &amd66_port_ops in amd_init_one()
486 .port_ops = &amd100_port_ops in amd_init_one()
493 .port_ops = &amd100_port_ops in amd_init_one()
500 .port_ops = &amd133_port_ops in amd_init_one()
507 .port_ops = &amd133_port_ops in amd_init_one()
514 .port_ops = &nv100_port_ops in amd_init_one()
521 .port_ops = &nv133_port_ops in amd_init_one()
528 .port_ops = &amd100_port_ops in amd_init_one()
Data_piix.c1131 .port_ops = &piix_pata_ops,
1140 .port_ops = &piix_pata_ops,
1149 .port_ops = &ich_pata_ops,
1158 .port_ops = &ich_pata_ops,
1167 .port_ops = &ich_pata_ops,
1176 .port_ops = &ich_pata_ops,
1185 .port_ops = &piix_sata_ops,
1194 .port_ops = &piix_sata_ops,
1203 .port_ops = &piix_sata_ops,
1212 .port_ops = &piix_sata_ops,
[all …]
Dpata_cmd64x.c383 .port_ops = &cmd64x_port_ops in cmd64x_init_one()
389 .port_ops = &cmd64x_port_ops in cmd64x_init_one()
395 .port_ops = &cmd646r3_port_ops in cmd64x_init_one()
402 .port_ops = &cmd646r3_port_ops in cmd64x_init_one()
408 .port_ops = &cmd646r1_port_ops in cmd64x_init_one()
415 .port_ops = &cmd648_port_ops in cmd64x_init_one()
422 .port_ops = &cmd648_port_ops in cmd64x_init_one()
Dpata_ali.c496 .port_ops = &ali_early_port_ops in ali_init_one()
504 .port_ops = &ali_20_port_ops in ali_init_one()
513 .port_ops = &ali_20_port_ops in ali_init_one()
522 .port_ops = &ali_c2_port_ops in ali_init_one()
531 .port_ops = &ali_c2_port_ops in ali_init_one()
540 .port_ops = &ali_c4_port_ops in ali_init_one()
548 .port_ops = &ali_c5_port_ops in ali_init_one()
Dpata_sis.c598 .port_ops = &sis_old_ops,
605 .port_ops = &sis_old_ops,
612 .port_ops = &sis_66_ops,
619 .port_ops = &sis_100_ops,
626 .port_ops = &sis_66_ops,
633 .port_ops = &sis_133_ops,
640 .port_ops = &sis_133_for_sata_ops,
647 .port_ops = &sis_133_early_ops,
Dpata_hpt37x.c764 .port_ops = &hpt370_port_ops in hpt37x_init_one()
772 .port_ops = &hpt370a_port_ops in hpt37x_init_one()
780 .port_ops = &hpt370_port_ops in hpt37x_init_one()
788 .port_ops = &hpt370a_port_ops in hpt37x_init_one()
796 .port_ops = &hpt372_port_ops in hpt37x_init_one()
804 .port_ops = &hpt302_port_ops in hpt37x_init_one()
812 .port_ops = &hpt372_port_ops in hpt37x_init_one()
819 .port_ops = &hpt374_fn1_port_ops in hpt37x_init_one()
Dpata_artop.c364 .port_ops = &artop6210_ops, in artop_init_one()
371 .port_ops = &artop6260_ops, in artop_init_one()
378 .port_ops = &artop6260_ops, in artop_init_one()
385 .port_ops = &artop6260_ops, in artop_init_one()
Dpata_via.c548 .port_ops = &via_port_ops in via_init_one()
555 .port_ops = &via_port_ops_noirq, in via_init_one()
563 .port_ops = &via_port_ops in via_init_one()
571 .port_ops = &via_port_ops in via_init_one()
579 .port_ops = &via_port_ops in via_init_one()
587 .port_ops = &via_port_ops in via_init_one()
Dahci.c134 .port_ops = &ahci_ops,
141 .port_ops = &ahci_ops,
148 .port_ops = &ahci_ops,
155 .port_ops = &ahci_ops,
162 .port_ops = &ahci_ops,
169 .port_ops = &ahci_ops,
176 .port_ops = &ahci_avn_ops,
184 .port_ops = &ahci_ops,
191 .port_ops = &ahci_ops,
198 .port_ops = &ahci_ops,
[all …]
Dpata_serverworks.c392 .port_ops = &serverworks_osb4_port_ops in serverworks_init_one()
398 .port_ops = &serverworks_osb4_port_ops in serverworks_init_one()
404 .port_ops = &serverworks_csb_port_ops in serverworks_init_one()
410 .port_ops = &serverworks_csb_port_ops in serverworks_init_one()
Dpata_marvell.c132 .port_ops = &marvell_ops, in marvell_init_one()
142 .port_ops = &marvell_ops, in marvell_init_one()
Dsata_via.c170 .port_ops = &vt6420_sata_ops,
178 .port_ops = &vt6421_sata_ops,
186 .port_ops = &vt6421_pata_ops,
194 .port_ops = &vt8251_ops,
481 ppi[0]->port_ops->scr_read = svia_scr_read; in vt6420_prepare_host()
482 ppi[0]->port_ops->scr_write = svia_scr_write; in vt6420_prepare_host()
Dpata_pdc202xx_old.c332 .port_ops = &pdc2024x_port_ops in pdc202xx_init_one()
339 .port_ops = &pdc2026x_port_ops in pdc202xx_init_one()
346 .port_ops = &pdc2026x_port_ops in pdc202xx_init_one()

123456