Lines Matching refs:devs
29 cdl->devs = NULL;
38 cdl->devs = kcalloc(cdl->len, sizeof(*cdl->devs), GFP_KERNEL);
39 if (!cdl->devs)
43 ctx = &cdl->devs[i];
98 device_unregister(&cdl->devs[i].dev);
100 kfree(cdl->devs);
101 cdl->devs = NULL;
112 device_unregister(&cdl->devs[i].dev);
114 kfree(cdl->devs);
132 struct host1x_memory_context *cd = &cdl->devs[i];