Lines Matching refs:rocklist
29 static struct rockchip_ip rocklist = { variable
30 .dev_list = LIST_HEAD_INIT(rocklist.dev_list),
31 .lock = __SPIN_LOCK_UNLOCKED(rocklist.lock),
38 spin_lock(&rocklist.lock); in get_rk_crypto()
39 first = list_first_entry_or_null(&rocklist.dev_list, in get_rk_crypto()
41 list_rotate_left(&rocklist.dev_list); in get_rk_crypto()
42 spin_unlock(&rocklist.lock); in get_rk_crypto()
199 spin_lock(&rocklist.lock); in rk_crypto_debugfs_show()
200 list_for_each_entry(dd, &rocklist.dev_list, list) { in rk_crypto_debugfs_show()
205 spin_unlock(&rocklist.lock); in rk_crypto_debugfs_show()
243 dbgfs_stats = debugfs_create_file("stats", 0444, dbgfs_dir, &rocklist, in register_debugfs()
247 rocklist.dbgfs_dir = dbgfs_dir; in register_debugfs()
248 rocklist.dbgfs_stats = dbgfs_stats; in register_debugfs()
381 spin_lock(&rocklist.lock); in rk_crypto_probe()
382 first = list_first_entry_or_null(&rocklist.dev_list, in rk_crypto_probe()
384 list_add_tail(&crypto_info->list, &rocklist.dev_list); in rk_crypto_probe()
385 spin_unlock(&rocklist.lock); in rk_crypto_probe()
413 spin_lock_bh(&rocklist.lock); in rk_crypto_remove()
415 first = list_first_entry_or_null(&rocklist.dev_list, in rk_crypto_remove()
417 spin_unlock_bh(&rocklist.lock); in rk_crypto_remove()
421 debugfs_remove_recursive(rocklist.dbgfs_dir); in rk_crypto_remove()