/linux-3.4.99/include/linux/ |
D | libata.h | 494 struct ata_queued_cmd; 497 typedef void (*ata_qc_cb_t) (struct ata_queued_cmd *qc); 556 struct ata_queued_cmd { struct 761 struct ata_queued_cmd qcmd[ATA_MAX_QUEUE]; 820 int (*qc_defer)(struct ata_queued_cmd *qc); 821 int (*check_atapi_dma)(struct ata_queued_cmd *qc); 822 void (*qc_prep)(struct ata_queued_cmd *qc); 823 unsigned int (*qc_issue)(struct ata_queued_cmd *qc); 824 bool (*qc_fill_rtf)(struct ata_queued_cmd *qc); 850 void (*post_internal_cmd)(struct ata_queued_cmd *qc); [all …]
|
/linux-3.4.99/drivers/ata/ |
D | libata.h | 66 extern struct ata_queued_cmd *ata_qc_new_init(struct ata_device *dev); 92 extern void ata_sg_clean(struct ata_queued_cmd *qc); 93 extern void ata_qc_free(struct ata_queued_cmd *qc); 94 extern void ata_qc_issue(struct ata_queued_cmd *qc); 95 extern void __ata_qc_complete(struct ata_queued_cmd *qc); 96 extern int atapi_check_dma(struct ata_queued_cmd *qc); 156 extern void ata_qc_schedule_eh(struct ata_queued_cmd *qc);
|
D | sata_qstor.c | 120 static void qs_qc_prep(struct ata_queued_cmd *qc); 121 static unsigned int qs_qc_issue(struct ata_queued_cmd *qc); 122 static int qs_check_atapi_dma(struct ata_queued_cmd *qc); 183 static int qs_check_atapi_dma(struct ata_queued_cmd *qc) in qs_check_atapi_dma() 253 static unsigned int qs_fill_sg(struct ata_queued_cmd *qc) in qs_fill_sg() 280 static void qs_qc_prep(struct ata_queued_cmd *qc) in qs_qc_prep() 317 static inline void qs_packet_start(struct ata_queued_cmd *qc) in qs_packet_start() 330 static unsigned int qs_qc_issue(struct ata_queued_cmd *qc) in qs_qc_issue() 352 static void qs_do_or_die(struct ata_queued_cmd *qc, u8 status) in qs_do_or_die() 390 struct ata_queued_cmd *qc; in qs_intr_pkt() [all …]
|
D | sata_sx4.c | 210 struct ata_queued_cmd *qc; 222 static void pdc20621_qc_prep(struct ata_queued_cmd *qc); 238 static unsigned int pdc20621_qc_issue(struct ata_queued_cmd *qc); 241 static void pdc_post_internal_cmd(struct ata_queued_cmd *qc); 242 static int pdc_check_atapi_dma(struct ata_queued_cmd *qc); 456 static void pdc20621_dma_prep(struct ata_queued_cmd *qc) in pdc20621_dma_prep() 517 static void pdc20621_nodata_prep(struct ata_queued_cmd *qc) in pdc20621_nodata_prep() 552 static void pdc20621_qc_prep(struct ata_queued_cmd *qc) in pdc20621_qc_prep() 566 static void __pdc20621_push_hdma(struct ata_queued_cmd *qc, in __pdc20621_push_hdma() 584 static void pdc20621_push_hdma(struct ata_queued_cmd *qc, in pdc20621_push_hdma() [all …]
|
D | pata_pxa.c | 61 static void pxa_load_dmac(struct scatterlist *sg, struct ata_queued_cmd *qc) in pxa_load_dmac() 106 static void pxa_qc_prep(struct ata_queued_cmd *qc) in pxa_qc_prep() 137 static void pxa_bmdma_setup(struct ata_queued_cmd *qc) in pxa_bmdma_setup() 145 static void pxa_bmdma_start(struct ata_queued_cmd *qc) in pxa_bmdma_start() 155 static void pxa_bmdma_stop(struct ata_queued_cmd *qc) in pxa_bmdma_stop() 192 static int pxa_check_atapi_dma(struct ata_queued_cmd *qc) in pxa_check_atapi_dma()
|
D | pdc_adma.c | 136 static void adma_qc_prep(struct ata_queued_cmd *qc); 137 static unsigned int adma_qc_issue(struct ata_queued_cmd *qc); 138 static int adma_check_atapi_dma(struct ata_queued_cmd *qc); 189 static int adma_check_atapi_dma(struct ata_queued_cmd *qc) in adma_check_atapi_dma() 273 static int adma_fill_sg(struct ata_queued_cmd *qc) in adma_fill_sg() 315 static void adma_qc_prep(struct ata_queued_cmd *qc) in adma_qc_prep() 393 static inline void adma_packet_start(struct ata_queued_cmd *qc) in adma_packet_start() 404 static unsigned int adma_qc_issue(struct ata_queued_cmd *qc) in adma_qc_issue() 433 struct ata_queued_cmd *qc; in adma_intr_pkt() 483 struct ata_queued_cmd *qc; in adma_intr_mmio()
|
D | sata_sil.c | 123 static void sil_qc_prep(struct ata_queued_cmd *qc); 124 static void sil_bmdma_setup(struct ata_queued_cmd *qc); 125 static void sil_bmdma_start(struct ata_queued_cmd *qc); 126 static void sil_bmdma_stop(struct ata_queued_cmd *qc); 268 static void sil_bmdma_stop(struct ata_queued_cmd *qc) in sil_bmdma_stop() 281 static void sil_bmdma_setup(struct ata_queued_cmd *qc) in sil_bmdma_setup() 293 static void sil_bmdma_start(struct ata_queued_cmd *qc) in sil_bmdma_start() 310 static void sil_fill_sg(struct ata_queued_cmd *qc) in sil_fill_sg() 337 static void sil_qc_prep(struct ata_queued_cmd *qc) in sil_qc_prep() 438 struct ata_queued_cmd *qc = ata_qc_from_tag(ap, ap->link.active_tag); in sil_host_intr()
|
D | libata-sff.c | 698 static void ata_pio_sector(struct ata_queued_cmd *qc) in ata_pio_sector() 759 static void ata_pio_sectors(struct ata_queued_cmd *qc) in ata_pio_sectors() 788 static void atapi_send_cdb(struct ata_port *ap, struct ata_queued_cmd *qc) in atapi_send_cdb() 828 static int __atapi_pio_bytes(struct ata_queued_cmd *qc, unsigned int bytes) in __atapi_pio_bytes() 911 static void atapi_pio_bytes(struct ata_queued_cmd *qc) in atapi_pio_bytes() 968 struct ata_queued_cmd *qc) in ata_hsm_ok_in_wq() 997 static void ata_hsm_qc_complete(struct ata_queued_cmd *qc, int in_wq) in ata_hsm_qc_complete() 1046 int ata_sff_hsm_move(struct ata_port *ap, struct ata_queued_cmd *qc, in ata_sff_hsm_move() 1348 struct ata_queued_cmd *qc; in ata_sff_pio_task() 1408 unsigned int ata_sff_qc_issue(struct ata_queued_cmd *qc) in ata_sff_qc_issue() [all …]
|
D | sata_promise.c | 159 static void pdc_qc_prep(struct ata_queued_cmd *qc); 162 static int pdc_check_atapi_dma(struct ata_queued_cmd *qc); 163 static int pdc_old_sata_check_atapi_dma(struct ata_queued_cmd *qc); 165 static unsigned int pdc_qc_issue(struct ata_queued_cmd *qc); 175 static void pdc_post_internal_cmd(struct ata_queued_cmd *qc); 502 static void pdc_atapi_pkt(struct ata_queued_cmd *qc) in pdc_atapi_pkt() 590 static void pdc_fill_sg(struct ata_queued_cmd *qc) in pdc_fill_sg() 653 static void pdc_qc_prep(struct ata_queued_cmd *qc) in pdc_qc_prep() 849 static void pdc_post_internal_cmd(struct ata_queued_cmd *qc) in pdc_post_internal_cmd() 858 static void pdc_error_intr(struct ata_port *ap, struct ata_queued_cmd *qc, in pdc_error_intr() [all …]
|
D | pata_ns87415.c | 121 static void ns87415_bmdma_setup(struct ata_queued_cmd *qc) in ns87415_bmdma_setup() 155 static void ns87415_bmdma_start(struct ata_queued_cmd *qc) in ns87415_bmdma_start() 168 static void ns87415_bmdma_stop(struct ata_queued_cmd *qc) in ns87415_bmdma_stop() 200 static int ns87415_check_atapi_dma(struct ata_queued_cmd *qc) in ns87415_check_atapi_dma()
|
D | sata_nv.c | 316 static int nv_adma_check_atapi_dma(struct ata_queued_cmd *qc); 317 static void nv_adma_qc_prep(struct ata_queued_cmd *qc); 318 static unsigned int nv_adma_qc_issue(struct ata_queued_cmd *qc); 331 static void nv_adma_post_internal_cmd(struct ata_queued_cmd *qc); 339 static void nv_swncq_qc_prep(struct ata_queued_cmd *qc); 340 static void nv_swncq_fill_sg(struct ata_queued_cmd *qc); 341 static unsigned int nv_swncq_qc_issue(struct ata_queued_cmd *qc); 784 static int nv_adma_check_atapi_dma(struct ata_queued_cmd *qc) in nv_adma_check_atapi_dma() 883 struct ata_queued_cmd *qc = ata_qc_from_tag(ap, ap->link.active_tag); in nv_host_intr() 1114 static void nv_adma_post_internal_cmd(struct ata_queued_cmd *qc) in nv_adma_post_internal_cmd() [all …]
|
D | acard-ahci.c | 76 static void acard_ahci_qc_prep(struct ata_queued_cmd *qc); 77 static bool acard_ahci_qc_fill_rtf(struct ata_queued_cmd *qc); 230 static unsigned int acard_ahci_fill_sg(struct ata_queued_cmd *qc, void *cmd_tbl) in acard_ahci_fill_sg() 261 static void acard_ahci_qc_prep(struct ata_queued_cmd *qc) in acard_ahci_qc_prep() 301 static bool acard_ahci_qc_fill_rtf(struct ata_queued_cmd *qc) in acard_ahci_qc_fill_rtf()
|
D | sata_sil24.c | 338 static int sil24_qc_defer(struct ata_queued_cmd *qc); 339 static void sil24_qc_prep(struct ata_queued_cmd *qc); 340 static unsigned int sil24_qc_issue(struct ata_queued_cmd *qc); 341 static bool sil24_qc_fill_rtf(struct ata_queued_cmd *qc); 353 static void sil24_post_internal_cmd(struct ata_queued_cmd *qc); 780 static inline void sil24_fill_sg(struct ata_queued_cmd *qc, in sil24_fill_sg() 799 static int sil24_qc_defer(struct ata_queued_cmd *qc) in sil24_qc_defer() 844 static void sil24_qc_prep(struct ata_queued_cmd *qc) in sil24_qc_prep() 890 static unsigned int sil24_qc_issue(struct ata_queued_cmd *qc) in sil24_qc_issue() 913 static bool sil24_qc_fill_rtf(struct ata_queued_cmd *qc) in sil24_qc_fill_rtf() [all …]
|
D | pata_sl82c105.c | 161 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()
|
D | pata_triflex.c | 155 static void triflex_bmdma_start(struct ata_queued_cmd *qc) in triflex_bmdma_start() 171 static void triflex_bmdma_stop(struct ata_queued_cmd *qc) in triflex_bmdma_stop()
|
D | sata_dwc_460ex.c | 326 static void sata_dwc_bmdma_start_by_tag(struct ata_queued_cmd *qc, u8 tag); 327 static int sata_dwc_qc_complete(struct ata_port *ap, struct ata_queued_cmd *qc, 879 struct ata_queued_cmd *qc; in sata_dwc_error_intr() 932 struct ata_queued_cmd *qc; in sata_dwc_isr() 1172 struct ata_queued_cmd *qc; in sata_dwc_dma_xfer_complete() 1209 static int sata_dwc_qc_complete(struct ata_port *ap, struct ata_queued_cmd *qc, in sata_dwc_qc_complete() 1413 static void sata_dwc_bmdma_setup_by_tag(struct ata_queued_cmd *qc, u8 tag) in sata_dwc_bmdma_setup_by_tag() 1419 static void sata_dwc_bmdma_setup(struct ata_queued_cmd *qc) in sata_dwc_bmdma_setup() 1432 static void sata_dwc_bmdma_start_by_tag(struct ata_queued_cmd *qc, u8 tag) in sata_dwc_bmdma_start_by_tag() 1479 static void sata_dwc_bmdma_start(struct ata_queued_cmd *qc) in sata_dwc_bmdma_start() [all …]
|
D | sata_inic162x.c | 381 struct ata_queued_cmd *qc = ata_qc_from_tag(ap, ap->link.active_tag); in inic_host_intr() 441 static int inic_check_atapi_dma(struct ata_queued_cmd *qc) in inic_check_atapi_dma() 454 static void inic_fill_sg(struct inic_prd *prd, struct ata_queued_cmd *qc) in inic_fill_sg() 477 static void inic_qc_prep(struct ata_queued_cmd *qc) in inic_qc_prep() 539 static unsigned int inic_qc_issue(struct ata_queued_cmd *qc) in inic_qc_issue() 565 static bool inic_qc_fill_rtf(struct ata_queued_cmd *qc) in inic_qc_fill_rtf() 668 static void inic_post_internal_cmd(struct ata_queued_cmd *qc) in inic_post_internal_cmd()
|
D | pata_pdc202xx_old.c | 177 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()
|
D | pata_sc1200.c | 166 static unsigned int sc1200_qc_issue(struct ata_queued_cmd *qc) in sc1200_qc_issue() 191 static int sc1200_qc_defer(struct ata_queued_cmd *qc) in sc1200_qc_defer()
|
D | pata_octeon_cf.c | 501 static void octeon_cf_dma_setup(struct ata_queued_cmd *qc) in octeon_cf_dma_setup() 520 static void octeon_cf_dma_start(struct ata_queued_cmd *qc) in octeon_cf_dma_start() 583 struct ata_queued_cmd *qc) in octeon_cf_dma_finished() 649 struct ata_queued_cmd *qc; in octeon_cf_interrupt() 712 struct ata_queued_cmd *qc; in octeon_cf_delayed_finish() 753 static int octeon_cf_check_atapi_dma(struct ata_queued_cmd *qc) in octeon_cf_check_atapi_dma() 758 static unsigned int octeon_cf_qc_issue(struct ata_queued_cmd *qc) in octeon_cf_qc_issue()
|
D | sata_mv.c | 585 static int mv_qc_defer(struct ata_queued_cmd *qc); 586 static void mv_qc_prep(struct ata_queued_cmd *qc); 587 static void mv_qc_prep_iie(struct ata_queued_cmd *qc); 588 static unsigned int mv_qc_issue(struct ata_queued_cmd *qc); 641 static int mv_check_atapi_dma(struct ata_queued_cmd *qc); 642 static void mv_bmdma_setup(struct ata_queued_cmd *qc); 643 static void mv_bmdma_start(struct ata_queued_cmd *qc); 644 static void mv_bmdma_stop(struct ata_queued_cmd *qc); 1391 static int mv_qc_defer(struct ata_queued_cmd *qc) in mv_qc_defer() 1756 static void mv_fill_sg(struct ata_queued_cmd *qc) in mv_fill_sg() [all …]
|
D | libata-scsi.c | 62 typedef unsigned int (*ata_xlat_func_t)(struct ata_queued_cmd *qc); 739 static struct ata_queued_cmd *ata_scsi_qc_new(struct ata_device *dev, in ata_scsi_qc_new() 742 struct ata_queued_cmd *qc; in ata_scsi_qc_new() 759 static void ata_qc_set_pc_nbytes(struct ata_queued_cmd *qc) in ata_qc_set_pc_nbytes() 941 static void ata_gen_passthru_sense(struct ata_queued_cmd *qc) in ata_gen_passthru_sense() 1010 static void ata_gen_ata_sense(struct ata_queued_cmd *qc) in ata_gen_ata_sense() 1307 static unsigned int ata_scsi_start_stop_xlat(struct ata_queued_cmd *qc) in ata_scsi_start_stop_xlat() 1392 static unsigned int ata_scsi_flush_xlat(struct ata_queued_cmd *qc) in ata_scsi_flush_xlat() 1513 static unsigned int ata_scsi_verify_xlat(struct ata_queued_cmd *qc) in ata_scsi_verify_xlat() 1641 static unsigned int ata_scsi_rw_xlat(struct ata_queued_cmd *qc) in ata_scsi_rw_xlat() [all …]
|
D | pata_it821x.c | 346 static void it821x_passthru_bmdma_start(struct ata_queued_cmd *qc) in it821x_passthru_bmdma_start() 369 static void it821x_passthru_bmdma_stop(struct ata_queued_cmd *qc) in it821x_passthru_bmdma_stop() 411 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() 576 static int it821x_check_atapi_dma(struct ata_queued_cmd *qc) in it821x_check_atapi_dma()
|
D | pata_hpt3x2n.c | 246 static void hpt3x2n_bmdma_stop(struct ata_queued_cmd *qc) in hpt3x2n_bmdma_stop() 312 static int hpt3x2n_qc_defer(struct ata_queued_cmd *qc) in hpt3x2n_qc_defer() 329 static unsigned int hpt3x2n_qc_issue(struct ata_queued_cmd *qc) in hpt3x2n_qc_issue()
|
D | pata_hpt3x3.c | 117 static void hpt3x3_bmdma_setup(struct ata_queued_cmd *qc) in hpt3x3_bmdma_setup() 133 static int hpt3x3_atapi_dma(struct ata_queued_cmd *qc) in hpt3x3_atapi_dma()
|