Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/intel/io/dktp/controller/ata/
H A Datapi.c693 ata_pktp->ap_flags &= ~(AP_READ | AP_WRITE); in atapi_tran_init_pkt()
704 ata_pktp->ap_flags |= AP_ARQ_ON_ERROR; in atapi_tran_init_pkt()
717 ata_pktp->ap_flags |= AP_READ; in atapi_tran_init_pkt()
719 ata_pktp->ap_flags |= AP_WRITE; in atapi_tran_init_pkt()
756 ata_pktp->ap_flags |= AP_READ; in atapi_tran_init_pkt()
758 ata_pktp->ap_flags |= AP_WRITE; in atapi_tran_init_pkt()
855 ata_pktp->ap_flags = AP_ATAPI; in atapi_ccballoc()
991 ata_pktp->ap_flags &= (AP_ATAPI | AP_READ | AP_WRITE | AP_ARQ_ON_ERROR); in atapi_tran_start()
1048 if (ata_pktp->ap_flags & AP_SENT_CMD) { in atapi_complete()
1052 if (ata_pktp->ap_flags & AP_XFERRED_DATA) { in atapi_complete()
[all …]
H A Datapi_fsm.c168 ata_pktp->ap_flags |= AP_ERROR; in atapi_start_cmd()
203 ASSERT((ata_pktp->ap_flags & (AP_READ | AP_WRITE)) != 0); in atapi_start_cmd()
321 ata_pktp->ap_flags |= AP_SENT_CMD; in atapi_send_cdb()
347 if (ata_pktp->ap_flags & AP_READ) in atapi_start_dma()
385 ata_pktp->ap_flags |= AP_XFERRED_DATA; in atapi_pio_data_in()
465 ata_pktp->ap_flags |= AP_XFERRED_DATA; in atapi_pio_data_out()
531 ata_pktp->ap_flags |= AP_GOT_STATUS; in atapi_status()
534 ata_pktp->ap_flags |= AP_ERROR; in atapi_status()
537 if (ata_pktp->ap_flags & AP_ERROR) { in atapi_status()
550 if (dma_completion && !(ata_pktp->ap_flags & AP_TRAN_ERROR)) { in atapi_status()
[all …]
H A Data_disk.c1262 if (ata_pktp->ap_flags & AP_ERROR) in ata_disk_do_ioctl()
1352 ASSERT(!(ata_pktp->ap_flags & AP_FREE)); in ata_disk_pktfree()
1353 ata_pktp->ap_flags = AP_FREE; in ata_disk_pktfree()
1495 ata_pktp->ap_flags = 0; in ata_disk_iosetup()
1504 if (ata_pktp->ap_flags & AP_ERROR) { in ata_disk_iosetup()
1516 ata_pktp->ap_flags = 0; in ata_disk_iosetup()
1529 if (ata_pktp->ap_flags & (AP_READ | AP_WRITE)) { in ata_disk_iosetup()
1553 ata_pktp->ap_flags = 0; in ata_disk_iosetup()
1605 ata_pktp->ap_flags |= AP_READ; in ata_disk_iosetup()
1618 ata_pktp->ap_flags |= AP_WRITE; in ata_disk_iosetup()
[all …]
H A Data_common.c928 ata_pktp->ap_flags |= AP_ABORT; in ata_timeout_func()
936 ata_pktp->ap_flags |= AP_TIMEOUT; in ata_timeout_func()
2497 ata_pktp->ap_flags |= AP_DEV_RESET | AP_BUS_RESET; in ata_ctlr_fsm()
2555 if (arq_pktp->ap_flags & (AP_ERROR | AP_BUS_RESET)) in ata_ctlr_fsm()
2556 ata_pktp->ap_flags |= AP_ARQ_ERROR; in ata_ctlr_fsm()
2558 ata_pktp->ap_flags |= AP_ARQ_OKAY; in ata_ctlr_fsm()
2568 if ((ata_pktp->ap_flags & AP_ARQ_NEEDED) == AP_ARQ_NEEDED && in ata_ctlr_fsm()
2650 arq_pktp->ap_flags = AP_ATAPI | AP_READ; in ata_start_arq()
2968 ata_pktp->ap_flags |= AP_ERROR | AP_TRAN_ERROR; in ata_get_status_clear_intr()
3264 if (ata_pktp->ap_flags & AP_ERROR) in ata_queue_cmd()
H A Data_debug.c104 P->ap_gcmdp, P->ap_flags, P->ap_v_addr, P->ap_pciide_dma); in dump_ata_pkt()
H A Data_common.h581 uint_t ap_flags; /* packet flags */ member
/titanic_50/usr/src/uts/sun/sys/dada/adapters/
H A Datapi.h76 #define ATAPIPKT(X) ((X)->ap_flags & AP_ATAPI)