Lines Matching refs:tokens

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