Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/staging/android/ion/
Dion_test.c242 struct ion_test_device *testdev; in ion_test_probe() local
244 testdev = devm_kzalloc(&pdev->dev, sizeof(struct ion_test_device), in ion_test_probe()
246 if (!testdev) in ion_test_probe()
249 testdev->misc.minor = MISC_DYNAMIC_MINOR; in ion_test_probe()
250 testdev->misc.name = "ion-test"; in ion_test_probe()
251 testdev->misc.fops = &ion_test_fops; in ion_test_probe()
252 testdev->misc.parent = &pdev->dev; in ion_test_probe()
253 ret = misc_register(&testdev->misc); in ion_test_probe()
259 platform_set_drvdata(pdev, testdev); in ion_test_probe()
266 struct ion_test_device *testdev; in ion_test_remove() local
[all …]
/linux-4.4.14/tools/usb/
Dtestusb.c128 struct testdev { struct
129 struct testdev *next; argument
139 static struct testdev *testdevs; argument
250 struct testdev *entry; in find_testdev()
306 struct testdev *dev = arg; in handle_testdev()
380 struct testdev *entry; in main()
513 struct testdev dev; in main()