Searched refs:capimsg_setu16 (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/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)
|
/linux-6.12.1/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() 389 capimsg_setu16(buf, 0, nconn); in cmtp_register_appl() 390 capimsg_setu16(buf, 2, rp->datablkcnt); in cmtp_register_appl() 391 capimsg_setu16(buf, 4, rp->datablklen); in cmtp_register_appl()
|
/linux-6.12.1/drivers/isdn/capi/ |
D | capi.c | 396 capimsg_setu16(s, 0, CAPI_DATA_B3_RESP_LEN); in gen_data_b3_resp_for() 397 capimsg_setu16(s, 2, mp->ap->applid); in gen_data_b3_resp_for() 400 capimsg_setu16(s, 6, atomic_inc_return(&mp->msgid)); in gen_data_b3_resp_for() 402 capimsg_setu16(s, 12, datahandle); in gen_data_b3_resp_for() 524 capimsg_setu16(skb->data, 0, CAPI_DATA_B3_REQ_LEN); in handle_minor_send() 525 capimsg_setu16(skb->data, 2, mp->ap->applid); in handle_minor_send() 528 capimsg_setu16(skb->data, 6, atomic_inc_return(&mp->msgid)); in handle_minor_send() 531 capimsg_setu16(skb->data, 16, len); /* Data length */ in handle_minor_send() 532 capimsg_setu16(skb->data, 18, datahandle); in handle_minor_send() 533 capimsg_setu16(skb->data, 20, 0); /* Flags */ in handle_minor_send()
|