Home
last modified time | relevance | path

Searched refs:attribute_group (Results 1 – 25 of 1153) sorted by relevance

12345678910>>...47

/linux/include/linux/
H A Dsysfs.h105 struct attribute_group { struct
285 static const struct attribute_group *_name##_groups[] = { \
291 static const struct attribute_group _name##_group = { \
302 static const struct attribute_group _name##_group = { \
446 const struct attribute_group *grp);
448 const struct attribute_group **groups);
450 const struct attribute_group **groups);
452 const struct attribute_group *grp);
454 const struct attribute_group *grp);
456 const struct attribute_group **groups);
[all …]
H A Ddevice.h75 const struct attribute_group **groups);
77 const struct attribute_group **groups);
90 const struct attribute_group **groups;
649 const struct attribute_group **groups; /* optional groups */
1183 void *drvdata, const struct attribute_group **groups,
1188 const struct attribute_group **groups);
1190 const struct attribute_group **groups);
1193 const struct attribute_group *grp) in device_add_group()
1195 const struct attribute_group *groups[] = { grp, NULL }; in device_add_group()
1201 const struct attribute_group *grp) in device_remove_group()
[all …]
/linux/drivers/hwmon/
H A Dvexpress-hwmon.c83 const struct attribute_group **attr_groups;
94 static struct attribute_group vexpress_hwmon_group_volt = {
100 .attr_groups = (const struct attribute_group *[]) {
114 static struct attribute_group vexpress_hwmon_group_amp = {
120 .attr_groups = (const struct attribute_group *[]) {
133 static struct attribute_group vexpress_hwmon_group_temp = {
139 .attr_groups = (const struct attribute_group *[]) {
152 static struct attribute_group vexpress_hwmon_group_power = {
158 .attr_groups = (const struct attribute_group *[]) {
171 static struct attribute_group vexpress_hwmon_group_energy = {
[all …]
/linux/fs/sysfs/
H A Dgroup.c21 const struct attribute_group *grp) in remove_files()
34 static umode_t __first_visible(const struct attribute_group *grp, struct kobject *kobj) in __first_visible()
50 const struct attribute_group *grp, int update) in create_files()
130 const struct attribute_group *grp) in internal_create_group()
213 const struct attribute_group *grp) in sysfs_create_group()
220 const struct attribute_group **groups) in internal_create_groups()
253 const struct attribute_group **groups) in sysfs_create_groups()
271 const struct attribute_group **groups) in sysfs_update_groups()
296 const struct attribute_group *grp) in sysfs_update_group()
311 const struct attribute_group *grp) in sysfs_remove_group()
[all …]
/linux/drivers/net/ipa/
H A Dipa_sysfs.h9 extern const struct attribute_group ipa_attribute_group;
10 extern const struct attribute_group ipa_feature_attribute_group;
11 extern const struct attribute_group ipa_endpoint_id_attribute_group;
12 extern const struct attribute_group ipa_modem_attribute_group;
H A Dipa_sysfs.c64 const struct attribute_group ipa_attribute_group = {
99 const struct attribute_group ipa_feature_attribute_group = {
149 const struct attribute_group ipa_endpoint_id_attribute_group = {
171 const struct attribute_group ipa_modem_attribute_group = {
/linux/include/linux/iio/
H A Diio-opaque.h59 struct attribute_group chan_attr_group;
61 const struct attribute_group **groups;
63 struct attribute_group legacy_scan_el_group;
64 struct attribute_group legacy_buffer_group;
/linux/drivers/soundwire/
H A Dsysfs_slave.c109 static const struct attribute_group slave_attr_group = {
132 static const struct attribute_group sdw_slave_dev_attr_group = {
203 static const struct attribute_group dp0_group = {
209 const struct attribute_group *sdw_attr_groups[] = {
259 static const struct attribute_group sdw_slave_status_attr_group = {
263 const struct attribute_group *sdw_slave_status_attr_groups[] = {
H A Dsysfs_local.h12 extern const struct attribute_group *sdw_slave_status_attr_groups[];
15 extern const struct attribute_group *sdw_attr_groups[];
/linux/drivers/gpu/drm/xe/
H A Dxe_gt_throttle.c118 static const struct attribute_group *get_platform_throttle_group(struct xe_device *xe);
125 const struct attribute_group *group; in reasons_show()
227 static const struct attribute_group throttle_group_attrs = {
232 static const struct attribute_group cri_throttle_group_attrs = {
237 static const struct attribute_group *get_platform_throttle_group(struct xe_device *xe) in get_platform_throttle_group()
251 const struct attribute_group *group = get_platform_throttle_group(xe); in gt_throttle_sysfs_fini()
259 const struct attribute_group *group = get_platform_throttle_group(xe); in xe_gt_throttle_init()
/linux/drivers/peci/
H A Dsysfs.c43 static const struct attribute_group peci_bus_group = {
47 const struct attribute_group *peci_bus_groups[] = {
75 static const struct attribute_group peci_device_group = {
79 const struct attribute_group *peci_device_groups[] = {
/linux/arch/x86/events/
H A Drapl.c467 static struct attribute_group rapl_pmu_events_group = {
478 static struct attribute_group rapl_pmu_format_group = {
483 static const struct attribute_group *rapl_attr_groups[] = {
489 static const struct attribute_group *rapl_core_attr_groups[] = {
502 static struct attribute_group rapl_events_cores_group = {
514 static struct attribute_group rapl_events_pkg_group = {
526 static struct attribute_group rapl_events_ram_group = {
538 static struct attribute_group rapl_events_gpu_group = {
550 static struct attribute_group rapl_events_psys_group = {
562 static struct attribute_group rapl_events_core_group = {
[all …]
H A Dmsr.c153 static struct attribute_group group_therm = {
174 static struct attribute_group events_attr_group = {
184 static struct attribute_group format_attr_group = {
189 static const struct attribute_group *attr_groups[] = {
195 static const struct attribute_group *attr_update[] = {
/linux/drivers/rtc/
H A Dsysfs.c297 static struct attribute_group rtc_attr_group = {
303 const struct attribute_group **rtc_get_dev_attribute_groups(void) in rtc_get_dev_attribute_groups()
308 int rtc_add_groups(struct rtc_device *rtc, const struct attribute_group **grps) in rtc_add_groups()
311 const struct attribute_group **groups, **old; in rtc_add_groups()
345 int rtc_add_group(struct rtc_device *rtc, const struct attribute_group *grp) in rtc_add_group()
347 const struct attribute_group *groups[] = { grp, NULL }; in rtc_add_group()
/linux/drivers/platform/x86/dell/
H A Dalienware-wmi.h93 extern const struct attribute_group wmax_hdmi_attribute_group;
94 extern const struct attribute_group wmax_amplifier_attribute_group;
95 extern const struct attribute_group wmax_deepsleep_attribute_group;
/linux/drivers/s390/scsi/
H A Dzfcp_ext.h186 extern const struct attribute_group *zfcp_sysfs_adapter_attr_groups[];
187 extern const struct attribute_group *zfcp_unit_attr_groups[];
188 extern const struct attribute_group *zfcp_port_attr_groups[];
190 extern const struct attribute_group *zfcp_sysfs_sdev_attr_groups[];
191 extern const struct attribute_group *zfcp_sysfs_shost_attr_groups[];
/linux/drivers/perf/hisilicon/
H A Dhisi_uncore_pmu.h75 const struct attribute_group **attr_groups;
84 const struct attribute_group **attr_groups;
144 extern const struct attribute_group hisi_pmu_cpumask_attr_group;
145 extern const struct attribute_group hisi_pmu_identifier_group;
/linux/drivers/perf/
H A Dxgene_pmu.c97 const struct attribute_group **attr_groups;
194 static const struct attribute_group l3c_pmu_format_attr_group = {
199 static const struct attribute_group iob_pmu_format_attr_group = {
204 static const struct attribute_group mcb_pmu_format_attr_group = {
209 static const struct attribute_group mc_pmu_format_attr_group = {
239 static const struct attribute_group l3c_pmu_v3_format_attr_group = {
244 static const struct attribute_group iob_pmu_v3_format_attr_group = {
249 static const struct attribute_group iob_slow_pmu_v3_format_attr_group = {
254 static const struct attribute_group mcb_pmu_v3_format_attr_group = {
259 static const struct attribute_group mc_pmu_v3_format_attr_group = {
[all …]
/linux/drivers/rapidio/
H A Drio-sysfs.c278 static const struct attribute_group rio_dev_group = {
284 const struct attribute_group *rio_dev_groups[] = {
319 static const struct attribute_group rio_bus_group = {
323 const struct attribute_group *rio_bus_groups[] = {
359 static const struct attribute_group rio_mport_group = {
363 const struct attribute_group *rio_mport_groups[] = {
H A Drio.h48 extern const struct attribute_group *rio_dev_groups[];
49 extern const struct attribute_group *rio_bus_groups[];
50 extern const struct attribute_group *rio_mport_groups[];
/linux/drivers/iio/trigger/
H A Diio-trig-sysfs.c71 static const struct attribute_group iio_sysfs_trig_group = {
75 static const struct attribute_group *iio_sysfs_trig_groups[] = {
118 static const struct attribute_group iio_sysfs_trigger_attr_group = {
122 static const struct attribute_group *iio_sysfs_trigger_attr_groups[] = {
/linux/drivers/accel/habanalabs/common/
H A Dsysfs.c487 static struct attribute_group hl_dev_attr_group = {
492 static struct attribute_group hl_dev_clks_attr_group;
493 static struct attribute_group hl_dev_vrm_attr_group;
495 static const struct attribute_group *hl_dev_attr_groups[] = {
508 static struct attribute_group hl_dev_inference_attr_group = {
512 static const struct attribute_group *hl_dev_inference_attr_groups[] = {
517 void hl_sysfs_add_dev_clk_attr(struct hl_device *hdev, struct attribute_group *dev_clk_attr_grp) in hl_sysfs_add_dev_clk_attr()
522 void hl_sysfs_add_dev_vrm_attr(struct hl_device *hdev, struct attribute_group *dev_vrm_attr_grp) in hl_sysfs_add_dev_vrm_attr()
/linux/drivers/soc/tegra/fuse/
H A Dfuse.h40 const struct attribute_group *soc_attr_group;
80 extern const struct attribute_group tegra_soc_attr_group;
129 extern const struct attribute_group tegra194_soc_attr_group;
/linux/drivers/iommu/
H A Diommu-sysfs.c22 static const struct attribute_group devices_attr_group = {
27 static const struct attribute_group *dev_groups[] = {
56 const struct attribute_group **groups, in iommu_device_sysfs_add()
/linux/drivers/pci/
H A Dpci.h220 extern const struct attribute_group pci_dev_smbios_attr_group;
337 extern const struct attribute_group pci_dev_vpd_attr_group;
396 extern const struct attribute_group *pci_dev_groups[];
397 extern const struct attribute_group *pci_dev_attr_groups[];
398 extern const struct attribute_group *pcibus_groups[];
399 extern const struct attribute_group *pci_bus_groups[];
400 extern const struct attribute_group pci_doe_sysfs_group;
714 extern const struct attribute_group pci_ide_attr_group;
724 extern const struct attribute_group pci_tsm_attr_group;
725 extern const struct attribute_group pci_tsm_auth_attr_group;
[all …]

12345678910>>...47