Lines Matching refs:nmea_port
340 struct ptp_ocp_serial_port nmea_port; member
651 OCP_SERIAL_RESOURCE(nmea_port),
3652 if (bp->nmea_port.line != -1) in ptp_ocp_summary_show()
3653 seq_printf(s, "%7s: /dev/ttyS%d\n", "NMEA", bp->nmea_port.line); in ptp_ocp_summary_show()
3980 bp->nmea_port.line = -1; in ptp_ocp_device_init()
4049 if (bp->nmea_port.line != -1) { in ptp_ocp_complete()
4050 sprintf(buf, "ttyS%d", bp->nmea_port.line); in ptp_ocp_complete()
4111 if (bp->nmea_out && bp->nmea_port.line != -1) { in ptp_ocp_info()
4112 bp->nmea_port.baud = -1; in ptp_ocp_info()
4116 bp->nmea_port.baud = nmea_baud[reg]; in ptp_ocp_info()
4118 ptp_ocp_serial_info(dev, "NMEA", bp->nmea_port.line, in ptp_ocp_info()
4119 bp->nmea_port.baud); in ptp_ocp_info()
4166 if (bp->nmea_port.line != -1) in ptp_ocp_detach()
4167 serial8250_unregister_port(bp->nmea_port.line); in ptp_ocp_detach()