Lines Matching defs:cd
22 struct device *cd;
25 cd = device_create(dca_class, dca->cd, MKDEV(0, slot + 1), NULL,
27 return PTR_ERR_OR_ZERO(cd);
37 struct device *cd;
52 cd = device_create(dca_class, dev, MKDEV(0, 0), NULL, "dca%d", dca->id);
53 if (IS_ERR(cd)) {
57 return PTR_ERR(cd);
59 dca->cd = cd;
65 device_unregister(dca->cd);
66 dca->cd = NULL;