Home
last modified time | relevance | path

Searched refs:driverfs (Results 1 – 2 of 2) sorted by relevance

/linux-4.1.27/drivers/staging/dgnc/
Ddgnc_sysfs.c71 struct device_driver *driverfs = &dgnc_driver->driver; in dgnc_create_driver_sysfiles() local
73 rc |= driver_create_file(driverfs, &driver_attr_version); in dgnc_create_driver_sysfiles()
74 rc |= driver_create_file(driverfs, &driver_attr_boards); in dgnc_create_driver_sysfiles()
75 rc |= driver_create_file(driverfs, &driver_attr_maxboards); in dgnc_create_driver_sysfiles()
76 rc |= driver_create_file(driverfs, &driver_attr_pollrate); in dgnc_create_driver_sysfiles()
84 struct device_driver *driverfs = &dgnc_driver->driver; in dgnc_remove_driver_sysfiles() local
86 driver_remove_file(driverfs, &driver_attr_version); in dgnc_remove_driver_sysfiles()
87 driver_remove_file(driverfs, &driver_attr_boards); in dgnc_remove_driver_sysfiles()
88 driver_remove_file(driverfs, &driver_attr_maxboards); in dgnc_remove_driver_sysfiles()
89 driver_remove_file(driverfs, &driver_attr_pollrate); in dgnc_remove_driver_sysfiles()
/linux-4.1.27/drivers/staging/dgap/
Ddgap.c6422 struct device_driver *driverfs = &dgap_driver->driver; in dgap_create_driver_sysfiles() local
6424 rc |= driver_create_file(driverfs, &driver_attr_version); in dgap_create_driver_sysfiles()
6425 rc |= driver_create_file(driverfs, &driver_attr_boards); in dgap_create_driver_sysfiles()
6426 rc |= driver_create_file(driverfs, &driver_attr_maxboards); in dgap_create_driver_sysfiles()
6427 rc |= driver_create_file(driverfs, &driver_attr_pollrate); in dgap_create_driver_sysfiles()
6428 rc |= driver_create_file(driverfs, &driver_attr_pollcounter); in dgap_create_driver_sysfiles()
6435 struct device_driver *driverfs = &dgap_driver->driver; in dgap_remove_driver_sysfiles() local
6437 driver_remove_file(driverfs, &driver_attr_version); in dgap_remove_driver_sysfiles()
6438 driver_remove_file(driverfs, &driver_attr_boards); in dgap_remove_driver_sysfiles()
6439 driver_remove_file(driverfs, &driver_attr_maxboards); in dgap_remove_driver_sysfiles()
[all …]