Lines Matching refs:parent_data

47 	struct dm_test_parent_data *parent_data = dev_get_parent_priv(dev);  in testbus_child_pre_probe()  local
49 parent_data->flag += FLAG_CHILD_PROBED; in testbus_child_pre_probe()
65 struct dm_test_parent_data *parent_data = dev_get_parent_priv(dev); in testbus_child_post_remove() local
68 parent_data->flag += FLAG_CHILD_REMOVED; in testbus_child_post_remove()
224 struct dm_test_parent_data *parent_data; in test_bus_parent_data() local
235 parent_data = dev_get_parent_priv(dev); in test_bus_parent_data()
236 ut_assert(NULL != parent_data); in test_bus_parent_data()
239 parent_data->sum += 5; in test_bus_parent_data()
240 ut_asserteq(5, parent_data->sum); in test_bus_parent_data()
246 parent_data = dev_get_parent_priv(dev); in test_bus_parent_data()
247 ut_assert(NULL != parent_data); in test_bus_parent_data()
248 parent_data->sum += 5; in test_bus_parent_data()
249 ut_asserteq(5, parent_data->sum); in test_bus_parent_data()
261 parent_data = dev_get_parent_priv(dev); in test_bus_parent_data()
263 parent_data->sum = value; in test_bus_parent_data()
273 parent_data = dev_get_parent_priv(dev); in test_bus_parent_data()
275 ut_asserteq(value, parent_data->sum); in test_bus_parent_data()
316 struct dm_test_parent_data *parent_data; in dm_test_bus_parent_ops() local
332 parent_data = dev_get_parent_priv(dev); in dm_test_bus_parent_ops()
333 ut_asserteq(FLAG_CHILD_PROBED, parent_data->flag); in dm_test_bus_parent_ops()
340 parent_data = dev_get_parent_priv(dev); in dm_test_bus_parent_ops()
341 ut_asserteq(FLAG_CHILD_PROBED, parent_data->flag); in dm_test_bus_parent_ops()