Lines Matching refs:tx_state

134 	unsigned long tx_state;  member
172 set_bit(BTMTKSDIO_TX_WAIT_VND_EVT, &bdev->tx_state); in mtk_hci_wmt_sync()
176 clear_bit(BTMTKSDIO_TX_WAIT_VND_EVT, &bdev->tx_state); in mtk_hci_wmt_sync()
189 err = wait_on_bit_timeout(&bdev->tx_state, BTMTKSDIO_TX_WAIT_VND_EVT, in mtk_hci_wmt_sync()
193 clear_bit(BTMTKSDIO_TX_WAIT_VND_EVT, &bdev->tx_state); in mtk_hci_wmt_sync()
199 clear_bit(BTMTKSDIO_TX_WAIT_VND_EVT, &bdev->tx_state); in mtk_hci_wmt_sync()
278 clear_bit(BTMTKSDIO_HW_TX_READY, &bdev->tx_state); in btmtksdio_tx_packet()
319 test_bit(BTMTKSDIO_PATCH_ENABLED, &bdev->tx_state)) { in btmtksdio_fw_pmctrl()
364 test_bit(BTMTKSDIO_PATCH_ENABLED, &bdev->tx_state)) in btmtksdio_drv_pmctrl()
388 if (test_bit(BTMTKSDIO_TX_WAIT_VND_EVT, &bdev->tx_state)) { in btmtksdio_recv_event()
402 &bdev->tx_state)) { in btmtksdio_recv_event()
405 wake_up_bit(&bdev->tx_state, BTMTKSDIO_TX_WAIT_VND_EVT); in btmtksdio_recv_event()
586 set_bit(BTMTKSDIO_HW_TX_READY, &bdev->tx_state); in btmtksdio_txrx_work()
591 if (test_bit(BTMTKSDIO_HW_TX_READY, &bdev->tx_state)) { in btmtksdio_txrx_work()
641 set_bit(BTMTKSDIO_FUNC_ENABLED, &bdev->tx_state); in btmtksdio_open()
728 clear_bit(BTMTKSDIO_FUNC_ENABLED, &bdev->tx_state); in btmtksdio_close()
832 set_bit(BTMTKSDIO_PATCH_ENABLED, &bdev->tx_state); in mt76xx_setup()
890 set_bit(BTMTKSDIO_PATCH_ENABLED, &bdev->tx_state); in mt79xx_setup()
1078 set_bit(BTMTKSDIO_HW_TX_READY, &bdev->tx_state); in btmtksdio_setup()
1082 if (test_bit(BTMTKSDIO_HW_RESET_ACTIVE, &bdev->tx_state)) { in btmtksdio_setup()
1098 clear_bit(BTMTKSDIO_HW_RESET_ACTIVE, &bdev->tx_state); in btmtksdio_setup()
1193 if (test_bit(BTMTKSDIO_HW_RESET_ACTIVE, &bdev->tx_state)) in btmtksdio_shutdown()
1255 if (test_and_set_bit(BTMTKSDIO_HW_RESET_ACTIVE, &bdev->tx_state)) in btmtksdio_cmd_timeout()
1275 clear_bit(BTMTKSDIO_PATCH_ENABLED, &bdev->tx_state); in btmtksdio_cmd_timeout()
1445 if (!test_bit(BTMTKSDIO_FUNC_ENABLED, &bdev->tx_state)) in btmtksdio_runtime_suspend()
1467 if (!test_bit(BTMTKSDIO_FUNC_ENABLED, &bdev->tx_state)) in btmtksdio_runtime_resume()