Lines Matching refs:ptr_module
26 #define to_camss(ptr_module) \ argument
27 container_of(ptr_module, struct camss, ptr_module)
29 #define to_device(ptr_module) \ argument
30 (to_camss(ptr_module)->dev)
32 #define module_pointer(ptr_module, index) \ argument
33 ((const struct ptr_module##_device (*)[]) &(ptr_module[-(index)]))
35 #define to_camss_index(ptr_module, index) \ argument
36 container_of(module_pointer(ptr_module, index), \
37 struct camss, ptr_module)
39 #define to_device_index(ptr_module, index) \ argument
40 (to_camss_index(ptr_module, index)->dev)