Lines Matching refs:dword

57 static dword diva_xdi_extended_features = 0;
99 static void SendInfo(PLCI *, dword, byte **, byte);
100 static void SendSetupInfo(APPL *, PLCI *, dword, byte **, byte);
101 static void SendSSExtInd(APPL *, PLCI *plci, dword Id, byte **parms);
103 static void VSwitchReqInd(PLCI *plci, dword Id, byte **parms);
107 static byte connect_req(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
108 static byte connect_res(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
109 static byte connect_a_res(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
110 static byte disconnect_req(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
111 static byte disconnect_res(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
112 static byte listen_req(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
113 static byte info_req(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
114 static byte info_res(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
115 static byte alert_req(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
116 static byte facility_req(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
117 static byte facility_res(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
118 static byte connect_b3_req(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
119 static byte connect_b3_res(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
120 static byte connect_b3_a_res(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
121 static byte disconnect_b3_req(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
122 static byte disconnect_b3_res(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
123 static byte data_b3_req(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
124 static byte data_b3_res(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
125 static byte reset_b3_req(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
126 static byte reset_b3_res(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
127 static byte connect_b3_t90_a_res(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
128 static byte select_b_req(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
129 static byte manufacturer_req(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
130 static byte manufacturer_res(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
166 static byte SendMultiIE(PLCI *plci, dword Id, byte **parms, byte ie_type, dword info_mask, byte set…
177 static word adjust_b_process(dword Id, PLCI *plci, byte Rc);
178 static void adjust_b1_resource(dword Id, PLCI *plci, API_SAVE *bp_msg, word b1_facilities, word int…
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);
193 static byte dtmf_request(dword Id, word Number, DIVA_CAPI_ADAPTER *a, PLCI *plci, APPL *appl, API_P…
194 static void dtmf_confirmation(dword Id, PLCI *plci);
195 static void dtmf_indication(dword Id, PLCI *plci, byte *msg, word length);
203 static void mixer_command(dword Id, PLCI *plci, byte Rc);
204 static byte mixer_request(dword Id, word Number, DIVA_CAPI_ADAPTER *a, PLCI *plci, APPL *appl, API_…
205 static void mixer_indication_coefs_set(dword Id, PLCI *plci);
206 static void mixer_indication_xconnect_from(dword Id, PLCI *plci, byte *msg, word length);
207 static void mixer_indication_xconnect_to(dword Id, PLCI *plci, byte *msg, word length);
211 static void ec_command(dword Id, PLCI *plci, byte Rc);
212 static byte ec_request(dword Id, word Number, DIVA_CAPI_ADAPTER *a, PLCI *plci, APPL *appl, API_PAR…
213 static void ec_indication(dword Id, PLCI *plci, byte *msg, word length);
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);
220 static int diva_get_dma_descriptor(PLCI *plci, dword *dma_magic);
232 void sendf(APPL *, word, dword, word, byte *, ...);
233 void *TransmitBufferSet(APPL *appl, dword ref);
262 byte (*function)(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
535 m->info.data_b3_req.Data = (dword)(long)(TransmitBufferSet(appl, m->info.data_b3_req.Data)); in api_put()
728 static void start_internal_command(dword Id, PLCI *plci, t_std_internal_command command_function) in start_internal_command()
750 static void next_internal_command(dword Id, PLCI *plci) in next_internal_command()
776 static dword ncci_mapping_bug = 0;
857 dword Id; in ncci_free_receive_buffers()
860 Id = (((dword) ncci) << 16) | (((word)(plci->Id)) << 8) | a->Id; in ncci_free_receive_buffers()
947 dword Id; in ncci_remove()
951 Id = (((dword) ncci) << 16) | (((word)(plci->Id)) << 8) | a->Id; in ncci_remove()
1153 dword d; in dump_c_ind_mask()
1195 static byte connect_req(dword Id, word Number, DIVA_CAPI_ADAPTER *a, in connect_req()
1206 dword ch_mask; in connect_req()
1305 if ((ai_parms[0].length == 36) || (ch_mask != ((dword)(1L << channel)))) in connect_req()
1411 static byte connect_res(dword Id, word Number, DIVA_CAPI_ADAPTER *a, in connect_res()
1568 static byte connect_a_res(dword Id, word Number, DIVA_CAPI_ADAPTER *a, in connect_a_res()
1575 static byte disconnect_req(dword Id, word Number, DIVA_CAPI_ADAPTER *a, in disconnect_req()
1631 static byte disconnect_res(dword Id, word Number, DIVA_CAPI_ADAPTER *a, in disconnect_res()
1659 static byte listen_req(dword Id, word Number, DIVA_CAPI_ADAPTER *a, in listen_req()
1709 static byte info_req(dword Id, word Number, DIVA_CAPI_ADAPTER *a, in info_req()
1819 static byte info_res(dword Id, word Number, DIVA_CAPI_ADAPTER *a, in info_res()
1826 static byte alert_req(dword Id, word Number, DIVA_CAPI_ADAPTER *a, in alert_req()
1857 static byte facility_req(dword Id, word Number, DIVA_CAPI_ADAPTER *a, in facility_req()
1874 dword d; in facility_req()
2608 static byte facility_res(dword Id, word Number, DIVA_CAPI_ADAPTER *a, in facility_res()
2615 static byte connect_b3_req(dword Id, word Number, DIVA_CAPI_ADAPTER *a, in connect_b3_req()
2850 static byte connect_b3_res(dword Id, word Number, DIVA_CAPI_ADAPTER *a, in connect_b3_res()
2966 static byte connect_b3_a_res(dword Id, word Number, DIVA_CAPI_ADAPTER *a, in connect_b3_a_res()
2987 static byte disconnect_b3_req(dword Id, word Number, DIVA_CAPI_ADAPTER *a, in disconnect_b3_req()
3044 static byte disconnect_b3_res(dword Id, word Number, DIVA_CAPI_ADAPTER *a, in disconnect_b3_res()
3101 static byte data_b3_req(dword Id, word Number, DIVA_CAPI_ADAPTER *a, in data_b3_req()
3133 data->P = (byte *)(long)(*((dword *)(parms[0].info))); in data_b3_req()
3137 data->P = TransmitBufferSet(appl, *(dword *)parms[0].info); in data_b3_req()
3166 TransmitBufferFree(appl, (byte *)(long)(*((dword *)(parms[0].info)))); in data_b3_req()
3179 static byte data_b3_res(dword Id, word Number, DIVA_CAPI_ADAPTER *a, in data_b3_res()
3213 static byte reset_b3_req(dword Id, word Number, DIVA_CAPI_ADAPTER *a, in reset_b3_req()
3255 static byte reset_b3_res(dword Id, word Number, DIVA_CAPI_ADAPTER *a, in reset_b3_res()
3280 static byte connect_b3_t90_a_res(dword Id, word Number, DIVA_CAPI_ADAPTER *a, in connect_b3_t90_a_res()
3315 static byte select_b_req(dword Id, word Number, DIVA_CAPI_ADAPTER *a, in select_b_req()
3435 static byte manufacturer_req(dword Id, word Number, DIVA_CAPI_ADAPTER *a, in manufacturer_req()
3764 static byte manufacturer_res(dword Id, word Number, DIVA_CAPI_ADAPTER *a, in manufacturer_res()
4100 dword Id; in control_rc()
4101 dword rId; in control_rc()
4134 Id = (((dword)(ncci ? ncci : ch)) << 16) | ((word)plci->Id << 8) | a->Id; in control_rc()
4241 Id = (Id & 0xffff) | (((dword) ncci) << 16); in control_rc()
4625 Id = (Id & 0xffff) | (((dword) ncci) << 16); in control_rc()
4766 dword Id; in data_rc()
4786 Id = (((dword)ncci) << 16) | ((word)plci->Id << 8) | a->Id; in data_rc()
4802 dword Id; in data_ack()
4814 Id = (((dword)ncci) << 16) | ((word)plci->Id << 8) | a->Id; in data_ack()
4828 dword x_Id; in sig_ind()
4829 dword Id; in sig_ind()
4830 dword rId; in sig_ind()
4833 dword cip_mask; in sig_ind()
4886 dword d; in sig_ind()
4924 sendf(plci->appl, _DISCONNECT_B3_I, (((dword) ncci) << 16) | Id, 0, "ws", 0, ""); in sig_ind()
6118 static void SendSetupInfo(APPL *appl, PLCI *plci, dword Id, byte **parms, byte Info_Sent_Flag) in SendSetupInfo()
6192 static void SendInfo(PLCI *plci, dword Id, byte **parms, byte iesent) in SendInfo()
6368 static byte SendMultiIE(PLCI *plci, dword Id, byte **parms, byte ie_type, in SendMultiIE()
6369 dword info_mask, byte setupParse) in SendMultiIE()
6442 static void SendSSExtInd(APPL *appl, PLCI *plci, dword Id, byte **parms) in SendSSExtInd()
6492 dword Id; in nl_ind()
6563 static dword udata_forwarding_table[0x100 / sizeof(dword)] = in nl_ind()
6572 Id = (((dword)(ncci ? ncci : ch)) << 16) | (((word) plci->Id) << 8) | a->Id; in nl_ind()
6989 Id = (Id & 0xffff) | (((dword) ncci) << 16); in nl_ind()
7481 dword d; in add_b1()
9595 (dword)((plci->Id << 8) | UnMapController(plci->adapter->Id)), in dtmf_enable_receiver()
9633 (dword)((plci->Id << 8) | UnMapController(plci->adapter->Id)), in dtmf_send_digits()
9665 (dword)((plci->Id << 8) | UnMapController(plci->adapter->Id)), in dtmf_rec_clear_config()
9681 (dword)((plci->Id << 8) | UnMapController(plci->adapter->Id)), in dtmf_send_clear_config()
9690 static void dtmf_prepare_switch(dword Id, PLCI *plci) in dtmf_prepare_switch()
9701 static word dtmf_save_config(dword Id, PLCI *plci, byte Rc) in dtmf_save_config()
9711 static word dtmf_restore_config(dword Id, PLCI *plci, byte Rc) in dtmf_restore_config()
9748 static void dtmf_command(dword Id, PLCI *plci, byte Rc) in dtmf_command()
9919 static byte dtmf_request(dword Id, word Number, DIVA_CAPI_ADAPTER *a, PLCI *plci, APPL *appl, API… in dtmf_request()
10116 static void dtmf_confirmation(dword Id, PLCI *plci) in dtmf_confirmation()
10137 static void dtmf_indication(dword Id, PLCI *plci, byte *msg, word length) in dtmf_indication()
10193 (dword)((plci->Id << 8) | UnMapController(plci->adapter->Id)), in dtmf_parameter_write()
10210 (dword)((plci->Id << 8) | UnMapController(plci->adapter->Id)), in dtmf_parameter_clear_config()
10217 static void dtmf_parameter_prepare_switch(dword Id, PLCI *plci) in dtmf_parameter_prepare_switch()
10226 static word dtmf_parameter_save_config(dword Id, PLCI *plci, byte Rc) in dtmf_parameter_save_config()
10236 static word dtmf_parameter_restore_config(dword Id, PLCI *plci, byte Rc) in dtmf_parameter_restore_config()
10293 static byte chi_to_channel(byte *chi, dword *pchannelmap) in chi_to_channel()
10297 dword map; in chi_to_channel()
10368 else if (map != ((dword)(1L << ch))) return 0xfe; in chi_to_channel()
10428 (dword)((splci->Id << 8) | UnMapController(splci->adapter->Id)), in mixer_set_bchannel_id_esc()
10442 (dword)((plci->Id << 8) | UnMapController(plci->adapter->Id)), in mixer_set_bchannel_id_esc()
10486 (dword)((splci->Id << 8) | UnMapController(splci->adapter->Id)), in mixer_set_bchannel_id()
10501 (dword)((plci->Id << 8) | UnMapController(plci->adapter->Id)), in mixer_set_bchannel_id()
10516 (dword)(UnMapController(a->Id)), (char *)(FILE_), __LINE__)); in mixer_calculate_coefs()
10703 (dword)(UnMapController(a->Id)), (char *)hex_line)); in mixer_calculate_coefs()
10714 (dword)(UnMapController(a->Id)), (char *)hex_line)); in mixer_calculate_coefs()
10725 (dword)(UnMapController(a->Id)), (char *)hex_line)); in mixer_calculate_coefs()
10738 (dword)(UnMapController(a->Id)), i, (char *)hex_line)); in mixer_calculate_coefs()
10752 (dword)(UnMapController(a->Id)), i, (char *)hex_line)); in mixer_calculate_coefs()
10876 (dword)((plci->Id << 8) | UnMapController(plci->adapter->Id)), in xconnect_query_addresses()
10884 (dword)((plci->Id << 8) | UnMapController(plci->adapter->Id)), in xconnect_query_addresses()
10910 (dword)((plci->Id << 8) | UnMapController(plci->adapter->Id)), in xconnect_write_coefs()
10918 static byte xconnect_write_coefs_process(dword Id, PLCI *plci, byte Rc) in xconnect_write_coefs_process()
10922 dword d; in xconnect_write_coefs_process()
11264 (dword)((plci->Id << 8) | UnMapController(plci->adapter->Id)), in mixer_notify_update()
11315 (dword)((plci->Id << 8) | UnMapController(plci->adapter->Id)), in mixer_notify_update()
11317 (dword)((notify_plci->Id << 8) | UnMapController(notify_plci->adapter->Id)), w)); in mixer_notify_update()
11335 (dword)((plci->Id << 8) | UnMapController(plci->adapter->Id)), in mixer_clear_config()
11393 static void mixer_prepare_switch(dword Id, PLCI *plci) in mixer_prepare_switch()
11406 static word mixer_save_config(dword Id, PLCI *plci, byte Rc) in mixer_save_config()
11431 static word mixer_restore_config(dword Id, PLCI *plci, byte Rc) in mixer_restore_config()
11514 static void mixer_command(dword Id, PLCI *plci, byte Rc) in mixer_command()
11637 static void li_update_connect(dword Id, DIVA_CAPI_ADAPTER *a, PLCI *plci, in li_update_connect()
11638 dword plci_b_id, byte connect, dword li_flags) in li_update_connect()
11780 static void li2_update_connect(dword Id, DIVA_CAPI_ADAPTER *a, PLCI *plci, in li2_update_connect()
11781 dword plci_b_id, byte connect, dword li_flags) in li2_update_connect()
11888 static word li_check_main_plci(dword Id, PLCI *plci) in li_check_main_plci()
11909 static PLCI *li_check_plci_b(dword Id, PLCI *plci, in li_check_plci_b()
11910 dword plci_b_id, word plci_b_write_pos, byte *p_result) in li_check_plci_b()
11972 static PLCI *li2_check_plci_b(dword Id, PLCI *plci, in li2_check_plci_b()
11973 dword plci_b_id, word plci_b_write_pos, byte *p_result) in li2_check_plci_b()
12035 static byte mixer_request(dword Id, word Number, DIVA_CAPI_ADAPTER *a, PLCI *plci, APPL *appl, AP… in mixer_request()
12039 dword d, li_flags, plci_b_id; in mixer_request()
12438 static void mixer_indication_coefs_set(dword Id, PLCI *plci) in mixer_indication_coefs_set()
12440 dword d; in mixer_indication_coefs_set()
12498 static void mixer_indication_xconnect_from(dword Id, PLCI *plci, byte *msg, word length) in mixer_indication_xconnect_from()
12511 …s.card_address.low = msg[i] | (msg[i + 1] << 8) | (((dword)(msg[i + 2])) << 16) | (((dword)(msg[i … in mixer_indication_xconnect_from()
12512 …s.card_address.high = msg[i + 4] | (msg[i + 5] << 8) | (((dword)(msg[i + 6])) << 16) | (((dword)(m… in mixer_indication_xconnect_from()
12513 …s.offset = msg[i + 8] | (msg[i + 9] << 8) | (((dword)(msg[i + 10])) << 16) | (((dword)(msg[i + 11]… in mixer_indication_xconnect_from()
12541 static void mixer_indication_xconnect_to(dword Id, PLCI *plci, byte *msg, word length) in mixer_indication_xconnect_to()
12550 static byte mixer_notify_source_removed(PLCI *plci, dword plci_b_id) in mixer_notify_source_removed()
12559 (dword)((plci->Id << 8) | UnMapController(plci->adapter->Id)), in mixer_notify_source_removed()
12574 dword plci_b_id; in mixer_remove()
12578 (dword)((plci->Id << 8) | UnMapController(plci->adapter->Id)), in mixer_remove()
12630 (dword)((plci->Id << 8) | UnMapController(plci->adapter->Id)), in ec_write_parameters()
12649 (dword)((plci->Id << 8) | UnMapController(plci->adapter->Id)), in ec_clear_config()
12658 static void ec_prepare_switch(dword Id, PLCI *plci) in ec_prepare_switch()
12667 static word ec_save_config(dword Id, PLCI *plci, byte Rc) in ec_save_config()
12677 static word ec_restore_config(dword Id, PLCI *plci, byte Rc) in ec_restore_config()
12714 static void ec_command(dword Id, PLCI *plci, byte Rc) in ec_command()
12827 static byte ec_request(dword Id, word Number, DIVA_CAPI_ADAPTER *a, PLCI *plci, APPL *appl, API_P… in ec_request()
13017 static void ec_indication(dword Id, PLCI *plci, byte *msg, word length) in ec_indication()
13085 (dword)((plci->Id << 8) | UnMapController(plci->adapter->Id)), in adv_voice_write_coefs()
13112 (dword)((plci->Id << 8) | UnMapController(plci->adapter->Id)), in adv_voice_write_coefs()
13120 (dword)((plci->Id << 8) | UnMapController(plci->adapter->Id)), in adv_voice_write_coefs()
13236 (dword)((plci->Id << 8) | UnMapController(plci->adapter->Id)), in adv_voice_clear_config()
13290 static void adv_voice_prepare_switch(dword Id, PLCI *plci) in adv_voice_prepare_switch()
13299 static word adv_voice_save_config(dword Id, PLCI *plci, byte Rc) in adv_voice_save_config()
13309 static word adv_voice_restore_config(dword Id, PLCI *plci, byte Rc) in adv_voice_restore_config()
13529 (dword)((plci->Id << 8) | UnMapController(plci->adapter->Id)), in add_b1_facilities()
13541 (dword)((plci->Id << 8) | UnMapController(plci->adapter->Id)), in adjust_b1_facilities()
13574 (dword)((plci->Id << 8) | UnMapController(plci->adapter->Id)), in adjust_b_clear()
13581 static word adjust_b_process(dword Id, PLCI *plci, byte Rc) in adjust_b_process()
13878 Id = (Id & 0xffff) | (((dword)(plci->adjust_b_ncci)) << 16); in adjust_b_process()
13933 static void adjust_b1_resource(dword Id, PLCI *plci, API_SAVE *bp_msg, word b1_facilities, word i… in adjust_b1_resource()
13955 static void adjust_b_restore(dword Id, PLCI *plci, byte Rc) in adjust_b_restore()
14001 static void reset_b3_command(dword Id, PLCI *plci, byte Rc) in reset_b3_command()
14041 static void select_b_command(dword Id, PLCI *plci, byte Rc) in select_b_command()
14100 static void fax_connect_ack_command(dword Id, PLCI *plci, byte Rc) in fax_connect_ack_command()
14147 static void fax_edata_ack_command(dword Id, PLCI *plci, byte Rc) in fax_edata_ack_command()
14185 static void fax_connect_info_command(dword Id, PLCI *plci, byte Rc) in fax_connect_info_command()
14236 static void fax_adjust_b23_command(dword Id, PLCI *plci, byte Rc) in fax_adjust_b23_command()
14284 static void fax_disconnect_command(dword Id, PLCI *plci, byte Rc) in fax_disconnect_command()
14327 static void rtp_connect_b3_req_command(dword Id, PLCI *plci, byte 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()
14431 static void hold_save_command(dword Id, PLCI *plci, byte Rc) in hold_save_command()
14472 static void retrieve_restore_command(dword Id, PLCI *plci, byte Rc) in retrieve_restore_command()
14515 (dword)((plci->Id << 8) | UnMapController(plci->adapter->Id)), in init_b1_config()
14541 (dword)((plci->Id << 8) | UnMapController(plci->adapter->Id)), in clear_b1_config()
14691 dword count; in channel_can_xon()
14739 dword info_mask_group[MAX_CIP_TYPES]; in group_optimization()
14740 dword cip_mask_group[MAX_CIP_TYPES]; in group_optimization()
14903 static void VSwitchReqInd(PLCI *plci, dword Id, byte **parms) in VSwitchReqInd()
14991 static int diva_get_dma_descriptor(PLCI *plci, dword *dma_magic) { in diva_get_dma_descriptor()