Home
last modified time | relevance | path

Searched refs:ata_drvp (Results 1 – 8 of 8) 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,
63 static int ata_disk_intr(ata_ctl_t *ata_ctlp, ata_drv_t *ata_drvp,
65 static int ata_disk_intr_dma(ata_ctl_t *ata_ctlp, ata_drv_t *ata_drvp,
67 static int ata_disk_intr_pio_in(ata_ctl_t *ata_ctlp, ata_drv_t *ata_drvp,
69 static int ata_disk_intr_pio_out(ata_ctl_t *ata_ctlp, ata_drv_t *ata_drvp,
71 static int ata_disk_start(ata_ctl_t *ata_ctlp, ata_drv_t *ata_drvp,
73 static int ata_disk_start_dma_in(ata_ctl_t *ata_ctlp, ata_drv_t *ata_drvp,
75 static int ata_disk_start_dma_out(ata_ctl_t *ata_ctlp, ata_drv_t *ata_drvp,
77 static int ata_disk_start_pio_in(ata_ctl_t *ata_ctlp, ata_drv_t *ata_drvp,
79 static int ata_disk_start_pio_out(ata_ctl_t *ata_ctlp, ata_drv_t *ata_drvp,
[all …]
H A Data_common.c70 ata_drv_t *ata_drvp, ata_pkt_t *ata_pktp,
80 static int ata_init_drive_pcidma(ata_ctl_t *ata_ctlp, ata_drv_t *ata_drvp,
82 static int ata_flush_cache(ata_ctl_t *ata_ctlp, ata_drv_t *ata_drvp);
90 static int ata_start_arq(ata_ctl_t *ata_ctlp, ata_drv_t *ata_drvp,
93 static void ata_uninit_drive(ata_drv_t *ata_drvp);
96 static int ata_check_revert_to_defaults(ata_drv_t *ata_drvp);
106 static void ata_disable_DMA(ata_drv_t *ata_drvp);
107 static int ata_check_dma_mode(ata_drv_t *ata_drvp);
226 ata_drv_t *ata_drvp; in ata_devo_reset() local
246 if ((ata_drvp = CTL2DRV(ata_ctlp, i, 0)) == 0) in ata_devo_reset()
[all …]
H A Datapi_fsm.c39 static int atapi_start_cmd(ata_ctl_t *ata_ctlp, ata_drv_t *ata_drvp,
42 static void atapi_start_dma(ata_ctl_t *ata_ctlp, ata_drv_t *ata_drvp,
148 ata_drv_t *ata_drvp, in atapi_start_cmd() argument
231 if (!(ata_drvp->ad_flags & AD_NO_CDB_INTR)) { in atapi_start_cmd()
334 ata_drv_t *ata_drvp, in atapi_start_dma() argument
560 ata_drv_t *ata_drvp) in atapi_device_reset() argument
566 ddi_put8(io_hdl1, ata_ctlp->ac_drvhd, ata_drvp->ad_drive_bits); in atapi_device_reset()
579 ddi_put8(io_hdl1, ata_ctlp->ac_drvhd, ata_drvp->ad_drive_bits); in atapi_device_reset()
600 ata_drv_t *ata_drvp; in atapi_fsm_reset() local
607 ata_drvp = CTL2DRV(ata_ctlp, drive, 0); in atapi_fsm_reset()
[all …]
H A Datapi.c59 static void atapi_complete(ata_drv_t *ata_drvp, ata_pkt_t *ata_pktp,
61 static int atapi_id_update(ata_ctl_t *ata_ctlp, ata_drv_t *ata_drvp,
179 ata_drv_t *ata_drvp) in atapi_init_drive() argument
181 ata_ctl_t *ata_ctlp = ata_drvp->ad_ctlp; in atapi_init_drive()
186 (void) atapi_id_update(ata_ctlp, ata_drvp, NULL); in atapi_init_drive()
188 switch (ata_drvp->ad_id.ai_config & ATAPI_ID_CFG_PKT_SZ) { in atapi_init_drive()
191 ata_drvp->ad_cdb_len = 12; in atapi_init_drive()
194 ata_drvp->ad_cdb_len = 16; in atapi_init_drive()
203 if ((ata_drvp->ad_id.ai_config & ATAPI_ID_CFG_DRQ_TYPE) != in atapi_init_drive()
205 ata_drvp->ad_flags |= AD_NO_CDB_INTR; in atapi_init_drive()
[all …]
H A Datapi.h108 int atapi_init_drive(ata_drv_t *ata_drvp);
109 void atapi_uninit_drive(ata_drv_t *ata_drvp);
120 int atapi_fsm_intr(ata_ctl_t *ata_ctlp, ata_drv_t *ata_drvp,
122 int atapi_fsm_start(ata_ctl_t *ata_ctlp, ata_drv_t *ata_drvp,
H A Data_common.h611 int (*ap_start)(ata_ctl_t *ata_ctlp, ata_drv_t *ata_drvp,
613 int (*ap_intr)(ata_ctl_t *ata_ctlp, ata_drv_t *ata_drvp,
615 void (*ap_complete)(ata_drv_t *ata_drvp,
667 int ata_command(ata_ctl_t *ata_ctlp, ata_drv_t *ata_drvp, int expect_drdy,
676 int ata_prop_create(dev_info_t *tgt_dip, ata_drv_t *ata_drvp, char *name);
678 void *arg, ata_ctl_t *ata_ctlp, ata_drv_t *ata_drvp,
680 int ata_set_feature(ata_ctl_t *ata_ctlp, ata_drv_t *ata_drvp,
690 int ata_set_dma_mode(ata_ctl_t *ata_ctlp, ata_drv_t *ata_drvp);
691 void ata_reset_dma_mode(ata_drv_t *ata_drvp);
692 void atapi_reset_dma_mode(ata_drv_t *ata_drvp, int need_wait);
H A Data_disk.h92 int ata_disk_init_drive(ata_drv_t *ata_drvp);
93 void ata_disk_uninit_drive(ata_drv_t *ata_drvp);
99 int ata_disk_setup_parms(ata_ctl_t *ata_ctlp, ata_drv_t *ata_drvp);
/titanic_50/usr/src/uts/sun/sys/dada/adapters/
H A Datapi.h100 int atapi_init_drive(struct ata_drive *ata_drvp);
101 void atapi_destroy_drive(struct ata_drive *ata_drvp);
106 int atapi_reset_drive(struct ata_drive *ata_drvp);
113 void atapi_dsc_poll(struct ata_drive *ata_drvp);