Lines Matching full:plat
122 #define CFG_CHECK(plat, p_id) ((plat) == (p_id)) argument
124 #define _CFG_OFST(plat, cfg, ofst) ((void *)(&((cfg)->config_##plat) + (ofst))) argument
125 #define CFG_OFST(plat, cfg, ofst) \ argument
126 (IS_ERR_OR_NULL(cfg) ? NULL : _CFG_OFST(plat, cfg, ofst))
128 #define _CFG_ADDR(plat, cfg, mem) (&((cfg)->config_##plat.mem)) argument
129 #define CFG_ADDR(plat, cfg, mem) \ argument
130 (IS_ERR_OR_NULL(cfg) ? NULL : _CFG_ADDR(plat, cfg, mem))
132 #define _CFG_GET(plat, cfg, mem) ((cfg)->config_##plat.mem) argument
133 #define CFG_GET(plat, cfg, mem) \ argument
134 (IS_ERR_OR_NULL(cfg) ? 0 : _CFG_GET(plat, cfg, mem))
136 #define _CFG_COMP(plat, comp, mem) ((comp)->comp_##plat.mem) argument
137 #define CFG_COMP(plat, comp, mem) \ argument
138 (IS_ERR_OR_NULL(comp) ? 0 : _CFG_COMP(plat, comp, mem))