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

/linux-master/drivers/i2c/algos/
H A Di2c-algo-bit.c230 static int test_bus(struct i2c_adapter *i2c_adap) function
642 ret = test_bus(adap);
/linux-master/drivers/of/
H A Dunittest.c1505 struct platform_device *pdev, *test_bus; local
1546 test_bus = platform_device_register_full(&test_bus_info);
1547 rc = PTR_ERR_OR_ZERO(test_bus);
1553 test_bus->dev.of_node = np;
1562 platform_device_add_resources(test_bus, &test_bus_res, 1);
1564 of_platform_populate(np, match, NULL, &test_bus->dev);
1575 of_platform_depopulate(&test_bus->dev);
1583 platform_device_unregister(test_bus);

Completed in 311 milliseconds