Home
last modified time | relevance | path

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

12

/drivers/hwmon/
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()
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()
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()
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()
Dasus_atk0110.c129 const struct attribute_group *attr_groups[2]; member
1181 data->attr_groups[0] = &data->attr_group; in atk_init_attribute_groups()
1193 data->attr_groups); in atk_register_hwmon()
/drivers/gpu/drm/amd/amdgpu/
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()
/drivers/perf/hisilicon/
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()
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()
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()
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()
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()
Dhisi_uncore_pmu.h68 const struct attribute_group **attr_groups; member
/drivers/gpu/drm/i915/
Di915_pmu.c1150 const struct attribute_group *attr_groups[] = { in i915_pmu_register() local
1189 pmu->base.attr_groups = kmemdup(attr_groups, sizeof(attr_groups), in i915_pmu_register()
1191 if (!pmu->base.attr_groups) in i915_pmu_register()
1217 kfree(pmu->base.attr_groups); in i915_pmu_register()
1249 kfree(pmu->base.attr_groups); in i915_pmu_unregister()
/drivers/perf/
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()
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 …]
Darm_pmu.c887 .attr_groups = pmu->attr_groups, in __armpmu_alloc()
898 pmu->attr_groups[ARMPMU_ATTR_GROUP_COMMON] = in __armpmu_alloc()
Dfsl_imx8_ddr_perf.c290 static const struct attribute_group *attr_groups[] = { variable
615 .attr_groups = attr_groups, in ddr_perf_init()
Dqcom_l3_pmu.c761 .attr_groups = qcom_l3_cache_pmu_attr_grps, in qcom_l3_cache_pmu_probe()
Darm_dmc620_pmu.c655 .attr_groups = dmc620_pmu_attr_groups, in dmc620_pmu_device_probe()
Darm_dsu_pmu.c764 .attr_groups = dsu_pmu_attr_groups, in dsu_pmu_device_probe()
Dqcom_l2_pmu.c919 .attr_groups = l2_cache_pmu_attr_grps, in l2_cache_pmu_probe()
/drivers/staging/greybus/
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()
/drivers/acpi/
Dpower.c511 static const struct attribute_group attr_groups[] = { variable
607 &attr_groups[state], add); in acpi_power_add_remove_device()
/drivers/hwtracing/coresight/
Dcoresight-etm-perf.c858 etm_pmu.attr_groups = etm_pmu_attr_groups; in etm_perf_init()
/drivers/dma/idxd/
Dperfmon.c481 idxd_pmu->pmu.attr_groups = perfmon_attr_groups; in idxd_pmu_init()

12