Lines Matching refs:bits

77 	if (!test_bit(CFHSI_SHUTDOWN, &cfhsi->bits))  in cfhsi_inactivity_tout()
157 if (!test_bit(CFHSI_SHUTDOWN, &cfhsi->bits)) in cfhsi_abort_tx()
185 set_bit(CFHSI_FLUSH_FIFO, &cfhsi->bits); in cfhsi_flush_fifo()
189 clear_bit(CFHSI_FLUSH_FIFO, &cfhsi->bits); in cfhsi_flush_fifo()
198 !test_bit(CFHSI_FLUSH_FIFO, &cfhsi->bits), ret); in cfhsi_flush_fifo()
338 if (test_bit(CFHSI_SHUTDOWN, &cfhsi->bits)) in cfhsi_start_tx()
371 if (test_bit(CFHSI_SHUTDOWN, &cfhsi->bits)) in cfhsi_tx_done()
407 if (test_bit(CFHSI_SHUTDOWN, &cfhsi->bits)) in cfhsi_tx_done_cb()
629 if (test_bit(CFHSI_SHUTDOWN, &cfhsi->bits)) in cfhsi_rx_done()
693 if (test_bit(CFHSI_AWAKE, &cfhsi->bits)) { in cfhsi_rx_done()
762 if (test_bit(CFHSI_SHUTDOWN, &cfhsi->bits)) in cfhsi_rx_done_cb()
765 if (test_and_clear_bit(CFHSI_FLUSH_FIFO, &cfhsi->bits)) in cfhsi_rx_done_cb()
780 if (test_bit(CFHSI_SHUTDOWN, &cfhsi->bits)) in cfhsi_wake_up()
783 if (unlikely(test_bit(CFHSI_AWAKE, &cfhsi->bits))) { in cfhsi_wake_up()
786 clear_bit(CFHSI_WAKE_UP, &cfhsi->bits); in cfhsi_wake_up()
787 clear_bit(CFHSI_WAKE_UP_ACK, &cfhsi->bits); in cfhsi_wake_up()
801 &cfhsi->bits), ret); in cfhsi_wake_up()
807 clear_bit(CFHSI_WAKE_UP, &cfhsi->bits); in cfhsi_wake_up()
834 clear_bit(CFHSI_WAKE_UP_ACK, &cfhsi->bits); in cfhsi_wake_up()
840 clear_bit(CFHSI_WAKE_UP, &cfhsi->bits); in cfhsi_wake_up()
849 set_bit(CFHSI_AWAKE, &cfhsi->bits); in cfhsi_wake_up()
850 clear_bit(CFHSI_WAKE_UP, &cfhsi->bits); in cfhsi_wake_up()
860 clear_bit(CFHSI_WAKE_UP_ACK, &cfhsi->bits); in cfhsi_wake_up()
908 if (test_bit(CFHSI_SHUTDOWN, &cfhsi->bits)) in cfhsi_wake_down()
918 &cfhsi->bits), ret); in cfhsi_wake_down()
955 clear_bit(CFHSI_AWAKE, &cfhsi->bits); in cfhsi_wake_down()
980 set_bit(CFHSI_WAKE_UP_ACK, &cfhsi->bits); in cfhsi_wake_up_cb()
983 if (test_bit(CFHSI_SHUTDOWN, &cfhsi->bits)) in cfhsi_wake_up_cb()
987 if (!test_and_set_bit(CFHSI_WAKE_UP, &cfhsi->bits)) in cfhsi_wake_up_cb()
1000 set_bit(CFHSI_WAKE_DOWN_ACK, &cfhsi->bits); in cfhsi_wake_down_cb()
1053 if (WARN_ON(test_bit(CFHSI_SHUTDOWN, &cfhsi->bits))) { in cfhsi_xmit()
1106 if (!test_and_set_bit(CFHSI_WAKE_UP, &cfhsi->bits)) in cfhsi_xmit()
1141 clear_bit(CFHSI_SHUTDOWN, &cfhsi->bits); in cfhsi_open()
1198 clear_bit(CFHSI_WAKE_UP_ACK, &cfhsi->bits); in cfhsi_open()
1199 clear_bit(CFHSI_WAKE_DOWN_ACK, &cfhsi->bits); in cfhsi_open()
1200 clear_bit(CFHSI_WAKE_UP, &cfhsi->bits); in cfhsi_open()
1201 clear_bit(CFHSI_AWAKE, &cfhsi->bits); in cfhsi_open()
1268 set_bit(CFHSI_SHUTDOWN, &cfhsi->bits); in cfhsi_close()