Home
last modified time | relevance | path

Searched refs:attr_groups (Results 1 – 25 of 72) sorted by relevance

123

/linux/drivers/hwmon/
A Dvexpress-hwmon.c84 const struct attribute_group **attr_groups; member
101 .attr_groups = (const struct attribute_group *[]) {
121 .attr_groups = (const struct attribute_group *[]) {
140 .attr_groups = (const struct attribute_group *[]) {
159 .attr_groups = (const struct attribute_group *[]) {
178 .attr_groups = (const struct attribute_group *[]) {
229 type->name, data, type->attr_groups); in vexpress_hwmon_probe()
A Dad7418.c241 const struct attribute_group **attr_groups = NULL; in ad7418_probe() local
263 attr_groups = ad7416_groups; in ad7418_probe()
268 attr_groups = ad7417_groups; in ad7418_probe()
273 attr_groups = ad7418_groups; in ad7418_probe()
284 data, attr_groups); in ad7418_probe()
A Dlm87.c170 const struct attribute_group *attr_groups[6]; member
947 data->attr_groups[group_tail++] = &lm87_group; in lm87_probe()
949 data->attr_groups[group_tail++] = &lm87_group_in6; in lm87_probe()
951 data->attr_groups[group_tail++] = &lm87_group_fan1; in lm87_probe()
954 data->attr_groups[group_tail++] = &lm87_group_in7; in lm87_probe()
956 data->attr_groups[group_tail++] = &lm87_group_fan2; in lm87_probe()
959 data->attr_groups[group_tail++] = &lm87_group_temp3; in lm87_probe()
961 data->attr_groups[group_tail++] = &lm87_group_in0_5; in lm87_probe()
965 data->attr_groups[group_tail++] = &lm87_group_vid; in lm87_probe()
969 &client->dev, client->name, client, data->attr_groups); in lm87_probe()
A Dibmpowernv.c91 const struct attribute_group *attr_groups[MAX_SENSOR_TYPE + 1]; member
435 const struct attribute_group **pgroups = pdata->attr_groups; in populate_attr_groups()
555 const struct attribute_group **pgroups = pdata->attr_groups; in create_device_attrs()
687 pdata->attr_groups); in ibmpowernv_probe()
/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_pmu.c468 const struct attribute_group *attr_groups[] = { in init_pmu_entry_by_type_and_add() local
519 pmu_entry->pmu.attr_groups = kmemdup(attr_groups, sizeof(attr_groups), in init_pmu_entry_by_type_and_add()
522 if (!pmu_entry->pmu.attr_groups) { in init_pmu_entry_by_type_and_add()
546 kfree(pmu_entry->pmu.attr_groups); in init_pmu_entry_by_type_and_add()
568 kfree(pe->pmu.attr_groups); in amdgpu_pmu_fini()
/linux/arch/x86/events/amd/
A Dpower.c198 static const struct attribute_group *attr_groups[] = { variable
206 .attr_groups = attr_groups,
A Dibs.c99 const struct attribute_group *attr_groups[2]; member
748 memset(&perf_ibs->attr_groups, 0, sizeof(perf_ibs->attr_groups)); in perf_ibs_pmu_init()
749 perf_ibs->attr_groups[0] = &perf_ibs->format_group; in perf_ibs_pmu_init()
750 perf_ibs->pmu.attr_groups = perf_ibs->attr_groups; in perf_ibs_pmu_init()
/linux/arch/x86/events/
A Dmsr.c177 static const struct attribute_group *attr_groups[] = { variable
285 .attr_groups = attr_groups,
/linux/arch/powerpc/perf/
A Dimc-pmu.c319 pmu->attr_groups[IMC_EVENT_ATTR] = attr_group; in update_events_in_group()
1474 pmu->pmu.attr_groups = pmu->attr_groups; in update_pmu_ops()
1476 pmu->attr_groups[IMC_FORMAT_ATTR] = &imc_format_group; in update_pmu_ops()
1481 pmu->attr_groups[IMC_CPUMASK_ATTR] = &imc_pmu_cpumask_attr_group; in update_pmu_ops()
1485 pmu->attr_groups[IMC_CPUMASK_ATTR] = &imc_pmu_cpumask_attr_group; in update_pmu_ops()
1502 pmu->attr_groups[IMC_FORMAT_ATTR] = &trace_imc_format_group; in update_pmu_ops()
1611 if (pmu_ptr->attr_groups[IMC_EVENT_ATTR]) in imc_common_mem_free()
1612 kfree(pmu_ptr->attr_groups[IMC_EVENT_ATTR]->attrs); in imc_common_mem_free()
1613 kfree(pmu_ptr->attr_groups[IMC_EVENT_ATTR]); in imc_common_mem_free()
A Dhv-gpci.c138 static const struct attribute_group *attr_groups[] = { variable
279 .attr_groups = attr_groups,
/linux/arch/arm/kernel/
A Dperf_event_v7.c1205 cpu_pmu->attr_groups[ARMPMU_ATTR_GROUP_EVENTS] = in armv7_a8_pmu_init()
1207 cpu_pmu->attr_groups[ARMPMU_ATTR_GROUP_FORMATS] = in armv7_a8_pmu_init()
1217 cpu_pmu->attr_groups[ARMPMU_ATTR_GROUP_EVENTS] = in armv7_a9_pmu_init()
1219 cpu_pmu->attr_groups[ARMPMU_ATTR_GROUP_FORMATS] = in armv7_a9_pmu_init()
1229 cpu_pmu->attr_groups[ARMPMU_ATTR_GROUP_EVENTS] = in armv7_a5_pmu_init()
1231 cpu_pmu->attr_groups[ARMPMU_ATTR_GROUP_FORMATS] = in armv7_a5_pmu_init()
1242 cpu_pmu->attr_groups[ARMPMU_ATTR_GROUP_EVENTS] = in armv7_a15_pmu_init()
1244 cpu_pmu->attr_groups[ARMPMU_ATTR_GROUP_FORMATS] = in armv7_a15_pmu_init()
1255 cpu_pmu->attr_groups[ARMPMU_ATTR_GROUP_EVENTS] = in armv7_a7_pmu_init()
1268 cpu_pmu->attr_groups[ARMPMU_ATTR_GROUP_EVENTS] = in armv7_a12_pmu_init()
[all …]
/linux/arch/arc/kernel/
A Dperf_event.c41 const struct attribute_group *attr_groups[ARCPMU_NR_ATTR_GR + 1]; member
625 arc_pmu->attr_groups[ARCPMU_ATTR_GR_EVENTS] = &arc_pmu_events_attr_gr; in arc_pmu_device_probe()
626 arc_pmu->attr_groups[ARCPMU_ATTR_GR_FORMATS] = &arc_pmu_format_attr_gr; in arc_pmu_device_probe()
637 .attr_groups = arc_pmu->attr_groups, in arc_pmu_device_probe()
/linux/drivers/perf/hisilicon/
A Dhisi_uncore_ddrc_pmu.c470 ddrc_pmu->pmu_events.attr_groups = hisi_ddrc_pmu_v2_attr_groups; in hisi_ddrc_pmu_dev_probe()
475 ddrc_pmu->pmu_events.attr_groups = hisi_ddrc_pmu_v1_attr_groups; in hisi_ddrc_pmu_dev_probe()
531 .attr_groups = ddrc_pmu->pmu_events.attr_groups, in hisi_ddrc_pmu_probe()
A Dhisi_uncore_hha_pmu.c482 hha_pmu->pmu_events.attr_groups = hisi_hha_pmu_v2_attr_groups; in hisi_hha_pmu_dev_probe()
487 hha_pmu->pmu_events.attr_groups = hisi_hha_pmu_v1_attr_groups; in hisi_hha_pmu_dev_probe()
534 .attr_groups = hha_pmu->pmu_events.attr_groups, in hisi_hha_pmu_probe()
A Dhisi_uncore_l3c_pmu.c516 l3c_pmu->pmu_events.attr_groups = hisi_l3c_pmu_v2_attr_groups; in hisi_l3c_pmu_dev_probe()
520 l3c_pmu->pmu_events.attr_groups = hisi_l3c_pmu_v1_attr_groups; in hisi_l3c_pmu_dev_probe()
572 .attr_groups = l3c_pmu->pmu_events.attr_groups, in hisi_l3c_pmu_probe()
A Dhisi_uncore_pa_pmu.c378 pa_pmu->pmu_events.attr_groups = hisi_pa_pmu_v2_attr_groups; in hisi_pa_pmu_dev_probe()
430 .attr_groups = pa_pmu->pmu_events.attr_groups, in hisi_pa_pmu_probe()
A Dhisi_uncore_sllc_pmu.c411 sllc_pmu->pmu_events.attr_groups = hisi_sllc_pmu_v2_attr_groups; in hisi_sllc_pmu_dev_probe()
459 .attr_groups = sllc_pmu->pmu_events.attr_groups, in hisi_sllc_pmu_probe()
/linux/drivers/gpu/drm/i915/
A Di915_pmu.c1141 const struct attribute_group *attr_groups[] = { in i915_pmu_register() local
1180 pmu->base.attr_groups = kmemdup(attr_groups, sizeof(attr_groups), in i915_pmu_register()
1182 if (!pmu->base.attr_groups) in i915_pmu_register()
1208 kfree(pmu->base.attr_groups); in i915_pmu_register()
1240 kfree(pmu->base.attr_groups); in i915_pmu_unregister()
/linux/arch/x86/events/intel/
A Duncore.h83 const struct attribute_group *attr_groups[4]; member
100 #define pmu_group attr_groups[0]
101 #define format_group attr_groups[1]
102 #define events_group attr_groups[2]
/linux/drivers/perf/
A Dthunderx2_pmu.c108 const struct attribute_group **attr_groups; member
732 .attr_groups = tx2_pmu->attr_groups, in tx2_uncore_pmu_register()
842 tx2_pmu->attr_groups = l3c_pmu_attr_groups; in tx2_uncore_pmu_init_dev()
857 tx2_pmu->attr_groups = dmc_pmu_attr_groups; in tx2_uncore_pmu_init_dev()
871 tx2_pmu->attr_groups = ccpi2_pmu_attr_groups; in tx2_uncore_pmu_init_dev()
A Dxgene_pmu.c99 const struct attribute_group **attr_groups; member
1107 .attr_groups = pmu_dev->attr_groups, in xgene_init_perf()
1145 pmu->attr_groups = l3c_pmu_v3_attr_groups; in xgene_pmu_dev_add()
1147 pmu->attr_groups = l3c_pmu_attr_groups; in xgene_pmu_dev_add()
1151 pmu->attr_groups = iob_fast_pmu_v3_attr_groups; in xgene_pmu_dev_add()
1153 pmu->attr_groups = iob_pmu_attr_groups; in xgene_pmu_dev_add()
1157 pmu->attr_groups = iob_slow_pmu_v3_attr_groups; in xgene_pmu_dev_add()
1163 pmu->attr_groups = mcb_pmu_v3_attr_groups; in xgene_pmu_dev_add()
1165 pmu->attr_groups = mcb_pmu_attr_groups; in xgene_pmu_dev_add()
1171 pmu->attr_groups = mc_pmu_v3_attr_groups; in xgene_pmu_dev_add()
[all …]
/linux/drivers/staging/greybus/
A Dlight.c30 const struct attribute_group **attr_groups; member
296 channel->attr_groups = kcalloc(2, sizeof(*channel->attr_groups), in channel_attr_groups_set()
298 if (!channel->attr_groups) in channel_attr_groups_set()
310 channel->attr_groups[0] = channel->attr_group; in channel_attr_groups_set()
312 cdev->groups = channel->attr_groups; in channel_attr_groups_set()
1081 kfree(channel->attr_groups); in gb_lights_channel_free()
/linux/arch/powerpc/include/asm/
A Dimc-pmu.h125 const struct attribute_group *attr_groups[4]; member
/linux/arch/arm/mach-imx/
A Dmmdc.c176 static const struct attribute_group *attr_groups[] = { variable
441 .attr_groups = attr_groups, in mmdc_pmu_init()
/linux/include/linux/
A Dlibnvdimm.h78 const struct attribute_group **attr_groups; member
122 const struct attribute_group **attr_groups; member

Completed in 67 milliseconds

123