Home
last modified time | relevance | path

Searched refs:device_root (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/qualcomm/
Dqca_debug.c144 struct dentry *device_root; in qcaspi_init_device_debugfs() local
146 device_root = debugfs_create_dir(dev_name(&qca->net_dev->dev), NULL); in qcaspi_init_device_debugfs()
147 qca->device_root = device_root; in qcaspi_init_device_debugfs()
149 if (IS_ERR(device_root) || !device_root) { in qcaspi_init_device_debugfs()
154 debugfs_create_file("info", S_IFREG | S_IRUGO, device_root, qca, in qcaspi_init_device_debugfs()
161 debugfs_remove_recursive(qca->device_root); in qcaspi_remove_device_debugfs()
Dqca_spi.h102 struct dentry *device_root; member
/drivers/pinctrl/
Dcore.c1674 struct dentry *device_root; in pinctrl_init_device_debugfs() local
1676 device_root = debugfs_create_dir(dev_name(pctldev->dev), in pinctrl_init_device_debugfs()
1678 pctldev->device_root = device_root; in pinctrl_init_device_debugfs()
1680 if (IS_ERR(device_root) || !device_root) { in pinctrl_init_device_debugfs()
1686 device_root, pctldev, &pinctrl_pins_ops); in pinctrl_init_device_debugfs()
1688 device_root, pctldev, &pinctrl_groups_ops); in pinctrl_init_device_debugfs()
1690 device_root, pctldev, &pinctrl_gpioranges_ops); in pinctrl_init_device_debugfs()
1692 pinmux_init_device_debugfs(device_root, pctldev); in pinctrl_init_device_debugfs()
1694 pinconf_init_device_debugfs(device_root, pctldev); in pinctrl_init_device_debugfs()
1699 debugfs_remove_recursive(pctldev->device_root); in pinctrl_remove_device_debugfs()
Dcore.h52 struct dentry *device_root; member