Searched refs:capimsg_setu16 (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/include/linux/isdn/ |
D | capiutil.h | 38 static inline void capimsg_setu16(void *m, int off, __u16 val) in capimsg_setu16() function 52 #define CAPIMSG_SETLEN(m, len) capimsg_setu16(m, 0, len) 53 #define CAPIMSG_SETAPPID(m, applid) capimsg_setu16(m, 2, applid) 56 #define CAPIMSG_SETMSGID(m, msgid) capimsg_setu16(m, 6, msgid) 58 #define CAPIMSG_SETDATALEN(m, len) capimsg_setu16(m, 16, len)
|
/kernel/linux/linux-5.10/net/bluetooth/cmtp/ |
D | capi.c | 165 capimsg_setu16(s, 0, CAPI_MSG_BASELEN + 6 + len); in cmtp_send_interopmsg() 166 capimsg_setu16(s, 2, appl); in cmtp_send_interopmsg() 169 capimsg_setu16(s, 6, msgnum); in cmtp_send_interopmsg() 172 capimsg_setu16(s, 8, 0x0001); in cmtp_send_interopmsg() 175 capimsg_setu16(s, 11, function); in cmtp_send_interopmsg() 405 capimsg_setu16(buf, 0, nconn); in cmtp_register_appl() 406 capimsg_setu16(buf, 2, rp->datablkcnt); in cmtp_register_appl() 407 capimsg_setu16(buf, 4, rp->datablklen); in cmtp_register_appl()
|
/kernel/linux/linux-5.10/drivers/isdn/capi/ |
D | capi.c | 393 capimsg_setu16(s, 0, CAPI_DATA_B3_RESP_LEN); in gen_data_b3_resp_for() 394 capimsg_setu16(s, 2, mp->ap->applid); in gen_data_b3_resp_for() 397 capimsg_setu16(s, 6, atomic_inc_return(&mp->msgid)); in gen_data_b3_resp_for() 399 capimsg_setu16(s, 12, datahandle); in gen_data_b3_resp_for() 521 capimsg_setu16(skb->data, 0, CAPI_DATA_B3_REQ_LEN); in handle_minor_send() 522 capimsg_setu16(skb->data, 2, mp->ap->applid); in handle_minor_send() 525 capimsg_setu16(skb->data, 6, atomic_inc_return(&mp->msgid)); in handle_minor_send() 528 capimsg_setu16(skb->data, 16, len); /* Data length */ in handle_minor_send() 529 capimsg_setu16(skb->data, 18, datahandle); in handle_minor_send() 530 capimsg_setu16(skb->data, 20, 0); /* Flags */ in handle_minor_send()
|