Home
last modified time | relevance | path

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

1234

/linux-6.1.9/drivers/media/usb/pvrusb2/
Dpvrusb2-sysfs.c312 sysfs_attr_init(&cip->attr_name.attr); in pvr2_sysfs_add_control()
317 sysfs_attr_init(&cip->attr_type.attr); in pvr2_sysfs_add_control()
322 sysfs_attr_init(&cip->attr_min.attr); in pvr2_sysfs_add_control()
327 sysfs_attr_init(&cip->attr_max.attr); in pvr2_sysfs_add_control()
332 sysfs_attr_init(&cip->attr_def.attr); in pvr2_sysfs_add_control()
337 sysfs_attr_init(&cip->attr_val.attr); in pvr2_sysfs_add_control()
341 sysfs_attr_init(&cip->attr_custom.attr); in pvr2_sysfs_add_control()
345 sysfs_attr_init(&cip->attr_enum.attr); in pvr2_sysfs_add_control()
350 sysfs_attr_init(&cip->attr_bits.attr); in pvr2_sysfs_add_control()
420 sysfs_attr_init(&dip->attr_debugcmd.attr); in pvr2_sysfs_add_debugifc()
[all …]
/linux-6.1.9/drivers/acpi/
Dfan_attr.c78 sysfs_attr_init(&fan->fine_grain_control.attr); in acpi_fan_create_attributes()
88 sysfs_attr_init(&fan->fst_speed.attr); in acpi_fan_create_attributes()
101 sysfs_attr_init(&fps->dev_attr.attr); in acpi_fan_create_attributes()
Dsysfs.c349 sysfs_attr_init(&table_attr->attr.attr); in acpi_table_attr_init()
479 sysfs_attr_init(&data_attr->attr.attr); in acpi_table_data_init()
896 sysfs_attr_init(&counter_attrs[i].attr); in acpi_irq_stats_init()
/linux-6.1.9/drivers/hwmon/
Di5k_amb.c289 sysfs_attr_init(&iattr->s_attr.dev_attr.attr); in i5k_amb_hwmon_init()
304 sysfs_attr_init(&iattr->s_attr.dev_attr.attr); in i5k_amb_hwmon_init()
320 sysfs_attr_init(&iattr->s_attr.dev_attr.attr); in i5k_amb_hwmon_init()
336 sysfs_attr_init(&iattr->s_attr.dev_attr.attr); in i5k_amb_hwmon_init()
352 sysfs_attr_init(&iattr->s_attr.dev_attr.attr); in i5k_amb_hwmon_init()
367 sysfs_attr_init(&iattr->s_attr.dev_attr.attr); in i5k_amb_hwmon_init()
Dscpi-hwmon.c239 sysfs_attr_init(scpi_sensors->attrs[idx << 1]); in scpi_hwmon_probe()
240 sysfs_attr_init(scpi_sensors->attrs[(idx << 1) + 1]); in scpi_hwmon_probe()
Ds3c-hwmon.c219 sysfs_attr_init(&attr->dev_attr.attr); in s3c_hwmon_create_attr()
237 sysfs_attr_init(&attr->dev_attr.attr); in s3c_hwmon_create_attr()
Diio_hwmon.c109 sysfs_attr_init(&a->dev_attr.attr); in iio_hwmon_probe()
/linux-6.1.9/drivers/platform/x86/intel/uncore-frequency/
Duncore-frequency-common.c125 sysfs_attr_init(&data->_name##_dev_attr.attr); \
134 sysfs_attr_init(&data->_name##_dev_attr.attr); \
143 sysfs_attr_init(&data->_name##_dev_attr.attr); \
/linux-6.1.9/drivers/thermal/
Dthermal_hwmon.c174 sysfs_attr_init(&temp->temp_input.attr.attr); in thermal_add_hwmon_sysfs()
186 sysfs_attr_init(&temp->temp_crit.attr.attr); in thermal_add_hwmon_sysfs()
Dthermal_sysfs.c468 sysfs_attr_init(&tz->trip_type_attrs[indx].attr.attr); in create_trip_attrs()
479 sysfs_attr_init(&tz->trip_temp_attrs[indx].attr.attr); in create_trip_attrs()
498 sysfs_attr_init(&tz->trip_hyst_attrs[indx].attr.attr); in create_trip_attrs()
/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/
Dkfd_topology.c710 sysfs_attr_init(&dev->attr_gpuid); in kfd_build_sysfs_node_entry()
713 sysfs_attr_init(&dev->attr_name); in kfd_build_sysfs_node_entry()
716 sysfs_attr_init(&dev->attr_props); in kfd_build_sysfs_node_entry()
741 sysfs_attr_init(&mem->attr); in kfd_build_sysfs_node_entry()
762 sysfs_attr_init(&cache->attr); in kfd_build_sysfs_node_entry()
783 sysfs_attr_init(&iolink->attr); in kfd_build_sysfs_node_entry()
804 sysfs_attr_init(&p2plink->attr); in kfd_build_sysfs_node_entry()
891 sysfs_attr_init(&sys_props.attr_genid); in kfd_topology_update_sysfs()
899 sysfs_attr_init(&sys_props.attr_props); in kfd_topology_update_sysfs()
1385 sysfs_attr_init(&p2plink->attr); in kfd_build_p2p_node_entry()
/linux-6.1.9/drivers/platform/x86/
Dsony-laptop.c851 sysfs_attr_init(&handles->devattr.attr); in sony_nc_handles_setup()
1919 sysfs_attr_init(&kbdbl_ctl->mode_attr.attr); in sony_nc_kbd_backlight_setup()
1932 sysfs_attr_init(&kbdbl_ctl->timeout_attr.attr); in sony_nc_kbd_backlight_setup()
2082 sysfs_attr_init(&bcare_ctl->attrs[0].attr); in sony_nc_battery_care_setup()
2096 sysfs_attr_init(&bcare_ctl->attrs[1].attr); in sony_nc_battery_care_setup()
2246 sysfs_attr_init(&th_handle->profiles_attr.attr); in sony_nc_thermal_setup()
2251 sysfs_attr_init(&th_handle->mode_attr.attr); in sony_nc_thermal_setup()
2384 sysfs_attr_init(&lid_ctl->attrs[0].attr); in sony_nc_lid_resume_setup()
2391 sysfs_attr_init(&lid_ctl->attrs[1].attr); in sony_nc_lid_resume_setup()
2397 sysfs_attr_init(&lid_ctl->attrs[2].attr); in sony_nc_lid_resume_setup()
[all …]
/linux-6.1.9/drivers/dma/qcom/
Dhidma_mgmt_sys.c203 sysfs_attr_init(&attrs->attr); in create_sysfs_entry()
229 sysfs_attr_init(&chattr->attr.attr); in create_sysfs_entry_channel()
/linux-6.1.9/drivers/macintosh/
Dwindfarm_core.c223 sysfs_attr_init(&new_ct->attr.attr); in wf_register_control()
318 sysfs_attr_init(&new_sr->attr.attr); in wf_register_sensor()
/linux-6.1.9/include/linux/
Dsysfs.h51 #define sysfs_attr_init(attr) \ macro
58 #define sysfs_attr_init(attr) do {} while (0) macro
198 #define sysfs_bin_attr_init(bin_attr) sysfs_attr_init(&(bin_attr)->attr)
/linux-6.1.9/drivers/infiniband/hw/mlx4/
Dsysfs.c180 sysfs_attr_init(&vdentry->dentry.attr); in create_sysfs_entry()
517 sysfs_attr_init(&element->attr.attr); in alloc_group_attrs()
588 sysfs_attr_init(&p->smi_enabled.attr); in add_vf_smi_entries()
599 sysfs_attr_init(&p->enable_smi_admin.attr); in add_vf_smi_entries()
/linux-6.1.9/arch/powerpc/platforms/powernv/
Dopal-psr.c151 sysfs_attr_init(&psr_attrs[i].attr.attr); in opal_psr_init()
Dopal-sensor-groups.c123 sysfs_attr_init(&attr->attr.attr); in add_attr()
/linux-6.1.9/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sysfs.c126 sysfs_attr_init(&ixgbe_attr->dev_attr.attr); in ixgbe_add_hwmon_attr()
/linux-6.1.9/drivers/net/ethernet/intel/igb/
Digb_hwmon.c132 sysfs_attr_init(&igb_attr->dev_attr.attr); in igb_add_hwmon_attr()
/linux-6.1.9/drivers/platform/x86/dell/
Ddell-smbios-base.c504 sysfs_attr_init(&token_location_attrs[i].attr); in build_tokens_sysfs()
515 sysfs_attr_init(&token_value_attrs[i].attr); in build_tokens_sysfs()
/linux-6.1.9/net/netfilter/
Dxt_IDLETIMER.c150 sysfs_attr_init(&info->timer->attr.attr); in idletimer_tg_create()
199 sysfs_attr_init(&info->timer->attr.attr); in idletimer_tg_create_v1()
/linux-6.1.9/drivers/counter/
Dcounter-sysfs.c544 sysfs_attr_init(&dev_attr->attr); in counter_avail_attr_create()
582 sysfs_attr_init(&dev_attr->attr); in counter_attr_create()
688 sysfs_attr_init(&counter_attr->dev_attr.attr); in counter_name_attr_create()
728 sysfs_attr_init(&counter_attr->dev_attr.attr); in counter_comp_id_attr_create()
/linux-6.1.9/drivers/infiniband/core/
Dsysfs.c966 sysfs_attr_init(&attr->attr.attr); in ib_setup_device_attrs()
976 sysfs_attr_init(&attr->attr.attr); in ib_setup_device_attrs()
1063 sysfs_attr_init(&attr->attr.attr); in setup_hw_port_stats()
1073 sysfs_attr_init(&attr->attr.attr); in setup_hw_port_stats()
1115 sysfs_attr_init(&element->attr.attr); in alloc_port_table_group()
/linux-6.1.9/drivers/misc/ocxl/
Dsysfs.c154 sysfs_attr_init(&info->attr_global_mmio.attr); in ocxl_sysfs_register_afu()

1234