Lines Matching refs:wptr

55 	const char *wptr;
60 wptr = NULL;
68 wptr = buf;
73 *wstrPtr = wptr;
182 const char *wptr;
186 scnt = debugifc_isolate_word(buf,count,&wptr,&wlen);
189 if (!wptr) return 0;
191 pvr2_trace(PVR2_TRACE_DEBUGIFC,"debugifc cmd: \"%.*s\"",wlen,wptr);
192 if (debugifc_match_keyword(wptr,wlen,"reset")) {
193 scnt = debugifc_isolate_word(buf,count,&wptr,&wlen);
196 if (!wptr) return -EINVAL;
197 if (debugifc_match_keyword(wptr,wlen,"cpu")) {
201 } else if (debugifc_match_keyword(wptr,wlen,"bus")) {
203 } else if (debugifc_match_keyword(wptr,wlen,"soft")) {
205 } else if (debugifc_match_keyword(wptr,wlen,"deep")) {
207 } else if (debugifc_match_keyword(wptr,wlen,"firmware")) {
209 } else if (debugifc_match_keyword(wptr,wlen,"decoder")) {
211 } else if (debugifc_match_keyword(wptr,wlen,"worker")) {
213 } else if (debugifc_match_keyword(wptr,wlen,"usbstats")) {
219 } else if (debugifc_match_keyword(wptr,wlen,"cpufw")) {
220 scnt = debugifc_isolate_word(buf,count,&wptr,&wlen);
223 if (!wptr) return -EINVAL;
224 if (debugifc_match_keyword(wptr,wlen,"fetch")) {
225 scnt = debugifc_isolate_word(buf,count,&wptr,&wlen);
226 if (scnt && wptr) {
228 if (debugifc_match_keyword(wptr, wlen,
231 } else if (debugifc_match_keyword(wptr, wlen,
234 } else if (debugifc_match_keyword(wptr, wlen,
243 } else if (debugifc_match_keyword(wptr,wlen,"done")) {
249 } else if (debugifc_match_keyword(wptr,wlen,"gpio")) {
253 scnt = debugifc_isolate_word(buf,count,&wptr,&wlen);
256 if (!wptr) return -EINVAL;
257 if (debugifc_match_keyword(wptr,wlen,"dir")) {
259 } else if (!debugifc_match_keyword(wptr,wlen,"out")) {
262 scnt = debugifc_isolate_word(buf,count,&wptr,&wlen);
265 if (!wptr) return -EINVAL;
266 ret = debugifc_parse_unsigned_number(wptr,wlen,&msk);
268 scnt = debugifc_isolate_word(buf,count,&wptr,&wlen);
269 if (wptr) {
270 ret = debugifc_parse_unsigned_number(wptr,wlen,&val);
284 "debugifc failed to recognize cmd: \"%.*s\"",wlen,wptr);