Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/
Dpm.h475 #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))
Dkernel.h59 #define PTR_IF(cond, ptr) ((cond) ? (ptr) : NULL) macro
/linux-6.6.21/include/rdma/
Duverbs_ioctl.h440 PTR_IF(IS_ENABLED(CONFIG_INFINIBAND_USER_ACCESS), \
/linux-6.6.21/drivers/gpu/drm/i915/
Di915_driver.c1822 .show_fdinfo = PTR_IF(IS_ENABLED(CONFIG_PROC_FS), i915_drm_client_fdinfo),
/linux-6.6.21/drivers/pinctrl/
Dpinctrl-ingenic.c4340 #define IF_ENABLED(cfg, ptr) PTR_IF(IS_ENABLED(cfg), (ptr))