Lines Matching refs:tokens
169 char *tokens[10];
170 memset(tokens, 0, sizeof(tokens));
172 if(!tokenizeParams(readLine, TOKEN_PARAMS_DELIM, tokens,
174 if(!strncmp(tokens[0], "pu_en", strlen("pu_en"))) {
175 mPanelInfo.mPartialUpdateEnable = atoi(tokens[1]);
180 if(!strncmp(tokens[0], "xstart", strlen("xstart"))) {
181 mPanelInfo.mLeftAlign = atoi(tokens[1]);
184 if(!strncmp(tokens[0], "walign", strlen("walign"))) {
185 mPanelInfo.mWidthAlign = atoi(tokens[1]);
188 if(!strncmp(tokens[0], "ystart", strlen("ystart"))) {
189 mPanelInfo.mTopAlign = atoi(tokens[1]);
192 if(!strncmp(tokens[0], "halign", strlen("halign"))) {
193 mPanelInfo.mHeightAlign = atoi(tokens[1]);
196 if(!strncmp(tokens[0], "min_w", strlen("min_w"))) {
197 mPanelInfo.mMinROIWidth = atoi(tokens[1]);
200 if(!strncmp(tokens[0], "min_h", strlen("min_h"))) {
201 mPanelInfo.mMinROIHeight = atoi(tokens[1]);
204 if(!strncmp(tokens[0], "roi_merge", strlen("roi_merge"))) {
205 mPanelInfo.mNeedsROIMerge = atoi(tokens[1]);
246 char *tokens[10];
247 memset(tokens, 0, sizeof(tokens));
250 if(!tokenizeParams(line, TOKEN_PARAMS_DELIM, tokens, &index)) {
251 if(!strncmp(tokens[0], "hw_rev", strlen("hw_rev"))) {
252 mMdpRev = atoi(tokens[1]);
254 else if(!strncmp(tokens[0], "rgb_pipes", strlen("rgb_pipes"))) {
255 mRGBPipes = (uint8_t)atoi(tokens[1]);
257 else if(!strncmp(tokens[0], "vig_pipes", strlen("vig_pipes"))) {
258 mVGPipes = (uint8_t)atoi(tokens[1]);
260 else if(!strncmp(tokens[0], "dma_pipes", strlen("dma_pipes"))) {
261 mDMAPipes = (uint8_t)atoi(tokens[1]);
263 else if(!strncmp(tokens[0], "max_downscale_ratio",
265 mMDPDownscale = atoi(tokens[1]);
267 else if(!strncmp(tokens[0], "max_upscale_ratio",
269 mMDPUpscale = atoi(tokens[1]);
270 } else if(!strncmp(tokens[0], "max_bandwidth_low",
272 mLowBw = atol(tokens[1]);
273 } else if(!strncmp(tokens[0], "max_bandwidth_high",
275 mHighBw = atol(tokens[1]);
276 } else if(!strncmp(tokens[0], "features", strlen("features"))) {
278 if(!strncmp(tokens[i], "bwc", strlen("bwc"))) {
281 else if(!strncmp(tokens[i], "decimation",
285 else if(!strncmp(tokens[i], "tile_format",
289 } else if(!strncmp(tokens[i], "src_split",
293 else if(!strncmp(tokens[i], "non_scalar_rgb",