Lines Matching defs:error
34 /* HPI6000 specific error codes */
215 phr->error = HPI_ERROR_INVALID_FUNC;
233 phr->error =
237 phr->error = err;
288 phr->error = HPI_ERROR_INVALID_FUNC;
308 phr->error = HPI_ERROR_INVALID_FUNC;
382 phr->error = HPI_ERROR_INVALID_TYPE;
412 phr->error = HPI_ERROR_MEMORY_ALLOC;
423 phr->error = HPI_ERROR_DSP_BOOTLOAD;
426 phr->error = err;
437 phr->error = HPI_ERROR_BAD_ADAPTER;
448 phr->error = 0;
456 phr->error = 0;
525 u16 error = 0;
539 error = hpi6000_message_response_sequence(pao, 0, &hm, &hr0);
540 if (hr0.error) {
541 HPI_DEBUG_LOG(DEBUG, "message error %d\n", hr0.error);
542 return hr0.error;
545 error = hpi6000_message_response_sequence(pao, 1, &hm,
547 if (error)
548 return error;
611 strcpy(phr->u.ax.assert.sz_message, "PCI2040 error");
615 phr->error = 0;
630 short error;
684 * issued upon HPI or GP error
936 error = hpi_dsp_code_open(boot_load_family, pao->pci.pci_dev,
939 if (error)
940 return error;
948 error = hpi_dsp_code_read_word(&dsp_code, &length);
949 if (error)
954 error = hpi_dsp_code_read_word(&dsp_code, &address);
955 if (error)
957 error = hpi_dsp_code_read_word(&dsp_code, &type);
958 if (error)
960 error = hpi_dsp_code_read_block(length, &dsp_code,
962 if (error)
964 error = hpi6000_dsp_block_write32(pao, (u16)dsp_index,
966 if (error)
970 if (error) {
972 return error;
994 error = HPI6000_ERROR_INIT_VERIFY;
1004 if (error)
1008 if (error)
1009 return error;
1161 return 0; /*? No way to return error */
1295 u16 error = 0;
1373 error = hpi_validate_response(phm, phr);
1374 return error;
1564 /* if the PCI2040 has recorded an HPI timeout, reset the error and return 1 */
1572 /* read the error bits from the PCI2040 */
1575 /* reset the error flag */
1731 u16 error = 0;
1750 phr->error = HPI_ERROR_NO_INTERDSP_GROUPS;
1757 error = hpi6000_message_response_sequence(pao, dsp_index, phm, phr);
1759 if (error) /* something failed in the HPI/DSP interface */
1762 if (phr->error) /* something failed in the DSP */
1768 error = hpi6000_send_data(pao, dsp_index, phm, phr);
1772 error = hpi6000_get_data(pao, dsp_index, phm, phr);
1779 error = hpi6000_message_response_sequence(pao,
1787 if (error) {
1788 if (error >= HPI_ERROR_BACKEND_BASE) {
1789 phr->error = HPI_ERROR_DSP_COMMUNICATION;
1790 phr->specific_error = error;
1792 phr->error = error;