Home
last modified time | relevance | path

Searched defs:qc (Results 1 – 25 of 99) sorted by relevance

1234

/drivers/ata/
Dlibata-sff.c538 unsigned int ata_sff_data_xfer(struct ata_queued_cmd *qc, unsigned char *buf, in ata_sff_data_xfer()
593 unsigned int ata_sff_data_xfer32(struct ata_queued_cmd *qc, unsigned char *buf, in ata_sff_data_xfer32()
640 static void ata_pio_xfer(struct ata_queued_cmd *qc, struct page *page, in ata_pio_xfer()
663 static void ata_pio_sector(struct ata_queued_cmd *qc) in ata_pio_sector()
721 static void ata_pio_sectors(struct ata_queued_cmd *qc) in ata_pio_sectors()
750 static void atapi_send_cdb(struct ata_port *ap, struct ata_queued_cmd *qc) in atapi_send_cdb()
790 static int __atapi_pio_bytes(struct ata_queued_cmd *qc, unsigned int bytes) in __atapi_pio_bytes()
859 static void atapi_pio_bytes(struct ata_queued_cmd *qc) in atapi_pio_bytes()
916 struct ata_queued_cmd *qc) in ata_hsm_ok_in_wq()
945 static void ata_hsm_qc_complete(struct ata_queued_cmd *qc, int in_wq) in ata_hsm_qc_complete()
[all …]
Dpata_pxa.c47 static enum ata_completion_errors pxa_qc_prep(struct ata_queued_cmd *qc) in pxa_qc_prep()
74 static void pxa_bmdma_setup(struct ata_queued_cmd *qc) in pxa_bmdma_setup()
82 static void pxa_bmdma_start(struct ata_queued_cmd *qc) in pxa_bmdma_start()
92 static void pxa_bmdma_stop(struct ata_queued_cmd *qc) in pxa_bmdma_stop()
134 static int pxa_check_atapi_dma(struct ata_queued_cmd *qc) in pxa_check_atapi_dma()
Dlibata-scsi.c632 struct ata_queued_cmd *qc; in ata_scsi_qc_new() local
652 static void ata_qc_set_pc_nbytes(struct ata_queued_cmd *qc) in ata_qc_set_pc_nbytes()
854 static void ata_gen_passthru_sense(struct ata_queued_cmd *qc) in ata_gen_passthru_sense()
949 static void ata_gen_ata_sense(struct ata_queued_cmd *qc) in ata_gen_ata_sense()
1166 static unsigned int ata_scsi_start_stop_xlat(struct ata_queued_cmd *qc) in ata_scsi_start_stop_xlat()
1260 static unsigned int ata_scsi_flush_xlat(struct ata_queued_cmd *qc) in ata_scsi_flush_xlat()
1381 static unsigned int ata_scsi_verify_xlat(struct ata_queued_cmd *qc) in ata_scsi_verify_xlat()
1530 static unsigned int ata_scsi_rw_xlat(struct ata_queued_cmd *qc) in ata_scsi_rw_xlat()
1630 static void ata_qc_done(struct ata_queued_cmd *qc) in ata_qc_done()
1639 static void ata_scsi_qc_complete(struct ata_queued_cmd *qc) in ata_scsi_qc_complete()
[all …]
Dsata_sx4.c193 struct ata_queued_cmd *qc; member
437 static void pdc20621_dma_prep(struct ata_queued_cmd *qc) in pdc20621_dma_prep()
498 static void pdc20621_nodata_prep(struct ata_queued_cmd *qc) in pdc20621_nodata_prep()
533 static enum ata_completion_errors pdc20621_qc_prep(struct ata_queued_cmd *qc) in pdc20621_qc_prep()
549 static void __pdc20621_push_hdma(struct ata_queued_cmd *qc, in __pdc20621_push_hdma()
567 static void pdc20621_push_hdma(struct ata_queued_cmd *qc, in pdc20621_push_hdma()
587 static void pdc20621_pop_hdma(struct ata_queued_cmd *qc) in pdc20621_pop_hdma()
605 static void pdc20621_dump_hdma(struct ata_queued_cmd *qc) in pdc20621_dump_hdma()
620 static inline void pdc20621_dump_hdma(struct ata_queued_cmd *qc) { } in pdc20621_dump_hdma()
623 static void pdc20621_packet_start(struct ata_queued_cmd *qc) in pdc20621_packet_start()
[all …]
Dpata_octeon_cf.c293 static unsigned int octeon_cf_data_xfer8(struct ata_queued_cmd *qc, in octeon_cf_data_xfer8()
332 static unsigned int octeon_cf_data_xfer16(struct ata_queued_cmd *qc, in octeon_cf_data_xfer16()
540 static void octeon_cf_dma_setup(struct ata_queued_cmd *qc) in octeon_cf_dma_setup()
559 static void octeon_cf_dma_start(struct ata_queued_cmd *qc) in octeon_cf_dma_start()
622 struct ata_queued_cmd *qc) in octeon_cf_dma_finished()
685 struct ata_queued_cmd *qc; in octeon_cf_interrupt() local
746 struct ata_queued_cmd *qc; in octeon_cf_delayed_finish() local
790 static int octeon_cf_check_atapi_dma(struct ata_queued_cmd *qc) in octeon_cf_check_atapi_dma()
795 static unsigned int octeon_cf_qc_issue(struct ata_queued_cmd *qc) in octeon_cf_qc_issue()
Dsata_qstor.c166 static int qs_check_atapi_dma(struct ata_queued_cmd *qc) in qs_check_atapi_dma()
236 static unsigned int qs_fill_sg(struct ata_queued_cmd *qc) in qs_fill_sg()
263 static enum ata_completion_errors qs_qc_prep(struct ata_queued_cmd *qc) in qs_qc_prep()
302 static inline void qs_packet_start(struct ata_queued_cmd *qc) in qs_packet_start()
315 static unsigned int qs_qc_issue(struct ata_queued_cmd *qc) in qs_qc_issue()
337 static void qs_do_or_die(struct ata_queued_cmd *qc, u8 status) in qs_do_or_die()
375 struct ata_queued_cmd *qc; in qs_intr_pkt() local
406 struct ata_queued_cmd *qc; in qs_intr_mmio() local
Dpdc_adma.c172 static int adma_check_atapi_dma(struct ata_queued_cmd *qc) in adma_check_atapi_dma()
256 static int adma_fill_sg(struct ata_queued_cmd *qc) in adma_fill_sg()
298 static enum ata_completion_errors adma_qc_prep(struct ata_queued_cmd *qc) in adma_qc_prep()
377 static inline void adma_packet_start(struct ata_queued_cmd *qc) in adma_packet_start()
388 static unsigned int adma_qc_issue(struct ata_queued_cmd *qc) in adma_qc_issue()
417 struct ata_queued_cmd *qc; in adma_intr_pkt() local
467 struct ata_queued_cmd *qc; in adma_intr_mmio() local
Dsata_promise.c479 static void pdc_atapi_pkt(struct ata_queued_cmd *qc) in pdc_atapi_pkt()
567 static void pdc_fill_sg(struct ata_queued_cmd *qc) in pdc_fill_sg()
630 static enum ata_completion_errors pdc_qc_prep(struct ata_queued_cmd *qc) in pdc_qc_prep()
828 static void pdc_post_internal_cmd(struct ata_queued_cmd *qc) in pdc_post_internal_cmd()
837 static void pdc_error_intr(struct ata_port *ap, struct ata_queued_cmd *qc, in pdc_error_intr()
872 struct ata_queued_cmd *qc) in pdc_host_intr()
984 struct ata_queued_cmd *qc; in pdc_interrupt() local
999 static void pdc_packet_start(struct ata_queued_cmd *qc) in pdc_packet_start()
1019 static unsigned int pdc_qc_issue(struct ata_queued_cmd *qc) in pdc_qc_issue()
1053 static int pdc_check_atapi_dma(struct ata_queued_cmd *qc) in pdc_check_atapi_dma()
[all …]
Dpata_ns87415.c120 static void ns87415_bmdma_setup(struct ata_queued_cmd *qc) in ns87415_bmdma_setup()
154 static void ns87415_bmdma_start(struct ata_queued_cmd *qc) in ns87415_bmdma_start()
167 static void ns87415_bmdma_stop(struct ata_queued_cmd *qc) in ns87415_bmdma_stop()
199 static int ns87415_check_atapi_dma(struct ata_queued_cmd *qc) in ns87415_check_atapi_dma()
Dlibata-eh.c605 struct ata_queued_cmd *qc; in ata_scsi_cmd_error_handler() local
810 struct ata_queued_cmd *qc; in ata_eh_nr_in_flight() local
838 struct ata_queued_cmd *qc; in ata_eh_fastdrain_timerfn() local
909 void ata_qc_schedule_eh(struct ata_queued_cmd *qc) in ata_qc_schedule_eh()
987 struct ata_queued_cmd *qc; in ata_do_link_abort() local
1158 static void __ata_eh_qc_complete(struct ata_queued_cmd *qc) in __ata_eh_qc_complete()
1180 void ata_eh_qc_complete(struct ata_queued_cmd *qc) in ata_eh_qc_complete()
1198 void ata_eh_qc_retry(struct ata_queued_cmd *qc) in ata_eh_qc_retry()
1404 static void ata_eh_request_sense(struct ata_queued_cmd *qc, in ata_eh_request_sense()
1560 static unsigned int ata_eh_analyze_tf(struct ata_queued_cmd *qc, in ata_eh_analyze_tf()
[all …]
Dsata_nv.c754 static int nv_adma_check_atapi_dma(struct ata_queued_cmd *qc) in nv_adma_check_atapi_dma()
853 struct ata_queued_cmd *qc = ata_qc_from_tag(ap, ap->link.active_tag); in nv_host_intr() local
1084 static void nv_adma_post_internal_cmd(struct ata_queued_cmd *qc) in nv_adma_post_internal_cmd()
1297 static void nv_adma_fill_aprd(struct ata_queued_cmd *qc, in nv_adma_fill_aprd()
1316 static void nv_adma_fill_sg(struct ata_queued_cmd *qc, struct nv_adma_cpb *cpb) in nv_adma_fill_sg()
1336 static int nv_adma_use_reg_mode(struct ata_queued_cmd *qc) in nv_adma_use_reg_mode()
1353 static enum ata_completion_errors nv_adma_qc_prep(struct ata_queued_cmd *qc) in nv_adma_qc_prep()
1401 static unsigned int nv_adma_qc_issue(struct ata_queued_cmd *qc) in nv_adma_qc_issue()
1457 struct ata_queued_cmd *qc; in nv_generic_interrupt() local
1696 static void nv_swncq_qc_to_dq(struct ata_port *ap, struct ata_queued_cmd *qc) in nv_swncq_qc_to_dq()
[all …]
Dsata_dwc_460ex.c171 #define HSDEV_FROM_QC(qc) ((struct sata_dwc_device *)(qc)->ap->host->private_data) argument
367 static struct dma_async_tx_descriptor *dma_dwc_xfer_setup(struct ata_queued_cmd *qc) in dma_dwc_xfer_setup()
462 struct ata_queued_cmd *qc; in sata_dwc_error_intr() local
512 struct ata_queued_cmd *qc; in sata_dwc_isr() local
758 struct ata_queued_cmd *qc; in sata_dwc_dma_xfer_complete() local
797 static int sata_dwc_qc_complete(struct ata_port *ap, struct ata_queued_cmd *qc, in sata_dwc_qc_complete()
1002 static void sata_dwc_bmdma_setup_by_tag(struct ata_queued_cmd *qc, u8 tag) in sata_dwc_bmdma_setup_by_tag()
1008 static void sata_dwc_bmdma_setup(struct ata_queued_cmd *qc) in sata_dwc_bmdma_setup()
1021 static void sata_dwc_bmdma_start_by_tag(struct ata_queued_cmd *qc, u8 tag) in sata_dwc_bmdma_start_by_tag()
1070 static void sata_dwc_bmdma_start(struct ata_queued_cmd *qc) in sata_dwc_bmdma_start()
[all …]
Dsata_sil.c251 static void sil_bmdma_stop(struct ata_queued_cmd *qc) in sil_bmdma_stop()
264 static void sil_bmdma_setup(struct ata_queued_cmd *qc) in sil_bmdma_setup()
276 static void sil_bmdma_start(struct ata_queued_cmd *qc) in sil_bmdma_start()
293 static void sil_fill_sg(struct ata_queued_cmd *qc) in sil_fill_sg()
320 static enum ata_completion_errors sil_qc_prep(struct ata_queued_cmd *qc) in sil_qc_prep()
423 struct ata_queued_cmd *qc = ata_qc_from_tag(ap, ap->link.active_tag); in sil_host_intr() local
Dsata_rcar.c449 static unsigned int sata_rcar_data_xfer(struct ata_queued_cmd *qc, in sata_rcar_data_xfer()
487 static void sata_rcar_drain_fifo(struct ata_queued_cmd *qc) in sata_rcar_drain_fifo()
527 static void sata_rcar_bmdma_fill_sg(struct ata_queued_cmd *qc) in sata_rcar_bmdma_fill_sg()
553 static enum ata_completion_errors sata_rcar_qc_prep(struct ata_queued_cmd *qc) in sata_rcar_qc_prep()
563 static void sata_rcar_bmdma_setup(struct ata_queued_cmd *qc) in sata_rcar_bmdma_setup()
590 static void sata_rcar_bmdma_start(struct ata_queued_cmd *qc) in sata_rcar_bmdma_start()
604 static void sata_rcar_bmdma_stop(struct ata_queued_cmd *qc) in sata_rcar_bmdma_stop()
710 struct ata_queued_cmd *qc; in sata_rcar_ata_interrupt() local
Dpata_it821x.c345 static void it821x_passthru_bmdma_start(struct ata_queued_cmd *qc) in it821x_passthru_bmdma_start()
368 static void it821x_passthru_bmdma_stop(struct ata_queued_cmd *qc) in it821x_passthru_bmdma_stop()
410 static unsigned int it821x_smart_qc_issue(struct ata_queued_cmd *qc) in it821x_smart_qc_issue()
447 static unsigned int it821x_passthru_qc_issue(struct ata_queued_cmd *qc) in it821x_passthru_qc_issue()
575 static int it821x_check_atapi_dma(struct ata_queued_cmd *qc) in it821x_check_atapi_dma()
Dpata_pdc202xx_old.c177 static void pdc2026x_bmdma_start(struct ata_queued_cmd *qc) in pdc2026x_bmdma_start()
227 static void pdc2026x_bmdma_stop(struct ata_queued_cmd *qc) in pdc2026x_bmdma_stop()
289 static int pdc2026x_check_atapi_dma(struct ata_queued_cmd *qc) in pdc2026x_check_atapi_dma()
Dpata_arasan_cf.c217 struct ata_queued_cmd *qc; member
365 struct ata_queued_cmd *qc = acdev->qc; in dma_complete() local
521 struct ata_queued_cmd *qc = acdev->qc; in data_xfer() local
579 struct ata_queued_cmd *qc = acdev->qc; in delayed_finish() local
635 struct ata_queued_cmd *qc = acdev->qc; in arasan_cf_interrupt() local
675 struct ata_queued_cmd *qc = acdev->qc; in arasan_cf_dma_start() local
688 static unsigned int arasan_cf_qc_issue(struct ata_queued_cmd *qc) in arasan_cf_qc_issue()
Dpata_sl82c105.c161 static void sl82c105_bmdma_start(struct ata_queued_cmd *qc) in sl82c105_bmdma_start()
190 static void sl82c105_bmdma_stop(struct ata_queued_cmd *qc) in sl82c105_bmdma_stop()
213 static int sl82c105_qc_defer(struct ata_queued_cmd *qc) in sl82c105_qc_defer()
Dsata_inic162x.c385 struct ata_queued_cmd *qc = ata_qc_from_tag(ap, ap->link.active_tag); in inic_host_intr() local
445 static int inic_check_atapi_dma(struct ata_queued_cmd *qc) in inic_check_atapi_dma()
458 static void inic_fill_sg(struct inic_prd *prd, struct ata_queued_cmd *qc) in inic_fill_sg()
481 static enum ata_completion_errors inic_qc_prep(struct ata_queued_cmd *qc) in inic_qc_prep()
545 static unsigned int inic_qc_issue(struct ata_queued_cmd *qc) in inic_qc_issue()
571 static bool inic_qc_fill_rtf(struct ata_queued_cmd *qc) in inic_qc_fill_rtf()
674 static void inic_post_internal_cmd(struct ata_queued_cmd *qc) in inic_post_internal_cmd()
Dacard-ahci.c182 static unsigned int acard_ahci_fill_sg(struct ata_queued_cmd *qc, void *cmd_tbl) in acard_ahci_fill_sg()
213 static enum ata_completion_errors acard_ahci_qc_prep(struct ata_queued_cmd *qc) in acard_ahci_qc_prep()
253 static bool acard_ahci_qc_fill_rtf(struct ata_queued_cmd *qc) in acard_ahci_qc_fill_rtf()
Dlibata-core.c1465 static void ata_qc_complete_internal(struct ata_queued_cmd *qc) in ata_qc_complete_internal()
1503 struct ata_queued_cmd *qc; in ata_exec_internal_sg() local
4395 int atapi_check_dma(struct ata_queued_cmd *qc) in atapi_check_dma()
4427 int ata_std_qc_defer(struct ata_queued_cmd *qc) in ata_std_qc_defer()
4443 enum ata_completion_errors ata_noop_qc_prep(struct ata_queued_cmd *qc) in ata_noop_qc_prep()
4462 void ata_sg_init(struct ata_queued_cmd *qc, struct scatterlist *sg, in ata_sg_init()
4481 static void ata_sg_clean(struct ata_queued_cmd *qc) in ata_sg_clean()
4511 static int ata_sg_setup(struct ata_queued_cmd *qc) in ata_sg_setup()
4532 static inline void ata_sg_clean(struct ata_queued_cmd *qc) {} in ata_sg_clean()
4533 static inline int ata_sg_setup(struct ata_queued_cmd *qc) { return -1; } in ata_sg_setup()
[all …]
Dpata_triflex.c142 static void triflex_bmdma_start(struct ata_queued_cmd *qc) in triflex_bmdma_start()
157 static void triflex_bmdma_stop(struct ata_queued_cmd *qc) in triflex_bmdma_stop()
Dpata_pcmcia.c91 static unsigned int ata_data_xfer_8bit(struct ata_queued_cmd *qc, in ata_data_xfer_8bit()
114 static void pcmcia_8bit_drain_fifo(struct ata_queued_cmd *qc) in pcmcia_8bit_drain_fifo()
Dsata_svw.c82 static int k2_sata_check_atapi_dma(struct ata_queued_cmd *qc) in k2_sata_check_atapi_dma()
230 static void k2_bmdma_setup_mmio(struct ata_queued_cmd *qc) in k2_bmdma_setup_mmio()
261 static void k2_bmdma_start_mmio(struct ata_queued_cmd *qc) in k2_bmdma_start_mmio()
/drivers/scsi/libsas/
Dsas_ata.c77 struct ata_queued_cmd *qc = task->uldd_task; in sas_ata_task_done() local
157 static unsigned int sas_ata_qc_issue(struct ata_queued_cmd *qc) in sas_ata_qc_issue()
237 static bool sas_ata_qc_fill_rtf(struct ata_queued_cmd *qc) in sas_ata_qc_fill_rtf()
448 static void sas_ata_post_internal(struct ata_queued_cmd *qc) in sas_ata_post_internal()
594 struct ata_queued_cmd *qc = task->uldd_task; in sas_ata_task_abort() local

1234