/Linux-v6.6/include/linux/ |
D | libata.h | 496 struct ata_queued_cmd; 499 typedef void (*ata_qc_cb_t) (struct ata_queued_cmd *qc); 594 struct ata_queued_cmd { struct 836 struct ata_queued_cmd qcmd[ATA_MAX_QUEUE + 1]; 893 int (*qc_defer)(struct ata_queued_cmd *qc); 894 int (*check_atapi_dma)(struct ata_queued_cmd *qc); 895 enum ata_completion_errors (*qc_prep)(struct ata_queued_cmd *qc); 896 unsigned int (*qc_issue)(struct ata_queued_cmd *qc); 897 void (*qc_fill_rtf)(struct ata_queued_cmd *qc); 925 void (*post_internal_cmd)(struct ata_queued_cmd *qc); [all …]
|
/Linux-v6.6/drivers/ata/ |
D | sata_qstor.c | 103 static enum ata_completion_errors qs_qc_prep(struct ata_queued_cmd *qc); 104 static unsigned int qs_qc_issue(struct ata_queued_cmd *qc); 105 static int qs_check_atapi_dma(struct ata_queued_cmd *qc); 166 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() 260 static enum ata_completion_errors qs_qc_prep(struct ata_queued_cmd *qc) in qs_qc_prep() 297 static inline void qs_packet_start(struct ata_queued_cmd *qc) in qs_packet_start() 308 static unsigned int qs_qc_issue(struct ata_queued_cmd *qc) in qs_qc_issue() 330 static void qs_do_or_die(struct ata_queued_cmd *qc, u8 status) in qs_do_or_die() 368 struct ata_queued_cmd *qc; in qs_intr_pkt() [all …]
|
D | libata-sff.c | 476 unsigned int ata_sff_data_xfer(struct ata_queued_cmd *qc, unsigned char *buf, in ata_sff_data_xfer() 531 unsigned int ata_sff_data_xfer32(struct ata_queued_cmd *qc, unsigned char *buf, in ata_sff_data_xfer32() 578 static void ata_pio_xfer(struct ata_queued_cmd *qc, struct page *page, in ata_pio_xfer() 601 static void ata_pio_sector(struct ata_queued_cmd *qc) in ata_pio_sector() 659 static void ata_pio_sectors(struct ata_queued_cmd *qc) in ata_pio_sectors() 688 static void atapi_send_cdb(struct ata_port *ap, struct ata_queued_cmd *qc) in atapi_send_cdb() 729 static int __atapi_pio_bytes(struct ata_queued_cmd *qc, unsigned int bytes) in __atapi_pio_bytes() 798 static void atapi_pio_bytes(struct ata_queued_cmd *qc) in atapi_pio_bytes() 853 struct ata_queued_cmd *qc) in ata_hsm_ok_in_wq() 882 static void ata_hsm_qc_complete(struct ata_queued_cmd *qc, int in_wq) in ata_hsm_qc_complete() [all …]
|
D | pdc_adma.c | 119 static enum ata_completion_errors adma_qc_prep(struct ata_queued_cmd *qc); 120 static unsigned int adma_qc_issue(struct ata_queued_cmd *qc); 121 static int adma_check_atapi_dma(struct ata_queued_cmd *qc); 172 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() 295 static enum ata_completion_errors adma_qc_prep(struct ata_queued_cmd *qc) in adma_qc_prep() 356 static inline void adma_packet_start(struct ata_queued_cmd *qc) in adma_packet_start() 365 static unsigned int adma_qc_issue(struct ata_queued_cmd *qc) in adma_qc_issue() 394 struct ata_queued_cmd *qc; in adma_intr_pkt() 444 struct ata_queued_cmd *qc; in adma_intr_mmio()
|
D | libata.h | 49 extern int ata_build_rw_tf(struct ata_queued_cmd *qc, u64 block, u32 n_block, 71 extern void ata_qc_free(struct ata_queued_cmd *qc); 72 extern void ata_qc_issue(struct ata_queued_cmd *qc); 73 extern void __ata_qc_complete(struct ata_queued_cmd *qc); 74 extern int atapi_check_dma(struct ata_queued_cmd *qc); 142 extern void ata_qc_schedule_eh(struct ata_queued_cmd *qc);
|
D | sata_sil.c | 106 static enum ata_completion_errors sil_qc_prep(struct ata_queued_cmd *qc); 107 static void sil_bmdma_setup(struct ata_queued_cmd *qc); 108 static void sil_bmdma_start(struct ata_queued_cmd *qc); 109 static void sil_bmdma_stop(struct ata_queued_cmd *qc); 251 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() 319 static enum ata_completion_errors sil_qc_prep(struct ata_queued_cmd *qc) in sil_qc_prep() 422 struct ata_queued_cmd *qc = ata_qc_from_tag(ap, ap->link.active_tag); in sil_host_intr()
|
D | sata_sx4.c | 196 struct ata_queued_cmd *qc; 208 static enum ata_completion_errors pdc20621_qc_prep(struct ata_queued_cmd *qc); 222 static unsigned int pdc20621_qc_issue(struct ata_queued_cmd *qc); 225 static void pdc_post_internal_cmd(struct ata_queued_cmd *qc); 226 static int pdc_check_atapi_dma(struct ata_queued_cmd *qc); 414 static void pdc20621_dma_prep(struct ata_queued_cmd *qc) in pdc20621_dma_prep() 474 static void pdc20621_nodata_prep(struct ata_queued_cmd *qc) in pdc20621_nodata_prep() 507 static enum ata_completion_errors pdc20621_qc_prep(struct ata_queued_cmd *qc) in pdc20621_qc_prep() 523 static void __pdc20621_push_hdma(struct ata_queued_cmd *qc, in __pdc20621_push_hdma() 541 static void pdc20621_push_hdma(struct ata_queued_cmd *qc, in pdc20621_push_hdma() [all …]
|
D | sata_promise.c | 142 static enum ata_completion_errors pdc_qc_prep(struct ata_queued_cmd *qc); 145 static int pdc_check_atapi_dma(struct ata_queued_cmd *qc); 146 static int pdc_old_sata_check_atapi_dma(struct ata_queued_cmd *qc); 148 static unsigned int pdc_qc_issue(struct ata_queued_cmd *qc); 158 static void pdc_post_internal_cmd(struct ata_queued_cmd *qc); 479 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() 826 static void pdc_post_internal_cmd(struct ata_queued_cmd *qc) in pdc_post_internal_cmd() 835 static void pdc_error_intr(struct ata_port *ap, struct ata_queued_cmd *qc, in pdc_error_intr() [all …]
|
D | pata_pxa.c | 47 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()
|
D | sata_nv.c | 300 static int nv_adma_check_atapi_dma(struct ata_queued_cmd *qc); 301 static enum ata_completion_errors nv_adma_qc_prep(struct ata_queued_cmd *qc); 302 static unsigned int nv_adma_qc_issue(struct ata_queued_cmd *qc); 315 static void nv_adma_post_internal_cmd(struct ata_queued_cmd *qc); 323 static enum ata_completion_errors nv_swncq_qc_prep(struct ata_queued_cmd *qc); 324 static void nv_swncq_fill_sg(struct ata_queued_cmd *qc); 325 static unsigned int nv_swncq_qc_issue(struct ata_queued_cmd *qc); 755 static int nv_adma_check_atapi_dma(struct ata_queued_cmd *qc) in nv_adma_check_atapi_dma() 854 struct ata_queued_cmd *qc = ata_qc_from_tag(ap, ap->link.active_tag); in nv_host_intr() 1085 static void nv_adma_post_internal_cmd(struct ata_queued_cmd *qc) in nv_adma_post_internal_cmd() [all …]
|
D | acard-ahci.c | 59 static enum ata_completion_errors acard_ahci_qc_prep(struct ata_queued_cmd *qc); 60 static void acard_ahci_qc_fill_rtf(struct ata_queued_cmd *qc); 182 static unsigned int acard_ahci_fill_sg(struct ata_queued_cmd *qc, void *cmd_tbl) in acard_ahci_fill_sg() 211 static enum ata_completion_errors acard_ahci_qc_prep(struct ata_queued_cmd *qc) in acard_ahci_qc_prep() 251 static void acard_ahci_qc_fill_rtf(struct ata_queued_cmd *qc) in acard_ahci_qc_fill_rtf()
|
D | pata_ns87415.c | 120 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()
|
D | sata_sil24.c | 328 static int sil24_qc_defer(struct ata_queued_cmd *qc); 329 static enum ata_completion_errors sil24_qc_prep(struct ata_queued_cmd *qc); 330 static unsigned int sil24_qc_issue(struct ata_queued_cmd *qc); 331 static void sil24_qc_fill_rtf(struct ata_queued_cmd *qc); 343 static void sil24_post_internal_cmd(struct ata_queued_cmd *qc); 769 static inline void sil24_fill_sg(struct ata_queued_cmd *qc, in sil24_fill_sg() 788 static int sil24_qc_defer(struct ata_queued_cmd *qc) in sil24_qc_defer() 833 static enum ata_completion_errors sil24_qc_prep(struct ata_queued_cmd *qc) in sil24_qc_prep() 881 static unsigned int sil24_qc_issue(struct ata_queued_cmd *qc) in sil24_qc_issue() 904 static void sil24_qc_fill_rtf(struct ata_queued_cmd *qc) in sil24_qc_fill_rtf() [all …]
|
D | sata_dwc_460ex.c | 175 static void sata_dwc_bmdma_start_by_tag(struct ata_queued_cmd *qc, u8 tag); 176 static int sata_dwc_qc_complete(struct ata_port *ap, struct ata_queued_cmd *qc); 322 static struct dma_async_tx_descriptor *dma_dwc_xfer_setup(struct ata_queued_cmd *qc) in dma_dwc_xfer_setup() 417 struct ata_queued_cmd *qc; in sata_dwc_error_intr() 467 struct ata_queued_cmd *qc; in sata_dwc_isr() 712 struct ata_queued_cmd *qc; in sata_dwc_dma_xfer_complete() 740 static int sata_dwc_qc_complete(struct ata_port *ap, struct ata_queued_cmd *qc) in sata_dwc_qc_complete() 940 static void sata_dwc_bmdma_setup_by_tag(struct ata_queued_cmd *qc, u8 tag) in sata_dwc_bmdma_setup_by_tag() 946 static void sata_dwc_bmdma_setup(struct ata_queued_cmd *qc) in sata_dwc_bmdma_setup() 956 static void sata_dwc_bmdma_start_by_tag(struct ata_queued_cmd *qc, u8 tag) in sata_dwc_bmdma_start_by_tag() [all …]
|
D | pata_octeon_cf.c | 290 static unsigned int octeon_cf_data_xfer8(struct ata_queued_cmd *qc, in octeon_cf_data_xfer8() 329 static unsigned int octeon_cf_data_xfer16(struct ata_queued_cmd *qc, in octeon_cf_data_xfer16() 517 static void octeon_cf_dma_setup(struct ata_queued_cmd *qc) in octeon_cf_dma_setup() 534 static void octeon_cf_dma_start(struct ata_queued_cmd *qc) in octeon_cf_dma_start() 591 struct ata_queued_cmd *qc) in octeon_cf_dma_finished() 651 struct ata_queued_cmd *qc; in octeon_cf_interrupt() 712 struct ata_queued_cmd *qc; in octeon_cf_delayed_finish() 756 static int octeon_cf_check_atapi_dma(struct ata_queued_cmd *qc) in octeon_cf_check_atapi_dma() 761 static unsigned int octeon_cf_qc_issue(struct ata_queued_cmd *qc) in octeon_cf_qc_issue()
|
D | libata-scsi.c | 45 typedef unsigned int (*ata_xlat_func_t)(struct ata_queued_cmd *qc); 657 static struct ata_queued_cmd *ata_scsi_qc_new(struct ata_device *dev, in ata_scsi_qc_new() 661 struct ata_queued_cmd *qc; in ata_scsi_qc_new() 704 static void ata_qc_set_pc_nbytes(struct ata_queued_cmd *qc) in ata_qc_set_pc_nbytes() 853 static void ata_gen_passthru_sense(struct ata_queued_cmd *qc) in ata_gen_passthru_sense() 947 static void ata_gen_ata_sense(struct ata_queued_cmd *qc) in ata_gen_ata_sense() 1203 static unsigned int ata_scsi_start_stop_xlat(struct ata_queued_cmd *qc) in ata_scsi_start_stop_xlat() 1297 static unsigned int ata_scsi_flush_xlat(struct ata_queued_cmd *qc) in ata_scsi_flush_xlat() 1396 static unsigned int ata_scsi_verify_xlat(struct ata_queued_cmd *qc) in ata_scsi_verify_xlat() 1545 static unsigned int ata_scsi_rw_xlat(struct ata_queued_cmd *qc) in ata_scsi_rw_xlat() [all …]
|
D | sata_inic162x.c | 385 struct ata_queued_cmd *qc = ata_qc_from_tag(ap, ap->link.active_tag); in inic_host_intr() 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() 543 static unsigned int inic_qc_issue(struct ata_queued_cmd *qc) in inic_qc_issue() 569 static void inic_qc_fill_rtf(struct ata_queued_cmd *qc) in inic_qc_fill_rtf() 670 static void inic_post_internal_cmd(struct ata_queued_cmd *qc) in inic_post_internal_cmd()
|
D | pata_sl82c105.c | 161 static void sl82c105_bmdma_start(struct ata_queued_cmd *qc) in sl82c105_bmdma_start() 189 static void sl82c105_bmdma_stop(struct ata_queued_cmd *qc) in sl82c105_bmdma_stop() 212 static int sl82c105_qc_defer(struct ata_queued_cmd *qc) in sl82c105_qc_defer()
|
D | pata_triflex.c | 142 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()
|
D | sata_rcar.c | 424 static unsigned int sata_rcar_data_xfer(struct ata_queued_cmd *qc, in sata_rcar_data_xfer() 462 static void sata_rcar_drain_fifo(struct ata_queued_cmd *qc) in sata_rcar_drain_fifo() 501 static void sata_rcar_bmdma_fill_sg(struct ata_queued_cmd *qc) in sata_rcar_bmdma_fill_sg() 526 static enum ata_completion_errors sata_rcar_qc_prep(struct ata_queued_cmd *qc) in sata_rcar_qc_prep() 536 static void sata_rcar_bmdma_setup(struct ata_queued_cmd *qc) in sata_rcar_bmdma_setup() 563 static void sata_rcar_bmdma_start(struct ata_queued_cmd *qc) in sata_rcar_bmdma_start() 577 static void sata_rcar_bmdma_stop(struct ata_queued_cmd *qc) in sata_rcar_bmdma_stop() 683 struct ata_queued_cmd *qc; in sata_rcar_ata_interrupt()
|
D | pata_pdc202xx_old.c | 175 static void pdc2026x_bmdma_start(struct ata_queued_cmd *qc) in pdc2026x_bmdma_start() 225 static void pdc2026x_bmdma_stop(struct ata_queued_cmd *qc) in pdc2026x_bmdma_stop() 287 static int pdc2026x_check_atapi_dma(struct ata_queued_cmd *qc) in pdc2026x_check_atapi_dma()
|
D | pata_sc1200.c | 152 static unsigned int sc1200_qc_issue(struct ata_queued_cmd *qc) in sc1200_qc_issue() 177 static int sc1200_qc_defer(struct ata_queued_cmd *qc) in sc1200_qc_defer()
|
D | pata_it821x.c | 345 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() 448 static unsigned int it821x_passthru_qc_issue(struct ata_queued_cmd *qc) in it821x_passthru_qc_issue() 577 static int it821x_check_atapi_dma(struct ata_queued_cmd *qc) in it821x_check_atapi_dma()
|
D | pata_arasan_cf.c | 218 struct ata_queued_cmd *qc; 366 struct ata_queued_cmd *qc = acdev->qc; in dma_complete() 522 struct ata_queued_cmd *qc = acdev->qc; in data_xfer() 580 struct ata_queued_cmd *qc = acdev->qc; in delayed_finish() 636 struct ata_queued_cmd *qc = acdev->qc; in arasan_cf_interrupt() 676 struct ata_queued_cmd *qc = acdev->qc; in arasan_cf_dma_start() 689 static unsigned int arasan_cf_qc_issue(struct ata_queued_cmd *qc) in arasan_cf_qc_issue()
|
/Linux-v6.6/include/trace/events/ |
D | libata.h | 184 TP_PROTO(struct ata_queued_cmd *qc), 242 TP_PROTO(struct ata_queued_cmd *qc), 246 TP_PROTO(struct ata_queued_cmd *qc), 251 TP_PROTO(struct ata_queued_cmd *qc), 307 TP_PROTO(struct ata_queued_cmd *qc), 311 TP_PROTO(struct ata_queued_cmd *qc), 315 TP_PROTO(struct ata_queued_cmd *qc), 468 TP_PROTO(struct ata_queued_cmd *qc), 636 TP_PROTO(struct ata_queued_cmd *qc, unsigned char status), 669 TP_PROTO(struct ata_queued_cmd *qc, unsigned char state), [all …]
|