Lines Matching refs:chan_state
134 unsigned long chan_state; member
532 &lp->chan_state); in ldc_abort()
550 &lp->chan_state); in ldc_abort()
798 orig_state = lp->chan_state; in ldc_rx()
806 &lp->chan_state); in ldc_rx()
809 orig_state, lp->chan_state, lp->rx_head, lp->rx_tail); in ldc_rx()
814 lp->chan_state == LDC_CHANNEL_UP) { in ldc_rx()
820 orig_state = lp->chan_state; in ldc_rx()
837 if (lp->chan_state != orig_state) { in ldc_rx()
840 if (lp->chan_state == LDC_CHANNEL_UP) in ldc_rx()
851 if (lp->chan_state != orig_state) in ldc_rx()
916 orig_state = lp->chan_state; in ldc_tx()
924 &lp->chan_state); in ldc_tx()
927 orig_state, lp->chan_state, lp->tx_head, lp->tx_tail); in ldc_tx()
930 lp->chan_state == LDC_CHANNEL_UP) { in ldc_tx()
1297 &lp->chan_state); in ldc_bind()
1446 &lp->chan_state); in read_raw()
1450 if (lp->chan_state == LDC_CHANNEL_DOWN || in read_raw()
1451 lp->chan_state == LDC_CHANNEL_RESETTING) in read_raw()
1486 &lp->chan_state); in write_nonraw()
1490 if (unlikely(lp->chan_state != LDC_CHANNEL_UP)) in write_nonraw()
1590 &lp->chan_state); in rx_data_wait()
1594 if (lp->chan_state == LDC_CHANNEL_DOWN || in rx_data_wait()
1595 lp->chan_state == LDC_CHANNEL_RESETTING) in rx_data_wait()
1601 dummy, lp->rx_tail, lp->chan_state); in rx_data_wait()
1652 &lp->chan_state); in read_nonraw()
1656 if (lp->chan_state == LDC_CHANNEL_DOWN || in read_nonraw()
1657 lp->chan_state == LDC_CHANNEL_RESETTING) in read_nonraw()