Lines Matching refs:sysfs_config
10056 status = qdf_wait_single_event(&soc->sysfs_config->sysfs_txrx_fw_request_done, in dp_sysfs_event_trigger()
10329 qdf_spinlock_acquire(&soc->sysfs_config->rw_stats_lock); in dp_sysfs_get_stat_type()
10330 *stat_type = soc->sysfs_config->stat_type_requested; in dp_sysfs_get_stat_type()
10331 *mac_id = soc->sysfs_config->mac_id; in dp_sysfs_get_stat_type()
10333 qdf_spinlock_release(&soc->sysfs_config->rw_stats_lock); in dp_sysfs_get_stat_type()
10342 qdf_spinlock_acquire(&soc->sysfs_config->sysfs_write_user_buffer); in dp_sysfs_update_config_buf_params()
10344 soc->sysfs_config->buf = buf; in dp_sysfs_update_config_buf_params()
10345 soc->sysfs_config->curr_buffer_length = curr_len; in dp_sysfs_update_config_buf_params()
10346 soc->sysfs_config->max_buffer_length = max_buf_len; in dp_sysfs_update_config_buf_params()
10347 qdf_spinlock_release(&soc->sysfs_config->sysfs_write_user_buffer); in dp_sysfs_update_config_buf_params()
10404 qdf_mutex_acquire(&soc->sysfs_config->sysfs_read_lock); in dp_sysfs_fill_stats()
10412 soc->sysfs_config->process_id = qdf_get_current_pid(); in dp_sysfs_fill_stats()
10413 soc->sysfs_config->printing_mode = PRINTING_MODE_ENABLED; in dp_sysfs_fill_stats()
10419 soc->sysfs_config->process_id = 0; in dp_sysfs_fill_stats()
10420 soc->sysfs_config->printing_mode = PRINTING_MODE_DISABLED; in dp_sysfs_fill_stats()
10424 qdf_mutex_release(&soc->sysfs_config->sysfs_read_lock); in dp_sysfs_fill_stats()
10439 qdf_spinlock_acquire(&soc->sysfs_config->rw_stats_lock); in dp_sysfs_set_stat_type()
10441 soc->sysfs_config->stat_type_requested = stat_type; in dp_sysfs_set_stat_type()
10442 soc->sysfs_config->mac_id = mac_id; in dp_sysfs_set_stat_type()
10444 qdf_spinlock_release(&soc->sysfs_config->rw_stats_lock); in dp_sysfs_set_stat_type()
10462 soc->sysfs_config = qdf_mem_malloc(sizeof(struct sysfs_stats_config)); in dp_sysfs_initialize_stats()
10463 if (!soc->sysfs_config) { in dp_sysfs_initialize_stats()
10468 status = qdf_event_create(&soc->sysfs_config->sysfs_txrx_fw_request_done); in dp_sysfs_initialize_stats()
10472 qdf_mem_free(soc->sysfs_config); in dp_sysfs_initialize_stats()
10473 soc->sysfs_config = NULL; in dp_sysfs_initialize_stats()
10477 qdf_spinlock_create(&soc->sysfs_config->rw_stats_lock); in dp_sysfs_initialize_stats()
10478 qdf_mutex_create(&soc->sysfs_config->sysfs_read_lock); in dp_sysfs_initialize_stats()
10479 qdf_spinlock_create(&soc->sysfs_config->sysfs_write_user_buffer); in dp_sysfs_initialize_stats()
10496 if (!soc->sysfs_config) { in dp_sysfs_deinitialize_stats()
10501 status = qdf_event_destroy(&soc->sysfs_config->sysfs_txrx_fw_request_done); in dp_sysfs_deinitialize_stats()
10505 qdf_mutex_destroy(&soc->sysfs_config->sysfs_read_lock); in dp_sysfs_deinitialize_stats()
10506 qdf_spinlock_destroy(&soc->sysfs_config->rw_stats_lock); in dp_sysfs_deinitialize_stats()
10507 qdf_spinlock_destroy(&soc->sysfs_config->sysfs_write_user_buffer); in dp_sysfs_deinitialize_stats()
10509 qdf_mem_free(soc->sysfs_config); in dp_sysfs_deinitialize_stats()