Lines Matching refs:Rc
162 static word adjust_b_process(dword Id, PLCI *plci, byte Rc);
164 static void adjust_b_restore(dword Id, PLCI *plci, byte Rc);
165 static void reset_b3_command(dword Id, PLCI *plci, byte Rc);
166 static void select_b_command(dword Id, PLCI *plci, byte Rc);
167 static void fax_connect_ack_command(dword Id, PLCI *plci, byte Rc);
168 static void fax_edata_ack_command(dword Id, PLCI *plci, byte Rc);
169 static void fax_connect_info_command(dword Id, PLCI *plci, byte Rc);
170 static void fax_adjust_b23_command(dword Id, PLCI *plci, byte Rc);
171 static void fax_disconnect_command(dword Id, PLCI *plci, byte Rc);
172 static void hold_save_command(dword Id, PLCI *plci, byte Rc);
173 static void retrieve_restore_command(dword Id, PLCI *plci, byte Rc);
177 static void dtmf_command(dword Id, PLCI *plci, byte Rc);
188 static void mixer_command(dword Id, PLCI *plci, byte Rc);
196 static void ec_command(dword Id, PLCI *plci, byte Rc);
201 static void rtp_connect_b3_req_command(dword Id, PLCI *plci, byte Rc);
202 static void rtp_connect_b3_res_command(dword Id, PLCI *plci, byte Rc);
3729 (e->user[0] + 1) & 0x7fff, e->Id, e->Req, e->Rc, e->Ind)); in callback()
3741 (e->Rc && !no_cancel_rc)) { in callback()
3742 rc = e->Rc; in callback()
3745 e->Rc = 0; in callback()
9114 preq->xdi_sdram_bar.Rc = IDI_SYNC_REQ_XDI_GET_ADAPTER_SDRAM_BAR; in diva_ask_for_xdi_sdram_bar()
9139 preq->xdi_extended_features.Rc = IDI_SYNC_REQ_XDI_GET_EXTENDED_FEATURES; in diva_get_extended_adapter_features()
9563 static word dtmf_save_config(dword Id, PLCI *plci, byte Rc) in dtmf_save_config() argument
9567 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->adjust_b_state)); in dtmf_save_config()
9573 static word dtmf_restore_config(dword Id, PLCI *plci, byte Rc) in dtmf_restore_config() argument
9578 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->adjust_b_state)); in dtmf_restore_config()
9596 if ((Rc != OK) && (Rc != OK_FC)) in dtmf_restore_config()
9599 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in dtmf_restore_config()
9610 static void dtmf_command(dword Id, PLCI *plci, byte Rc) in dtmf_command() argument
9617 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->internal_command, in dtmf_command()
9643 if (adjust_b_process(Id, plci, Rc) != GOOD) in dtmf_command()
9663 if ((Rc != OK) && (Rc != OK_FC)) in dtmf_command()
9666 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in dtmf_command()
9719 if (adjust_b_process(Id, plci, Rc) != GOOD) in dtmf_command()
9747 if (adjust_b_process(Id, plci, Rc) != GOOD) in dtmf_command()
9768 if ((Rc != OK) && (Rc != OK_FC)) in dtmf_command()
9771 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in dtmf_command()
10095 static word dtmf_parameter_save_config(dword Id, PLCI *plci, byte Rc) in dtmf_parameter_save_config() argument
10099 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->adjust_b_state)); in dtmf_parameter_save_config()
10105 static word dtmf_parameter_restore_config(dword Id, PLCI *plci, byte Rc) in dtmf_parameter_restore_config() argument
10110 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->adjust_b_state)); in dtmf_parameter_restore_config()
10129 if ((Rc != OK) && (Rc != OK_FC)) in dtmf_parameter_restore_config()
10132 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in dtmf_parameter_restore_config()
10782 static byte xconnect_write_coefs_process(dword Id, PLCI *plci, byte Rc) in xconnect_write_coefs_process() argument
10792 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->li_write_channel)); in xconnect_write_coefs_process()
10807 if ((Rc != OK) && (Rc != OK_FC)) in xconnect_write_coefs_process()
10810 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in xconnect_write_coefs_process()
11271 static word mixer_save_config(dword Id, PLCI *plci, byte Rc) in mixer_save_config() argument
11277 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->adjust_b_state)); in mixer_save_config()
11296 static word mixer_restore_config(dword Id, PLCI *plci, byte Rc) in mixer_restore_config() argument
11302 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->adjust_b_state)); in mixer_restore_config()
11326 Rc = OK; in mixer_restore_config()
11331 if ((Rc != OK) && (Rc != OK_FC) && (Rc != 0)) in mixer_restore_config()
11334 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in mixer_restore_config()
11338 if (Rc == OK) in mixer_restore_config()
11345 else if (Rc == 0) in mixer_restore_config()
11361 Rc = OK; in mixer_restore_config()
11364 if (!xconnect_write_coefs_process(Id, plci, Rc)) in mixer_restore_config()
11382 static void mixer_command(dword Id, PLCI *plci, byte Rc) in mixer_command() argument
11388 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->internal_command, in mixer_command()
11411 if (adjust_b_process(Id, plci, Rc) != GOOD) in mixer_command()
11442 if (!xconnect_write_coefs_process(Id, plci, Rc)) in mixer_command()
11471 if (adjust_b_process(Id, plci, Rc) != GOOD) in mixer_command()
12538 static word ec_save_config(dword Id, PLCI *plci, byte Rc) in ec_save_config() argument
12542 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->adjust_b_state)); in ec_save_config()
12548 static word ec_restore_config(dword Id, PLCI *plci, byte Rc) in ec_restore_config() argument
12553 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->adjust_b_state)); in ec_restore_config()
12571 if ((Rc != OK) && (Rc != OK_FC)) in ec_restore_config()
12574 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in ec_restore_config()
12585 static void ec_command(dword Id, PLCI *plci, byte Rc) in ec_command() argument
12591 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->internal_command, in ec_command()
12622 if (adjust_b_process(Id, plci, Rc) != GOOD) in ec_command()
12642 if ((Rc != OK) && (Rc != OK_FC)) in ec_command()
12645 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in ec_command()
12669 Rc = OK; in ec_command()
12672 if ((Rc != OK) && (Rc != OK_FC)) in ec_command()
12675 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in ec_command()
12683 if (adjust_b_process(Id, plci, Rc) != GOOD) in ec_command()
13174 static word adv_voice_save_config(dword Id, PLCI *plci, byte Rc) in adv_voice_save_config() argument
13178 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->adjust_b_state)); in adv_voice_save_config()
13184 static word adv_voice_restore_config(dword Id, PLCI *plci, byte Rc) in adv_voice_restore_config() argument
13190 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->adjust_b_state)); in adv_voice_restore_config()
13210 if ((Rc != OK) && (Rc != OK_FC)) in adv_voice_restore_config()
13213 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in adv_voice_restore_config()
13456 static word adjust_b_process(dword Id, PLCI *plci, byte Rc) in adjust_b_process() argument
13464 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->adjust_b_state)); in adjust_b_process()
13506 Rc = OK; in adjust_b_process()
13512 Info = mixer_save_config(Id, plci, Rc); in adjust_b_process()
13518 Rc = OK; in adjust_b_process()
13524 Info = dtmf_save_config(Id, plci, Rc); in adjust_b_process()
13554 Rc = OK; in adjust_b_process()
13557 if ((Rc != OK) && (Rc != OK_FC)) in adjust_b_process()
13560 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in adjust_b_process()
13573 Rc = OK; in adjust_b_process()
13579 Info = ec_save_config(Id, plci, Rc); in adjust_b_process()
13585 Rc = OK; in adjust_b_process()
13591 Info = dtmf_parameter_save_config(Id, plci, Rc); in adjust_b_process()
13597 Rc = OK; in adjust_b_process()
13602 Info = adv_voice_save_config(Id, plci, Rc); in adjust_b_process()
13637 Rc = OK; in adjust_b_process()
13640 if ((Rc != OK) && (Rc != OK_FC)) in adjust_b_process()
13644 Rc, plci->B1_resource, plci->adjust_b_facilities)); in adjust_b_process()
13649 Rc = OK; in adjust_b_process()
13655 Info = adv_voice_restore_config(Id, plci, Rc); in adjust_b_process()
13660 Rc = OK; in adjust_b_process()
13667 Info = dtmf_parameter_restore_config(Id, plci, Rc); in adjust_b_process()
13673 Rc = OK; in adjust_b_process()
13680 Info = ec_restore_config(Id, plci, Rc); in adjust_b_process()
13715 Rc = ASSIGN_OK; in adjust_b_process()
13718 if ((Rc != OK) && (Rc != OK_FC) && (Rc != ASSIGN_OK)) in adjust_b_process()
13721 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in adjust_b_process()
13727 if (Rc != ASSIGN_OK) in adjust_b_process()
13752 Rc = OK; in adjust_b_process()
13757 if ((Rc != OK) && (Rc != OK_FC) && (Rc != 0)) in adjust_b_process()
13760 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in adjust_b_process()
13764 if (Rc == OK) in adjust_b_process()
13776 else if (Rc == 0) in adjust_b_process()
13788 Rc = OK; in adjust_b_process()
13795 Info = dtmf_restore_config(Id, plci, Rc); in adjust_b_process()
13801 Rc = OK; in adjust_b_process()
13813 Info = mixer_restore_config(Id, plci, Rc); in adjust_b_process()
13848 static void adjust_b_restore(dword Id, PLCI *plci, byte Rc) in adjust_b_restore() argument
13853 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->internal_command)); in adjust_b_restore()
13866 Rc = OK; in adjust_b_restore()
13869 if ((Rc != OK) && (Rc != OK_FC)) in adjust_b_restore()
13872 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in adjust_b_restore()
13884 if (adjust_b_process(Id, plci, Rc) != GOOD) in adjust_b_restore()
13896 static void reset_b3_command(dword Id, PLCI *plci, byte Rc) in reset_b3_command() argument
13902 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->internal_command)); in reset_b3_command()
13921 Info = adjust_b_process(Id, plci, Rc); in reset_b3_command()
13937 static void select_b_command(dword Id, PLCI *plci, byte Rc) in select_b_command() argument
13944 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->internal_command)); in select_b_command()
13975 Info = adjust_b_process(Id, plci, Rc); in select_b_command()
13997 static void fax_connect_ack_command(dword Id, PLCI *plci, byte Rc) in fax_connect_ack_command() argument
14002 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->internal_command)); in fax_connect_ack_command()
14025 if ((Rc != OK) && (Rc != OK_FC)) in fax_connect_ack_command()
14028 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in fax_connect_ack_command()
14044 static void fax_edata_ack_command(dword Id, PLCI *plci, byte Rc) in fax_edata_ack_command() argument
14049 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->internal_command)); in fax_edata_ack_command()
14073 if ((Rc != OK) && (Rc != OK_FC)) in fax_edata_ack_command()
14076 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in fax_edata_ack_command()
14083 static void fax_connect_info_command(dword Id, PLCI *plci, byte Rc) in fax_connect_info_command() argument
14089 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->internal_command)); in fax_connect_info_command()
14113 if ((Rc != OK) && (Rc != OK_FC)) in fax_connect_info_command()
14116 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in fax_connect_info_command()
14134 static void fax_adjust_b23_command(dword Id, PLCI *plci, byte Rc) in fax_adjust_b23_command() argument
14140 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->internal_command)); in fax_adjust_b23_command()
14159 Info = adjust_b_process(Id, plci, Rc); in fax_adjust_b23_command()
14184 static void fax_disconnect_command(dword Id, PLCI *plci, byte Rc) in fax_disconnect_command() argument
14189 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->internal_command)); in fax_disconnect_command()
14202 if ((Rc != OK) && (Rc != OK_FC) && (Rc != 0)) in fax_disconnect_command()
14205 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in fax_disconnect_command()
14208 if (Rc == OK) in fax_disconnect_command()
14216 else if (Rc == 0) in fax_disconnect_command()
14227 static void rtp_connect_b3_req_command(dword Id, PLCI *plci, byte Rc) in rtp_connect_b3_req_command() argument
14233 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->internal_command)); in rtp_connect_b3_req_command()
14253 if ((Rc != OK) && (Rc != OK_FC)) in rtp_connect_b3_req_command()
14256 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in rtp_connect_b3_req_command()
14280 static void rtp_connect_b3_res_command(dword Id, PLCI *plci, byte Rc) in rtp_connect_b3_res_command() argument
14285 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->internal_command)); in rtp_connect_b3_res_command()
14304 if ((Rc != OK) && (Rc != OK_FC)) in rtp_connect_b3_res_command()
14307 UnMapId(Id), (char *)(FILE_), __LINE__, Rc)); in rtp_connect_b3_res_command()
14331 static void hold_save_command(dword Id, PLCI *plci, byte Rc) in hold_save_command() argument
14338 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->internal_command)); in hold_save_command()
14359 Info = adjust_b_process(Id, plci, Rc); in hold_save_command()
14373 static void retrieve_restore_command(dword Id, PLCI *plci, byte Rc) in retrieve_restore_command() argument
14380 UnMapId(Id), (char *)(FILE_), __LINE__, Rc, plci->internal_command)); in retrieve_restore_command()
14399 Info = adjust_b_process(Id, plci, Rc); in retrieve_restore_command()
14903 pReq->xdi_dma_descriptor_operation.Rc = IDI_SYNC_REQ_DMA_DESCRIPTOR_OPERATION; in diva_get_dma_descriptor()
14937 pReq->xdi_dma_descriptor_operation.Rc = IDI_SYNC_REQ_DMA_DESCRIPTOR_OPERATION; in diva_free_dma_descriptor()