Lines Matching refs:bRC
129 int bRC = -EIO; in smapi_query_DSP_cfg() local
139 bRC = smapi_request(0x1802, 0x0000, 0, 0, in smapi_query_DSP_cfg()
141 if (bRC) { in smapi_query_DSP_cfg()
143 return bRC; in smapi_query_DSP_cfg()
169 bRC = smapi_request(0x1804, 0x0000, 0, 0, in smapi_query_DSP_cfg()
171 if (bRC) { in smapi_query_DSP_cfg()
173 return bRC; in smapi_query_DSP_cfg()
198 PRINTK_2(TRACE_SMAPI, "smapi::smapi_query_DSP_cfg exit bRC %x\n", bRC); in smapi_query_DSP_cfg()
200 return bRC; in smapi_query_DSP_cfg()
206 int bRC = -EIO; in smapi_set_DSP_cfg() local
232 return bRC; in smapi_set_DSP_cfg()
244 return bRC; in smapi_set_DSP_cfg()
255 return bRC; in smapi_set_DSP_cfg()
268 return bRC; in smapi_set_DSP_cfg()
275 bRC = smapi_request(0x1402, 0x0000, 0, 0, in smapi_set_DSP_cfg()
277 if (bRC) goto exit_smapi_request_error; in smapi_set_DSP_cfg()
292 bRC = smapi_request(0x1403, 0x0100, 0, usSI, in smapi_set_DSP_cfg()
294 if (bRC) goto exit_smapi_request_error; in smapi_set_DSP_cfg()
295 bRC = smapi_request(0x1402, 0x0000, 0, 0, in smapi_set_DSP_cfg()
297 if (bRC) goto exit_smapi_request_error; in smapi_set_DSP_cfg()
313 bRC = smapi_request (0x1403, 0x0100, 0, usSI, in smapi_set_DSP_cfg()
315 if (bRC) goto exit_smapi_request_error; in smapi_set_DSP_cfg()
316 bRC = smapi_request (0x1402, 0x0000, 0, 0, in smapi_set_DSP_cfg()
318 if (bRC) goto exit_smapi_request_error; in smapi_set_DSP_cfg()
328 bRC = smapi_request(0x1404, 0x0000, 0, 0, in smapi_set_DSP_cfg()
330 if (bRC) goto exit_smapi_request_error; in smapi_set_DSP_cfg()
345 bRC = smapi_request(0x1405, 0x0100, 0, usSI, in smapi_set_DSP_cfg()
347 if (bRC) goto exit_smapi_request_error; in smapi_set_DSP_cfg()
348 bRC = smapi_request(0x1404, 0x0000, 0, 0, in smapi_set_DSP_cfg()
350 if (bRC) goto exit_smapi_request_error; in smapi_set_DSP_cfg()
366 bRC = smapi_request (0x1405, 0x0100, 0, usSI, in smapi_set_DSP_cfg()
368 if (bRC) goto exit_smapi_request_error; in smapi_set_DSP_cfg()
369 bRC = smapi_request (0x1404, 0x0000, 0, 0, in smapi_set_DSP_cfg()
371 if (bRC) goto exit_smapi_request_error; in smapi_set_DSP_cfg()
381 bRC = smapi_request(0x1700, 0x0000, 0, 0, in smapi_set_DSP_cfg()
383 if (bRC) goto exit_smapi_request_error; in smapi_set_DSP_cfg()
384 bRC = smapi_request(0x1704, 0x0000, 0, 0, in smapi_set_DSP_cfg()
386 if (bRC) goto exit_smapi_request_error; in smapi_set_DSP_cfg()
400 bRC = smapi_request(0x1701, 0x0100, 0, 0, in smapi_set_DSP_cfg()
402 if (bRC) goto exit_smapi_request_error; in smapi_set_DSP_cfg()
403 bRC = smapi_request(0x1700, 0, 0, 0, in smapi_set_DSP_cfg()
405 if (bRC) goto exit_smapi_request_error; in smapi_set_DSP_cfg()
406 bRC = smapi_request(0x1705, 0x01ff, 0, usSI, in smapi_set_DSP_cfg()
408 if (bRC) goto exit_smapi_request_error; in smapi_set_DSP_cfg()
409 bRC = smapi_request(0x1704, 0x0000, 0, 0, in smapi_set_DSP_cfg()
411 if (bRC) goto exit_smapi_request_error; in smapi_set_DSP_cfg()
427 bRC = smapi_request(0x1701, 0x0100, 0, 0, in smapi_set_DSP_cfg()
429 if (bRC) goto exit_smapi_request_error; in smapi_set_DSP_cfg()
430 bRC = smapi_request(0x1700, 0, 0, 0, in smapi_set_DSP_cfg()
432 if (bRC) goto exit_smapi_request_error; in smapi_set_DSP_cfg()
433 bRC = smapi_request(0x1705, 0x01ff, 0, usSI, in smapi_set_DSP_cfg()
435 if (bRC) goto exit_smapi_request_error; in smapi_set_DSP_cfg()
436 bRC = smapi_request(0x1704, 0x0000, 0, 0, in smapi_set_DSP_cfg()
438 if (bRC) goto exit_smapi_request_error; in smapi_set_DSP_cfg()
447 bRC = smapi_request(0x1802, 0x0000, 0, 0, in smapi_set_DSP_cfg()
449 if (bRC) goto exit_smapi_request_error; in smapi_set_DSP_cfg()
458 bRC = smapi_request(0x1803, 0x0101, usDI, usSI, in smapi_set_DSP_cfg()
460 if (bRC) goto exit_smapi_request_error; in smapi_set_DSP_cfg()
462 bRC = smapi_request(0x1804, 0x0000, 0, 0, in smapi_set_DSP_cfg()
464 if (bRC) goto exit_smapi_request_error; in smapi_set_DSP_cfg()
472 bRC = smapi_request(0x1805, 0x0101, 0, usSI, in smapi_set_DSP_cfg()
474 if (bRC) goto exit_smapi_request_error; in smapi_set_DSP_cfg()
476 bRC = smapi_request(0x1802, 0x0000, 0, 0, in smapi_set_DSP_cfg()
478 if (bRC) goto exit_smapi_request_error; in smapi_set_DSP_cfg()
480 bRC = smapi_request(0x1804, 0x0000, 0, 0, in smapi_set_DSP_cfg()
482 if (bRC) goto exit_smapi_request_error; in smapi_set_DSP_cfg()
493 PRINTK_ERROR(KERN_ERR_MWAVE "smapi::smapi_set_DSP_cfg exit on smapi_request error bRC %x\n", bRC); in smapi_set_DSP_cfg()
494 return bRC; in smapi_set_DSP_cfg()
500 int bRC = -EIO; in smapi_set_DSP_power_state() local
508 bRC = smapi_request(0x4901, 0x0000, 0, usPowerFunction, in smapi_set_DSP_power_state()
511 PRINTK_2(TRACE_SMAPI, "smapi::smapi_set_DSP_power_state exit bRC %x\n", bRC); in smapi_set_DSP_power_state()
513 return bRC; in smapi_set_DSP_power_state()
519 int bRC = -EIO;
524 bRC = smapi_request(0x0000, 0, 0, 0,
527 if (bRC == 0) {
534 return bRC;