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