Lines Matching defs:ISOTP_IDLE
129 ISOTP_IDLE = 0,
206 so->rx.state = ISOTP_IDLE;
379 so->tx.state = ISOTP_IDLE;
436 so->tx.state = ISOTP_IDLE;
449 so->rx.state = ISOTP_IDLE;
483 so->rx.state = ISOTP_IDLE;
587 so->rx.state = ISOTP_IDLE;
601 so->rx.state = ISOTP_IDLE;
672 if ((so->tx.state != ISOTP_IDLE && n_pci_type != N_PCI_FC) ||
673 (so->rx.state != ISOTP_IDLE && n_pci_type == N_PCI_FC))
869 so->tx.state = ISOTP_IDLE;
902 if (so->tx.state == ISOTP_IDLE || so->tx.state == ISOTP_SHUTDOWN)
913 so->tx.state = ISOTP_IDLE;
951 while (cmpxchg(&so->tx.state, ISOTP_IDLE, ISOTP_SENDING) != ISOTP_IDLE) {
960 err = wait_event_interruptible(so->wait, so->tx.state == ISOTP_IDLE);
1102 err = wait_event_interruptible(so->wait, so->tx.state == ISOTP_IDLE);
1115 so->tx.state = ISOTP_IDLE;
1120 so->tx.state = ISOTP_IDLE;
1183 while (wait_event_interruptible(so->wait, so->tx.state == ISOTP_IDLE) == 0 &&
1184 cmpxchg(&so->tx.state, ISOTP_IDLE, ISOTP_SHUTDOWN) != ISOTP_IDLE)
1189 so->rx.state = ISOTP_IDLE;
1627 so->rx.state = ISOTP_IDLE;
1628 so->tx.state = ISOTP_IDLE;
1661 if ((mask & EPOLLWRNORM) && (so->tx.state != ISOTP_IDLE))