Lines Matching refs:msgnum

107 			if (app->msgnum == value)  in cmtp_application_get()
126 session->msgnum++; in cmtp_msgnum_get()
128 if ((session->msgnum & 0xff) > 200) in cmtp_msgnum_get()
129 session->msgnum = CMTP_INITIAL_MSGNUM + 1; in cmtp_msgnum_get()
131 return session->msgnum; in cmtp_msgnum_get()
149 __u8 subcmd, __u16 appl, __u16 msgnum, in cmtp_send_interopmsg() argument
155 BT_DBG("session %p subcmd 0x%02x appl %u msgnum %u", session, subcmd, appl, msgnum); in cmtp_send_interopmsg()
169 capimsg_setu16(s, 6, msgnum); in cmtp_send_interopmsg()
188 __u16 appl, msgnum, func, info; in cmtp_recv_interopmsg() local
203 msgnum = CAPIMSG_MSGID(skb->data); in cmtp_recv_interopmsg()
205 application = cmtp_application_get(session, CMTP_MSGNUM, msgnum); in cmtp_recv_interopmsg()
208 application->msgnum = 0; in cmtp_recv_interopmsg()
221 application->msgnum = 0; in cmtp_recv_interopmsg()
232 msgnum = CAPIMSG_MSGID(skb->data); in cmtp_recv_interopmsg()
234 if (!info && (msgnum == CMTP_INITIAL_MSGNUM)) { in cmtp_recv_interopmsg()
306 msgnum = CAPIMSG_MSGID(skb->data); in cmtp_recv_interopmsg()
307 cmtp_send_interopmsg(session, CAPI_RESP, appl, msgnum, func, in cmtp_recv_interopmsg()
410 application->msgnum = cmtp_msgnum_get(session); in cmtp_register_appl()
412 cmtp_send_interopmsg(session, CAPI_REQ, 0x0000, application->msgnum, in cmtp_register_appl()
461 application->msgnum = cmtp_msgnum_get(session); in cmtp_release_appl()
463 cmtp_send_interopmsg(session, CAPI_REQ, application->mapping, application->msgnum, in cmtp_release_appl()