Home
last modified time | relevance | path

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

1234

/linux-6.6.21/drivers/media/usb/pvrusb2/
Dpvrusb2-sysfs.c308 sysfs_attr_init(&cip->attr_name.attr); in pvr2_sysfs_add_control()
313 sysfs_attr_init(&cip->attr_type.attr); in pvr2_sysfs_add_control()
318 sysfs_attr_init(&cip->attr_min.attr); in pvr2_sysfs_add_control()
323 sysfs_attr_init(&cip->attr_max.attr); in pvr2_sysfs_add_control()
328 sysfs_attr_init(&cip->attr_def.attr); in pvr2_sysfs_add_control()
333 sysfs_attr_init(&cip->attr_val.attr); in pvr2_sysfs_add_control()
337 sysfs_attr_init(&cip->attr_custom.attr); in pvr2_sysfs_add_control()
341 sysfs_attr_init(&cip->attr_enum.attr); in pvr2_sysfs_add_control()
346 sysfs_attr_init(&cip->attr_bits.attr); in pvr2_sysfs_add_control()
416 sysfs_attr_init(&dip->attr_debugcmd.attr); in pvr2_sysfs_add_debugifc()
[all …]
/linux-6.6.21/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.c350 sysfs_attr_init(&table_attr->attr.attr); in acpi_table_attr_init()
497 sysfs_attr_init(&data_attr->attr.attr); in acpi_table_data_init()
914 sysfs_attr_init(&counter_attrs[i].attr); in acpi_irq_stats_init()
/linux-6.6.21/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()
Diio_hwmon.c111 sysfs_attr_init(&a->dev_attr.attr); in iio_hwmon_probe()
/linux-6.6.21/drivers/platform/x86/intel/uncore-frequency/
Duncore-frequency-common.c152 sysfs_attr_init(&data->_name##_kobj_attr.attr); \
161 sysfs_attr_init(&data->_name##_kobj_attr.attr); \
170 sysfs_attr_init(&data->_name##_kobj_attr.attr); \
/linux-6.6.21/drivers/thermal/
Dthermal_hwmon.c183 sysfs_attr_init(&temp->temp_input.attr.attr); in thermal_add_hwmon_sysfs()
195 sysfs_attr_init(&temp->temp_crit.attr.attr); in thermal_add_hwmon_sysfs()
Dthermal_sysfs.c477 sysfs_attr_init(&tz->trip_type_attrs[indx].attr.attr); in create_trip_attrs()
488 sysfs_attr_init(&tz->trip_temp_attrs[indx].attr.attr); in create_trip_attrs()
504 sysfs_attr_init(&tz->trip_hyst_attrs[indx].attr.attr); in create_trip_attrs()
/linux-6.6.21/drivers/platform/x86/
Dsony-laptop.c850 sysfs_attr_init(&handles->devattr.attr); in sony_nc_handles_setup()
1918 sysfs_attr_init(&kbdbl_ctl->mode_attr.attr); in sony_nc_kbd_backlight_setup()
1931 sysfs_attr_init(&kbdbl_ctl->timeout_attr.attr); in sony_nc_kbd_backlight_setup()
2081 sysfs_attr_init(&bcare_ctl->attrs[0].attr); in sony_nc_battery_care_setup()
2095 sysfs_attr_init(&bcare_ctl->attrs[1].attr); in sony_nc_battery_care_setup()
2244 sysfs_attr_init(&th_handle->profiles_attr.attr); in sony_nc_thermal_setup()
2249 sysfs_attr_init(&th_handle->mode_attr.attr); in sony_nc_thermal_setup()
2382 sysfs_attr_init(&lid_ctl->attrs[0].attr); in sony_nc_lid_resume_setup()
2389 sysfs_attr_init(&lid_ctl->attrs[1].attr); in sony_nc_lid_resume_setup()
2395 sysfs_attr_init(&lid_ctl->attrs[2].attr); in sony_nc_lid_resume_setup()
[all …]
/linux-6.6.21/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.6.21/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.6.21/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.6.21/drivers/gpu/drm/amd/amdkfd/
Dkfd_topology.c696 sysfs_attr_init(&dev->attr_gpuid); in kfd_build_sysfs_node_entry()
699 sysfs_attr_init(&dev->attr_name); in kfd_build_sysfs_node_entry()
702 sysfs_attr_init(&dev->attr_props); in kfd_build_sysfs_node_entry()
727 sysfs_attr_init(&mem->attr); in kfd_build_sysfs_node_entry()
748 sysfs_attr_init(&cache->attr); in kfd_build_sysfs_node_entry()
769 sysfs_attr_init(&iolink->attr); in kfd_build_sysfs_node_entry()
790 sysfs_attr_init(&p2plink->attr); in kfd_build_sysfs_node_entry()
877 sysfs_attr_init(&sys_props.attr_genid); in kfd_topology_update_sysfs()
885 sysfs_attr_init(&sys_props.attr_props); in kfd_topology_update_sysfs()
1322 sysfs_attr_init(&p2plink->attr); in kfd_build_p2p_node_entry()
/linux-6.6.21/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.6.21/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()
Dopal-sysparam.c240 sysfs_attr_init(&attr[i].kobj_attr.attr); in opal_sys_param_init()
/linux-6.6.21/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sysfs.c126 sysfs_attr_init(&ixgbe_attr->dev_attr.attr); in ixgbe_add_hwmon_attr()
/linux-6.6.21/drivers/net/ethernet/intel/igb/
Digb_hwmon.c132 sysfs_attr_init(&igb_attr->dev_attr.attr); in igb_add_hwmon_attr()
/linux-6.6.21/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.6.21/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.6.21/drivers/counter/
Dcounter-sysfs.c550 sysfs_attr_init(&dev_attr->attr); in counter_avail_attr_create()
588 sysfs_attr_init(&dev_attr->attr); in counter_attr_create()
694 sysfs_attr_init(&counter_attr->dev_attr.attr); in counter_name_attr_create()
734 sysfs_attr_init(&counter_attr->dev_attr.attr); in counter_comp_id_attr_create()
/linux-6.6.21/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.6.21/drivers/misc/ocxl/
Dsysfs.c154 sysfs_attr_init(&info->attr_global_mmio.attr); in ocxl_sysfs_register_afu()

1234