Searched refs:BT_RFCOMM_SET_ADDR (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/subsys/bluetooth/host/classic/ |
D | rfcomm.c | 341 hdr->address = BT_RFCOMM_SET_ADDR(dlci, cr); in rfcomm_send_sabm() 363 hdr->address = BT_RFCOMM_SET_ADDR(dlci, cr); in rfcomm_send_disc() 396 hdr->address = BT_RFCOMM_SET_ADDR(0, hdr_cr); in rfcomm_make_uih_msg() 509 hdr->address = BT_RFCOMM_SET_ADDR(dlci, cr); in rfcomm_send_dm() 648 hdr->address = BT_RFCOMM_SET_ADDR(dlci, cr); in rfcomm_send_ua() 670 msc->dlci = BT_RFCOMM_SET_ADDR(dlc->dlci, 1); in rfcomm_send_msc() 691 rls->dlci = BT_RFCOMM_SET_ADDR(dlc->dlci, 1); in rfcomm_send_rls() 995 hdr->address = BT_RFCOMM_SET_ADDR(dlc->dlci, cr); in rfcomm_send_credit() 1191 default_rpn.dlci = BT_RFCOMM_SET_ADDR(dlci, 1); in rfcomm_handle_rpn() 1492 net_buf_push_u8(buf, BT_RFCOMM_SET_ADDR(dlc->dlci, cr)); in bt_rfcomm_dlc_send()
|
D | rfcomm_internal.h | 154 #define BT_RFCOMM_SET_ADDR(dlci, cr) ((((dlci) & 0x3f) << 2) | \ macro
|