Lines Matching refs:ata_queued_cmd
482 struct ata_queued_cmd;
485 typedef void (*ata_qc_cb_t) (struct ata_queued_cmd *qc);
544 struct ata_queued_cmd { struct
749 struct ata_queued_cmd qcmd[ATA_MAX_QUEUE];
807 int (*qc_defer)(struct ata_queued_cmd *qc);
808 int (*check_atapi_dma)(struct ata_queued_cmd *qc);
809 void (*qc_prep)(struct ata_queued_cmd *qc);
810 unsigned int (*qc_issue)(struct ata_queued_cmd *qc);
811 bool (*qc_fill_rtf)(struct ata_queued_cmd *qc);
837 void (*post_internal_cmd)(struct ata_queued_cmd *qc);
875 void (*sff_drain_fifo)(struct ata_queued_cmd *qc);
878 void (*bmdma_setup)(struct ata_queued_cmd *qc);
879 void (*bmdma_start)(struct ata_queued_cmd *qc);
880 void (*bmdma_stop)(struct ata_queued_cmd *qc);
1022 extern int ata_std_qc_defer(struct ata_queued_cmd *qc);
1023 extern void ata_noop_qc_prep(struct ata_queued_cmd *qc);
1024 extern void ata_sg_init(struct ata_queued_cmd *qc, struct scatterlist *sg,
1034 extern void ata_qc_complete(struct ata_queued_cmd *qc);
1146 extern void ata_eh_qc_complete(struct ata_queued_cmd *qc);
1147 extern void ata_eh_qc_retry(struct ata_queued_cmd *qc);
1421 static inline void ata_qc_set_polling(struct ata_queued_cmd *qc) in ata_qc_set_polling()
1426 static inline struct ata_queued_cmd *__ata_qc_from_tag(struct ata_port *ap, in __ata_qc_from_tag()
1434 static inline struct ata_queued_cmd *ata_qc_from_tag(struct ata_port *ap, in ata_qc_from_tag()
1437 struct ata_queued_cmd *qc = __ata_qc_from_tag(ap, tag); in ata_qc_from_tag()
1449 static inline unsigned int ata_qc_raw_nbytes(struct ata_queued_cmd *qc) in ata_qc_raw_nbytes()
1469 static inline void ata_qc_reinit(struct ata_queued_cmd *qc) in ata_qc_reinit()
1565 extern int sata_pmp_qc_defer_cmd_switch(struct ata_queued_cmd *qc);
1610 extern int ata_sff_hsm_move(struct ata_port *ap, struct ata_queued_cmd *qc,
1616 extern unsigned int ata_sff_qc_issue(struct ata_queued_cmd *qc);
1617 extern bool ata_sff_qc_fill_rtf(struct ata_queued_cmd *qc);
1619 struct ata_queued_cmd *qc);
1634 extern void ata_sff_drain_fifo(struct ata_queued_cmd *qc);
1659 extern void ata_bmdma_qc_prep(struct ata_queued_cmd *qc);
1660 extern unsigned int ata_bmdma_qc_issue(struct ata_queued_cmd *qc);
1661 extern void ata_bmdma_dumb_qc_prep(struct ata_queued_cmd *qc);
1663 struct ata_queued_cmd *qc);
1666 extern void ata_bmdma_post_internal_cmd(struct ata_queued_cmd *qc);
1668 extern void ata_bmdma_setup(struct ata_queued_cmd *qc);
1669 extern void ata_bmdma_start(struct ata_queued_cmd *qc);
1670 extern void ata_bmdma_stop(struct ata_queued_cmd *qc);