Home
last modified time | relevance | path

Searched refs:sysfs_attr_init (Results 1 – 25 of 76) sorted by relevance

1234

/Linux-v4.19/drivers/media/usb/pvrusb2/
Dpvrusb2-sysfs.c322 sysfs_attr_init(&cip->attr_name.attr); in pvr2_sysfs_add_control()
327 sysfs_attr_init(&cip->attr_type.attr); in pvr2_sysfs_add_control()
332 sysfs_attr_init(&cip->attr_min.attr); in pvr2_sysfs_add_control()
337 sysfs_attr_init(&cip->attr_max.attr); in pvr2_sysfs_add_control()
342 sysfs_attr_init(&cip->attr_def.attr); in pvr2_sysfs_add_control()
347 sysfs_attr_init(&cip->attr_val.attr); in pvr2_sysfs_add_control()
351 sysfs_attr_init(&cip->attr_custom.attr); in pvr2_sysfs_add_control()
355 sysfs_attr_init(&cip->attr_enum.attr); in pvr2_sysfs_add_control()
360 sysfs_attr_init(&cip->attr_bits.attr); in pvr2_sysfs_add_control()
430 sysfs_attr_init(&dip->attr_debugcmd.attr); in pvr2_sysfs_add_debugifc()
[all …]
/Linux-v4.19/drivers/hwmon/
Di5k_amb.c302 sysfs_attr_init(&iattr->s_attr.dev_attr.attr); in i5k_amb_hwmon_init()
317 sysfs_attr_init(&iattr->s_attr.dev_attr.attr); in i5k_amb_hwmon_init()
333 sysfs_attr_init(&iattr->s_attr.dev_attr.attr); in i5k_amb_hwmon_init()
349 sysfs_attr_init(&iattr->s_attr.dev_attr.attr); in i5k_amb_hwmon_init()
365 sysfs_attr_init(&iattr->s_attr.dev_attr.attr); in i5k_amb_hwmon_init()
380 sysfs_attr_init(&iattr->s_attr.dev_attr.attr); in i5k_amb_hwmon_init()
Dscpi-hwmon.c240 sysfs_attr_init(scpi_sensors->attrs[idx << 1]); in scpi_hwmon_probe()
241 sysfs_attr_init(scpi_sensors->attrs[(idx << 1) + 1]); in scpi_hwmon_probe()
Ds3c-hwmon.c231 sysfs_attr_init(&attr->dev_attr.attr); in s3c_hwmon_create_attr()
249 sysfs_attr_init(&attr->dev_attr.attr); in s3c_hwmon_create_attr()
Diio_hwmon.c103 sysfs_attr_init(&a->dev_attr.attr); in iio_hwmon_probe()
/Linux-v4.19/drivers/gpu/drm/amd/amdkfd/
Dkfd_topology.c619 sysfs_attr_init(&dev->attr_gpuid); in kfd_build_sysfs_node_entry()
622 sysfs_attr_init(&dev->attr_name); in kfd_build_sysfs_node_entry()
625 sysfs_attr_init(&dev->attr_props); in kfd_build_sysfs_node_entry()
648 sysfs_attr_init(&mem->attr); in kfd_build_sysfs_node_entry()
667 sysfs_attr_init(&cache->attr); in kfd_build_sysfs_node_entry()
686 sysfs_attr_init(&iolink->attr); in kfd_build_sysfs_node_entry()
772 sysfs_attr_init(&sys_props.attr_genid); in kfd_topology_update_sysfs()
780 sysfs_attr_init(&sys_props.attr_props); in kfd_topology_update_sysfs()
/Linux-v4.19/include/linux/
Dsysfs.h51 #define sysfs_attr_init(attr) \ macro
58 #define sysfs_attr_init(attr) do {} while (0) macro
183 #define sysfs_bin_attr_init(bin_attr) sysfs_attr_init(&(bin_attr)->attr)
/Linux-v4.19/drivers/thermal/
Dthermal_hwmon.c168 sysfs_attr_init(&temp->temp_input.attr.attr); in thermal_add_hwmon_sysfs()
180 sysfs_attr_init(&temp->temp_crit.attr.attr); in thermal_add_hwmon_sysfs()
Dthermal_sysfs.c555 sysfs_attr_init(&tz->trip_type_attrs[indx].attr.attr); in create_trip_attrs()
566 sysfs_attr_init(&tz->trip_temp_attrs[indx].attr.attr); in create_trip_attrs()
585 sysfs_attr_init(&tz->trip_hyst_attrs[indx].attr.attr); in create_trip_attrs()
/Linux-v4.19/drivers/platform/x86/
Dsony-laptop.c872 sysfs_attr_init(&handles->devattr.attr); in sony_nc_handles_setup()
1937 sysfs_attr_init(&kbdbl_ctl->mode_attr.attr); in sony_nc_kbd_backlight_setup()
1950 sysfs_attr_init(&kbdbl_ctl->timeout_attr.attr); in sony_nc_kbd_backlight_setup()
2103 sysfs_attr_init(&bcare_ctl->attrs[0].attr); in sony_nc_battery_care_setup()
2117 sysfs_attr_init(&bcare_ctl->attrs[1].attr); in sony_nc_battery_care_setup()
2270 sysfs_attr_init(&th_handle->profiles_attr.attr); in sony_nc_thermal_setup()
2275 sysfs_attr_init(&th_handle->mode_attr.attr); in sony_nc_thermal_setup()
2403 sysfs_attr_init(&lid_ctl->attrs[0].attr); in sony_nc_lid_resume_setup()
2410 sysfs_attr_init(&lid_ctl->attrs[1].attr); in sony_nc_lid_resume_setup()
2416 sysfs_attr_init(&lid_ctl->attrs[2].attr); in sony_nc_lid_resume_setup()
[all …]
Ddell-smbios-base.c507 sysfs_attr_init(&token_location_attrs[i].attr); in build_tokens_sysfs()
518 sysfs_attr_init(&token_value_attrs[i].attr); in build_tokens_sysfs()
/Linux-v4.19/drivers/macintosh/
Dwindfarm_core.c226 sysfs_attr_init(&new_ct->attr.attr); in wf_register_control()
321 sysfs_attr_init(&new_sr->attr.attr); in wf_register_sensor()
/Linux-v4.19/drivers/dma/qcom/
Dhidma_mgmt_sys.c211 sysfs_attr_init(&attrs->attr); in create_sysfs_entry()
237 sysfs_attr_init(&chattr->attr.attr); in create_sysfs_entry_channel()
/Linux-v4.19/arch/powerpc/platforms/powernv/
Dopal-psr.c155 sysfs_attr_init(&psr_attrs[i].attr.attr); in opal_psr_init()
Dopal-powercap.c140 sysfs_attr_init(&attr->attr.attr); in powercap_add_attr()
Dopal-sensor-groups.c127 sysfs_attr_init(&attr->attr.attr); in add_attr()
Dopal-sysparam.c253 sysfs_attr_init(&attr[i].kobj_attr.attr); in opal_sys_param_init()
/Linux-v4.19/drivers/misc/ocxl/
Dsysfs.c112 sysfs_attr_init(&afu->attr_global_mmio.attr); in ocxl_sysfs_add_afu()
/Linux-v4.19/drivers/infiniband/hw/mlx4/
Dsysfs.c178 sysfs_attr_init(&vdentry->dentry.attr); in create_sysfs_entry()
523 sysfs_attr_init(&element->attr.attr); in alloc_group_attrs()
602 sysfs_attr_init(&p->smi_enabled.attr); in add_vf_smi_entries()
613 sysfs_attr_init(&p->enable_smi_admin.attr); in add_vf_smi_entries()
/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sysfs.c126 sysfs_attr_init(&ixgbe_attr->dev_attr.attr); in ixgbe_add_hwmon_attr()
/Linux-v4.19/drivers/net/ethernet/intel/igb/
Digb_hwmon.c132 sysfs_attr_init(&igb_attr->dev_attr.attr); in igb_add_hwmon_attr()
/Linux-v4.19/drivers/platform/mellanox/
Dmlxreg-io.c184 sysfs_attr_init(&priv->mlxreg_io_dev_attr[i].dev_attr.attr); in mlxreg_io_attr_init()
/Linux-v4.19/drivers/acpi/
Dsysfs.c370 sysfs_attr_init(&table_attr->attr.attr); in acpi_table_attr_init()
491 sysfs_attr_init(&data_attr->attr.attr); in acpi_table_data_init()
910 sysfs_attr_init(&counter_attrs[i].attr); in acpi_irq_stats_init()
/Linux-v4.19/net/netfilter/
Dxt_IDLETIMER.c129 sysfs_attr_init(&info->timer->attr.attr); in idletimer_tg_create()
/Linux-v4.19/drivers/base/
Dattribute_container.c330 sysfs_attr_init(&attrs[i]->attr); in attribute_container_add_attrs()

1234