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()
11407 static word mixer_save_config(dword Id, PLCI *plci, byte Rc) in mixer_save_config() argument
11413 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->adjust_b_state)); in mixer_save_config()
11432 static word mixer_restore_config(dword Id, PLCI *plci, byte Rc) in mixer_restore_config() argument
11438 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->adjust_b_state)); in mixer_restore_config()
11462 Rc = OK; in mixer_restore_config()
11466 if ((Rc != OK) && (Rc != OK_FC) && (Rc != 0)) in mixer_restore_config()
11469 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in mixer_restore_config()
11473 if (Rc == OK) in mixer_restore_config()
11480 else if (Rc == 0) in mixer_restore_config()
11495 Rc = OK; in mixer_restore_config()
11497 if (!xconnect_write_coefs_process(Id, plci, Rc)) in mixer_restore_config()
11515 static void mixer_command(dword Id, PLCI *plci, byte Rc) in mixer_command() argument
11521 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->internal_command, in mixer_command()
11543 if (adjust_b_process(Id, plci, Rc) != GOOD) in mixer_command()
11573 if (!xconnect_write_coefs_process(Id, plci, Rc)) in mixer_command()
11601 if (adjust_b_process(Id, plci, Rc) != GOOD) in mixer_command()
12668 static word ec_save_config(dword Id, PLCI *plci, byte Rc) in ec_save_config() argument
12672 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->adjust_b_state)); in ec_save_config()
12678 static word ec_restore_config(dword Id, PLCI *plci, byte Rc) in ec_restore_config() argument
12683 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->adjust_b_state)); in ec_restore_config()
12701 if ((Rc != OK) && (Rc != OK_FC)) in ec_restore_config()
12704 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in ec_restore_config()
12715 static void ec_command(dword Id, PLCI *plci, byte Rc) in ec_command() argument
12721 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->internal_command, in ec_command()
12751 if (adjust_b_process(Id, plci, Rc) != GOOD) in ec_command()
12770 if ((Rc != OK) && (Rc != OK_FC)) in ec_command()
12773 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in ec_command()
12797 Rc = OK; in ec_command()
12799 if ((Rc != OK) && (Rc != OK_FC)) in ec_command()
12802 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in ec_command()
12809 if (adjust_b_process(Id, plci, Rc) != GOOD) in ec_command()
13300 static word adv_voice_save_config(dword Id, PLCI *plci, byte Rc) in adv_voice_save_config() argument
13304 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->adjust_b_state)); in adv_voice_save_config()
13310 static word adv_voice_restore_config(dword Id, PLCI *plci, byte Rc) in adv_voice_restore_config() argument
13316 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->adjust_b_state)); in adv_voice_restore_config()
13336 if ((Rc != OK) && (Rc != OK_FC)) in adv_voice_restore_config()
13339 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in adv_voice_restore_config()
13582 static word adjust_b_process(dword Id, PLCI *plci, byte Rc) in adjust_b_process() argument
13590 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->adjust_b_state)); in adjust_b_process()
13632 Rc = OK; in adjust_b_process()
13637 Info = mixer_save_config(Id, plci, Rc); in adjust_b_process()
13643 Rc = OK; in adjust_b_process()
13648 Info = dtmf_save_config(Id, plci, Rc); in adjust_b_process()
13677 Rc = OK; in adjust_b_process()
13679 if ((Rc != OK) && (Rc != OK_FC)) in adjust_b_process()
13682 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in adjust_b_process()
13695 Rc = OK; in adjust_b_process()
13700 Info = ec_save_config(Id, plci, Rc); in adjust_b_process()
13706 Rc = OK; in adjust_b_process()
13711 Info = dtmf_parameter_save_config(Id, plci, Rc); in adjust_b_process()
13717 Rc = OK; in adjust_b_process()
13721 Info = adv_voice_save_config(Id, plci, Rc); in adjust_b_process()
13755 Rc = OK; in adjust_b_process()
13757 if ((Rc != OK) && (Rc != OK_FC)) in adjust_b_process()
13761 Rc, plci->B1_resource, plci->adjust_b_facilities)); in adjust_b_process()
13766 Rc = OK; in adjust_b_process()
13771 Info = adv_voice_restore_config(Id, plci, Rc); in adjust_b_process()
13776 Rc = OK; in adjust_b_process()
13782 Info = dtmf_parameter_restore_config(Id, plci, Rc); in adjust_b_process()
13788 Rc = OK; in adjust_b_process()
13794 Info = ec_restore_config(Id, plci, Rc); in adjust_b_process()
13828 Rc = ASSIGN_OK; in adjust_b_process()
13830 if ((Rc != OK) && (Rc != OK_FC) && (Rc != ASSIGN_OK)) in adjust_b_process()
13833 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in adjust_b_process()
13839 if (Rc != ASSIGN_OK) in adjust_b_process()
13863 Rc = OK; in adjust_b_process()
13867 if ((Rc != OK) && (Rc != OK_FC) && (Rc != 0)) in adjust_b_process()
13870 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in adjust_b_process()
13874 if (Rc == OK) in adjust_b_process()
13886 else if (Rc == 0) in adjust_b_process()
13898 Rc = OK; in adjust_b_process()
13904 Info = dtmf_restore_config(Id, plci, Rc); in adjust_b_process()
13910 Rc = OK; in adjust_b_process()
13921 Info = mixer_restore_config(Id, plci, Rc); in adjust_b_process()
13956 static void adjust_b_restore(dword Id, PLCI *plci, byte Rc) in adjust_b_restore() argument
13961 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->internal_command)); in adjust_b_restore()
13974 Rc = OK; in adjust_b_restore()
13976 if ((Rc != OK) && (Rc != OK_FC)) in adjust_b_restore()
13979 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in adjust_b_restore()
13990 if (adjust_b_process(Id, plci, Rc) != GOOD) in adjust_b_restore()
14002 static void reset_b3_command(dword Id, PLCI *plci, byte Rc) in reset_b3_command() argument
14008 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->internal_command)); in reset_b3_command()
14026 Info = adjust_b_process(Id, plci, Rc); in reset_b3_command()
14042 static void select_b_command(dword Id, PLCI *plci, byte Rc) in select_b_command() argument
14049 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->internal_command)); in select_b_command()
14079 Info = adjust_b_process(Id, plci, Rc); in select_b_command()
14101 static void fax_connect_ack_command(dword Id, PLCI *plci, byte Rc) in fax_connect_ack_command() argument
14106 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->internal_command)); in fax_connect_ack_command()
14129 if ((Rc != OK) && (Rc != OK_FC)) in fax_connect_ack_command()
14132 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in fax_connect_ack_command()
14148 static void fax_edata_ack_command(dword Id, PLCI *plci, byte Rc) in fax_edata_ack_command() argument
14153 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->internal_command)); in fax_edata_ack_command()
14176 if ((Rc != OK) && (Rc != OK_FC)) in fax_edata_ack_command()
14179 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in fax_edata_ack_command()
14186 static void fax_connect_info_command(dword Id, PLCI *plci, byte Rc) in fax_connect_info_command() argument
14192 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->internal_command)); in fax_connect_info_command()
14216 if ((Rc != OK) && (Rc != OK_FC)) in fax_connect_info_command()
14219 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in fax_connect_info_command()
14237 static void fax_adjust_b23_command(dword Id, PLCI *plci, byte Rc) in fax_adjust_b23_command() argument
14243 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->internal_command)); in fax_adjust_b23_command()
14261 Info = adjust_b_process(Id, plci, Rc); in fax_adjust_b23_command()
14285 static void fax_disconnect_command(dword Id, PLCI *plci, byte Rc) in fax_disconnect_command() argument
14290 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->internal_command)); in fax_disconnect_command()
14303 if ((Rc != OK) && (Rc != OK_FC) && (Rc != 0)) in fax_disconnect_command()
14306 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in fax_disconnect_command()
14309 if (Rc == OK) in fax_disconnect_command()
14317 else if (Rc == 0) in fax_disconnect_command()
14328 static void rtp_connect_b3_req_command(dword Id, PLCI *plci, byte Rc) in rtp_connect_b3_req_command() argument
14334 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->internal_command)); in rtp_connect_b3_req_command()
14354 if ((Rc != OK) && (Rc != OK_FC)) in rtp_connect_b3_req_command()
14357 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in rtp_connect_b3_req_command()
14381 static void rtp_connect_b3_res_command(dword Id, PLCI *plci, byte Rc) in rtp_connect_b3_res_command() argument
14386 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->internal_command)); in rtp_connect_b3_res_command()
14405 if ((Rc != OK) && (Rc != OK_FC)) in rtp_connect_b3_res_command()
14408 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in rtp_connect_b3_res_command()
14432 static void hold_save_command(dword Id, PLCI *plci, byte Rc) in hold_save_command() argument
14439 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->internal_command)); in hold_save_command()
14459 Info = adjust_b_process(Id, plci, Rc); in hold_save_command()
14473 static void retrieve_restore_command(dword Id, PLCI *plci, byte Rc) in retrieve_restore_command() argument
14480 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->internal_command)); in retrieve_restore_command()
14498 Info = adjust_b_process(Id, plci, Rc); in retrieve_restore_command()
15001 pReq->xdi_dma_descriptor_operation.Rc = IDI_SYNC_REQ_DMA_DESCRIPTOR_OPERATION; in diva_get_dma_descriptor()
15035 pReq->xdi_dma_descriptor_operation.Rc = IDI_SYNC_REQ_DMA_DESCRIPTOR_OPERATION; in diva_free_dma_descriptor()