Searched refs:ap_flags (Results 1 – 8 of 8) sorted by relevance
693 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 …]
168 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 …]
1257 if (ata_pktp->ap_flags & AP_ERROR) in ata_disk_do_ioctl()1347 ASSERT(!(ata_pktp->ap_flags & AP_FREE)); in ata_disk_pktfree()1348 ata_pktp->ap_flags = AP_FREE; in ata_disk_pktfree()1490 ata_pktp->ap_flags = 0; in ata_disk_iosetup()1499 if (ata_pktp->ap_flags & AP_ERROR) { in ata_disk_iosetup()1511 ata_pktp->ap_flags = 0; in ata_disk_iosetup()1524 if (ata_pktp->ap_flags & (AP_READ | AP_WRITE)) { in ata_disk_iosetup()1548 ata_pktp->ap_flags = 0; in ata_disk_iosetup()1600 ata_pktp->ap_flags |= AP_READ; in ata_disk_iosetup()1613 ata_pktp->ap_flags |= AP_WRITE; in ata_disk_iosetup()[all …]
930 ata_pktp->ap_flags |= AP_ABORT; in ata_timeout_func()938 ata_pktp->ap_flags |= AP_TIMEOUT; in ata_timeout_func()2499 ata_pktp->ap_flags |= AP_DEV_RESET | AP_BUS_RESET; in ata_ctlr_fsm()2557 if (arq_pktp->ap_flags & (AP_ERROR | AP_BUS_RESET)) in ata_ctlr_fsm()2558 ata_pktp->ap_flags |= AP_ARQ_ERROR; in ata_ctlr_fsm()2560 ata_pktp->ap_flags |= AP_ARQ_OKAY; in ata_ctlr_fsm()2570 if ((ata_pktp->ap_flags & AP_ARQ_NEEDED) == AP_ARQ_NEEDED && in ata_ctlr_fsm()2652 arq_pktp->ap_flags = AP_ATAPI | AP_READ; in ata_start_arq()2970 ata_pktp->ap_flags |= AP_ERROR | AP_TRAN_ERROR; in ata_get_status_clear_intr()3266 if (ata_pktp->ap_flags & AP_ERROR) in ata_queue_cmd()
102 P->ap_gcmdp, P->ap_flags, P->ap_v_addr, P->ap_pciide_dma); in dump_ata_pkt()
581 uint_t ap_flags; /* packet flags */ member
76 #define ATAPIPKT(X) ((X)->ap_flags & AP_ATAPI)
229 au_asflgs_t ap_flags; /* Audit session flags. */ member