Lines Matching refs:prev_ar
3663 struct ath12k *ar, *prev_ar; in ath12k_mac_op_hw_scan() local
3704 prev_ar = arvif->ar; in ath12k_mac_op_hw_scan()
3705 mutex_lock(&prev_ar->conf_mutex); in ath12k_mac_op_hw_scan()
3706 ret = ath12k_mac_vdev_delete(prev_ar, vif); in ath12k_mac_op_hw_scan()
3707 mutex_unlock(&prev_ar->conf_mutex); in ath12k_mac_op_hw_scan()
3709 ath12k_warn(prev_ar->ab, in ath12k_mac_op_hw_scan()
6679 struct ath12k *ar, *prev_ar; in ath12k_mac_assign_vif_to_vdev() local
6714 prev_ar = arvif->ar; in ath12k_mac_assign_vif_to_vdev()
6715 mutex_lock(&prev_ar->conf_mutex); in ath12k_mac_assign_vif_to_vdev()
6716 ret = ath12k_mac_vdev_delete(prev_ar, vif); in ath12k_mac_assign_vif_to_vdev()
6719 ath12k_warn(prev_ar->ab, "unable to delete vdev %d\n", in ath12k_mac_assign_vif_to_vdev()
6721 mutex_unlock(&prev_ar->conf_mutex); in ath12k_mac_assign_vif_to_vdev()
8489 struct ath12k *ar, *prev_ar; in ath12k_mac_op_remain_on_channel() local
8524 prev_ar = arvif->ar; in ath12k_mac_op_remain_on_channel()
8525 mutex_lock(&prev_ar->conf_mutex); in ath12k_mac_op_remain_on_channel()
8526 ret = ath12k_mac_vdev_delete(prev_ar, vif); in ath12k_mac_op_remain_on_channel()
8527 mutex_unlock(&prev_ar->conf_mutex); in ath12k_mac_op_remain_on_channel()
8529 ath12k_warn(prev_ar->ab, in ath12k_mac_op_remain_on_channel()