Lines Matching refs:plat
261 struct hss_plat_info *plat; member
817 start = qmgr_stat_below_low_watermark(port->plat->txreadyq); in hss_hdlc_txdone_irq()
818 queue_put_desc(port->plat->txreadyq, in hss_hdlc_txdone_irq()
833 unsigned int txreadyq = port->plat->txreadyq; in hss_hdlc_xmit()
935 err = qmgr_request_queue(port->plat->txreadyq, TX_DESCS, 0, 0, in request_hdlc_queues()
947 qmgr_release_queue(port->plat->txreadyq); in request_hdlc_queues()
965 qmgr_release_queue(port->plat->txreadyq); in release_hdlc_queues()
1065 if (port->plat->open) in hss_hdlc_open()
1066 if ((err = port->plat->open(port->id, dev, in hss_hdlc_open()
1073 queue_put_desc(port->plat->txreadyq, in hss_hdlc_open()
1140 while (queue_get_desc(port->plat->txreadyq, port, 1) >= 0) in hss_hdlc_close()
1155 if (port->plat->close) in hss_hdlc_close()
1156 port->plat->close(port->id, dev); in hss_hdlc_close()
1280 if (port->plat->set_clock) in hss_hdlc_ioctl()
1281 clk = port->plat->set_clock(port->id, clk); in hss_hdlc_ioctl()
1360 port->plat = pdev->dev.platform_data; in hss_init_one()