Home
last modified time | relevance | path

Searched refs:ata_queued_cmd (Results 1 – 25 of 60) sorted by relevance

123

/linux-2.6.39/include/linux/
Dlibata.h482 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);
[all …]
/linux-2.6.39/drivers/ata/
Dlibata.h65 extern struct ata_queued_cmd *ata_qc_new_init(struct ata_device *dev);
91 extern void ata_sg_clean(struct ata_queued_cmd *qc);
92 extern void ata_qc_free(struct ata_queued_cmd *qc);
93 extern void ata_qc_issue(struct ata_queued_cmd *qc);
94 extern void __ata_qc_complete(struct ata_queued_cmd *qc);
95 extern int atapi_check_dma(struct ata_queued_cmd *qc);
155 extern void ata_qc_schedule_eh(struct ata_queued_cmd *qc);
Dsata_qstor.c120 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 …]
Dsata_sx4.c210 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 …]
Dsata_sil.c123 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);
267 static void sil_bmdma_stop(struct ata_queued_cmd *qc) in sil_bmdma_stop()
280 static void sil_bmdma_setup(struct ata_queued_cmd *qc) in sil_bmdma_setup()
292 static void sil_bmdma_start(struct ata_queued_cmd *qc) in sil_bmdma_start()
309 static void sil_fill_sg(struct ata_queued_cmd *qc) in sil_fill_sg()
336 static void sil_qc_prep(struct ata_queued_cmd *qc) in sil_qc_prep()
437 struct ata_queued_cmd *qc = ata_qc_from_tag(ap, ap->link.active_tag); in sil_host_intr()
Dpdc_adma.c136 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()
Dlibata-sff.c697 static void ata_pio_sector(struct ata_queued_cmd *qc) in ata_pio_sector()
758 static void ata_pio_sectors(struct ata_queued_cmd *qc) in ata_pio_sectors()
787 static void atapi_send_cdb(struct ata_port *ap, struct ata_queued_cmd *qc) in atapi_send_cdb()
827 static int __atapi_pio_bytes(struct ata_queued_cmd *qc, unsigned int bytes) in __atapi_pio_bytes()
910 static void atapi_pio_bytes(struct ata_queued_cmd *qc) in atapi_pio_bytes()
967 struct ata_queued_cmd *qc) in ata_hsm_ok_in_wq()
996 static void ata_hsm_qc_complete(struct ata_queued_cmd *qc, int in_wq) in ata_hsm_qc_complete()
1045 int ata_sff_hsm_move(struct ata_port *ap, struct ata_queued_cmd *qc, in ata_sff_hsm_move()
1346 struct ata_queued_cmd *qc; in ata_sff_pio_task()
1406 unsigned int ata_sff_qc_issue(struct ata_queued_cmd *qc) in ata_sff_qc_issue()
[all …]
Dpata_pxa.c61 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()
Dsata_promise.c155 static void pdc_qc_prep(struct ata_queued_cmd *qc);
158 static int pdc_check_atapi_dma(struct ata_queued_cmd *qc);
159 static int pdc_old_sata_check_atapi_dma(struct ata_queued_cmd *qc);
161 static unsigned int pdc_qc_issue(struct ata_queued_cmd *qc);
171 static void pdc_post_internal_cmd(struct ata_queued_cmd *qc);
498 static void pdc_atapi_pkt(struct ata_queued_cmd *qc) in pdc_atapi_pkt()
586 static void pdc_fill_sg(struct ata_queued_cmd *qc) in pdc_fill_sg()
649 static void pdc_qc_prep(struct ata_queued_cmd *qc) in pdc_qc_prep()
844 static void pdc_post_internal_cmd(struct ata_queued_cmd *qc) in pdc_post_internal_cmd()
853 static void pdc_error_intr(struct ata_port *ap, struct ata_queued_cmd *qc, in pdc_error_intr()
[all …]
Dpata_ns87415.c121 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()
Dsata_nv.c316 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);
785 static int nv_adma_check_atapi_dma(struct ata_queued_cmd *qc) in nv_adma_check_atapi_dma()
884 struct ata_queued_cmd *qc = ata_qc_from_tag(ap, ap->link.active_tag); in nv_host_intr()
1115 static void nv_adma_post_internal_cmd(struct ata_queued_cmd *qc) in nv_adma_post_internal_cmd()
[all …]
Dacard-ahci.c76 static void acard_ahci_qc_prep(struct ata_queued_cmd *qc);
77 static bool acard_ahci_qc_fill_rtf(struct ata_queued_cmd *qc);
231 static unsigned int acard_ahci_fill_sg(struct ata_queued_cmd *qc, void *cmd_tbl) in acard_ahci_fill_sg()
262 static void acard_ahci_qc_prep(struct ata_queued_cmd *qc) in acard_ahci_qc_prep()
302 static bool acard_ahci_qc_fill_rtf(struct ata_queued_cmd *qc) in acard_ahci_qc_fill_rtf()
Dsata_sil24.c338 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 …]
Dpata_sl82c105.c160 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()
Dpata_triflex.c155 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()
Dsata_dwc_460ex.c326 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,
875 struct ata_queued_cmd *qc; in sata_dwc_error_intr()
928 struct ata_queued_cmd *qc; in sata_dwc_isr()
1168 struct ata_queued_cmd *qc; in sata_dwc_dma_xfer_complete()
1205 static int sata_dwc_qc_complete(struct ata_port *ap, struct ata_queued_cmd *qc, in sata_dwc_qc_complete()
1411 static void sata_dwc_bmdma_setup_by_tag(struct ata_queued_cmd *qc, u8 tag) in sata_dwc_bmdma_setup_by_tag()
1417 static void sata_dwc_bmdma_setup(struct ata_queued_cmd *qc) in sata_dwc_bmdma_setup()
1430 static void sata_dwc_bmdma_start_by_tag(struct ata_queued_cmd *qc, u8 tag) in sata_dwc_bmdma_start_by_tag()
1477 static void sata_dwc_bmdma_start(struct ata_queued_cmd *qc) in sata_dwc_bmdma_start()
[all …]
Dsata_inic162x.c369 struct ata_queued_cmd *qc = ata_qc_from_tag(ap, ap->link.active_tag); in inic_host_intr()
430 static int inic_check_atapi_dma(struct ata_queued_cmd *qc) in inic_check_atapi_dma()
443 static void inic_fill_sg(struct inic_prd *prd, struct ata_queued_cmd *qc) in inic_fill_sg()
466 static void inic_qc_prep(struct ata_queued_cmd *qc) in inic_qc_prep()
528 static unsigned int inic_qc_issue(struct ata_queued_cmd *qc) in inic_qc_issue()
554 static bool inic_qc_fill_rtf(struct ata_queued_cmd *qc) in inic_qc_fill_rtf()
655 static void inic_post_internal_cmd(struct ata_queued_cmd *qc) in inic_post_internal_cmd()
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_sc1200.c162 static unsigned int sc1200_qc_issue(struct ata_queued_cmd *qc) in sc1200_qc_issue()
187 static int sc1200_qc_defer(struct ata_queued_cmd *qc) in sc1200_qc_defer()
Dpata_octeon_cf.c501 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()
Dlibata-scsi.c61 typedef unsigned int (*ata_xlat_func_t)(struct ata_queued_cmd *qc);
736 static struct ata_queued_cmd *ata_scsi_qc_new(struct ata_device *dev, in ata_scsi_qc_new()
739 struct ata_queued_cmd *qc; in ata_scsi_qc_new()
756 static void ata_qc_set_pc_nbytes(struct ata_queued_cmd *qc) in ata_qc_set_pc_nbytes()
938 static void ata_gen_passthru_sense(struct ata_queued_cmd *qc) in ata_gen_passthru_sense()
1007 static void ata_gen_ata_sense(struct ata_queued_cmd *qc) in ata_gen_ata_sense()
1286 static unsigned int ata_scsi_start_stop_xlat(struct ata_queued_cmd *qc) in ata_scsi_start_stop_xlat()
1371 static unsigned int ata_scsi_flush_xlat(struct ata_queued_cmd *qc) in ata_scsi_flush_xlat()
1492 static unsigned int ata_scsi_verify_xlat(struct ata_queued_cmd *qc) in ata_scsi_verify_xlat()
1620 static unsigned int ata_scsi_rw_xlat(struct ata_queued_cmd *qc) in ata_scsi_rw_xlat()
[all …]
Dpata_it821x.c346 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()
Dsata_mv.c585 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 …]
Dpata_hpt3x2n.c246 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()
Dpata_hpt3x3.c117 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()

123