Lines Matching refs:wptr

69 	const char *wptr;
74 wptr = NULL;
82 wptr = buf;
87 *wstrPtr = wptr;
198 const char *wptr;
202 scnt = debugifc_isolate_word(buf,count,&wptr,&wlen);
205 if (!wptr) return 0;
207 pvr2_trace(PVR2_TRACE_DEBUGIFC,"debugifc cmd: \"%.*s\"",wlen,wptr);
208 if (debugifc_match_keyword(wptr,wlen,"reset")) {
209 scnt = debugifc_isolate_word(buf,count,&wptr,&wlen);
212 if (!wptr) return -EINVAL;
213 if (debugifc_match_keyword(wptr,wlen,"cpu")) {
217 } else if (debugifc_match_keyword(wptr,wlen,"bus")) {
219 } else if (debugifc_match_keyword(wptr,wlen,"soft")) {
221 } else if (debugifc_match_keyword(wptr,wlen,"deep")) {
223 } else if (debugifc_match_keyword(wptr,wlen,"firmware")) {
225 } else if (debugifc_match_keyword(wptr,wlen,"decoder")) {
227 } else if (debugifc_match_keyword(wptr,wlen,"worker")) {
229 } else if (debugifc_match_keyword(wptr,wlen,"usbstats")) {
235 } else if (debugifc_match_keyword(wptr,wlen,"cpufw")) {
236 scnt = debugifc_isolate_word(buf,count,&wptr,&wlen);
239 if (!wptr) return -EINVAL;
240 if (debugifc_match_keyword(wptr,wlen,"fetch")) {
241 scnt = debugifc_isolate_word(buf,count,&wptr,&wlen);
242 if (scnt && wptr) {
244 if (debugifc_match_keyword(wptr, wlen,
247 } else if (debugifc_match_keyword(wptr, wlen,
250 } else if (debugifc_match_keyword(wptr, wlen,
259 } else if (debugifc_match_keyword(wptr,wlen,"done")) {
265 } else if (debugifc_match_keyword(wptr,wlen,"gpio")) {
269 scnt = debugifc_isolate_word(buf,count,&wptr,&wlen);
272 if (!wptr) return -EINVAL;
273 if (debugifc_match_keyword(wptr,wlen,"dir")) {
275 } else if (!debugifc_match_keyword(wptr,wlen,"out")) {
278 scnt = debugifc_isolate_word(buf,count,&wptr,&wlen);
281 if (!wptr) return -EINVAL;
282 ret = debugifc_parse_unsigned_number(wptr,wlen,&msk);
284 scnt = debugifc_isolate_word(buf,count,&wptr,&wlen);
285 if (wptr) {
286 ret = debugifc_parse_unsigned_number(wptr,wlen,&val);
300 "debugifc failed to recognize cmd: \"%.*s\"",wlen,wptr);