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