Lines Matching refs:root
349 struct dentry *root; in mmc_add_host_debugfs() local
351 root = debugfs_create_dir(mmc_hostname(host), NULL); in mmc_add_host_debugfs()
352 host->debugfs_root = root; in mmc_add_host_debugfs()
354 debugfs_create_file("ios", 0400, root, host, &mmc_ios_fops); in mmc_add_host_debugfs()
355 debugfs_create_file("caps", 0600, root, &host->caps, &mmc_caps_fops); in mmc_add_host_debugfs()
356 debugfs_create_file("caps2", 0600, root, &host->caps2, in mmc_add_host_debugfs()
358 debugfs_create_file_unsafe("clock", 0600, root, host, in mmc_add_host_debugfs()
361 debugfs_create_file_unsafe("err_state", 0600, root, host, in mmc_add_host_debugfs()
363 debugfs_create_file("err_stats", 0600, root, host, in mmc_add_host_debugfs()
370 fault_create_debugfs_attr("fail_mmc_request", root, in mmc_add_host_debugfs()
383 struct dentry *root; in mmc_add_card_debugfs() local
388 root = debugfs_create_dir(mmc_card_id(card), host->debugfs_root); in mmc_add_card_debugfs()
389 card->debugfs_root = root; in mmc_add_card_debugfs()
391 debugfs_create_x32("state", 0400, root, &card->state); in mmc_add_card_debugfs()
392 debugfs_create_x32("quirks", 0400, root, &card->quirks); in mmc_add_card_debugfs()