Searched refs:ai_parms (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/isdn/hardware/eicon/
H A Dmessage.c1204 API_PARSE ai_parms[5]; connect_req() local
1214 for (i = 0; i < 5; i++) ai_parms[i].length = 0; connect_req()
1253 if (!api_parse(&ai->info[1], (word)ai->length, "ssss", ai_parms)) connect_req()
1256 if (ai_parms[0].length) connect_req()
1258 ch = GET_WORD(ai_parms[0].info + 1); connect_req()
1263 if ((ai_parms[0].info)[3] >= 1) connect_req()
1265 if ((ai_parms[0].info)[4] == CHI) connect_req()
1267 p_chi = &((ai_parms[0].info)[5]); connect_req()
1271 p_chi = &((ai_parms[0].info)[3]); connect_req()
1281 if (ch == 3 && ai_parms[0].length >= 7 && ai_parms[0].length <= 36) connect_req()
1283 dir = GET_WORD(ai_parms[0].info + 3); connect_req()
1286 for (i = 0; i + 5 <= ai_parms[0].length; i++) connect_req()
1288 if (ai_parms[0].info[i + 5] != 0) connect_req()
1290 if ((ai_parms[0].info[i + 5] | m) != 0xff) connect_req()
1305 if ((ai_parms[0].length == 36) || (ch_mask != ((dword)(1L << channel)))) connect_req()
1307 esc_chi[0] = (byte)(ai_parms[0].length - 2); connect_req()
1308 for (i = 0; i + 5 <= ai_parms[0].length; i++) connect_req()
1309 esc_chi[i + 3] = ai_parms[0].info[i + 5]; connect_req()
1419 API_PARSE ai_parms[5]; connect_res() local
1428 for (i = 0; i < 5; i++) ai_parms[i].length = 0; connect_res()
1434 if (!api_parse(&ai->info[1], (word)ai->length, "ssss", ai_parms)) connect_res()
1436 dbug(1, dprintf("ai_parms[0].length=%d/0x%x", ai_parms[0].length, GET_WORD(ai_parms[0].info + 1))); connect_res()
1438 if (ai_parms[0].length) connect_res()
1440 ch = GET_WORD(ai_parms[0].info + 1); connect_res()
1715 API_PARSE ai_parms[5]; info_req() local
1719 for (i = 0; i < 5; i++) ai_parms[i].length = 0; info_req()
1725 if (api_parse(&ai->info[1], (word)ai->length, "ssss", ai_parms)) info_req()
1736 if (!ai_parms[3].length && plci->State && (msg[0].length || ai_parms[1].length)) info_req()
1741 add_s(plci, KEY, &ai_parms[1]); info_req()
1747 if (plci->State && ai_parms[2].length) info_req()
1751 add_s(plci, UUI, &ai_parms[2]); info_req()
1754 else if (plci->State && ai_parms[3].length) info_req()
1767 else if ((ai_parms[1].length || ai_parms[2].length || ai_parms[3].length) && !Info) info_req()
7450 API_PARSE ai_parms[5]; add_ai() local
7452 for (i = 0; i < 5; i++) ai_parms[i].length = 0; add_ai()
7456 if (api_parse(&ai->info[1], (word)ai->length, "ssss", ai_parms)) add_ai()
7459 add_s(plci, KEY, &ai_parms[1]); add_ai()
7460 add_s(plci, UUI, &ai_parms[2]); add_ai()
7461 add_ss(plci, FTY, &ai_parms[3]); add_ai()

Completed in 122 milliseconds