Lines Matching refs:ch_flags
391 if (chp->ch_flags & ATACH_SHUTDOWN) in wdc_drvprobe()
408 if (chp->ch_flags & ATACH_SHUTDOWN) in wdc_drvprobe()
897 if ((chp->ch_flags & ATACH_IRQ_WAIT) == 0) in wdcintr()
925 if (chp->ch_flags & ATACH_DMA_WAIT) { in wdcintr()
933 chp->ch_flags &= ~ATACH_DMA_WAIT; in wdcintr()
936 chp->ch_flags &= ~ATACH_IRQ_WAIT; in wdcintr()
940 chp->ch_flags |= ATACH_IRQ_WAIT; in wdcintr()
972 chp->ch_flags &= ~ATACH_IRQ_WAIT; in wdc_reset_channel()
1013 if (chp->ch_flags & ATACH_DMA_WAIT) { in wdc_reset_channel()
1017 chp->ch_flags &= ~ATACH_DMA_WAIT; in wdc_reset_channel()
1354 if ((chp->ch_flags & ATACH_IRQ_WAIT) == 0) { in wdctimeout()
1372 if (chp->ch_flags & ATACH_DMA_WAIT) { in wdctimeout()
1376 chp->ch_flags &= ~ATACH_DMA_WAIT; in wdctimeout()
1385 chp->ch_flags &= ~ATACH_IRQ_WAIT; in wdctimeout()
1476 chp->ch_flags |= ATACH_IRQ_WAIT; /* wait for interrupt */ in __wdccommand_start()
1600 chp->ch_flags |= ATACH_IRQ_WAIT; /* wait for interrupt */ in __wdccommand_intr()