Searched refs:sysfs_create_bin_file (Results 1 - 67 of 67) sorted by relevance

/linux-4.1.27/drivers/zorro/
H A Dzorro-sysfs.c115 (error = sysfs_create_bin_file(&dev->kobj, &zorro_config_attr))) zorro_create_sysfs_dev_files()
/linux-4.1.27/drivers/scsi/arcmsr/
H A Darcmsr_attr.c225 error = sysfs_create_bin_file(&host->shost_dev.kobj, &arcmsr_sysfs_message_read_attr); arcmsr_alloc_sysfs_attr()
230 error = sysfs_create_bin_file(&host->shost_dev.kobj, &arcmsr_sysfs_message_write_attr); arcmsr_alloc_sysfs_attr()
235 error = sysfs_create_bin_file(&host->shost_dev.kobj, &arcmsr_sysfs_message_clear_attr); arcmsr_alloc_sysfs_attr()
/linux-4.1.27/drivers/staging/iio/accel/
H A Dadis16220_core.c441 ret = sysfs_create_bin_file(&indio_dev->dev.kobj, &accel_bin); adis16220_probe()
445 ret = sysfs_create_bin_file(&indio_dev->dev.kobj, &adc1_bin); adis16220_probe()
449 ret = sysfs_create_bin_file(&indio_dev->dev.kobj, &adc2_bin); adis16220_probe()
/linux-4.1.27/drivers/firmware/google/
H A Dmemconsole.c159 return sysfs_create_bin_file(firmware_kobj, &memconsole_bin_attr); memconsole_init()
H A Dgsmi.c876 ret = sysfs_create_bin_file(gsmi_kobj, &eventlog_bin_attr); gsmi_init()
/linux-4.1.27/drivers/w1/slaves/
H A Dw1_ds2406.c129 err = sysfs_create_bin_file( w1_f12_add_slave()
/linux-4.1.27/arch/powerpc/platforms/powernv/
H A Dopal-msglog.c122 if (sysfs_create_bin_file(opal_kobj, &opal_msglog_attr) != 0) opal_msglog_init()
H A Dopal-elog.c228 rc = sysfs_create_bin_file(&elog->kobj, &elog->raw_attr); create_elog_obj()
H A Dopal-dump.c352 rc = sysfs_create_bin_file(&dump->kobj, &dump->dump_attr); create_dump_obj()
H A Dopal-flash.c573 ret = sysfs_create_bin_file(opal_kobj, &image_data_attr); opal_flash_update_init()
H A Dopal.c663 rc = sysfs_create_bin_file(opal_kobj, &bin_attr_symbol_map); opal_export_symmap()
/linux-4.1.27/arch/powerpc/sysdev/
H A Dmv64x60_pci.c100 return sysfs_create_bin_file(&pdev->dev.kobj, &mv64x60_hs_reg_attr); mv64x60_sysfs_init()
/linux-4.1.27/fs/sysfs/
H A Dfile.c474 * sysfs_create_bin_file - create binary file for object.
478 int sysfs_create_bin_file(struct kobject *kobj, sysfs_create_bin_file() function
485 EXPORT_SYMBOL_GPL(sysfs_create_bin_file); variable
/linux-4.1.27/drivers/i2c/
H A Di2c-slave-eeprom.c134 ret = sysfs_create_bin_file(&client->dev.kobj, &eeprom->bin); i2c_slave_eeprom_probe()
/linux-4.1.27/drivers/misc/eeprom/
H A Dmax6875.c171 err = sysfs_create_bin_file(&client->dev.kobj, &user_eeprom_attr); max6875_probe()
H A Deeprom.c192 return sysfs_create_bin_file(&client->dev.kobj, &eeprom_attr); eeprom_probe()
H A Deeprom_93xx46.c352 err = sysfs_create_bin_file(&spi->dev.kobj, &edev->bin); eeprom_93xx46_probe()
H A Dat25.c427 err = sysfs_create_bin_file(&spi->dev.kobj, &at25->bin); at25_probe()
H A Dat24.c643 err = sysfs_create_bin_file(&client->dev.kobj, &at24->bin); at24_probe()
/linux-4.1.27/drivers/misc/
H A Dpch_phub.c720 ret = sysfs_create_bin_file(&pdev->dev.kobj, &pch_bin_attr); pch_phub_probe()
745 ret = sysfs_create_bin_file(&pdev->dev.kobj, &pch_bin_attr); pch_phub_probe()
772 ret = sysfs_create_bin_file(&pdev->dev.kobj, &pch_bin_attr); pch_phub_probe()
790 ret = sysfs_create_bin_file(&pdev->dev.kobj, &pch_bin_attr); pch_phub_probe()
H A Dds1682.c217 rc = sysfs_create_bin_file(&client->dev.kobj, &ds1682_eeprom_attr); ds1682_probe()
/linux-4.1.27/drivers/hid/
H A Dhid-roccat-lua.c102 return sysfs_create_bin_file(&intf->dev.kobj, &lua_control_attr); lua_create_sysfs_attributes()
/linux-4.1.27/kernel/
H A Dksysfs.c228 error = sysfs_create_bin_file(kernel_kobj, &notes_attr); ksysfs_init()
H A Dmodule.c1473 if (sysfs_create_bin_file(notes_attrs->dir, add_notes_attrs()
/linux-4.1.27/drivers/firmware/
H A Ddell_rbu.c709 rc = sysfs_create_bin_file(&rbu_device->dev.kobj, &rbu_data_attr); dcdrbu_init()
712 rc = sysfs_create_bin_file(&rbu_device->dev.kobj, &rbu_image_type_attr); dcdrbu_init()
715 rc = sysfs_create_bin_file(&rbu_device->dev.kobj, dcdrbu_init()
H A Ddmi-sysfs.c461 ret = sysfs_create_bin_file(entry->child, &dmi_sel_raw_attr); dmi_system_event_log()
627 *ret = sysfs_create_bin_file(&entry->kobj, &dmi_entry_raw_attr); dmi_sysfs_register_handle()
/linux-4.1.27/drivers/scsi/esas2r/
H A Desas2r_main.c480 if (sysfs_create_bin_file(&host->shost_dev.kobj, &bin_attr_fw)) esas2r_probe()
486 if (sysfs_create_bin_file(&host->shost_dev.kobj, &bin_attr_fs)) esas2r_probe()
492 if (sysfs_create_bin_file(&host->shost_dev.kobj, &bin_attr_vda)) esas2r_probe()
498 if (sysfs_create_bin_file(&host->shost_dev.kobj, &bin_attr_hw)) esas2r_probe()
504 if (sysfs_create_bin_file(&host->shost_dev.kobj, &bin_attr_live_nvram)) esas2r_probe()
510 if (sysfs_create_bin_file(&host->shost_dev.kobj, esas2r_probe()
/linux-4.1.27/drivers/acpi/
H A Dsysfs.c331 if (sysfs_create_bin_file(dynamic_tables_kobj, acpi_sysfs_table_handler()
382 ret = sysfs_create_bin_file(tables_kobj, &table_attr->attr); acpi_tables_sysfs_init()
/linux-4.1.27/include/linux/
H A Dsysfs.h230 int __must_check sysfs_create_bin_file(struct kobject *kobj,
352 static inline int sysfs_create_bin_file(struct kobject *kobj, sysfs_create_bin_file() function
/linux-4.1.27/drivers/net/phy/
H A Dspi_ks8995.c335 err = sysfs_create_bin_file(&spi->dev.kobj, &ks->regs_attr); ks8995_probe()
/linux-4.1.27/drivers/scsi/qla4xxx/
H A Dql4_attr.c133 ret = sysfs_create_bin_file(&host->shost_gendev.kobj, qla4_8xxx_alloc_sysfs_attr()
/linux-4.1.27/drivers/rtc/
H A Drtc-ds1742.c206 ret = sysfs_create_bin_file(&pdev->dev.kobj, &pdata->nvram_attr); ds1742_rtc_probe()
H A Drtc-rp5c01.c258 error = sysfs_create_bin_file(&dev->dev.kobj, &priv->nvram_attr); rp5c01_rtc_probe()
H A Drtc-tx4939.c270 ret = sysfs_create_bin_file(&pdev->dev.kobj, &tx4939_rtc_nvram_attr); tx4939_rtc_probe()
H A Drtc-ds1553.c328 ret = sysfs_create_bin_file(&pdev->dev.kobj, &ds1553_nvram_attr); ds1553_rtc_probe()
H A Drtc-stk17ta8.c338 ret = sysfs_create_bin_file(&pdev->dev.kobj, &stk17ta8_nvram_attr); stk17ta8_rtc_probe()
H A Drtc-ds1511.c533 ret = sysfs_create_bin_file(&pdev->dev.kobj, &ds1511_nvram_attr); ds1511_rtc_probe()
H A Drtc-m48t59.c488 ret = sysfs_create_bin_file(&pdev->dev.kobj, &m48t59_nvram_attr); m48t59_rtc_probe()
H A Drtc-ds1305.c767 status = sysfs_create_bin_file(&spi->dev.kobj, &nvram); ds1305_probe()
H A Drtc-cmos.c797 retval = sysfs_create_bin_file(&dev->kobj, &nvram); cmos_do_probe()
H A Drtc-ds1307.c1210 err = sysfs_create_bin_file(&client->dev.kobj, ds1307_probe()
H A Drtc-ds1685.c1747 ret = sysfs_create_bin_file(&dev->kobj, &ds1685_rtc_sysfs_nvram_attr); ds1685_rtc_sysfs_register()
/linux-4.1.27/drivers/fmc/
H A Dfmc-core.c230 ret = sysfs_create_bin_file(&fmc->dev.kobj, &fmc_eeprom_attr); fmc_device_register_n()
/linux-4.1.27/arch/tile/kernel/
H A Dsysfs.c249 err = sysfs_create_bin_file(hypervisor_kobj, &hvconfig_bin); create_sysfs_entries()
/linux-4.1.27/arch/alpha/kernel/
H A Dpci-sysfs.c167 return sysfs_create_bin_file(&pdev->dev.kobj, res_attr); pci_create_one_attr()
/linux-4.1.27/drivers/pci/
H A Dpci-sysfs.c1168 retval = sysfs_create_bin_file(&pdev->dev.kobj, res_attr); pci_create_attr()
1334 retval = sysfs_create_bin_file(&dev->dev.kobj, attr); pci_create_capabilities_sysfs()
1373 retval = sysfs_create_bin_file(&pdev->dev.kobj, &pci_config_attr); pci_create_sysfs_dev_files()
1375 retval = sysfs_create_bin_file(&pdev->dev.kobj, &pcie_config_attr); pci_create_sysfs_dev_files()
1401 retval = sysfs_create_bin_file(&pdev->dev.kobj, attr); pci_create_sysfs_dev_files()
/linux-4.1.27/drivers/firmware/efi/
H A Defivars.c614 error = sysfs_create_bin_file(&efivars_kset->kobj, efivars_new_var); create_efivars_bin_attributes()
621 error = sysfs_create_bin_file(&efivars_kset->kobj, efivars_del_var); create_efivars_bin_attributes()
/linux-4.1.27/drivers/infiniband/hw/qib/
H A Dqib_sysfs.c738 ret = sysfs_create_bin_file(&ppd->pport_cc_kobj, qib_create_port_files()
747 ret = sysfs_create_bin_file(&ppd->pport_cc_kobj, qib_create_port_files()
/linux-4.1.27/drivers/power/
H A Dds2780_battery.c797 ret = sysfs_create_bin_file(&dev_info->bat->dev.kobj, ds2780_battery_probe()
805 ret = sysfs_create_bin_file(&dev_info->bat->dev.kobj, ds2780_battery_probe()
H A Dds2781_battery.c790 ret = sysfs_create_bin_file(&dev_info->bat->dev.kobj, ds2781_battery_probe()
798 ret = sysfs_create_bin_file(&dev_info->bat->dev.kobj, ds2781_battery_probe()
/linux-4.1.27/drivers/misc/cxl/
H A Dsysfs.c513 rc = sysfs_create_bin_file(&cr->kobj, &cr->config_attr); cxl_sysfs_afu_new_cr()
/linux-4.1.27/drivers/scsi/ibmvscsi/
H A Dibmvfc.h768 #define ibmvfc_create_trace_file(kobj, attr) sysfs_create_bin_file(kobj, attr)
/linux-4.1.27/drivers/sfi/
H A Dsfi_core.c442 ret = sysfs_create_bin_file(tables_kobj, sfi_sysfs_install_table()
/linux-4.1.27/drivers/pci/hotplug/
H A Dacpiphp_ibm.c456 retval = sysfs_create_bin_file(sysdir, &ibm_apci_table_attr); ibm_acpiphp_init()
/linux-4.1.27/drivers/gpu/drm/i915/
H A Di915_sysfs.c658 ret = sysfs_create_bin_file(&dev->primary->kdev->kobj, i915_setup_sysfs()
/linux-4.1.27/arch/mips/txx9/generic/
H A Dsetup.c978 err = sysfs_create_bin_file(&dev->dev.kobj, &dev->bindata_attr); txx9_sramc_init()
/linux-4.1.27/net/bridge/
H A Dbr_sysfs_br.c858 err = sysfs_create_bin_file(brobj, &bridge_forward); br_sysfs_addbr()
/linux-4.1.27/drivers/scsi/
H A Dipr.h1742 #define ipr_create_trace_file(kobj, attr) sysfs_create_bin_file(kobj, attr)
1750 #define ipr_create_dump_file(kobj, attr) sysfs_create_bin_file(kobj, attr)
H A D3w-sas.c1684 if (sysfs_create_bin_file(&host->shost_dev.kobj, &twl_sysfs_aen_read_attr)) twl_probe()
1686 if (sysfs_create_bin_file(&host->shost_dev.kobj, &twl_sysfs_compat_info_attr)) twl_probe()
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_sysfs.c1428 if (sysfs_create_bin_file(&dev->kobj, &bin_attr_flash)) qlcnic_83xx_add_sysfs()
/linux-4.1.27/drivers/of/
H A Dfdt.c1142 return sysfs_create_bin_file(firmware_kobj, &of_fdt_raw_attr); of_fdt_raw_init()
H A Dbase.c154 rc = sysfs_create_bin_file(&np->kobj, &pp->attr); __of_add_property_sysfs()
/linux-4.1.27/drivers/pcmcia/
H A Dds.c1350 ret = sysfs_create_bin_file(&dev->kobj, &pccard_cis_attr); pcmcia_bus_add_socket()
/linux-4.1.27/drivers/video/fbdev/aty/
H A Dradeon_base.c2328 err |= sysfs_create_bin_file(&rinfo->pdev->dev.kobj, radeonfb_pci_register()
2331 err |= sysfs_create_bin_file(&rinfo->pdev->dev.kobj, radeonfb_pci_register()
/linux-4.1.27/drivers/scsi/lpfc/
H A Dlpfc_attr.c5093 * error return code from sysfs_create_bin_file()
5101 error = sysfs_create_bin_file(&shost->shost_dev.kobj, lpfc_alloc_sysfs_attr()
5108 error = sysfs_create_bin_file(&shost->shost_dev.kobj, lpfc_alloc_sysfs_attr()
5113 error = sysfs_create_bin_file(&shost->shost_dev.kobj, lpfc_alloc_sysfs_attr()
/linux-4.1.27/drivers/scsi/qla2xxx/
H A Dqla_attr.c964 ret = sysfs_create_bin_file(&host->shost_gendev.kobj, qla2x00_alloc_sysfs_attr()
/linux-4.1.27/drivers/base/
H A Dcore.c600 error = sysfs_create_bin_file(&dev->kobj, attr); device_create_bin_file()

Completed in 9159 milliseconds