Lines Matching refs:Rc
177 static word adjust_b_process(dword Id, PLCI *plci, byte Rc);
179 static void adjust_b_restore(dword Id, PLCI *plci, byte Rc);
180 static void reset_b3_command(dword Id, PLCI *plci, byte Rc);
181 static void select_b_command(dword Id, PLCI *plci, byte Rc);
182 static void fax_connect_ack_command(dword Id, PLCI *plci, byte Rc);
183 static void fax_edata_ack_command(dword Id, PLCI *plci, byte Rc);
184 static void fax_connect_info_command(dword Id, PLCI *plci, byte Rc);
185 static void fax_adjust_b23_command(dword Id, PLCI *plci, byte Rc);
186 static void fax_disconnect_command(dword Id, PLCI *plci, byte Rc);
187 static void hold_save_command(dword Id, PLCI *plci, byte Rc);
188 static void retrieve_restore_command(dword Id, PLCI *plci, byte Rc);
192 static void dtmf_command(dword Id, PLCI *plci, byte Rc);
203 static void mixer_command(dword Id, PLCI *plci, byte Rc);
211 static void ec_command(dword Id, PLCI *plci, byte Rc);
216 static void rtp_connect_b3_req_command(dword Id, PLCI *plci, byte Rc);
217 static void rtp_connect_b3_res_command(dword Id, PLCI *plci, byte Rc);
3854 (e->user[0] + 1) & 0x7fff, e->Id, e->Req, e->Rc, e->Ind)); in callback()
3866 (e->Rc && !no_cancel_rc)) { in callback()
3867 rc = e->Rc; in callback()
3870 e->Rc = 0; in callback()
9252 preq->xdi_sdram_bar.Rc = IDI_SYNC_REQ_XDI_GET_ADAPTER_SDRAM_BAR; in diva_ask_for_xdi_sdram_bar()
9277 preq->xdi_extended_features.Rc = IDI_SYNC_REQ_XDI_GET_EXTENDED_FEATURES; in diva_get_extended_adapter_features()
9701 static word dtmf_save_config(dword Id, PLCI *plci, byte Rc) in dtmf_save_config() argument
9705 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->adjust_b_state)); in dtmf_save_config()
9711 static word dtmf_restore_config(dword Id, PLCI *plci, byte Rc) in dtmf_restore_config() argument
9716 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->adjust_b_state)); in dtmf_restore_config()
9734 if ((Rc != OK) && (Rc != OK_FC)) in dtmf_restore_config()
9737 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in dtmf_restore_config()
9748 static void dtmf_command(dword Id, PLCI *plci, byte Rc) in dtmf_command() argument
9755 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->internal_command, in dtmf_command()
9780 if (adjust_b_process(Id, plci, Rc) != GOOD) in dtmf_command()
9799 if ((Rc != OK) && (Rc != OK_FC)) in dtmf_command()
9802 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in dtmf_command()
9854 if (adjust_b_process(Id, plci, Rc) != GOOD) in dtmf_command()
9881 if (adjust_b_process(Id, plci, Rc) != GOOD) in dtmf_command()
9901 if ((Rc != OK) && (Rc != OK_FC)) in dtmf_command()
9904 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in dtmf_command()
10226 static word dtmf_parameter_save_config(dword Id, PLCI *plci, byte Rc) in dtmf_parameter_save_config() argument
10230 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->adjust_b_state)); in dtmf_parameter_save_config()
10236 static word dtmf_parameter_restore_config(dword Id, PLCI *plci, byte Rc) in dtmf_parameter_restore_config() argument
10241 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->adjust_b_state)); in dtmf_parameter_restore_config()
10260 if ((Rc != OK) && (Rc != OK_FC)) in dtmf_parameter_restore_config()
10263 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in dtmf_parameter_restore_config()
10918 static byte xconnect_write_coefs_process(dword Id, PLCI *plci, byte Rc) in xconnect_write_coefs_process() argument
10928 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->li_write_channel)); in xconnect_write_coefs_process()
10943 if ((Rc != OK) && (Rc != OK_FC)) in xconnect_write_coefs_process()
10946 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in xconnect_write_coefs_process()
11406 static word mixer_save_config(dword Id, PLCI *plci, byte Rc) in mixer_save_config() argument
11412 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->adjust_b_state)); in mixer_save_config()
11431 static word mixer_restore_config(dword Id, PLCI *plci, byte Rc) in mixer_restore_config() argument
11437 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->adjust_b_state)); in mixer_restore_config()
11461 Rc = OK; in mixer_restore_config()
11465 if ((Rc != OK) && (Rc != OK_FC) && (Rc != 0)) in mixer_restore_config()
11468 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in mixer_restore_config()
11472 if (Rc == OK) in mixer_restore_config()
11479 else if (Rc == 0) in mixer_restore_config()
11494 Rc = OK; in mixer_restore_config()
11496 if (!xconnect_write_coefs_process(Id, plci, Rc)) in mixer_restore_config()
11514 static void mixer_command(dword Id, PLCI *plci, byte Rc) in mixer_command() argument
11520 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->internal_command, in mixer_command()
11542 if (adjust_b_process(Id, plci, Rc) != GOOD) in mixer_command()
11572 if (!xconnect_write_coefs_process(Id, plci, Rc)) in mixer_command()
11600 if (adjust_b_process(Id, plci, Rc) != GOOD) in mixer_command()
12667 static word ec_save_config(dword Id, PLCI *plci, byte Rc) in ec_save_config() argument
12671 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->adjust_b_state)); in ec_save_config()
12677 static word ec_restore_config(dword Id, PLCI *plci, byte Rc) in ec_restore_config() argument
12682 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->adjust_b_state)); in ec_restore_config()
12700 if ((Rc != OK) && (Rc != OK_FC)) in ec_restore_config()
12703 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in ec_restore_config()
12714 static void ec_command(dword Id, PLCI *plci, byte Rc) in ec_command() argument
12720 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->internal_command, in ec_command()
12750 if (adjust_b_process(Id, plci, Rc) != GOOD) in ec_command()
12769 if ((Rc != OK) && (Rc != OK_FC)) in ec_command()
12772 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in ec_command()
12796 Rc = OK; in ec_command()
12798 if ((Rc != OK) && (Rc != OK_FC)) in ec_command()
12801 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in ec_command()
12808 if (adjust_b_process(Id, plci, Rc) != GOOD) in ec_command()
13299 static word adv_voice_save_config(dword Id, PLCI *plci, byte Rc) in adv_voice_save_config() argument
13303 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->adjust_b_state)); in adv_voice_save_config()
13309 static word adv_voice_restore_config(dword Id, PLCI *plci, byte Rc) in adv_voice_restore_config() argument
13315 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->adjust_b_state)); in adv_voice_restore_config()
13335 if ((Rc != OK) && (Rc != OK_FC)) in adv_voice_restore_config()
13338 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in adv_voice_restore_config()
13581 static word adjust_b_process(dword Id, PLCI *plci, byte Rc) in adjust_b_process() argument
13589 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->adjust_b_state)); in adjust_b_process()
13631 Rc = OK; in adjust_b_process()
13636 Info = mixer_save_config(Id, plci, Rc); in adjust_b_process()
13642 Rc = OK; in adjust_b_process()
13647 Info = dtmf_save_config(Id, plci, Rc); in adjust_b_process()
13676 Rc = OK; in adjust_b_process()
13678 if ((Rc != OK) && (Rc != OK_FC)) in adjust_b_process()
13681 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in adjust_b_process()
13694 Rc = OK; in adjust_b_process()
13699 Info = ec_save_config(Id, plci, Rc); in adjust_b_process()
13705 Rc = OK; in adjust_b_process()
13710 Info = dtmf_parameter_save_config(Id, plci, Rc); in adjust_b_process()
13716 Rc = OK; in adjust_b_process()
13720 Info = adv_voice_save_config(Id, plci, Rc); in adjust_b_process()
13754 Rc = OK; in adjust_b_process()
13756 if ((Rc != OK) && (Rc != OK_FC)) in adjust_b_process()
13760 Rc, plci->B1_resource, plci->adjust_b_facilities)); in adjust_b_process()
13765 Rc = OK; in adjust_b_process()
13770 Info = adv_voice_restore_config(Id, plci, Rc); in adjust_b_process()
13775 Rc = OK; in adjust_b_process()
13781 Info = dtmf_parameter_restore_config(Id, plci, Rc); in adjust_b_process()
13787 Rc = OK; in adjust_b_process()
13793 Info = ec_restore_config(Id, plci, Rc); in adjust_b_process()
13827 Rc = ASSIGN_OK; in adjust_b_process()
13829 if ((Rc != OK) && (Rc != OK_FC) && (Rc != ASSIGN_OK)) in adjust_b_process()
13832 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in adjust_b_process()
13838 if (Rc != ASSIGN_OK) in adjust_b_process()
13862 Rc = OK; in adjust_b_process()
13866 if ((Rc != OK) && (Rc != OK_FC) && (Rc != 0)) in adjust_b_process()
13869 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in adjust_b_process()
13873 if (Rc == OK) in adjust_b_process()
13885 else if (Rc == 0) in adjust_b_process()
13897 Rc = OK; in adjust_b_process()
13903 Info = dtmf_restore_config(Id, plci, Rc); in adjust_b_process()
13909 Rc = OK; in adjust_b_process()
13920 Info = mixer_restore_config(Id, plci, Rc); in adjust_b_process()
13955 static void adjust_b_restore(dword Id, PLCI *plci, byte Rc) in adjust_b_restore() argument
13960 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->internal_command)); in adjust_b_restore()
13973 Rc = OK; in adjust_b_restore()
13975 if ((Rc != OK) && (Rc != OK_FC)) in adjust_b_restore()
13978 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in adjust_b_restore()
13989 if (adjust_b_process(Id, plci, Rc) != GOOD) in adjust_b_restore()
14001 static void reset_b3_command(dword Id, PLCI *plci, byte Rc) in reset_b3_command() argument
14007 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->internal_command)); in reset_b3_command()
14025 Info = adjust_b_process(Id, plci, Rc); in reset_b3_command()
14041 static void select_b_command(dword Id, PLCI *plci, byte Rc) in select_b_command() argument
14048 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->internal_command)); in select_b_command()
14078 Info = adjust_b_process(Id, plci, Rc); in select_b_command()
14100 static void fax_connect_ack_command(dword Id, PLCI *plci, byte Rc) in fax_connect_ack_command() argument
14105 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->internal_command)); in fax_connect_ack_command()
14128 if ((Rc != OK) && (Rc != OK_FC)) in fax_connect_ack_command()
14131 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in fax_connect_ack_command()
14147 static void fax_edata_ack_command(dword Id, PLCI *plci, byte Rc) in fax_edata_ack_command() argument
14152 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->internal_command)); in fax_edata_ack_command()
14175 if ((Rc != OK) && (Rc != OK_FC)) in fax_edata_ack_command()
14178 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in fax_edata_ack_command()
14185 static void fax_connect_info_command(dword Id, PLCI *plci, byte Rc) in fax_connect_info_command() argument
14191 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->internal_command)); in fax_connect_info_command()
14215 if ((Rc != OK) && (Rc != OK_FC)) in fax_connect_info_command()
14218 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in fax_connect_info_command()
14236 static void fax_adjust_b23_command(dword Id, PLCI *plci, byte Rc) in fax_adjust_b23_command() argument
14242 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->internal_command)); in fax_adjust_b23_command()
14260 Info = adjust_b_process(Id, plci, Rc); in fax_adjust_b23_command()
14284 static void fax_disconnect_command(dword Id, PLCI *plci, byte Rc) in fax_disconnect_command() argument
14289 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->internal_command)); in fax_disconnect_command()
14302 if ((Rc != OK) && (Rc != OK_FC) && (Rc != 0)) in fax_disconnect_command()
14305 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in fax_disconnect_command()
14308 if (Rc == OK) in fax_disconnect_command()
14316 else if (Rc == 0) in fax_disconnect_command()
14327 static void rtp_connect_b3_req_command(dword Id, PLCI *plci, byte Rc) in rtp_connect_b3_req_command() argument
14333 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->internal_command)); in rtp_connect_b3_req_command()
14353 if ((Rc != OK) && (Rc != OK_FC)) in rtp_connect_b3_req_command()
14356 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in rtp_connect_b3_req_command()
14380 static void rtp_connect_b3_res_command(dword Id, PLCI *plci, byte Rc) in rtp_connect_b3_res_command() argument
14385 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->internal_command)); in rtp_connect_b3_res_command()
14404 if ((Rc != OK) && (Rc != OK_FC)) in rtp_connect_b3_res_command()
14407 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in rtp_connect_b3_res_command()
14431 static void hold_save_command(dword Id, PLCI *plci, byte Rc) in hold_save_command() argument
14438 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->internal_command)); in hold_save_command()
14458 Info = adjust_b_process(Id, plci, Rc); in hold_save_command()
14472 static void retrieve_restore_command(dword Id, PLCI *plci, byte Rc) in retrieve_restore_command() argument
14479 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->internal_command)); in retrieve_restore_command()
14497 Info = adjust_b_process(Id, plci, Rc); in retrieve_restore_command()
15000 pReq->xdi_dma_descriptor_operation.Rc = IDI_SYNC_REQ_DMA_DESCRIPTOR_OPERATION; in diva_get_dma_descriptor()
15034 pReq->xdi_dma_descriptor_operation.Rc = IDI_SYNC_REQ_DMA_DESCRIPTOR_OPERATION; in diva_free_dma_descriptor()