Lines Matching defs:tokens

175             char *tokens[10];
176 memset(tokens, 0, sizeof(tokens));
178 if(!tokenizeParams(readLine, TOKEN_PARAMS_DELIM, tokens,
180 if(!strncmp(tokens[0], "pu_en", strlen("pu_en"))) {
181 mPanelInfo.mPartialUpdateEnable = atoi(tokens[1]);
186 if(!strncmp(tokens[0], "xstart", strlen("xstart"))) {
187 mPanelInfo.mLeftAlign = atoi(tokens[1]);
190 if(!strncmp(tokens[0], "walign", strlen("walign"))) {
191 mPanelInfo.mWidthAlign = atoi(tokens[1]);
194 if(!strncmp(tokens[0], "ystart", strlen("ystart"))) {
195 mPanelInfo.mTopAlign = atoi(tokens[1]);
198 if(!strncmp(tokens[0], "halign", strlen("halign"))) {
199 mPanelInfo.mHeightAlign = atoi(tokens[1]);
202 if(!strncmp(tokens[0], "min_w", strlen("min_w"))) {
203 mPanelInfo.mMinROIWidth = atoi(tokens[1]);
206 if(!strncmp(tokens[0], "min_h", strlen("min_h"))) {
207 mPanelInfo.mMinROIHeight = atoi(tokens[1]);
210 if(!strncmp(tokens[0], "roi_merge", strlen("roi_merge"))) {
211 mPanelInfo.mNeedsROIMerge = atoi(tokens[1]);
252 char *tokens[10];
253 memset(tokens, 0, sizeof(tokens));
256 if(!tokenizeParams(line, TOKEN_PARAMS_DELIM, tokens, &index)) {
257 if(!strncmp(tokens[0], "hw_rev", strlen("hw_rev"))) {
258 mMdpRev = atoi(tokens[1]);
260 else if(!strncmp(tokens[0], "rgb_pipes", strlen("rgb_pipes"))) {
261 mRGBPipes = (uint8_t)atoi(tokens[1]);
263 else if(!strncmp(tokens[0], "vig_pipes", strlen("vig_pipes"))) {
264 mVGPipes = (uint8_t)atoi(tokens[1]);
266 else if(!strncmp(tokens[0], "dma_pipes", strlen("dma_pipes"))) {
267 mDMAPipes = (uint8_t)atoi(tokens[1]);
269 else if(!strncmp(tokens[0], "max_downscale_ratio",
271 mMDPDownscale = atoi(tokens[1]);
273 else if(!strncmp(tokens[0], "max_upscale_ratio",
275 mMDPUpscale = atoi(tokens[1]);
276 } else if(!strncmp(tokens[0], "max_bandwidth_low",
278 mLowBw = atol(tokens[1]);
279 } else if(!strncmp(tokens[0], "max_bandwidth_high",
281 mHighBw = atol(tokens[1]);
282 } else if(!strncmp(tokens[0], "features", strlen("features"))) {
284 if(!strncmp(tokens[i], "bwc", strlen("bwc"))) {
286 } else if(!strncmp(tokens[i], "decimation",
289 } else if(!strncmp(tokens[i], "tile_format",
293 } else if(!strncmp(tokens[i], "src_split",
296 } else if(!strncmp(tokens[i], "non_scalar_rgb",
299 } else if(!strncmp(tokens[i], "rotator_downscale",