Home
last modified time | relevance | path

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

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