Searched refs:ptr_module (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/drivers/media/platform/qcom/camss/ |
D | camss.h | 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 [all …]
|
/linux-6.1.9/drivers/staging/media/omap4iss/ |
D | iss.h | 32 #define to_iss_device(ptr_module) \ argument 33 container_of(ptr_module, struct iss_device, ptr_module) 34 #define to_device(ptr_module) \ argument 35 (to_iss_device(ptr_module)->dev)
|
/linux-6.1.9/drivers/media/platform/ti/omap3isp/ |
D | isp.h | 40 #define to_isp_device(ptr_module) \ argument 41 container_of(ptr_module, struct isp_device, isp_##ptr_module) 42 #define to_device(ptr_module) \ argument 43 (to_isp_device(ptr_module)->dev)
|