Lines Matching refs:wlen
57 unsigned int wlen; in debugifc_isolate_word() local
61 wlen = 0; in debugifc_isolate_word()
69 wlen = scnt; in debugifc_isolate_word()
74 *wlenPtr = wlen; in debugifc_isolate_word()
183 unsigned int wlen; in pvr2_debugifc_do1cmd() local
186 scnt = debugifc_isolate_word(buf,count,&wptr,&wlen); in pvr2_debugifc_do1cmd()
191 pvr2_trace(PVR2_TRACE_DEBUGIFC,"debugifc cmd: \"%.*s\"",wlen,wptr); in pvr2_debugifc_do1cmd()
192 if (debugifc_match_keyword(wptr,wlen,"reset")) { in pvr2_debugifc_do1cmd()
193 scnt = debugifc_isolate_word(buf,count,&wptr,&wlen); in pvr2_debugifc_do1cmd()
197 if (debugifc_match_keyword(wptr,wlen,"cpu")) { in pvr2_debugifc_do1cmd()
201 } else if (debugifc_match_keyword(wptr,wlen,"bus")) { in pvr2_debugifc_do1cmd()
203 } else if (debugifc_match_keyword(wptr,wlen,"soft")) { in pvr2_debugifc_do1cmd()
205 } else if (debugifc_match_keyword(wptr,wlen,"deep")) { in pvr2_debugifc_do1cmd()
207 } else if (debugifc_match_keyword(wptr,wlen,"firmware")) { in pvr2_debugifc_do1cmd()
209 } else if (debugifc_match_keyword(wptr,wlen,"decoder")) { in pvr2_debugifc_do1cmd()
211 } else if (debugifc_match_keyword(wptr,wlen,"worker")) { in pvr2_debugifc_do1cmd()
213 } else if (debugifc_match_keyword(wptr,wlen,"usbstats")) { in pvr2_debugifc_do1cmd()
219 } else if (debugifc_match_keyword(wptr,wlen,"cpufw")) { in pvr2_debugifc_do1cmd()
220 scnt = debugifc_isolate_word(buf,count,&wptr,&wlen); in pvr2_debugifc_do1cmd()
224 if (debugifc_match_keyword(wptr,wlen,"fetch")) { in pvr2_debugifc_do1cmd()
225 scnt = debugifc_isolate_word(buf,count,&wptr,&wlen); in pvr2_debugifc_do1cmd()
228 if (debugifc_match_keyword(wptr, wlen, in pvr2_debugifc_do1cmd()
231 } else if (debugifc_match_keyword(wptr, wlen, in pvr2_debugifc_do1cmd()
234 } else if (debugifc_match_keyword(wptr, wlen, in pvr2_debugifc_do1cmd()
243 } else if (debugifc_match_keyword(wptr,wlen,"done")) { in pvr2_debugifc_do1cmd()
249 } else if (debugifc_match_keyword(wptr,wlen,"gpio")) { in pvr2_debugifc_do1cmd()
253 scnt = debugifc_isolate_word(buf,count,&wptr,&wlen); in pvr2_debugifc_do1cmd()
257 if (debugifc_match_keyword(wptr,wlen,"dir")) { in pvr2_debugifc_do1cmd()
259 } else if (!debugifc_match_keyword(wptr,wlen,"out")) { in pvr2_debugifc_do1cmd()
262 scnt = debugifc_isolate_word(buf,count,&wptr,&wlen); in pvr2_debugifc_do1cmd()
266 ret = debugifc_parse_unsigned_number(wptr,wlen,&msk); in pvr2_debugifc_do1cmd()
268 scnt = debugifc_isolate_word(buf,count,&wptr,&wlen); in pvr2_debugifc_do1cmd()
270 ret = debugifc_parse_unsigned_number(wptr,wlen,&val); in pvr2_debugifc_do1cmd()
284 "debugifc failed to recognize cmd: \"%.*s\"",wlen,wptr); in pvr2_debugifc_do1cmd()