Home
last modified time | relevance | path

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

/linux/drivers/i2c/algos/
H A Di2c-algo-bit.c230 static int test_bus(struct i2c_adapter *i2c_adap) in test_bus() function
642 ret = test_bus(adap); in __i2c_bit_add_bus()
/linux/drivers/of/
H A Dunittest.c1708 struct platform_device *pdev, *test_bus; in of_unittest_platform_populate() local
1749 test_bus = platform_device_register_full(&test_bus_info); in of_unittest_platform_populate()
1750 rc = PTR_ERR_OR_ZERO(test_bus); in of_unittest_platform_populate()
1756 test_bus->dev.of_node = np; in of_unittest_platform_populate()
1765 platform_device_add_resources(test_bus, &test_bus_res, 1); in of_unittest_platform_populate()
1767 of_platform_populate(np, match, NULL, &test_bus->dev); in of_unittest_platform_populate()
1778 of_platform_depopulate(&test_bus->dev); in of_unittest_platform_populate()
1786 platform_device_unregister(test_bus); in of_unittest_platform_populate()