Lines Matching refs:rq_map_token
607 atomic_inc(&acb->rq_map_token); in arcmsr_message_isr_bh_fn()
766 atomic_set(&acb->rq_map_token, 16); in arcmsr_probe()
865 atomic_set(&acb->rq_map_token, 16); in arcmsr_resume()
3383 …if (unlikely(atomic_read(&acb->rq_map_token) == 0) || ((acb->acb_flags & ACB_F_BUS_RESET) != 0 ) |… in arcmsr_hbaA_request_device_map()
3388 if (atomic_read(&acb->ante_token_value) == atomic_read(&acb->rq_map_token)){ in arcmsr_hbaA_request_device_map()
3389 atomic_set(&acb->rq_map_token, 16); in arcmsr_hbaA_request_device_map()
3391 atomic_set(&acb->ante_token_value, atomic_read(&acb->rq_map_token)); in arcmsr_hbaA_request_device_map()
3392 if (atomic_dec_and_test(&acb->rq_map_token)) { in arcmsr_hbaA_request_device_map()
3405 …if (unlikely(atomic_read(&acb->rq_map_token) == 0) || ((acb->acb_flags & ACB_F_BUS_RESET) != 0 ) |… in arcmsr_hbaB_request_device_map()
3410 if (atomic_read(&acb->ante_token_value) == atomic_read(&acb->rq_map_token)) { in arcmsr_hbaB_request_device_map()
3411 atomic_set(&acb->rq_map_token, 16); in arcmsr_hbaB_request_device_map()
3413 atomic_set(&acb->ante_token_value, atomic_read(&acb->rq_map_token)); in arcmsr_hbaB_request_device_map()
3414 if (atomic_dec_and_test(&acb->rq_map_token)) { in arcmsr_hbaB_request_device_map()
3427 …if (unlikely(atomic_read(&acb->rq_map_token) == 0) || ((acb->acb_flags & ACB_F_BUS_RESET) != 0) ||… in arcmsr_hbaC_request_device_map()
3432 if (atomic_read(&acb->ante_token_value) == atomic_read(&acb->rq_map_token)) { in arcmsr_hbaC_request_device_map()
3433 atomic_set(&acb->rq_map_token, 16); in arcmsr_hbaC_request_device_map()
3435 atomic_set(&acb->ante_token_value, atomic_read(&acb->rq_map_token)); in arcmsr_hbaC_request_device_map()
3436 if (atomic_dec_and_test(&acb->rq_map_token)) { in arcmsr_hbaC_request_device_map()
3451 if (unlikely(atomic_read(&acb->rq_map_token) == 0) || in arcmsr_hbaD_request_device_map()
3459 atomic_read(&acb->rq_map_token)) { in arcmsr_hbaD_request_device_map()
3460 atomic_set(&acb->rq_map_token, 16); in arcmsr_hbaD_request_device_map()
3463 atomic_read(&acb->rq_map_token)); in arcmsr_hbaD_request_device_map()
3464 if (atomic_dec_and_test(&acb->rq_map_token)) { in arcmsr_hbaD_request_device_map()
3792 atomic_set(&acb->rq_map_token, 16); in arcmsr_bus_reset()
3801 atomic_set(&acb->rq_map_token, 16); in arcmsr_bus_reset()
3816 atomic_set(&acb->rq_map_token, 16); in arcmsr_bus_reset()
3860 atomic_set(&acb->rq_map_token, 16); in arcmsr_bus_reset()
3869 atomic_set(&acb->rq_map_token, 16); in arcmsr_bus_reset()
3917 atomic_set(&acb->rq_map_token, 16); in arcmsr_bus_reset()
3928 atomic_set(&acb->rq_map_token, 16); in arcmsr_bus_reset()