/src/sys/netbt/ |
hci_ioctl.c | 61 struct rfcomm_dlc *dlc; local in function:hci_dump 108 LIST_FOREACH(dlc, &rs->rs_dlcs, rd_next) { 109 uprintf("+DLC channel=%d, dlci=%d, " 112 dlc->rd_raddr.bt_channel, dlc->rd_dlci, 113 dlc->rd_state, dlc->rd_flags, 114 dlc->rd_rxcred, (unsigned long)dlc->rd_rxsize, 115 dlc->rd_txcred, dlc->rd_pending [all...] |
hci_ioctl.c | 61 struct rfcomm_dlc *dlc; local in function:hci_dump 108 LIST_FOREACH(dlc, &rs->rs_dlcs, rd_next) { 109 uprintf("+DLC channel=%d, dlci=%d, " 112 dlc->rd_raddr.bt_channel, dlc->rd_dlci, 113 dlc->rd_state, dlc->rd_flags, 114 dlc->rd_rxcred, (unsigned long)dlc->rd_rxsize, 115 dlc->rd_txcred, dlc->rd_pending [all...] |
rfcomm_dlc.c | 52 * Find DLC on session with matching dlci 57 struct rfcomm_dlc *dlc; local in function:rfcomm_dlc_lookup 59 LIST_FOREACH(dlc, &rs->rs_dlcs, rd_next) { 60 if (dlc->rd_dlci == dlci) 64 return dlc; 70 * handle a new dlc request (since its called from a couple of places) 76 struct rfcomm_dlc *new, *dlc, *any, *best; local in function:rfcomm_dlc_newconn 81 * Search amongst the listening DLC community for the best match for 82 * address & channel. We keep listening DLC's hanging on listening 100 LIST_FOREACH(dlc, &ls->rs_dlcs, rd_next) 198 struct rfcomm_dlc *dlc = arg; local in function:rfcomm_dlc_timeout [all...] |
rfcomm_upper.c | 51 * RFCOMM DLC - Upper Protocol API 61 * attach a new RFCOMM DLC to handle, populate with reasonable defaults 67 struct rfcomm_dlc *dlc; local in function:rfcomm_attach_pcb 73 dlc = kmem_intr_zalloc(sizeof(struct rfcomm_dlc), KM_NOSLEEP); 74 if (dlc == NULL) 77 dlc->rd_state = RFCOMM_DLC_CLOSED; 78 dlc->rd_mtu = rfcomm_mtu_default; 80 dlc->rd_proto = proto; 81 dlc->rd_upper = upper; 83 dlc->rd_laddr.bt_len = sizeof(struct sockaddr_bt) 280 struct rfcomm_dlc *dlc = *handle; local in function:rfcomm_detach_pcb [all...] |
rfcomm_dlc.c | 52 * Find DLC on session with matching dlci 57 struct rfcomm_dlc *dlc; local in function:rfcomm_dlc_lookup 59 LIST_FOREACH(dlc, &rs->rs_dlcs, rd_next) { 60 if (dlc->rd_dlci == dlci) 64 return dlc; 70 * handle a new dlc request (since its called from a couple of places) 76 struct rfcomm_dlc *new, *dlc, *any, *best; local in function:rfcomm_dlc_newconn 81 * Search amongst the listening DLC community for the best match for 82 * address & channel. We keep listening DLC's hanging on listening 100 LIST_FOREACH(dlc, &ls->rs_dlcs, rd_next) 198 struct rfcomm_dlc *dlc = arg; local in function:rfcomm_dlc_timeout [all...] |
rfcomm_upper.c | 51 * RFCOMM DLC - Upper Protocol API 61 * attach a new RFCOMM DLC to handle, populate with reasonable defaults 67 struct rfcomm_dlc *dlc; local in function:rfcomm_attach_pcb 73 dlc = kmem_intr_zalloc(sizeof(struct rfcomm_dlc), KM_NOSLEEP); 74 if (dlc == NULL) 77 dlc->rd_state = RFCOMM_DLC_CLOSED; 78 dlc->rd_mtu = rfcomm_mtu_default; 80 dlc->rd_proto = proto; 81 dlc->rd_upper = upper; 83 dlc->rd_laddr.bt_len = sizeof(struct sockaddr_bt) 280 struct rfcomm_dlc *dlc = *handle; local in function:rfcomm_detach_pcb [all...] |
rfcomm_session.c | 226 * but it will call us back right away (there are no DLC's) so 299 * So, if it is in an open state with DLC's attached then 306 struct rfcomm_dlc *dlc; local in function:rfcomm_session_timeout 318 dlc = LIST_FIRST(&rs->rs_dlcs); 320 rfcomm_dlc_close(dlc, ETIMEDOUT); 388 struct rfcomm_dlc *dlc; local in function:rfcomm_session_disconnected 402 dlc = LIST_FIRST(&rs->rs_dlcs); 404 rfcomm_dlc_close(dlc, err); 449 struct rfcomm_dlc *dlc; local in function:rfcomm_session_complete 464 dlc = credit->rc_dlc 516 struct rfcomm_dlc *dlc, *next; local in function:rfcomm_session_linkmode 723 struct rfcomm_dlc *dlc; local in function:rfcomm_session_recv_sabm 799 struct rfcomm_dlc *dlc; local in function:rfcomm_session_recv_disc 838 struct rfcomm_dlc *dlc; local in function:rfcomm_session_recv_ua 906 struct rfcomm_dlc *dlc; local in function:rfcomm_session_recv_dm 927 struct rfcomm_dlc *dlc; local in function:rfcomm_session_recv_uih 1164 struct rfcomm_dlc *dlc; local in function:rfcomm_session_recv_mcc_msc 1316 struct rfcomm_dlc *dlc; local in function:rfcomm_session_recv_mcc_pn 1439 struct rfcomm_dlc *dlc, *next; local in function:rfcomm_session_recv_mcc_nsc [all...] |
rfcomm_session.c | 226 * but it will call us back right away (there are no DLC's) so 299 * So, if it is in an open state with DLC's attached then 306 struct rfcomm_dlc *dlc; local in function:rfcomm_session_timeout 318 dlc = LIST_FIRST(&rs->rs_dlcs); 320 rfcomm_dlc_close(dlc, ETIMEDOUT); 388 struct rfcomm_dlc *dlc; local in function:rfcomm_session_disconnected 402 dlc = LIST_FIRST(&rs->rs_dlcs); 404 rfcomm_dlc_close(dlc, err); 449 struct rfcomm_dlc *dlc; local in function:rfcomm_session_complete 464 dlc = credit->rc_dlc 516 struct rfcomm_dlc *dlc, *next; local in function:rfcomm_session_linkmode 723 struct rfcomm_dlc *dlc; local in function:rfcomm_session_recv_sabm 799 struct rfcomm_dlc *dlc; local in function:rfcomm_session_recv_disc 838 struct rfcomm_dlc *dlc; local in function:rfcomm_session_recv_ua 906 struct rfcomm_dlc *dlc; local in function:rfcomm_session_recv_dm 927 struct rfcomm_dlc *dlc; local in function:rfcomm_session_recv_uih 1164 struct rfcomm_dlc *dlc; local in function:rfcomm_session_recv_mcc_msc 1316 struct rfcomm_dlc *dlc; local in function:rfcomm_session_recv_mcc_pn 1439 struct rfcomm_dlc *dlc, *next; local in function:rfcomm_session_recv_mcc_nsc [all...] |
/src/sys/arch/arm/sunxi/ |
sunxi_can.c | 250 int dlc; local in function:sunxi_can_rx_intr 255 dlc = reg0v & SUNXI_CAN_TXBUF0_DL; 257 if (dlc > CAN_MAX_DLC) { 272 cf->can_dlc = dlc;
|
sunxi_can.c | 250 int dlc; local in function:sunxi_can_rx_intr 255 dlc = reg0v & SUNXI_CAN_TXBUF0_DL; 257 if (dlc > CAN_MAX_DLC) { 272 cf->can_dlc = dlc;
|
/src/sys/dev/usb/ |
if_gscan.c | 190 uint32_t len, dlc, can_id; local in function:gscan_rx 225 dlc = le32toh(gsframe->gsframe_can_dlc); 226 if (dlc > CAN_MAX_DLC) { 248 cf->can_dlc = dlc;
|
if_gscan.c | 190 uint32_t len, dlc, can_id; local in function:gscan_rx 225 dlc = le32toh(gsframe->gsframe_can_dlc); 226 if (dlc > CAN_MAX_DLC) { 248 cf->can_dlc = dlc;
|