Home
last modified time | relevance | path

Searched refs:dlc (Results 1 – 4 of 4) sorted by relevance

/net/bluetooth/rfcomm/
Dtty.c63 struct rfcomm_dlc *dlc; member
75 static void rfcomm_dev_data_ready(struct rfcomm_dlc *dlc, struct sk_buff *skb);
76 static void rfcomm_dev_state_change(struct rfcomm_dlc *dlc, int err);
77 static void rfcomm_dev_modem_status(struct rfcomm_dlc *dlc, u8 v24_sig);
84 struct rfcomm_dlc *dlc = dev->dlc; in rfcomm_dev_destruct() local
86 BT_DBG("dev %p dlc %p", dev, dlc); in rfcomm_dev_destruct()
88 rfcomm_dlc_lock(dlc); in rfcomm_dev_destruct()
90 if (dlc->owner == dev) in rfcomm_dev_destruct()
91 dlc->owner = NULL; in rfcomm_dev_destruct()
92 rfcomm_dlc_unlock(dlc); in rfcomm_dev_destruct()
[all …]
Dsock.c155 struct rfcomm_dlc *d = rfcomm_pi(sk)->dlc; in rfcomm_sock_destruct()
163 rfcomm_pi(sk)->dlc = NULL; in rfcomm_sock_destruct()
207 struct rfcomm_dlc *d = rfcomm_pi(sk)->dlc; in __rfcomm_sock_close()
247 pi->dlc->defer_setup = test_bit(BT_SK_DEFER_SETUP, in rfcomm_sock_init()
255 pi->dlc->defer_setup = 0; in rfcomm_sock_init()
261 pi->dlc->sec_level = pi->sec_level; in rfcomm_sock_init()
262 pi->dlc->role_switch = pi->role_switch; in rfcomm_sock_init()
292 rfcomm_pi(sk)->dlc = d; in rfcomm_sock_alloc()
385 struct rfcomm_dlc *d = rfcomm_pi(sk)->dlc; in rfcomm_sock_connect()
565 struct rfcomm_dlc *d = rfcomm_pi(sk)->dlc; in rfcomm_sock_sendmsg()
[all …]
Dcore.c536 struct rfcomm_dlc *dlc = NULL; in rfcomm_dlc_exists() local
546 dlc = rfcomm_dlc_get(s, dlci); in rfcomm_dlc_exists()
549 return dlc; in rfcomm_dlc_exists()
/net/can/j1939/
Dmain.c315 int ret, dlc; in j1939_send_one() local
332 dlc = skb->len; in j1939_send_one()
341 skb_put(skb, J1939_CAN_FTR + (8 - dlc)); in j1939_send_one()
351 cf->len = dlc; in j1939_send_one()