Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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.c241 sysfs_attr_init(scpi_sensors->attrs[idx << 1]); in scpi_hwmon_probe()
242 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.c107 sysfs_attr_init(&a->dev_attr.attr); in iio_hwmon_probe()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_topology.c665 sysfs_attr_init(&dev->attr_gpuid); in kfd_build_sysfs_node_entry()
668 sysfs_attr_init(&dev->attr_name); in kfd_build_sysfs_node_entry()
671 sysfs_attr_init(&dev->attr_props); in kfd_build_sysfs_node_entry()
696 sysfs_attr_init(&mem->attr); in kfd_build_sysfs_node_entry()
717 sysfs_attr_init(&cache->attr); in kfd_build_sysfs_node_entry()
738 sysfs_attr_init(&iolink->attr); in kfd_build_sysfs_node_entry()
825 sysfs_attr_init(&sys_props.attr_genid); in kfd_topology_update_sysfs()
833 sysfs_attr_init(&sys_props.attr_props); in kfd_topology_update_sysfs()
Dkfd_process.c494 sysfs_attr_init(attr); in kfd_sysfs_create_file()
543 sysfs_attr_init(&pdd->attr_evict); in kfd_procfs_add_sysfs_stats()
553 sysfs_attr_init(&pdd->attr_cu_occupancy); in kfd_procfs_add_sysfs_stats()
798 sysfs_attr_init(&process->attr_pasid); in kfd_create_process()
/kernel/linux/linux-5.10/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.c539 sysfs_attr_init(&tz->trip_type_attrs[indx].attr.attr); in create_trip_attrs()
550 sysfs_attr_init(&tz->trip_temp_attrs[indx].attr.attr); in create_trip_attrs()
569 sysfs_attr_init(&tz->trip_hyst_attrs[indx].attr.attr); in create_trip_attrs()
/kernel/linux/linux-5.10/drivers/platform/x86/
Dsony-laptop.c851 sysfs_attr_init(&handles->devattr.attr); in sony_nc_handles_setup()
1916 sysfs_attr_init(&kbdbl_ctl->mode_attr.attr); in sony_nc_kbd_backlight_setup()
1929 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()
2249 sysfs_attr_init(&th_handle->profiles_attr.attr); in sony_nc_thermal_setup()
2254 sysfs_attr_init(&th_handle->mode_attr.attr); in sony_nc_thermal_setup()
2387 sysfs_attr_init(&lid_ctl->attrs[0].attr); in sony_nc_lid_resume_setup()
2394 sysfs_attr_init(&lid_ctl->attrs[1].attr); in sony_nc_lid_resume_setup()
2400 sysfs_attr_init(&lid_ctl->attrs[2].attr); in sony_nc_lid_resume_setup()
[all …]
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()
/kernel/linux/linux-5.10/include/linux/
Dsysfs.h51 #define sysfs_attr_init(attr) \ macro
58 #define sysfs_attr_init(attr) do {} while (0) macro
190 #define sysfs_bin_attr_init(bin_attr) sysfs_attr_init(&(bin_attr)->attr)
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/macintosh/
Dwindfarm_core.c225 sysfs_attr_init(&new_ct->attr.attr); in wf_register_control()
320 sysfs_attr_init(&new_sr->attr.attr); in wf_register_sensor()
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
Dopal-psr.c151 sysfs_attr_init(&psr_attrs[i].attr.attr); in opal_psr_init()
Dopal-powercap.c136 sysfs_attr_init(&attr->attr.attr); in powercap_add_attr()
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()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dsysfs.c178 sysfs_attr_init(&vdentry->dentry.attr); in create_sysfs_entry()
519 sysfs_attr_init(&element->attr.attr); in alloc_group_attrs()
598 sysfs_attr_init(&p->smi_enabled.attr); in add_vf_smi_entries()
609 sysfs_attr_init(&p->enable_smi_admin.attr); in add_vf_smi_entries()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sysfs.c126 sysfs_attr_init(&ixgbe_attr->dev_attr.attr); in ixgbe_add_hwmon_attr()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/
Digb_hwmon.c132 sysfs_attr_init(&igb_attr->dev_attr.attr); in igb_add_hwmon_attr()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/misc/ocxl/
Dsysfs.c154 sysfs_attr_init(&info->attr_global_mmio.attr); in ocxl_sysfs_register_afu()
/kernel/linux/linux-5.10/drivers/platform/mellanox/
Dmlxreg-io.c202 sysfs_attr_init(&priv->mlxreg_io_dev_attr[i].dev_attr.attr); in mlxreg_io_attr_init()
/kernel/linux/linux-5.10/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()
913 sysfs_attr_init(&counter_attrs[i].attr); in acpi_irq_stats_init()

1234