Lines Matching refs:appl

73 static struct cmtp_application *cmtp_application_add(struct cmtp_session *session, __u16 appl)  in cmtp_application_add()  argument
77 BT_DBG("session %p application %p appl %d", session, app, appl); in cmtp_application_add()
83 app->appl = appl; in cmtp_application_add()
111 if (app->appl == value) in cmtp_application_get()
149 __u8 subcmd, __u16 appl, __u16 msgnum, in cmtp_send_interopmsg() argument
155 BT_DBG("session %p subcmd 0x%02x appl %d msgnum %d", session, subcmd, appl, msgnum); in cmtp_send_interopmsg()
166 capimsg_setu16(s, 2, appl); in cmtp_send_interopmsg()
188 __u16 appl, msgnum, func, info; in cmtp_recv_interopmsg() local
216 appl = CAPIMSG_APPID(skb->data); in cmtp_recv_interopmsg()
218 application = cmtp_application_get(session, CMTP_MAPPING, appl); in cmtp_recv_interopmsg()
305 appl = CAPIMSG_APPID(skb->data); in cmtp_recv_interopmsg()
307 cmtp_send_interopmsg(session, CAPI_RESP, appl, msgnum, func, in cmtp_recv_interopmsg()
321 __u16 appl; in cmtp_recv_capimsg() local
339 appl = CAPIMSG_APPID(skb->data); in cmtp_recv_capimsg()
342 application = cmtp_application_get(session, CMTP_MAPPING, appl); in cmtp_recv_capimsg()
344 appl = application->appl; in cmtp_recv_capimsg()
345 CAPIMSG_SETAPPID(skb->data, appl); in cmtp_recv_capimsg()
347 BT_ERR("Can't find application with id %d", appl); in cmtp_recv_capimsg()
357 capi_ctr_handle_message(ctrl, appl, skb); in cmtp_recv_capimsg()
379 static void cmtp_register_appl(struct capi_ctr *ctrl, __u16 appl, capi_register_params *rp) in cmtp_register_appl() argument
389 ctrl, appl, rp->level3cnt, rp->datablkcnt, rp->datablklen); in cmtp_register_appl()
391 application = cmtp_application_add(session, appl); in cmtp_register_appl()
448 static void cmtp_release_appl(struct capi_ctr *ctrl, __u16 appl) in cmtp_release_appl() argument
453 BT_DBG("ctrl %p appl %d", ctrl, appl); in cmtp_release_appl()
455 application = cmtp_application_get(session, CMTP_APPLID, appl); in cmtp_release_appl()
476 __u16 appl; in cmtp_send_message() local
481 appl = CAPIMSG_APPID(skb->data); in cmtp_send_message()
484 application = cmtp_application_get(session, CMTP_APPLID, appl); in cmtp_send_message()
486 BT_ERR("Can't find application with id %d", appl); in cmtp_send_message()
518 seq_printf(m, "appl %d -> %d\n", app->appl, app->mapping); in cmtp_proc_show()