Lines Matching refs:reorder_buf
2535 struct iwl_mvm_reorder_buffer *reorder_buf = in iwl_mvm_free_reorder() local
2536 &data->reorder_buf[i]; in iwl_mvm_free_reorder()
2540 spin_lock_bh(&reorder_buf->lock); in iwl_mvm_free_reorder()
2541 if (likely(!reorder_buf->num_stored)) { in iwl_mvm_free_reorder()
2542 spin_unlock_bh(&reorder_buf->lock); in iwl_mvm_free_reorder()
2553 for (j = 0; j < reorder_buf->buf_size; j++) in iwl_mvm_free_reorder()
2563 reorder_buf->removed = true; in iwl_mvm_free_reorder()
2564 spin_unlock_bh(&reorder_buf->lock); in iwl_mvm_free_reorder()
2565 del_timer_sync(&reorder_buf->reorder_timer); in iwl_mvm_free_reorder()
2576 struct iwl_mvm_reorder_buffer *reorder_buf = in iwl_mvm_init_reorder_buffer() local
2577 &data->reorder_buf[i]; in iwl_mvm_init_reorder_buffer()
2582 reorder_buf->num_stored = 0; in iwl_mvm_init_reorder_buffer()
2583 reorder_buf->head_sn = ssn; in iwl_mvm_init_reorder_buffer()
2584 reorder_buf->buf_size = buf_size; in iwl_mvm_init_reorder_buffer()
2586 timer_setup(&reorder_buf->reorder_timer, in iwl_mvm_init_reorder_buffer()
2588 spin_lock_init(&reorder_buf->lock); in iwl_mvm_init_reorder_buffer()
2589 reorder_buf->mvm = mvm; in iwl_mvm_init_reorder_buffer()
2590 reorder_buf->queue = i; in iwl_mvm_init_reorder_buffer()
2591 reorder_buf->valid = false; in iwl_mvm_init_reorder_buffer()
2592 for (j = 0; j < reorder_buf->buf_size; j++) in iwl_mvm_init_reorder_buffer()