Lines Matching full:dbg

155 	struct btmrvl_debugfs_data *dbg;  in btmrvl_debugfs_init()  local
160 dbg = kzalloc(sizeof(*dbg), GFP_KERNEL); in btmrvl_debugfs_init()
161 priv->debugfs_data = dbg; in btmrvl_debugfs_init()
163 if (!dbg) { in btmrvl_debugfs_init()
168 dbg->config_dir = debugfs_create_dir("config", hdev->debugfs); in btmrvl_debugfs_init()
170 debugfs_create_u8("psmode", 0644, dbg->config_dir, in btmrvl_debugfs_init()
172 debugfs_create_file("pscmd", 0644, dbg->config_dir, in btmrvl_debugfs_init()
174 debugfs_create_x16("gpiogap", 0644, dbg->config_dir, in btmrvl_debugfs_init()
176 debugfs_create_u8("hsmode", 0644, dbg->config_dir, in btmrvl_debugfs_init()
178 debugfs_create_file("hscmd", 0644, dbg->config_dir, in btmrvl_debugfs_init()
180 debugfs_create_file("hscfgcmd", 0644, dbg->config_dir, in btmrvl_debugfs_init()
183 dbg->status_dir = debugfs_create_dir("status", hdev->debugfs); in btmrvl_debugfs_init()
184 debugfs_create_u8("curpsmode", 0444, dbg->status_dir, in btmrvl_debugfs_init()
186 debugfs_create_u8("psstate", 0444, dbg->status_dir, in btmrvl_debugfs_init()
188 debugfs_create_u8("hsstate", 0444, dbg->status_dir, in btmrvl_debugfs_init()
190 debugfs_create_u8("txdnldready", 0444, dbg->status_dir, in btmrvl_debugfs_init()
197 struct btmrvl_debugfs_data *dbg = priv->debugfs_data; in btmrvl_debugfs_remove() local
199 if (!dbg) in btmrvl_debugfs_remove()
202 debugfs_remove_recursive(dbg->config_dir); in btmrvl_debugfs_remove()
203 debugfs_remove_recursive(dbg->status_dir); in btmrvl_debugfs_remove()
205 kfree(dbg); in btmrvl_debugfs_remove()