Lines Matching defs:flag
93 /* hdr_len block flag valid_response */
352 fwohci_ioctl (struct cdev *dev, u_long cmd, caddr_t data, int flag, fw_proc *td)
561 sc->arrq.xferq.flag &= ~FWXFERQ_RUNNING;
562 sc->arrs.xferq.flag &= ~FWXFERQ_RUNNING;
900 xfer->flag = FWXF_START;
1024 if (dbch->xferq.flag & FWXFERQ_RUNNING) {
1032 dbch->xferq.flag |= FWXFERQ_RUNNING;
1139 if (xfer->flag & FWXF_RCVD) {
1147 xfer->flag = FWXF_SENT;
1149 xfer->flag = FWXF_BUSY;
1155 xfer->flag = FWXF_SENTERR;
1205 if ((dbch->xferq.flag & FWXFERQ_EXTBUF) == 0 &&
1276 if (dbch->xferq.flag & FWXFERQ_EXTBUF) {
1308 sc->it[dmach].xferq.flag &= ~FWXFERQ_RUNNING;
1323 sc->ir[dmach].xferq.flag &= ~FWXFERQ_RUNNING;
1345 if (!(dbch->xferq.flag & FWXFERQ_EXTBUF)) {
1360 if (dbch->xferq.flag & FWXFERQ_RUNNING)
1362 dbch->xferq.flag |= FWXFERQ_RUNNING;
1377 if (dbch->xferq.flag & FWXFERQ_EXTBUF) {
1421 if (dbch->xferq.flag & FWXFERQ_STREAM) {
1422 if (dbch->xferq.flag & FWXFERQ_RUNNING)
1425 if (dbch->xferq.flag & FWXFERQ_RUNNING) {
1430 dbch->xferq.flag |= FWXFERQ_RUNNING;
1444 if (dbch->xferq.flag & FWXFERQ_EXTBUF) {
1461 if (dbch->xferq.flag & FWXFERQ_STREAM) {
1516 tag = (it->flag >> 6) & 3;
1517 ich = it->flag & 0x3f;
1637 if ((ir->flag & FWXFERQ_RUNNING) == 0) {
1638 tag = (ir->flag >> 6) & 3;
1639 ich = ir->flag & 0x3f;
1661 if ((ir->flag & FWXFERQ_HANDLER) == 0)
1690 if ((ir->flag & FWXFERQ_HANDLER) == 0)
1768 if ((ir->flag & FWXFERQ_RUNNING) != 0) {
1771 ir->flag &= ~FWXFERQ_RUNNING;
1836 sc->atrq.xferq.flag &= ~FWXFERQ_RUNNING;
1838 sc->atrs.xferq.flag &= ~FWXFERQ_RUNNING;
1932 if ((dbch->xferq.flag & FWXFERQ_OPEN) == 0) {
2200 if ((ir->flag & FWXFERQ_HANDLER) == 0)
2236 if ((ir->flag & FWXFERQ_HANDLER) == 0)
2241 if (ir->flag & FWXFERQ_HANDLER)
2502 chtag = sc->it[dmach].xferq.flag & 0xff;
2599 if (ir->buf == NULL && (dbch->xferq.flag & FWXFERQ_EXTBUF) == 0) {
2627 if (ir->flag & FWXFERQ_STREAM) {
2633 if (ir->flag & FWXFERQ_STREAM) {
2697 if ((info->flag & FWTI_BLOCK_ASY) != 0)