Searched refs:driver_create_file (Results 1 - 23 of 23) sorted by relevance

/linux-4.4.14/drivers/usb/usbip/
H A Dstub_main.c288 ret = driver_create_file(&stub_driver.drvwrap.driver, usbip_host_init()
291 pr_err("driver_create_file failed\n"); usbip_host_init()
295 ret = driver_create_file(&stub_driver.drvwrap.driver, usbip_host_init()
298 pr_err("driver_create_file failed\n"); usbip_host_init()
/linux-4.4.14/drivers/base/
H A Ddriver.c98 * driver_create_file - create sysfs file for driver.
102 int driver_create_file(struct device_driver *drv, driver_create_file() function
113 EXPORT_SYMBOL_GPL(driver_create_file); variable
H A Dbus.c609 ret = driver_create_file(drv, &driver_attr_unbind); add_bind_files()
611 ret = driver_create_file(drv, &driver_attr_bind); add_bind_files()
715 error = driver_create_file(drv, &driver_attr_uevent); bus_add_driver()
/linux-4.4.14/drivers/infiniband/hw/nes/
H A Dnes.c1207 error = driver_create_file(&drv->driver, &driver_attr_adapter); nes_create_driver_sysfs()
1208 error |= driver_create_file(&drv->driver, &driver_attr_eeprom_cmd); nes_create_driver_sysfs()
1209 error |= driver_create_file(&drv->driver, &driver_attr_eeprom_data); nes_create_driver_sysfs()
1210 error |= driver_create_file(&drv->driver, &driver_attr_flash_cmd); nes_create_driver_sysfs()
1211 error |= driver_create_file(&drv->driver, &driver_attr_flash_data); nes_create_driver_sysfs()
1212 error |= driver_create_file(&drv->driver, &driver_attr_nonidx_addr); nes_create_driver_sysfs()
1213 error |= driver_create_file(&drv->driver, &driver_attr_nonidx_data); nes_create_driver_sysfs()
1214 error |= driver_create_file(&drv->driver, &driver_attr_idx_addr); nes_create_driver_sysfs()
1215 error |= driver_create_file(&drv->driver, &driver_attr_idx_data); nes_create_driver_sysfs()
1216 error |= driver_create_file(&drv->driver, &driver_attr_wqm_quanta); nes_create_driver_sysfs()
/linux-4.4.14/drivers/staging/dgnc/
H A Ddgnc_sysfs.c76 rc |= driver_create_file(driverfs, &driver_attr_version); dgnc_create_driver_sysfiles()
77 rc |= driver_create_file(driverfs, &driver_attr_boards); dgnc_create_driver_sysfiles()
78 rc |= driver_create_file(driverfs, &driver_attr_maxboards); dgnc_create_driver_sysfiles()
79 rc |= driver_create_file(driverfs, &driver_attr_pollrate); dgnc_create_driver_sysfiles()
81 pr_err("DGNC: sysfs driver_create_file failed!\n"); dgnc_create_driver_sysfiles()
/linux-4.4.14/drivers/net/caif/
H A Dcaif_spi.c814 driver_create_file(&cfspi_spi_driver.driver, cfspi_init_module()
822 driver_create_file(&cfspi_spi_driver.driver, cfspi_init_module()
830 driver_create_file(&cfspi_spi_driver.driver, cfspi_init_module()
838 driver_create_file(&cfspi_spi_driver.driver, cfspi_init_module()
846 driver_create_file(&cfspi_spi_driver.driver, cfspi_init_module()
/linux-4.4.14/drivers/xen/xen-pciback/
H A Dpci_stub.c1477 err = driver_create_file(&xen_pcibk_pci_driver.driver, pcistub_init()
1480 err = driver_create_file(&xen_pcibk_pci_driver.driver, pcistub_init()
1483 err = driver_create_file(&xen_pcibk_pci_driver.driver, pcistub_init()
1486 err = driver_create_file(&xen_pcibk_pci_driver.driver, pcistub_init()
1489 err = driver_create_file(&xen_pcibk_pci_driver.driver, pcistub_init()
1493 err = driver_create_file(&xen_pcibk_pci_driver.driver, pcistub_init()
1496 err = driver_create_file(&xen_pcibk_pci_driver.driver, pcistub_init()
/linux-4.4.14/drivers/scsi/aic94xx/
H A Daic94xx_init.c968 return driver_create_file(driver, &driver_attr_version); asd_create_driver_attrs()
/linux-4.4.14/drivers/usb/core/
H A Ddriver.c189 error = driver_create_file(&usb_drv->drvwrap.driver, usb_create_newid_files()
192 error = driver_create_file(&usb_drv->drvwrap.driver, usb_create_newid_files()
/linux-4.4.14/drivers/pcmcia/
H A Dds.c156 error = driver_create_file(&drv->drv, &driver_attr_new_id); pcmcia_create_newid_file()
/linux-4.4.14/drivers/scsi/megaraid/
H A Dmegaraid_sas_base.c6930 rval = driver_create_file(&megasas_pci_driver.driver, megasas_init()
6935 rval = driver_create_file(&megasas_pci_driver.driver, megasas_init()
6940 rval = driver_create_file(&megasas_pci_driver.driver, megasas_init()
6945 rval = driver_create_file(&megasas_pci_driver.driver, megasas_init()
6949 rval = driver_create_file(&megasas_pci_driver.driver, megasas_init()
/linux-4.4.14/drivers/staging/dgap/
H A Ddgap.c6334 rc |= driver_create_file(driverfs, &driver_attr_version); dgap_create_driver_sysfiles()
6335 rc |= driver_create_file(driverfs, &driver_attr_boards); dgap_create_driver_sysfiles()
6336 rc |= driver_create_file(driverfs, &driver_attr_maxboards); dgap_create_driver_sysfiles()
6337 rc |= driver_create_file(driverfs, &driver_attr_pollrate); dgap_create_driver_sysfiles()
6338 rc |= driver_create_file(driverfs, &driver_attr_pollcounter); dgap_create_driver_sysfiles()
/linux-4.4.14/drivers/platform/x86/
H A Dthinkpad_acpi.c1600 res = driver_create_file(drv, tpacpi_driver_attributes[i]); tpacpi_create_driver_attributes()
1606 res = driver_create_file(drv, &driver_attr_wlsw_emulstate); tpacpi_create_driver_attributes()
1608 res = driver_create_file(drv, &driver_attr_bluetooth_emulstate); tpacpi_create_driver_attributes()
1610 res = driver_create_file(drv, &driver_attr_wwan_emulstate); tpacpi_create_driver_attributes()
1612 res = driver_create_file(drv, &driver_attr_uwb_emulstate); tpacpi_create_driver_attributes()
8413 rc = driver_create_file(&tpacpi_hwmon_pdriver.driver, fan_init()
/linux-4.4.14/drivers/staging/unisys/visorbus/
H A Dvisorbus_main.c708 rc = driver_create_file(&drv->driver, &drv->version_attr); register_driver_attributes()
/linux-4.4.14/drivers/dma/ppc4xx/
H A Dadma.c4598 ret = driver_create_file(&ppc440spe_adma_driver.driver, ppc440spe_adma_init()
4604 ret = driver_create_file(&ppc440spe_adma_driver.driver, ppc440spe_adma_init()
4610 ret = driver_create_file(&ppc440spe_adma_driver.driver, ppc440spe_adma_init()
/linux-4.4.14/drivers/tty/hvc/
H A Dhvcs.c1576 rc = driver_create_file(&(hvcs_vio_driver.driver), &driver_attr_rescan); hvcs_module_init()
/linux-4.4.14/drivers/video/fbdev/
H A Duvesafb.c1931 err = driver_create_file(&uvesafb_driver.driver, uvesafb_init()
/linux-4.4.14/include/linux/
H A Ddevice.h312 extern int __must_check driver_create_file(struct device_driver *driver,
/linux-4.4.14/drivers/hid/
H A Dhid-core.c2722 ret = driver_create_file(&hdrv->driver, &driver_attr_new_id); __hid_register_driver()
/linux-4.4.14/drivers/net/ethernet/ibm/ehea/
H A Dehea_main.c3593 ret = driver_create_file(&ehea_driver.driver, ehea_module_init()
/linux-4.4.14/drivers/scsi/
H A Dosst.c5682 return driver_create_file(sysfs, &driver_attr_version);
/linux-4.4.14/drivers/net/wireless/ipw2x00/
H A Dipw2100.c6592 ret = driver_create_file(&ipw2100_pci_driver.driver, ipw2100_init()
H A Dipw2200.c11980 ret = driver_create_file(&ipw_driver.driver, &driver_attr_debug_level); ipw_init()

Completed in 1203 milliseconds