Home
last modified time | relevance | path

Searched refs:ata_pktp (Results 1 – 7 of 7) sorted by relevance

/titanic_50/usr/src/uts/intel/io/dktp/controller/ata/
H A Data_disk.c61 static void ata_disk_complete(ata_drv_t *ata_drvp, ata_pkt_t *ata_pktp,
64 ata_pkt_t *ata_pktp);
66 ata_pkt_t *ata_pktp);
68 ata_pkt_t *ata_pktp);
70 ata_pkt_t *ata_pktp);
72 ata_pkt_t *ata_pktp);
74 ata_pkt_t *ata_pktp);
76 ata_pkt_t *ata_pktp);
78 ata_pkt_t *ata_pktp);
80 ata_pkt_t *ata_pktp);
[all …]
H A Datapi_fsm.c40 ata_pkt_t *ata_pktp);
41 static void atapi_send_cdb(ata_ctl_t *ata_ctlp, ata_pkt_t *ata_pktp);
43 ata_pkt_t *ata_pktp);
44 static void atapi_pio_data_in(ata_ctl_t *ata_ctlp, ata_pkt_t *ata_pktp);
45 static void atapi_pio_data_out(ata_ctl_t *ata_ctlp, ata_pkt_t *ata_pktp);
46 static void atapi_status(ata_ctl_t *ata_ctlp, ata_pkt_t *ata_pktp,
149 ata_pkt_t *ata_pktp) in atapi_start_cmd() argument
168 ata_pktp->ap_flags |= AP_ERROR; in atapi_start_cmd()
176 ddi_put8(io_hdl1, ata_ctlp->ac_drvhd, ata_pktp->ap_hd); in atapi_start_cmd()
196 ddi_put8(io_hdl1, ata_ctlp->ac_lcyl, ata_pktp->ap_lwcyl); in atapi_start_cmd()
[all …]
H A Datapi.c59 static void atapi_complete(ata_drv_t *ata_drvp, ata_pkt_t *ata_pktp,
62 ata_pkt_t *ata_pktp);
612 ata_pkt_t *ata_pktp; in atapi_tran_init_pkt() local
684 ata_pktp = SPKT2APKT(new_spktp); in atapi_tran_init_pkt()
685 ata_pktp->ap_cdbp = new_spktp->pkt_cdbp; in atapi_tran_init_pkt()
689 ata_pktp->ap_statuslen = (uchar_t)statuslen; in atapi_tran_init_pkt()
693 ata_pktp->ap_flags &= ~(AP_READ | AP_WRITE); in atapi_tran_init_pkt()
700 ata_pktp->ap_statuslen >= sizeof (struct scsi_arq_status)) { in atapi_tran_init_pkt()
702 ata_pktp->ap_scbp = in atapi_tran_init_pkt()
704 ata_pktp->ap_flags |= AP_ARQ_ON_ERROR; in atapi_tran_init_pkt()
[all …]
H A Data_common.c70 ata_drv_t *ata_drvp, ata_pkt_t *ata_pktp,
91 ata_pkt_t *ata_pktp);
889 ata_pkt_t *ata_pktp; in ata_hba_complete() local
894 ata_pktp = GCMD2APKT(gcmdp); in ata_hba_complete()
895 if (ata_pktp->ap_complete) in ata_hba_complete()
896 (*ata_pktp->ap_complete)(ata_drvp, ata_pktp, in ata_hba_complete()
912 ata_pkt_t *ata_pktp; in ata_timeout_func() local
920 ata_pktp = GCMD2APKT(gcmdp); in ata_timeout_func()
922 ata_pktp = NULL; in ata_timeout_func()
927 if (ata_pktp != NULL) { in ata_timeout_func()
[all …]
H A Data_dma.c277 ata_pkt_t *ata_pktp = GCMD2APKT(gcmdp); in ata_pciide_dma_sg_func() local
289 dmap = ata_pktp->ap_sg_list + seg_index; in ata_pciide_dma_sg_func()
296 ata_pktp->ap_sg_cnt = seg_index + 1; in ata_pciide_dma_sg_func()
300 ata_pktp->ap_bcount = 0; in ata_pciide_dma_sg_func()
301 ata_pktp->ap_bcount += dmackp->dmac_size; in ata_pciide_dma_sg_func()
H A Datapi.h121 ata_pkt_t *ata_pktp);
123 ata_pkt_t *ata_pktp);
H A Data_common.h612 struct ata_pkt *ata_pktp);
614 struct ata_pkt *ata_pktp);
616 struct ata_pkt *ata_pktp, int do_callback);
671 int ata_get_status_clear_intr(ata_ctl_t *ata_ctlp, ata_pkt_t *ata_pktp);