Searched refs:PTR_IF (Results 1 – 5 of 5) sorted by relevance
475 #define pm_ptr(_ptr) PTR_IF(IS_ENABLED(CONFIG_PM), (_ptr))476 #define pm_sleep_ptr(_ptr) PTR_IF(IS_ENABLED(CONFIG_PM_SLEEP), (_ptr))
59 #define PTR_IF(cond, ptr) ((cond) ? (ptr) : NULL) macro
440 PTR_IF(IS_ENABLED(CONFIG_INFINIBAND_USER_ACCESS), \
1822 .show_fdinfo = PTR_IF(IS_ENABLED(CONFIG_PROC_FS), i915_drm_client_fdinfo),
4340 #define IF_ENABLED(cfg, ptr) PTR_IF(IS_ENABLED(cfg), (ptr))