Lines Matching full:parent
13 static const struct device *parent; variable
20 /* Make sure parent is resumed */ in dummy_open()
21 ret = pm_device_runtime_get(parent); in dummy_open()
28 (void)pm_device_runtime_put(parent); in dummy_open()
49 api = (struct dummy_parent_api *)parent->api; in dummy_read()
50 ret = api->transfer(parent, DUMMY_PARENT_RD, val); in dummy_read()
59 api = (struct dummy_parent_api *)parent->api; in dummy_write()
60 ret = api->transfer(parent, DUMMY_PARENT_WR, &val); in dummy_write()
73 /* Parent can be suspended */ in dummy_close()
74 if (parent) { in dummy_close()
75 pm_device_runtime_put(parent); in dummy_close()
107 parent = device_get_binding(DUMMY_PARENT_NAME); in dummy_init()
108 if (!parent) { in dummy_init()
109 printk("parent not found\n"); in dummy_init()