Home
last modified time | relevance | path

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

/drivers/mfd/
Dti-ssp.c91 static inline int dev_to_port(struct device *dev) in dev_to_port() function
153 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()
/drivers/net/wan/
Dhd64572.c61 static inline port_t* dev_to_port(struct net_device *dev) in dev_to_port() function
427 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()
Dwanxl.c89 static inline port_t* dev_to_port(struct net_device *dev) in dev_to_port() function
275 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()
Dhd64570.c83 static inline port_t* dev_to_port(struct net_device *dev) in dev_to_port() function
463 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()
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()
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()
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()
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.c482 #define dev_to_port(D) (dev_to_hdlc(D)->priv) macro
2001 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()
/drivers/char/pcmcia/
Dsynclink_cs.c384 #define dev_to_port(D) (dev_to_hdlc(D)->priv) macro
3917 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()
/drivers/tty/
Dsynclink_gt.c166 #define dev_to_port(D) (dev_to_hdlc(D)->priv) macro
1447 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()
Dsynclinkmp.c528 #define dev_to_port(D) (dev_to_hdlc(D)->priv) macro
1563 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()
Dsynclink.c715 #define dev_to_port(D) (dev_to_hdlc(D)->priv) macro
7663 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()