Lines Matching refs:pmz_ports
109 static struct uart_pmac_port pmz_ports[MAX_ZS_PORTS];
1583 /* Iterate the pmz_ports array to find a matching entry
1586 if (pmz_ports[i].node == mdev->ofdev.dev.of_node) {
1587 struct uart_pmac_port *uap = &pmz_ports[i];
1793 pmz_ports[count].mate = &pmz_ports[count+1];
1794 pmz_ports[count+1].mate = &pmz_ports[count];
1795 pmz_ports[count].flags = PMACZILOG_FLAG_IS_CHANNEL_A;
1796 pmz_ports[count].node = node_a;
1797 pmz_ports[count+1].node = node_b;
1798 pmz_ports[count].port.line = count;
1799 pmz_ports[count+1].port.line = count+1;
1804 rc = pmz_init_port(&pmz_ports[count]);
1806 rc = pmz_init_port(&pmz_ports[count+1]);
1810 memset(&pmz_ports[count], 0, sizeof(struct uart_pmac_port));
1811 memset(&pmz_ports[count+1], 0, sizeof(struct uart_pmac_port));
1862 pmz_ports[0].mate = &pmz_ports[1];
1863 pmz_ports[0].port.line = 0;
1864 pmz_ports[0].flags = PMACZILOG_FLAG_IS_CHANNEL_A;
1865 pmz_ports[0].node = &scc_a_pdev;
1866 err = pmz_init_port(&pmz_ports[0]);
1871 pmz_ports[1].mate = &pmz_ports[0];
1872 pmz_ports[1].port.line = 1;
1873 pmz_ports[1].flags = 0;
1874 pmz_ports[1].node = &scc_b_pdev;
1875 err = pmz_init_port(&pmz_ports[1]);
1893 if (pmz_ports[i].node == pdev)
1947 struct uart_pmac_port *uport = &pmz_ports[i];
1958 struct uart_pmac_port *uport = &pmz_ports[i];
2034 pmz_dispose_port(&pmz_ports[i]);
2060 struct uart_pmac_port *uport = &pmz_ports[i];
2088 struct uart_pmac_port *uap = &pmz_ports[con->index];
2136 uap = &pmz_ports[co->index];