Lines Matching defs:Channel

48 static int SuperTraceSetAudioTap(void *hLib, int Channel, int on);
49 static int SuperTraceSetBChannel(void *hLib, int Channel, int on);
52 static int SuperTraceClearCall(void *hLib, int Channel);
70 static int diva_modem_event(diva_strace_context_t *pLib, int Channel);
71 static int diva_fax_event(diva_strace_context_t *pLib, int Channel);
72 static int diva_line_event(diva_strace_context_t *pLib, int Channel);
74 int Channel,
77 int Channel,
80 int Channel,
97 int Channel,
1033 static int diva_line_event(diva_strace_context_t *pLib, int Channel) {
1034 pLib->pending_line_status |= (1L << (Channel - 1));
1038 static int diva_modem_event(diva_strace_context_t *pLib, int Channel) {
1039 pLib->pending_modem_status |= (1L << (Channel - 1));
1043 static int diva_fax_event(diva_strace_context_t *pLib, int Channel) {
1044 pLib->pending_fax_status |= (1L << (Channel - 1));
1104 int Channel,
1107 int i, nr = Channel - 1;
1137 int Channel,
1140 int i, nr = Channel - 1;
1175 int Channel,
1178 int i, nr = Channel - 1;
1251 int Channel) {
1252 diva_trace_line_state_t *pLine = &pLib->lines[Channel];
1253 int nr = Channel + 1;
1262 pLib->line_parse_entry_first[Channel] = pLib->cur_parse_entry;
1329 pLib->line_parse_entry_last[Channel] = pLib->cur_parse_entry - 1;
1333 int Channel) {
1334 diva_trace_fax_state_t *pFax = &pLib->lines[Channel].fax;
1335 int nr = Channel + 1;
1343 pLib->fax_parse_entry_first[Channel] = pLib->cur_parse_entry;
1393 pLib->fax_parse_entry_last[Channel] = pLib->cur_parse_entry - 1;
1397 int Channel) {
1398 diva_trace_modem_state_t *pModem = &pLib->lines[Channel].modem;
1399 int nr = Channel + 1;
1407 pLib->modem_parse_entry_first[Channel] = pLib->cur_parse_entry;
1473 pLib->modem_parse_entry_last[Channel] = pLib->cur_parse_entry - 1;
1867 int Channel,
1873 &pLib->lines[Channel],
2019 static int SuperTraceSetAudioTap(void *hLib, int Channel, int on) {
2022 if ((Channel < 1) || (Channel > pLib->Channels)) {
2025 Channel--;
2028 pLib->audio_tap_mask |= (1L << Channel);
2030 pLib->audio_tap_mask &= ~(1L << Channel);
2046 static int SuperTraceSetBChannel(void *hLib, int Channel, int on) {
2049 if ((Channel < 1) || (Channel > pLib->Channels)) {
2052 Channel--;
2055 pLib->bchannel_trace_mask |= (1L << Channel);
2057 pLib->bchannel_trace_mask &= ~(1L << Channel);
2087 static int SuperTraceClearCall(void *hLib, int Channel) {
2090 if ((Channel < 1) || (Channel > pLib->Channels)) {
2093 Channel--;
2095 pLib->clear_call_command |= (1L << Channel);