Lines Matching refs:appl

72 static struct cmtp_application *cmtp_application_add(struct cmtp_session *session, __u16 appl)  in cmtp_application_add()  argument
76 BT_DBG("session %p application %p appl %d", session, app, appl); in cmtp_application_add()
82 app->appl = appl; in cmtp_application_add()
112 if (app->appl == value) in cmtp_application_get()
150 __u8 subcmd, __u16 appl, __u16 msgnum, in cmtp_send_interopmsg() argument
156 BT_DBG("session %p subcmd 0x%02x appl %d msgnum %d", session, subcmd, appl, msgnum); in cmtp_send_interopmsg()
167 capimsg_setu16(s, 2, appl); in cmtp_send_interopmsg()
189 __u16 appl, msgnum, func, info; in cmtp_recv_interopmsg() local
217 appl = CAPIMSG_APPID(skb->data); in cmtp_recv_interopmsg()
219 application = cmtp_application_get(session, CMTP_MAPPING, appl); in cmtp_recv_interopmsg()
312 appl = CAPIMSG_APPID(skb->data); in cmtp_recv_interopmsg()
314 cmtp_send_interopmsg(session, CAPI_RESP, appl, msgnum, func, in cmtp_recv_interopmsg()
328 __u16 cmd, appl; in cmtp_recv_capimsg() local
347 appl = CAPIMSG_APPID(skb->data); in cmtp_recv_capimsg()
350 application = cmtp_application_get(session, CMTP_MAPPING, appl); in cmtp_recv_capimsg()
352 appl = application->appl; in cmtp_recv_capimsg()
353 CAPIMSG_SETAPPID(skb->data, appl); in cmtp_recv_capimsg()
355 BT_ERR("Can't find application with id %d", appl); in cmtp_recv_capimsg()
371 capi_ctr_handle_message(ctrl, appl, skb); in cmtp_recv_capimsg()
393 static void cmtp_register_appl(struct capi_ctr *ctrl, __u16 appl, capi_register_params *rp) in cmtp_register_appl() argument
403 ctrl, appl, rp->level3cnt, rp->datablkcnt, rp->datablklen); in cmtp_register_appl()
405 application = cmtp_application_add(session, appl); in cmtp_register_appl()
462 static void cmtp_release_appl(struct capi_ctr *ctrl, __u16 appl) in cmtp_release_appl() argument
467 BT_DBG("ctrl %p appl %d", ctrl, appl); in cmtp_release_appl()
469 application = cmtp_application_get(session, CMTP_APPLID, appl); in cmtp_release_appl()
490 __u16 appl; in cmtp_send_message() local
495 appl = CAPIMSG_APPID(skb->data); in cmtp_send_message()
498 application = cmtp_application_get(session, CMTP_APPLID, appl); in cmtp_send_message()
500 BT_ERR("Can't find application with id %d", appl); in cmtp_send_message()
534 seq_printf(m, "appl %d -> %d\n", app->appl, app->mapping); in cmtp_proc_show()