Home
last modified time | relevance | path

Searched refs:dev_to_port (Results 1 – 13 of 13) sorted by relevance

/linux-4.4.14/drivers/net/wan/
Dwanxl.c89 static inline struct port *dev_to_port(struct net_device *dev) in dev_to_port() function
275 struct port *port = dev_to_port(dev); in wanxl_xmit()
322 struct port *port = dev_to_port(dev); in wanxl_attach()
346 struct port *port = dev_to_port(dev); in wanxl_ioctl()
396 struct port *port = dev_to_port(dev); in wanxl_open()
432 struct port *port = dev_to_port(dev); in wanxl_close()
470 struct port *port = dev_to_port(dev); in wanxl_get_stats()
Dhd64572.c60 static inline port_t* dev_to_port(struct net_device *dev) in dev_to_port() function
426 port_t *port = dev_to_port(dev); in sca_open()
485 port_t *port = dev_to_port(dev); in sca_close()
512 dev_to_port(dev)->encoding = encoding; in sca_attach()
513 dev_to_port(dev)->parity = parity; in sca_attach()
521 port_t *port = dev_to_port(dev); in sca_dump_rings()
567 port_t *port = dev_to_port(dev); in sca_xmit()
Dhd64570.c82 static inline port_t* dev_to_port(struct net_device *dev) in dev_to_port() function
462 port_t *port = dev_to_port(dev); in sca_open()
526 port_t *port = dev_to_port(dev); in sca_close()
559 dev_to_port(dev)->encoding = encoding; in sca_attach()
560 dev_to_port(dev)->parity = parity; in sca_attach()
568 port_t *port = dev_to_port(dev); in sca_dump_rings()
622 port_t *port = dev_to_port(dev); in sca_xmit()
Dixp4xx_hss.c342 static inline struct port* dev_to_port(struct net_device *dev) in dev_to_port() function
628 struct port *port = dev_to_port(netdev); in hss_hdlc_set_carrier()
645 struct port *port = dev_to_port(dev); in hss_hdlc_rx_irq()
793 struct port *port = dev_to_port(dev); in hss_hdlc_txdone_irq()
832 struct port *port = dev_to_port(dev); in hss_hdlc_xmit()
1048 struct port *port = dev_to_port(dev); in hss_hdlc_open()
1113 struct port *port = dev_to_port(dev); in hss_hdlc_close()
1169 struct port *port = dev_to_port(dev); in hss_hdlc_attach()
1250 struct port *port = dev_to_port(dev); in hss_hdlc_ioctl()
Dc101.c189 port_t *port = dev_to_port(dev); in c101_open()
216 port_t *port = dev_to_port(dev); in c101_close()
231 port_t *port = dev_to_port(dev); in c101_ioctl()
Dpci200syn.c162 port_t *port = dev_to_port(dev); in pci200_open()
179 sca_flush(dev_to_port(dev)->card); in pci200_close()
191 port_t *port = dev_to_port(dev); in pci200_ioctl()
Dn2.c213 port_t *port = dev_to_port(dev); in n2_open()
236 port_t *port = dev_to_port(dev); in n2_close()
254 port_t *port = dev_to_port(dev); in n2_ioctl()
Dpc300too.c172 port_t *port = dev_to_port(dev); in pc300_open()
200 port_t *port = dev_to_port(dev); in pc300_ioctl()
Dfarsync.c483 #define dev_to_port(D) (dev_to_hdlc(D)->priv) macro
1993 port = dev_to_port(dev); in fst_ioctl()
2192 port = dev_to_port(dev); in fst_open()
2217 port = dev_to_port(dev); in fst_close()
2228 fst_closeport(dev_to_port(dev)); in fst_close()
2253 port = dev_to_port(dev); in fst_tx_timeout()
2274 port = dev_to_port(dev); in fst_start_xmit()
/linux-4.4.14/drivers/char/pcmcia/
Dsynclink_cs.c384 #define dev_to_port(D) (dev_to_hdlc(D)->priv) macro
3906 MGSLPC_INFO *info = dev_to_port(dev); in hdlcdev_attach()
3955 MGSLPC_INFO *info = dev_to_port(dev); in hdlcdev_xmit()
4001 MGSLPC_INFO *info = dev_to_port(dev); in hdlcdev_open()
4064 MGSLPC_INFO *info = dev_to_port(dev); in hdlcdev_close()
4099 MGSLPC_INFO *info = dev_to_port(dev); in hdlcdev_ioctl()
4200 MGSLPC_INFO *info = dev_to_port(dev); in hdlcdev_tx_timeout()
/linux-4.4.14/drivers/tty/
Dsynclink_gt.c166 #define dev_to_port(D) (dev_to_hdlc(D)->priv) macro
1438 struct slgt_info *info = dev_to_port(dev); in hdlcdev_attach()
1485 struct slgt_info *info = dev_to_port(dev); in hdlcdev_xmit()
1523 struct slgt_info *info = dev_to_port(dev); in hdlcdev_open()
1584 struct slgt_info *info = dev_to_port(dev); in hdlcdev_close()
1618 struct slgt_info *info = dev_to_port(dev); in hdlcdev_ioctl()
1715 struct slgt_info *info = dev_to_port(dev); in hdlcdev_tx_timeout()
Dsynclinkmp.c528 #define dev_to_port(D) (dev_to_hdlc(D)->priv) macro
1554 SLMP_INFO *info = dev_to_port(dev); in hdlcdev_attach()
1599 SLMP_INFO *info = dev_to_port(dev); in hdlcdev_xmit()
1641 SLMP_INFO *info = dev_to_port(dev); in hdlcdev_open()
1700 SLMP_INFO *info = dev_to_port(dev); in hdlcdev_close()
1734 SLMP_INFO *info = dev_to_port(dev); in hdlcdev_ioctl()
1831 SLMP_INFO *info = dev_to_port(dev); in hdlcdev_tx_timeout()
Dsynclink.c715 #define dev_to_port(D) (dev_to_hdlc(D)->priv) macro
7650 struct mgsl_struct *info = dev_to_port(dev); in hdlcdev_attach()
7695 struct mgsl_struct *info = dev_to_port(dev); in hdlcdev_xmit()
7737 struct mgsl_struct *info = dev_to_port(dev); in hdlcdev_open()
7796 struct mgsl_struct *info = dev_to_port(dev); in hdlcdev_close()
7830 struct mgsl_struct *info = dev_to_port(dev); in hdlcdev_ioctl()
7927 struct mgsl_struct *info = dev_to_port(dev); in hdlcdev_tx_timeout()