Searched refs:db_info (Results 1 – 2 of 2) sorted by relevance
274 static void debug_areas_free(debug_info_t *db_info) in debug_areas_free() argument278 if (!db_info->areas) in debug_areas_free()280 for (i = 0; i < db_info->nr_areas; i++) { in debug_areas_free()281 for (j = 0; j < db_info->pages_per_area; j++) in debug_areas_free()282 kfree(db_info->areas[i][j]); in debug_areas_free()283 kfree(db_info->areas[i]); in debug_areas_free()285 kfree(db_info->areas); in debug_areas_free()286 db_info->areas = NULL; in debug_areas_free()293 static void debug_info_free(debug_info_t *db_info) in debug_info_free() argument295 debug_areas_free(db_info); in debug_info_free()[all …]
311 static void cmdq_fill_db(u32 *db_info, in cmdq_fill_db() argument314 *db_info = HINIC_CMDQ_DB_INFO_SET(UPPER_8_BITS(prod_idx), HI_PROD_IDX) | in cmdq_fill_db()323 u32 db_info; in cmdq_set_db() local325 cmdq_fill_db(&db_info, cmdq_type, prod_idx); in cmdq_set_db()328 db_info = cpu_to_be32(db_info); in cmdq_set_db()332 writel(db_info, CMDQ_DB_ADDR(cmdq->db_base, prod_idx)); in cmdq_set_db()