Lines Matching refs:ofdev
75 i2sdev = container_of(dev, struct i2sbus_dev, sound.ofdev.dev); in i2sbus_release_dev()
222 dev->sound.ofdev.archdata.dma_mask = macio->ofdev.archdata.dma_mask; in i2sbus_add_dev()
223 dev->sound.ofdev.dev.of_node = np; in i2sbus_add_dev()
224 dev->sound.ofdev.dev.dma_mask = &dev->sound.ofdev.archdata.dma_mask; in i2sbus_add_dev()
225 dev->sound.ofdev.dev.parent = &macio->ofdev.dev; in i2sbus_add_dev()
226 dev->sound.ofdev.dev.release = i2sbus_release_dev; in i2sbus_add_dev()
306 if (dev->sound.ofdev.dev.kobj.state_initialized) { in i2sbus_add_dev()
349 while ((np = of_get_next_child(dev->ofdev.dev.of_node, np))) { in i2sbus_probe()
362 dev_set_drvdata(&dev->ofdev.dev, control); in i2sbus_probe()
369 struct i2sbus_control *control = dev_get_drvdata(&dev->ofdev.dev); in i2sbus_remove()
381 struct i2sbus_control *control = dev_get_drvdata(&dev->ofdev.dev); in i2sbus_suspend()
405 struct i2sbus_control *control = dev_get_drvdata(&dev->ofdev.dev); in i2sbus_resume()