Home
last modified time | relevance | path

Searched refs:dlci (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.6/drivers/tty/
Dn_gsm.c112 struct gsm_dlci *dlci; member
186 void (*data)(struct gsm_dlci *dlci, const u8 *data, int len);
187 void (*prev_data)(struct gsm_dlci *dlci, const u8 *data, int len);
304 struct gsm_dlci *dlci[NUM_DLCI]; member
452 static void gsm_dlci_close(struct gsm_dlci *dlci);
454 static int gsm_modem_update(struct gsm_dlci *dlci, u8 brk);
540 static u8 gsm_encode_modem(const struct gsm_dlci *dlci) in gsm_encode_modem() argument
544 if (dlci->throttled) in gsm_encode_modem()
546 if (dlci->modem_tx & TIOCM_DTR) in gsm_encode_modem()
548 if (dlci->modem_tx & TIOCM_RTS) in gsm_encode_modem()
[all …]
/Linux-v6.6/net/bluetooth/rfcomm/
Dcore.c56 static int rfcomm_send_sabm(struct rfcomm_session *s, u8 dlci);
57 static int rfcomm_send_disc(struct rfcomm_session *s, u8 dlci);
61 static int rfcomm_send_msc(struct rfcomm_session *s, int cr, u8 dlci, u8 v24_sig);
85 #define __addr(cr, dlci) (((dlci & 0x3f) << 2) | (cr << 1) | 0x01) argument
88 #define __srv_channel(dlci) (dlci >> 1) argument
355 static struct rfcomm_dlc *rfcomm_dlc_get(struct rfcomm_session *s, u8 dlci) in rfcomm_dlc_get() argument
360 if (d->dlci == dlci) in rfcomm_dlc_get()
375 u8 dlci; in __rfcomm_dlc_open() local
393 dlci = __dlci(__session_dir(s), channel); in __rfcomm_dlc_open()
396 if (rfcomm_dlc_get(s, dlci)) in __rfcomm_dlc_open()
[all …]
Dtty.c993 rfcomm_send_rpn(dev->dlc->session, 1, dev->dlc->dlci, baud, in rfcomm_tty_set_termios()
/Linux-v6.6/drivers/net/wan/
Dhdlc_fr.c117 int dlci; member
156 static inline void dlci_to_q922(u8 *hdr, u16 dlci) in dlci_to_q922() argument
158 hdr[0] = (dlci >> 2) & 0xFC; in dlci_to_q922()
159 hdr[1] = ((dlci << 4) & 0xF0) | 0x01; in dlci_to_q922()
167 static inline struct pvc_device *find_pvc(hdlc_device *hdlc, u16 dlci) in find_pvc() argument
172 if (pvc->dlci == dlci) in find_pvc()
174 if (pvc->dlci > dlci) in find_pvc()
182 static struct pvc_device *add_pvc(struct net_device *dev, u16 dlci) in add_pvc() argument
188 if ((*pvc_p)->dlci == dlci) in add_pvc()
190 if ((*pvc_p)->dlci > dlci) in add_pvc()
[all …]
/Linux-v6.6/include/net/bluetooth/
Drfcomm.h123 u8 dlci; member
133 u8 dlci; member
143 u8 dlci; member
148 u8 dlci; member
179 u8 dlci; member
228 int rfcomm_send_rpn(struct rfcomm_session *s, int cr, u8 dlci,
/Linux-v6.6/include/uapi/linux/hdlc/
Dioctl.h69 unsigned int dlci; member
73 unsigned int dlci; member