Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/tty/
Dn_gsm.c103 struct gsm_dlci *dlci; member
170 void (*data)(struct gsm_dlci *dlci, const u8 *data, int len);
171 void (*prev_data)(struct gsm_dlci *dlci, const u8 *data, int len);
262 struct gsm_dlci *dlci[NUM_DLCI]; member
401 static int gsm_modem_update(struct gsm_dlci *dlci, u8 brk);
486 static u8 gsm_encode_modem(const struct gsm_dlci *dlci) in gsm_encode_modem() argument
490 if (dlci->throttled) in gsm_encode_modem()
492 if (dlci->modem_tx & TIOCM_DTR) in gsm_encode_modem()
494 if (dlci->modem_tx & TIOCM_RTS) in gsm_encode_modem()
496 if (dlci->modem_tx & TIOCM_RI) in gsm_encode_modem()
[all …]
/Linux-v6.1/net/bluetooth/rfcomm/
Dcore.c54 static int rfcomm_send_sabm(struct rfcomm_session *s, u8 dlci);
55 static int rfcomm_send_disc(struct rfcomm_session *s, u8 dlci);
59 static int rfcomm_send_msc(struct rfcomm_session *s, int cr, u8 dlci, u8 v24_sig);
83 #define __addr(cr, dlci) (((dlci & 0x3f) << 2) | (cr << 1) | 0x01) argument
86 #define __srv_channel(dlci) (dlci >> 1) argument
351 static struct rfcomm_dlc *rfcomm_dlc_get(struct rfcomm_session *s, u8 dlci) in rfcomm_dlc_get() argument
356 if (d->dlci == dlci) in rfcomm_dlc_get()
371 u8 dlci; in __rfcomm_dlc_open() local
389 dlci = __dlci(__session_dir(s), channel); in __rfcomm_dlc_open()
392 if (rfcomm_dlc_get(s, dlci)) in __rfcomm_dlc_open()
[all …]
Dtty.c992 rfcomm_send_rpn(dev->dlc->session, 1, dev->dlc->dlci, baud, in rfcomm_tty_set_termios()
/Linux-v6.1/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.1/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.1/include/uapi/linux/hdlc/
Dioctl.h69 unsigned int dlci; member
73 unsigned int dlci; member