Home
last modified time | relevance | path

Searched refs:media_devnode (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/include/media/
Dmedia-devnode.h75 struct media_devnode { struct
91 void (*release)(struct media_devnode *devnode); argument
95 #define to_media_devnode(cd) container_of(cd, struct media_devnode, dev)
115 struct media_devnode *devnode,
129 void media_devnode_unregister_prepare(struct media_devnode *devnode);
140 void media_devnode_unregister(struct media_devnode *devnode);
147 static inline struct media_devnode *media_devnode_data(struct file *filp) in media_devnode_data()
160 static inline int media_devnode_is_registered(struct media_devnode *devnode) in media_devnode_is_registered()
Dmedia-device.h148 struct media_devnode *devnode;
/linux-6.1.9/drivers/media/mc/
Dmc-devnode.c51 struct media_devnode *devnode = to_media_devnode(cd); in media_devnode_release()
73 struct media_devnode *devnode = media_devnode_data(filp); in media_read()
85 struct media_devnode *devnode = media_devnode_data(filp); in media_write()
97 struct media_devnode *devnode = media_devnode_data(filp); in media_poll()
111 struct media_devnode *devnode = media_devnode_data(filp); in __media_ioctl()
124 struct media_devnode *devnode = media_devnode_data(filp); in media_ioctl()
134 struct media_devnode *devnode = media_devnode_data(filp); in media_compat_ioctl()
144 struct media_devnode *devnode; in media_open()
154 devnode = container_of(inode->i_cdev, struct media_devnode, cdev); in media_open()
182 struct media_devnode *devnode = media_devnode_data(filp); in media_release()
[all …]
Dmc-device.c441 struct media_devnode *devnode = media_devnode_data(filp); in media_device_ioctl()
525 struct media_devnode *devnode = media_devnode_data(filp); in media_device_compat_ioctl()
562 struct media_devnode *devnode = to_media_devnode(cd); in model_show()
574 static void media_device_release(struct media_devnode *devnode) in media_device_release()
721 struct media_devnode *devnode; in __media_device_register()
/linux-6.1.9/tools/testing/selftests/media_tests/
Dregression_test.txt3 free on media_device, media_devnode, and cdev pointers when the driver is
32 Regression test for media_devnode unregister race with ioctl_syscall: