/drivers/hwmon/ |
D | vexpress-hwmon.c | 84 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()
|
D | ad7418.c | 241 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()
|
D | lm87.c | 170 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()
|
D | ibmpowernv.c | 91 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()
|
D | asus_atk0110.c | 129 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/ |
D | amdgpu_pmu.c | 468 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/ |
D | hisi_uncore_ddrc_pmu.c | 470 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()
|
D | hisi_uncore_hha_pmu.c | 482 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()
|
D | hisi_uncore_l3c_pmu.c | 516 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()
|
D | hisi_uncore_pa_pmu.c | 378 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()
|
D | hisi_uncore_sllc_pmu.c | 411 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()
|
D | hisi_uncore_pmu.h | 68 const struct attribute_group **attr_groups; member
|
/drivers/gpu/drm/i915/ |
D | i915_pmu.c | 1150 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/ |
D | thunderx2_pmu.c | 108 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()
|
D | xgene_pmu.c | 99 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 …]
|
D | arm_pmu.c | 887 .attr_groups = pmu->attr_groups, in __armpmu_alloc() 898 pmu->attr_groups[ARMPMU_ATTR_GROUP_COMMON] = in __armpmu_alloc()
|
D | fsl_imx8_ddr_perf.c | 290 static const struct attribute_group *attr_groups[] = { variable 615 .attr_groups = attr_groups, in ddr_perf_init()
|
D | qcom_l3_pmu.c | 761 .attr_groups = qcom_l3_cache_pmu_attr_grps, in qcom_l3_cache_pmu_probe()
|
D | arm_dmc620_pmu.c | 655 .attr_groups = dmc620_pmu_attr_groups, in dmc620_pmu_device_probe()
|
D | arm_dsu_pmu.c | 764 .attr_groups = dsu_pmu_attr_groups, in dsu_pmu_device_probe()
|
D | qcom_l2_pmu.c | 919 .attr_groups = l2_cache_pmu_attr_grps, in l2_cache_pmu_probe()
|
/drivers/staging/greybus/ |
D | light.c | 30 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/ |
D | power.c | 511 static const struct attribute_group attr_groups[] = { variable 607 &attr_groups[state], add); in acpi_power_add_remove_device()
|
/drivers/hwtracing/coresight/ |
D | coresight-etm-perf.c | 858 etm_pmu.attr_groups = etm_pmu_attr_groups; in etm_perf_init()
|
/drivers/dma/idxd/ |
D | perfmon.c | 481 idxd_pmu->pmu.attr_groups = perfmon_attr_groups; in idxd_pmu_init()
|