Lines Matching refs:port_to_dev
484 #define port_to_dev(P) hdlc_to_dev(&(P)->hdlc) macro
854 port_to_dev(port)->trans_start = jiffies; in fst_tx_dma_complete()
892 fst_process_rx_status(rx_status, port_to_dev(port)->name); in fst_rx_dma_complete()
895 port_to_dev(port)->last_rx = jiffies; in fst_rx_dma_complete()
1098 if (netif_carrier_ok(port_to_dev(port))) { in fst_intr_te1_alarm()
1100 netif_carrier_off(port_to_dev(port)); in fst_intr_te1_alarm()
1106 if (!netif_carrier_ok(port_to_dev(port))) { in fst_intr_te1_alarm()
1108 netif_carrier_on(port_to_dev(port)); in fst_intr_te1_alarm()
1138 if (!netif_carrier_ok(port_to_dev(port))) { in fst_intr_ctlchg()
1140 netif_carrier_on(port_to_dev(port)); in fst_intr_ctlchg()
1143 if (netif_carrier_ok(port_to_dev(port))) { in fst_intr_ctlchg()
1145 netif_carrier_off(port_to_dev(port)); in fst_intr_ctlchg()
1322 fst_process_rx_status(rx_status, port_to_dev(port)->name); in fst_intr_rx()
1326 port_to_dev(port)->last_rx = jiffies; in fst_intr_rx()
1416 port_to_dev(port)->trans_start = in do_bottom_half_tx()
1440 netif_wake_queue(port_to_dev in do_bottom_half_tx()
2192 netif_carrier_on(port_to_dev(port)); in fst_openport()
2194 netif_carrier_off(port_to_dev(port)); in fst_openport()