Lines Matching refs:dbr_dbg_data
76 dbr_data = &dbr_debug->dbr_dbg_data; in ath11k_debugfs_add_dbring_entry()
1246 struct ath11k_dbg_dbr_data *dbr_dbg_data = file->private_data; in ath11k_debug_dump_dbr_entries() local
1264 spin_lock_bh(&dbr_dbg_data->lock); in ath11k_debug_dump_dbr_entries()
1266 for (i = 0; i < dbr_dbg_data->num_ring_debug_entries; i++) { in ath11k_debug_dump_dbr_entries()
1269 dbr_dbg_data->entries[i].hp, in ath11k_debug_dump_dbr_entries()
1270 dbr_dbg_data->entries[i].tp, in ath11k_debug_dump_dbr_entries()
1271 dbr_dbg_data->entries[i].timestamp, in ath11k_debug_dump_dbr_entries()
1272 event_id_to_string[dbr_dbg_data->entries[i].event]); in ath11k_debug_dump_dbr_entries()
1275 spin_unlock_bh(&dbr_dbg_data->lock); in ath11k_debug_dump_dbr_entries()
1293 struct ath11k_dbg_dbr_data *dbr_dbg_data; in ath11k_debugfs_dbr_dbg_destroy() local
1299 dbr_dbg_data = &dbr_debug->dbr_dbg_data; in ath11k_debugfs_dbr_dbg_destroy()
1302 kfree(dbr_dbg_data->entries); in ath11k_debugfs_dbr_dbg_destroy()
1310 struct ath11k_dbg_dbr_data *dbr_dbg_data; in ath11k_debugfs_dbr_dbg_init() local
1323 dbr_dbg_data = &dbr_debug->dbr_dbg_data; in ath11k_debugfs_dbr_dbg_init()
1337 dbr_dbg_data->num_ring_debug_entries = ATH11K_DEBUG_DBR_ENTRIES_MAX; in ath11k_debugfs_dbr_dbg_init()
1338 dbr_dbg_data->dbr_debug_idx = 0; in ath11k_debugfs_dbr_dbg_init()
1339 dbr_dbg_data->entries = kcalloc(ATH11K_DEBUG_DBR_ENTRIES_MAX, in ath11k_debugfs_dbr_dbg_init()
1342 if (!dbr_dbg_data->entries) in ath11k_debugfs_dbr_dbg_init()
1345 spin_lock_init(&dbr_dbg_data->lock); in ath11k_debugfs_dbr_dbg_init()
1348 dbr_dbg_data, &fops_debug_dump_dbr_entries); in ath11k_debugfs_dbr_dbg_init()
1658 struct ath11k_dbg_dbr_data *dbr_dbg_data; in ath11k_debugfs_unregister() local
1666 dbr_dbg_data = &dbr_debug->dbr_dbg_data; in ath11k_debugfs_unregister()
1667 kfree(dbr_dbg_data->entries); in ath11k_debugfs_unregister()