Searched refs:dev_to_port (Results 1 – 11 of 11) sorted by relevance
81 static inline struct port *dev_to_port(struct net_device *dev) in dev_to_port() function283 struct port *port = dev_to_port(dev); in wanxl_xmit()328 struct port *port = dev_to_port(dev); in wanxl_attach()350 struct port *port = dev_to_port(dev); in wanxl_ioctl()395 struct port *port = dev_to_port(dev); in wanxl_open()431 struct port *port = dev_to_port(dev); in wanxl_close()467 struct port *port = dev_to_port(dev); in wanxl_get_stats()
57 static inline port_t *dev_to_port(struct net_device *dev) in dev_to_port() function410 port_t *port = dev_to_port(dev); in sca_open()486 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()520 port_t *port = dev_to_port(dev); in sca_dump_rings()565 port_t *port = dev_to_port(dev); in sca_xmit()
176 port_t *port = dev_to_port(dev); in c101_open()202 port_t *port = dev_to_port(dev); in c101_close()215 port_t *port = dev_to_port(dev); in c101_siocdevprivate()236 port_t *port = dev_to_port(dev); in c101_ioctl()
84 static inline port_t *dev_to_port(struct net_device *dev) in dev_to_port() function454 port_t *port = dev_to_port(dev); in sca_open()535 port_t *port = dev_to_port(dev); in sca_close()567 dev_to_port(dev)->encoding = encoding; in sca_attach()568 dev_to_port(dev)->parity = parity; in sca_attach()575 port_t *port = dev_to_port(dev); in sca_dump_rings()628 port_t *port = dev_to_port(dev); in sca_xmit()
337 static inline struct port *dev_to_port(struct net_device *dev) in dev_to_port() function626 struct port *port = dev_to_port(netdev); in hss_hdlc_set_carrier()643 struct port *port = dev_to_port(dev); in hss_hdlc_rx_irq()792 struct port *port = dev_to_port(dev); in hss_hdlc_txdone_irq()831 struct port *port = dev_to_port(dev); in hss_hdlc_xmit()1051 struct port *port = dev_to_port(dev); in hss_hdlc_open()1122 struct port *port = dev_to_port(dev); in hss_hdlc_close()1177 struct port *port = dev_to_port(dev); in hss_hdlc_attach()1262 struct port *port = dev_to_port(dev); in hss_hdlc_ioctl()
150 port_t *port = dev_to_port(dev); in pci200_open()165 sca_flush(dev_to_port(dev)->card); in pci200_close()187 port_t *port = dev_to_port(dev); in pci200_ioctl()
196 port_t *port = dev_to_port(dev); in n2_open()218 port_t *port = dev_to_port(dev); in n2_close()247 port_t *port = dev_to_port(dev); in n2_ioctl()
479 #define dev_to_port(D) (dev_to_hdlc(D)->priv) macro1922 port = dev_to_port(dev); in fst_siocdevprivate()2029 port = dev_to_port(dev); in fst_ioctl()2123 port = dev_to_port(dev); in fst_open()2148 port = dev_to_port(dev); in fst_close()2159 fst_closeport(dev_to_port(dev)); in fst_close()2183 port = dev_to_port(dev); in fst_tx_timeout()2204 port = dev_to_port(dev); in fst_start_xmit()
159 port_t *port = dev_to_port(dev); in pc300_open()195 port_t *port = dev_to_port(dev); in pc300_ioctl()
384 #define dev_to_port(D) (dev_to_hdlc(D)->priv) macro3870 MGSLPC_INFO *info = dev_to_port(dev); in hdlcdev_attach()3919 MGSLPC_INFO *info = dev_to_port(dev); in hdlcdev_xmit()3965 MGSLPC_INFO *info = dev_to_port(dev); in hdlcdev_open()4028 MGSLPC_INFO *info = dev_to_port(dev); in hdlcdev_close()4062 MGSLPC_INFO *info = dev_to_port(dev); in hdlcdev_wan_ioctl()4159 MGSLPC_INFO *info = dev_to_port(dev); in hdlcdev_tx_timeout()
147 #define dev_to_port(D) (dev_to_hdlc(D)->priv) macro1354 struct slgt_info *info = dev_to_port(dev); in hdlcdev_attach()1400 struct slgt_info *info = dev_to_port(dev); in hdlcdev_xmit()1438 struct slgt_info *info = dev_to_port(dev); in hdlcdev_open()1499 struct slgt_info *info = dev_to_port(dev); in hdlcdev_close()1532 struct slgt_info *info = dev_to_port(dev); in hdlcdev_ioctl()1626 struct slgt_info *info = dev_to_port(dev); in hdlcdev_tx_timeout()