Lines Matching full:hdlc
2 /* Freescale QUICC Engine HDLC Device Driver
9 #include <linux/hdlc.h>
31 #define DRV_DESC "Freescale QE UCC HDLC Driver"
108 * open drain connected HDLC bus in uhdlc_init()
154 dev_info(priv->dev, "HDLC bus Mode\n"); in uhdlc_init()
196 /* Alloc parameter ram for ucc hdlc */ in uhdlc_init()
201 dev_err(priv->dev, "Can not allocate MURAM for hdlc parameter.\n"); in uhdlc_init()
354 hdlc_device *hdlc = dev_to_hdlc(dev); in ucc_hdlc_tx() local
355 struct ucc_hdlc_private *priv = (struct ucc_hdlc_private *)hdlc->priv; in ucc_hdlc_tx()
366 netdev_err(dev, "No enough space for hdlc head\n"); in ucc_hdlc_tx()
524 hdlc_device *hdlc = dev_to_hdlc(dev); in hdlc_rx_done() local
595 if (hdlc->proto) in hdlc_rx_done()
710 hdlc_device *hdlc = dev_to_hdlc(dev); in uhdlc_open() local
711 struct ucc_hdlc_private *priv = hdlc->priv; in uhdlc_open()
717 ucc_hdlc_irq_handler, 0, "hdlc", priv)) in uhdlc_open()
912 /* backup HDLC parameter */ in uhdlc_suspend()
1019 /* if hdlc is busy enable TX and RX */ in uhdlc_resume()
1123 hdlc_device *hdlc; in ucc_hdlc_probe() local
1190 uhdlc_priv->hdlc_bus = of_property_read_bool(np, "fsl,hdlc-bus"); in ucc_hdlc_probe()
1231 hdlc = dev_to_hdlc(dev); in ucc_hdlc_probe()
1235 hdlc->attach = ucc_hdlc_attach; in ucc_hdlc_probe()
1236 hdlc->xmit = ucc_hdlc_tx; in ucc_hdlc_probe()
1240 pr_err("ucc_hdlc: unable to register hdlc device\n"); in ucc_hdlc_probe()
1279 dev_info(&pdev->dev, "UCC based hdlc module removed\n"); in ucc_hdlc_remove()
1284 .compatible = "fsl,ucc-hdlc",