Searched refs:bRC (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/char/mwave/
H A Dsmapi.c129 int bRC = -EIO; smapi_query_DSP_cfg() local
138 bRC = smapi_request(0x1802, 0x0000, 0, 0, smapi_query_DSP_cfg()
140 if (bRC) { smapi_query_DSP_cfg()
142 return bRC; smapi_query_DSP_cfg()
168 bRC = smapi_request(0x1804, 0x0000, 0, 0, smapi_query_DSP_cfg()
170 if (bRC) { smapi_query_DSP_cfg()
172 return bRC; smapi_query_DSP_cfg()
197 PRINTK_2(TRACE_SMAPI, "smapi::smapi_query_DSP_cfg exit bRC %x\n", bRC); smapi_query_DSP_cfg()
199 return bRC; smapi_query_DSP_cfg()
205 int bRC = -EIO; smapi_set_DSP_cfg() local
230 return bRC; smapi_set_DSP_cfg()
242 return bRC; smapi_set_DSP_cfg()
253 return bRC; smapi_set_DSP_cfg()
266 return bRC; smapi_set_DSP_cfg()
273 bRC = smapi_request(0x1402, 0x0000, 0, 0, smapi_set_DSP_cfg()
275 if (bRC) goto exit_smapi_request_error; smapi_set_DSP_cfg()
276 /* bRC == 0 */ smapi_set_DSP_cfg()
290 bRC = smapi_request(0x1403, 0x0100, 0, usSI, smapi_set_DSP_cfg()
292 if (bRC) goto exit_smapi_request_error; smapi_set_DSP_cfg()
293 bRC = smapi_request(0x1402, 0x0000, 0, 0, smapi_set_DSP_cfg()
295 if (bRC) goto exit_smapi_request_error; smapi_set_DSP_cfg()
311 bRC = smapi_request (0x1403, 0x0100, 0, usSI, smapi_set_DSP_cfg()
313 if (bRC) goto exit_smapi_request_error; smapi_set_DSP_cfg()
314 bRC = smapi_request (0x1402, 0x0000, 0, 0, smapi_set_DSP_cfg()
316 if (bRC) goto exit_smapi_request_error; smapi_set_DSP_cfg()
326 bRC = smapi_request(0x1404, 0x0000, 0, 0, smapi_set_DSP_cfg()
328 if (bRC) goto exit_smapi_request_error; smapi_set_DSP_cfg()
329 /* bRC == 0 */ smapi_set_DSP_cfg()
343 bRC = smapi_request(0x1405, 0x0100, 0, usSI, smapi_set_DSP_cfg()
345 if (bRC) goto exit_smapi_request_error; smapi_set_DSP_cfg()
346 bRC = smapi_request(0x1404, 0x0000, 0, 0, smapi_set_DSP_cfg()
348 if (bRC) goto exit_smapi_request_error; smapi_set_DSP_cfg()
364 bRC = smapi_request (0x1405, 0x0100, 0, usSI, smapi_set_DSP_cfg()
366 if (bRC) goto exit_smapi_request_error; smapi_set_DSP_cfg()
367 bRC = smapi_request (0x1404, 0x0000, 0, 0, smapi_set_DSP_cfg()
369 if (bRC) goto exit_smapi_request_error; smapi_set_DSP_cfg()
379 bRC = smapi_request(0x1700, 0x0000, 0, 0, smapi_set_DSP_cfg()
381 if (bRC) goto exit_smapi_request_error; smapi_set_DSP_cfg()
382 bRC = smapi_request(0x1704, 0x0000, 0, 0, smapi_set_DSP_cfg()
384 if (bRC) goto exit_smapi_request_error; smapi_set_DSP_cfg()
385 /* bRC == 0 */ smapi_set_DSP_cfg()
398 bRC = smapi_request(0x1701, 0x0100, 0, 0, smapi_set_DSP_cfg()
400 if (bRC) goto exit_smapi_request_error; smapi_set_DSP_cfg()
401 bRC = smapi_request(0x1700, 0, 0, 0, smapi_set_DSP_cfg()
403 if (bRC) goto exit_smapi_request_error; smapi_set_DSP_cfg()
404 bRC = smapi_request(0x1705, 0x01ff, 0, usSI, smapi_set_DSP_cfg()
406 if (bRC) goto exit_smapi_request_error; smapi_set_DSP_cfg()
407 bRC = smapi_request(0x1704, 0x0000, 0, 0, smapi_set_DSP_cfg()
409 if (bRC) goto exit_smapi_request_error; smapi_set_DSP_cfg()
425 bRC = smapi_request(0x1701, 0x0100, 0, 0, smapi_set_DSP_cfg()
427 if (bRC) goto exit_smapi_request_error; smapi_set_DSP_cfg()
428 bRC = smapi_request(0x1700, 0, 0, 0, smapi_set_DSP_cfg()
430 if (bRC) goto exit_smapi_request_error; smapi_set_DSP_cfg()
431 bRC = smapi_request(0x1705, 0x01ff, 0, usSI, smapi_set_DSP_cfg()
433 if (bRC) goto exit_smapi_request_error; smapi_set_DSP_cfg()
434 bRC = smapi_request(0x1704, 0x0000, 0, 0, smapi_set_DSP_cfg()
436 if (bRC) goto exit_smapi_request_error; smapi_set_DSP_cfg()
445 bRC = smapi_request(0x1802, 0x0000, 0, 0, smapi_set_DSP_cfg()
447 if (bRC) goto exit_smapi_request_error; smapi_set_DSP_cfg()
456 bRC = smapi_request(0x1803, 0x0101, usDI, usSI, smapi_set_DSP_cfg()
458 if (bRC) goto exit_smapi_request_error; smapi_set_DSP_cfg()
460 bRC = smapi_request(0x1804, 0x0000, 0, 0, smapi_set_DSP_cfg()
462 if (bRC) goto exit_smapi_request_error; smapi_set_DSP_cfg()
470 bRC = smapi_request(0x1805, 0x0101, 0, usSI, smapi_set_DSP_cfg()
472 if (bRC) goto exit_smapi_request_error; smapi_set_DSP_cfg()
474 bRC = smapi_request(0x1802, 0x0000, 0, 0, smapi_set_DSP_cfg()
476 if (bRC) goto exit_smapi_request_error; smapi_set_DSP_cfg()
478 bRC = smapi_request(0x1804, 0x0000, 0, 0, smapi_set_DSP_cfg()
480 if (bRC) goto exit_smapi_request_error; smapi_set_DSP_cfg()
491 PRINTK_ERROR(KERN_ERR_MWAVE "smapi::smapi_set_DSP_cfg exit on smapi_request error bRC %x\n", bRC); smapi_set_DSP_cfg()
492 return bRC; smapi_set_DSP_cfg()
498 int bRC = -EIO; smapi_set_DSP_power_state() local
506 bRC = smapi_request(0x4901, 0x0000, 0, usPowerFunction, smapi_set_DSP_power_state()
509 PRINTK_2(TRACE_SMAPI, "smapi::smapi_set_DSP_power_state exit bRC %x\n", bRC); smapi_set_DSP_power_state()
511 return bRC; smapi_set_DSP_power_state()
517 int bRC = -EIO;
522 bRC = smapi_request(0x0000, 0, 0, 0,
525 if (bRC == 0) {
532 return bRC;
H A Dtp3780i.c519 BOOLEAN bRC = 0; tp3780I_ReadWriteDspDStore() local
528 bRC = dsp3780I_ReadDStore(usDspBaseIO, pvBuffer, uCount, ulDSPAddr); tp3780I_ReadWriteDspDStore()
532 bRC = dsp3780I_ReadAndClearDStore(usDspBaseIO, pvBuffer, uCount, ulDSPAddr); tp3780I_ReadWriteDspDStore()
536 bRC = dsp3780I_WriteDStore(usDspBaseIO, pvBuffer, uCount, ulDSPAddr); tp3780I_ReadWriteDspDStore()
541 retval = (bRC) ? -EIO : 0; tp3780I_ReadWriteDspDStore()
555 BOOLEAN bRC = 0; tp3780I_ReadWriteDspIStore() local
564 bRC = dsp3780I_ReadIStore(usDspBaseIO, pvBuffer, uCount, ulDSPAddr); tp3780I_ReadWriteDspIStore()
568 bRC = dsp3780I_WriteIStore(usDspBaseIO, pvBuffer, uCount, ulDSPAddr); tp3780I_ReadWriteDspIStore()
573 retval = (bRC) ? -EIO : 0; tp3780I_ReadWriteDspIStore()
H A D3780i.c348 "3780i::dsp3780I_EnableDSP exiting bRC=TRUE, ChipID %x\n", dsp3780I_EnableDSP()
423 PRINTK_1(TRACE_3780I, "3780i::dsp3780i_Reset exit bRC=0\n"); dsp3780I_Reset()
469 PRINTK_1(TRACE_3780I, "3780i::dsp3780i_Run exit bRC=TRUE\n"); dsp3780I_Run()
511 "3780I::dsp3780I_ReadDStore exit bRC=TRUE\n"); dsp3780I_ReadDStore()
553 "3780I::dsp3780I_ReadAndClearDStore exit bRC=TRUE\n"); dsp3780I_ReadAndClearDStore()
595 "3780I::dsp3780D_WriteDStore exit bRC=TRUE\n"); dsp3780I_WriteDStore()
643 "3780I::dsp3780I_ReadIStore exit bRC=TRUE\n"); dsp3780I_ReadIStore()
692 "3780I::dsp3780I_WriteIStore exit bRC=TRUE\n"); dsp3780I_WriteIStore()

Completed in 69 milliseconds