Lines Matching refs:rq_map_token
521 atomic_inc(&acb->rq_map_token); in arcmsr_message_isr_bh_fn()
559 atomic_inc(&acb->rq_map_token); in arcmsr_message_isr_bh_fn()
596 atomic_inc(&acb->rq_map_token); in arcmsr_message_isr_bh_fn()
702 atomic_set(&acb->rq_map_token, 16); in arcmsr_probe()
2659 …if (unlikely(atomic_read(&acb->rq_map_token) == 0) || ((acb->acb_flags & ACB_F_BUS_RESET) != 0 ) |… in arcmsr_request_hba_device_map()
2664 if (atomic_read(&acb->ante_token_value) == atomic_read(&acb->rq_map_token)){ in arcmsr_request_hba_device_map()
2665 atomic_set(&acb->rq_map_token, 16); in arcmsr_request_hba_device_map()
2667 atomic_set(&acb->ante_token_value, atomic_read(&acb->rq_map_token)); in arcmsr_request_hba_device_map()
2668 if (atomic_dec_and_test(&acb->rq_map_token)) { in arcmsr_request_hba_device_map()
2681 …if (unlikely(atomic_read(&acb->rq_map_token) == 0) || ((acb->acb_flags & ACB_F_BUS_RESET) != 0 ) |… in arcmsr_request_hbb_device_map()
2686 if (atomic_read(&acb->ante_token_value) == atomic_read(&acb->rq_map_token)) { in arcmsr_request_hbb_device_map()
2687 atomic_set(&acb->rq_map_token, 16); in arcmsr_request_hbb_device_map()
2689 atomic_set(&acb->ante_token_value, atomic_read(&acb->rq_map_token)); in arcmsr_request_hbb_device_map()
2690 if (atomic_dec_and_test(&acb->rq_map_token)) { in arcmsr_request_hbb_device_map()
2703 …if (unlikely(atomic_read(&acb->rq_map_token) == 0) || ((acb->acb_flags & ACB_F_BUS_RESET) != 0) ||… in arcmsr_request_hbc_device_map()
2708 if (atomic_read(&acb->ante_token_value) == atomic_read(&acb->rq_map_token)) { in arcmsr_request_hbc_device_map()
2709 atomic_set(&acb->rq_map_token, 16); in arcmsr_request_hbc_device_map()
2711 atomic_set(&acb->ante_token_value, atomic_read(&acb->rq_map_token)); in arcmsr_request_hbc_device_map()
2712 if (atomic_dec_and_test(&acb->rq_map_token)) { in arcmsr_request_hbc_device_map()
2980 atomic_set(&acb->rq_map_token, 16); in arcmsr_bus_reset()
2989 atomic_set(&acb->rq_map_token, 16); in arcmsr_bus_reset()
3004 atomic_set(&acb->rq_map_token, 16); in arcmsr_bus_reset()
3050 atomic_set(&acb->rq_map_token, 16); in arcmsr_bus_reset()
3059 atomic_set(&acb->rq_map_token, 16); in arcmsr_bus_reset()