Lines Matching refs:usb_flags

323 	    !test_bit(WORK_RX_HALT, &hw->usb_flags)) {  in submit_rx_urb()
331 if (!test_and_set_bit(WORK_RX_HALT, &hw->usb_flags)) in submit_rx_urb()
373 !test_bit(WORK_TX_HALT, &hw->usb_flags)) { in submit_tx_urb()
381 set_bit(WORK_TX_HALT, &hw->usb_flags); in submit_tx_urb()
421 if (test_bit(WORK_RX_HALT, &hw->usb_flags)) { in hfa384x_usb_defer()
434 clear_bit(WORK_RX_HALT, &hw->usb_flags); in hfa384x_usb_defer()
435 set_bit(WORK_RX_RESUME, &hw->usb_flags); in hfa384x_usb_defer()
440 if (test_bit(WORK_RX_RESUME, &hw->usb_flags)) { in hfa384x_usb_defer()
449 clear_bit(WORK_RX_RESUME, &hw->usb_flags); in hfa384x_usb_defer()
454 if (test_bit(WORK_TX_HALT, &hw->usb_flags)) { in hfa384x_usb_defer()
466 clear_bit(WORK_TX_HALT, &hw->usb_flags); in hfa384x_usb_defer()
467 set_bit(WORK_TX_RESUME, &hw->usb_flags); in hfa384x_usb_defer()
478 if (test_and_clear_bit(WORK_TX_RESUME, &hw->usb_flags)) in hfa384x_usb_defer()
2555 sched = !test_and_set_bit(WORK_TX_HALT, &hw->usb_flags); in hfa384x_tx_timeout()
2556 sched |= !test_and_set_bit(WORK_RX_HALT, &hw->usb_flags); in hfa384x_tx_timeout()
2796 test_bit(WORK_TX_HALT, &hw->usb_flags) || hw->wlandev->hwremoved) in hfa384x_usbctlxq_run()
2845 set_bit(WORK_TX_HALT, &hw->usb_flags); in hfa384x_usbctlxq_run()
2929 if (!test_and_set_bit(WORK_RX_HALT, &hw->usb_flags)) in hfa384x_usbin_callback()
2938 if (!test_and_set_bit(THROTTLE_RX, &hw->usb_flags) && in hfa384x_usbin_callback()
3470 if (!test_and_set_bit(WORK_TX_HALT, &hw->usb_flags)) in hfa384x_usbout_callback()
3481 if (!test_and_set_bit(THROTTLE_TX, &hw->usb_flags) && in hfa384x_usbout_callback()
3601 !test_and_set_bit(WORK_TX_HALT, &hw->usb_flags)) { in hfa384x_ctlxout_callback()
3760 pr_debug("flags=0x%lx\n", hw->usb_flags); in hfa384x_usb_throttlefn()
3762 bool rx_throttle = test_and_clear_bit(THROTTLE_RX, &hw->usb_flags) && in hfa384x_usb_throttlefn()
3763 !test_and_set_bit(WORK_RX_RESUME, &hw->usb_flags); in hfa384x_usb_throttlefn()
3764 bool tx_throttle = test_and_clear_bit(THROTTLE_TX, &hw->usb_flags) && in hfa384x_usb_throttlefn()
3765 !test_and_set_bit(WORK_TX_RESUME, &hw->usb_flags); in hfa384x_usb_throttlefn()