Lines Matching refs:devnode
129 struct media_intf_devnode *devnode = intf_to_devnode(intf); in dev_dbg_obj() local
135 devnode->major, devnode->minor); in dev_dbg_obj()
1484 struct media_intf_devnode *devnode; in media_devnode_create() local
1486 devnode = kzalloc(sizeof(*devnode), GFP_KERNEL); in media_devnode_create()
1487 if (!devnode) in media_devnode_create()
1490 devnode->major = major; in media_devnode_create()
1491 devnode->minor = minor; in media_devnode_create()
1493 media_interface_init(mdev, &devnode->intf, MEDIA_GRAPH_INTF_DEVNODE, in media_devnode_create()
1496 return devnode; in media_devnode_create()
1500 void media_devnode_remove(struct media_intf_devnode *devnode) in media_devnode_remove() argument
1502 media_remove_intf_links(&devnode->intf); in media_devnode_remove()
1503 media_gobj_destroy(&devnode->intf.graph_obj); in media_devnode_remove()
1504 kfree(devnode); in media_devnode_remove()