Home
last modified time | relevance | path

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

1234567

/Linux-v4.19/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.c241 const struct ide_port_ops *port_ops = hwif->port_ops; in ide_get_mode_mask() local
249 if (port_ops && port_ops->udma_filter) in ide_get_mode_mask()
250 mask &= port_ops->udma_filter(drive); in ide_get_mode_mask()
272 if (port_ops && port_ops->mdma_filter) in ide_get_mode_mask()
273 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.c724 const struct ide_port_ops *port_ops = hwif->port_ops; in ide_port_tune_devices() local
731 if (port_ops && port_ops->quirkproc) in ide_port_tune_devices()
732 port_ops->quirkproc(drive); in ide_port_tune_devices()
1038 const struct ide_port_ops *port_ops = hwif->port_ops; in ide_port_init_devices() local
1056 if (port_ops && port_ops->init_dev) in ide_port_init_devices()
1057 port_ops->init_dev(drive); in ide_port_init_devices()
1080 hwif->port_ops = d->port_ops; in ide_init_port()
1128 const struct ide_port_ops *port_ops = hwif->port_ops; in ide_port_cable_detect() local
1130 if (port_ops && port_ops->cable_detect && (hwif->ultra_mask & 0x78)) { in ide_port_cable_detect()
1132 hwif->cbl = port_ops->cable_detect(hwif); in ide_port_cable_detect()
Dserverworks.c344 .port_ops = &osb4_port_ops,
352 .port_ops = &svwks_port_ops,
360 .port_ops = &svwks_port_ops,
368 .port_ops = &svwks_port_ops,
377 .port_ops = &svwks_port_ops,
Dide-io.c664 if (hwif->port_ops && hwif->port_ops->clear_irq) in ide_timer_expiry()
665 hwif->port_ops->clear_irq(drive); in ide_timer_expiry()
786 if (hwif->port_ops && hwif->port_ops->test_irq && in ide_intr()
787 hwif->port_ops->test_irq(hwif) == 0) in ide_intr()
839 if (hwif->port_ops && hwif->port_ops->clear_irq) in ide_intr()
840 hwif->port_ops->clear_irq(drive); in ide_intr()
Dmacide.c90 .port_ops = &macide_port_ops,
124 d.port_ops = NULL; in macide_init()
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.c335 .port_ops = &cmd64x_port_ops,
347 .port_ops = &cmd648_port_ops,
358 .port_ops = &cmd648_port_ops,
368 .port_ops = &cmd648_port_ops,
405 d.port_ops = &cmd64x_port_ops; in cmd64x_init_one()
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()
/Linux-v4.19/drivers/fpga/
Ddfl-fme-br.c24 struct dfl_fpga_port_ops *port_ops; member
44 if (priv->port_pdev && !priv->port_ops) { in fme_bridge_enable_set()
49 priv->port_ops = ops; in fme_bridge_enable_set()
52 return priv->port_ops->enable_set(priv->port_pdev, enable); in fme_bridge_enable_set()
95 if (priv->port_ops) in fme_br_remove()
96 dfl_fpga_port_ops_put(priv->port_ops); in fme_br_remove()
/Linux-v4.19/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()
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()
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_ali.c497 .port_ops = &ali_early_port_ops in ali_init_one()
505 .port_ops = &ali_20_port_ops in ali_init_one()
514 .port_ops = &ali_20_port_ops in ali_init_one()
523 .port_ops = &ali_c2_port_ops in ali_init_one()
532 .port_ops = &ali_c2_port_ops in ali_init_one()
541 .port_ops = &ali_c4_port_ops in ali_init_one()
549 .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.c761 .port_ops = &hpt370_port_ops in hpt37x_init_one()
769 .port_ops = &hpt370a_port_ops in hpt37x_init_one()
777 .port_ops = &hpt370_port_ops in hpt37x_init_one()
785 .port_ops = &hpt370a_port_ops in hpt37x_init_one()
793 .port_ops = &hpt372_port_ops in hpt37x_init_one()
801 .port_ops = &hpt302_port_ops in hpt37x_init_one()
809 .port_ops = &hpt372_port_ops in hpt37x_init_one()
816 .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_marvell.c132 .port_ops = &marvell_ops, in marvell_init_one()
142 .port_ops = &marvell_ops, in marvell_init_one()
Dahci.c135 .port_ops = &ahci_ops,
142 .port_ops = &ahci_ops,
149 .port_ops = &ahci_ops,
156 .port_ops = &ahci_ops,
163 .port_ops = &ahci_ops,
170 .port_ops = &ahci_ops,
177 .port_ops = &ahci_ops,
184 .port_ops = &ahci_avn_ops,
192 .port_ops = &ahci_ops,
199 .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_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()
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()

1234567