Lines Matching refs:ddata
75 struct sandbox_test_devdata *ddata = dev_get_priv(dev); in sandbox_dev_move_to_state() local
78 if (ddata->current_state == next_state) in sandbox_dev_move_to_state()
81 debug("current_state=%d, next_state=%d\n", ddata->current_state, in sandbox_dev_move_to_state()
83 switch (ddata->current_state) { in sandbox_dev_move_to_state()
113 ddata->current_state = next_state; in sandbox_dev_move_to_state()
126 struct sandbox_test_devdata *ddata; in sandbox_testproc_probe() local
130 ddata = dev_get_priv(dev); in sandbox_testproc_probe()
131 if (!ddata) { in sandbox_testproc_probe()
263 struct sandbox_test_devdata *ddata; in sandbox_testproc_is_running() local
267 ddata = dev_get_priv(dev); in sandbox_testproc_is_running()
269 if (ddata->current_state == sb_running) in sandbox_testproc_is_running()
285 struct sandbox_test_devdata *ddata; in sandbox_testproc_ping() local
289 ddata = dev_get_priv(dev); in sandbox_testproc_ping()
291 if (ddata->current_state == sb_running) in sandbox_testproc_ping()