Lines Matching full:plat
119 #define CFG_CHECK(plat, p_id) ((plat) == (p_id)) argument
121 #define _CFG_OFST(plat, cfg, ofst) ((void *)(&((cfg)->config_##plat) + (ofst))) argument
122 #define CFG_OFST(plat, cfg, ofst) \ argument
123 (IS_ERR_OR_NULL(cfg) ? NULL : _CFG_OFST(plat, cfg, ofst))
125 #define _CFG_ADDR(plat, cfg, mem) (&((cfg)->config_##plat.mem)) argument
126 #define CFG_ADDR(plat, cfg, mem) \ argument
127 (IS_ERR_OR_NULL(cfg) ? NULL : _CFG_ADDR(plat, cfg, mem))
129 #define _CFG_GET(plat, cfg, mem) ((cfg)->config_##plat.mem) argument
130 #define CFG_GET(plat, cfg, mem) \ argument
131 (IS_ERR_OR_NULL(cfg) ? 0 : _CFG_GET(plat, cfg, mem))
133 #define _CFG_COMP(plat, comp, mem) ((comp)->comp_##plat.mem) argument
134 #define CFG_COMP(plat, comp, mem) \ argument
135 (IS_ERR_OR_NULL(comp) ? 0 : _CFG_COMP(plat, comp, mem))