Searched refs:test_bus (Results 1 – 3 of 3) sorted by relevance
45 testlibsysfs_SOURCES = test.c test_attr.c test_bus.c test_class.c \
1232 struct platform_device *pdev, *test_bus; in of_unittest_platform_populate() local1273 test_bus = platform_device_register_full(&test_bus_info); in of_unittest_platform_populate()1274 rc = PTR_ERR_OR_ZERO(test_bus); in of_unittest_platform_populate()1280 test_bus->dev.of_node = np; in of_unittest_platform_populate()1289 platform_device_add_resources(test_bus, &test_bus_res, 1); in of_unittest_platform_populate()1291 of_platform_populate(np, match, NULL, &test_bus->dev); in of_unittest_platform_populate()1302 of_platform_depopulate(&test_bus->dev); in of_unittest_platform_populate()1310 platform_device_unregister(test_bus); in of_unittest_platform_populate()
229 static int test_bus(struct i2c_adapter *i2c_adap) in test_bus() function655 ret = test_bus(adap); in __i2c_bit_add_bus()