Searched refs:dev_to_port (Results 1 – 14 of 14) sorted by relevance
91 static inline int dev_to_port(struct device *dev) in dev_to_port() function153 int port = dev_to_port(dev); in ti_ssp_set_mode()190 int port = dev_to_port(dev); in ti_ssp_set_iosel()203 int port = dev_to_port(dev); in ti_ssp_load()232 int port = dev_to_port(dev); in ti_ssp_raw_read()242 int port = dev_to_port(dev), shift; in ti_ssp_raw_write()264 int port = dev_to_port(dev); in ti_ssp_run()
61 static inline port_t* dev_to_port(struct net_device *dev) in dev_to_port() function427 port_t *port = dev_to_port(dev); in sca_open()486 port_t *port = dev_to_port(dev); in sca_close()513 dev_to_port(dev)->encoding = encoding; in sca_attach()514 dev_to_port(dev)->parity = parity; in sca_attach()522 port_t *port = dev_to_port(dev); in sca_dump_rings()568 port_t *port = dev_to_port(dev); in sca_xmit()
89 static inline port_t* dev_to_port(struct net_device *dev) in dev_to_port() function275 port_t *port = dev_to_port(dev); in wanxl_xmit()322 port_t *port = dev_to_port(dev); in wanxl_attach()346 port_t *port = dev_to_port(dev); in wanxl_ioctl()395 port_t *port = dev_to_port(dev); in wanxl_open()431 port_t *port = dev_to_port(dev); in wanxl_close()469 port_t *port = dev_to_port(dev); in wanxl_get_stats()
83 static inline port_t* dev_to_port(struct net_device *dev) in dev_to_port() function463 port_t *port = dev_to_port(dev); in sca_open()527 port_t *port = dev_to_port(dev); in sca_close()560 dev_to_port(dev)->encoding = encoding; in sca_attach()561 dev_to_port(dev)->parity = parity; in sca_attach()569 port_t *port = dev_to_port(dev); in sca_dump_rings()623 port_t *port = dev_to_port(dev); in sca_xmit()
342 static inline struct port* dev_to_port(struct net_device *dev) in dev_to_port() function628 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()
162 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()
189 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()
213 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()
172 port_t *port = dev_to_port(dev); in pc300_open()200 port_t *port = dev_to_port(dev); in pc300_ioctl()
482 #define dev_to_port(D) (dev_to_hdlc(D)->priv) macro2001 port = dev_to_port(dev); in fst_ioctl()2200 port = dev_to_port(dev); in fst_open()2225 port = dev_to_port(dev); in fst_close()2236 fst_closeport(dev_to_port(dev)); in fst_close()2261 port = dev_to_port(dev); in fst_tx_timeout()2282 port = dev_to_port(dev); in fst_start_xmit()
384 #define dev_to_port(D) (dev_to_hdlc(D)->priv) macro3917 MGSLPC_INFO *info = dev_to_port(dev); in hdlcdev_attach()3966 MGSLPC_INFO *info = dev_to_port(dev); in hdlcdev_xmit()4012 MGSLPC_INFO *info = dev_to_port(dev); in hdlcdev_open()4075 MGSLPC_INFO *info = dev_to_port(dev); in hdlcdev_close()4110 MGSLPC_INFO *info = dev_to_port(dev); in hdlcdev_ioctl()4211 MGSLPC_INFO *info = dev_to_port(dev); in hdlcdev_tx_timeout()
166 #define dev_to_port(D) (dev_to_hdlc(D)->priv) macro1447 struct slgt_info *info = dev_to_port(dev); in hdlcdev_attach()1494 struct slgt_info *info = dev_to_port(dev); in hdlcdev_xmit()1532 struct slgt_info *info = dev_to_port(dev); in hdlcdev_open()1592 struct slgt_info *info = dev_to_port(dev); in hdlcdev_close()1626 struct slgt_info *info = dev_to_port(dev); in hdlcdev_ioctl()1723 struct slgt_info *info = dev_to_port(dev); in hdlcdev_tx_timeout()
528 #define dev_to_port(D) (dev_to_hdlc(D)->priv) macro1563 SLMP_INFO *info = dev_to_port(dev); in hdlcdev_attach()1608 SLMP_INFO *info = dev_to_port(dev); in hdlcdev_xmit()1650 SLMP_INFO *info = dev_to_port(dev); in hdlcdev_open()1708 SLMP_INFO *info = dev_to_port(dev); in hdlcdev_close()1742 SLMP_INFO *info = dev_to_port(dev); in hdlcdev_ioctl()1838 SLMP_INFO *info = dev_to_port(dev); in hdlcdev_tx_timeout()
715 #define dev_to_port(D) (dev_to_hdlc(D)->priv) macro7663 struct mgsl_struct *info = dev_to_port(dev); in hdlcdev_attach()7708 struct mgsl_struct *info = dev_to_port(dev); in hdlcdev_xmit()7750 struct mgsl_struct *info = dev_to_port(dev); in hdlcdev_open()7808 struct mgsl_struct *info = dev_to_port(dev); in hdlcdev_close()7842 struct mgsl_struct *info = dev_to_port(dev); in hdlcdev_ioctl()7938 struct mgsl_struct *info = dev_to_port(dev); in hdlcdev_tx_timeout()