Home
last modified time | relevance | path

Searched refs:chancounts_dev (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/drivers/edac/
Di7core_edac.c249 struct device *addrmatch_dev, *chancounts_dev; member
1181 pvt->chancounts_dev = kzalloc(sizeof(*pvt->chancounts_dev), in i7core_create_sysfs_devices()
1183 if (!pvt->chancounts_dev) { in i7core_create_sysfs_devices()
1188 pvt->chancounts_dev->type = &all_channel_counts_type; in i7core_create_sysfs_devices()
1189 pvt->chancounts_dev->bus = mci->dev.bus; in i7core_create_sysfs_devices()
1190 device_initialize(pvt->chancounts_dev); in i7core_create_sysfs_devices()
1191 pvt->chancounts_dev->parent = &mci->dev; in i7core_create_sysfs_devices()
1192 dev_set_name(pvt->chancounts_dev, "all_channel_counts"); in i7core_create_sysfs_devices()
1193 dev_set_drvdata(pvt->chancounts_dev, mci); in i7core_create_sysfs_devices()
1195 edac_dbg(1, "creating %s\n", dev_name(pvt->chancounts_dev)); in i7core_create_sysfs_devices()
[all …]