Searched refs:ofdev (Results 1 – 7 of 7) sorted by relevance
/sound/aoa/soundbus/ |
D | core.c | 21 tmp = get_device(&dev->ofdev.dev); in soundbus_dev_get() 32 put_device(&dev->ofdev.dev); in soundbus_dev_put() 73 of = &soundbus_dev->ofdev; in soundbus_uevent() 143 !dev->ofdev.dev.of_node || in soundbus_add_one() 150 dev_set_name(&dev->ofdev.dev, "soundbus:%x", ++devcount); in soundbus_add_one() 151 dev->ofdev.dev.bus = &soundbus_bus_type; in soundbus_add_one() 152 return of_device_register(&dev->ofdev); in soundbus_add_one() 158 of_device_unregister(&dev->ofdev); in soundbus_remove_one()
|
D | sysfs.c | 12 struct platform_device *of = &sdev->ofdev; in modalias_show() 33 struct platform_device *of = &sdev->ofdev; in name_show() 43 struct platform_device *of = &sdev->ofdev; in type_show()
|
D | soundbus.h | 143 struct platform_device ofdev; member 172 #define to_soundbus_device(d) container_of(d, struct soundbus_dev, ofdev.dev) 173 #define of_to_soundbus_device(d) container_of(d, struct soundbus_dev, ofdev)
|
/sound/aoa/soundbus/i2sbus/ |
D | core.c | 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() [all …]
|
D | control.c | 44 np = i2sdev->sound.ofdev.dev.of_node; in i2sbus_control_add_dev()
|
D | pcm.c | 976 &dev->ofdev.dev; in i2sbus_attach_codec() 993 &dev->ofdev.dev; in i2sbus_attach_codec()
|
/sound/aoa/fabrics/ |
D | layout.c | 1009 for_each_child_of_node(sdev->ofdev.dev.of_node, sound) { in aoa_fabric_layout_probe() 1055 dev_set_drvdata(&sdev->ofdev.dev, ldev); in aoa_fabric_layout_probe() 1071 err = aoa_fabric_register(&layout_fabric, &sdev->ofdev.dev); in aoa_fabric_layout_probe() 1099 struct layout_dev *ldev = dev_get_drvdata(&sdev->ofdev.dev); in aoa_fabric_layout_remove()
|