chancounts_dev    249 drivers/edac/i7core_edac.c 	struct device *addrmatch_dev, *chancounts_dev;
chancounts_dev   1181 drivers/edac/i7core_edac.c 		pvt->chancounts_dev = kzalloc(sizeof(*pvt->chancounts_dev),
chancounts_dev   1183 drivers/edac/i7core_edac.c 		if (!pvt->chancounts_dev) {
chancounts_dev   1188 drivers/edac/i7core_edac.c 		pvt->chancounts_dev->type = &all_channel_counts_type;
chancounts_dev   1189 drivers/edac/i7core_edac.c 		pvt->chancounts_dev->bus = mci->dev.bus;
chancounts_dev   1190 drivers/edac/i7core_edac.c 		device_initialize(pvt->chancounts_dev);
chancounts_dev   1191 drivers/edac/i7core_edac.c 		pvt->chancounts_dev->parent = &mci->dev;
chancounts_dev   1192 drivers/edac/i7core_edac.c 		dev_set_name(pvt->chancounts_dev, "all_channel_counts");
chancounts_dev   1193 drivers/edac/i7core_edac.c 		dev_set_drvdata(pvt->chancounts_dev, mci);
chancounts_dev   1195 drivers/edac/i7core_edac.c 		edac_dbg(1, "creating %s\n", dev_name(pvt->chancounts_dev));
chancounts_dev   1197 drivers/edac/i7core_edac.c 		rc = device_add(pvt->chancounts_dev);
chancounts_dev   1204 drivers/edac/i7core_edac.c 	put_device(pvt->chancounts_dev);
chancounts_dev   1220 drivers/edac/i7core_edac.c 		device_del(pvt->chancounts_dev);
chancounts_dev   1221 drivers/edac/i7core_edac.c 		put_device(pvt->chancounts_dev);