Lines Matching refs:pmz_ports
88 static struct uart_pmac_port pmz_ports[MAX_ZS_PORTS]; variable
1468 if (pmz_ports[i].node == mdev->ofdev.dev.of_node) in pmz_attach()
1474 uap = &pmz_ports[i]; in pmz_attach()
1584 pmz_ports[count].mate = &pmz_ports[count+1]; in pmz_probe()
1585 pmz_ports[count+1].mate = &pmz_ports[count]; in pmz_probe()
1587 pmz_ports[count].flags = PMACZILOG_FLAG_IS_CHANNEL_A; in pmz_probe()
1588 pmz_ports[count].node = node_a; in pmz_probe()
1589 pmz_ports[count+1].node = node_b; in pmz_probe()
1590 pmz_ports[count].port.line = count; in pmz_probe()
1591 pmz_ports[count+1].port.line = count+1; in pmz_probe()
1596 rc = pmz_init_port(&pmz_ports[count]); in pmz_probe()
1598 rc = pmz_init_port(&pmz_ports[count+1]); in pmz_probe()
1602 memset(&pmz_ports[count], 0, sizeof(struct uart_pmac_port)); in pmz_probe()
1603 memset(&pmz_ports[count+1], 0, sizeof(struct uart_pmac_port)); in pmz_probe()
1661 pmz_ports[0].port.line = 0; in pmz_probe()
1662 pmz_ports[0].flags = PMACZILOG_FLAG_IS_CHANNEL_A; in pmz_probe()
1663 pmz_ports[0].pdev = &scc_a_pdev; in pmz_probe()
1664 err = pmz_init_port(&pmz_ports[0]); in pmz_probe()
1669 pmz_ports[0].mate = &pmz_ports[1]; in pmz_probe()
1670 pmz_ports[1].mate = &pmz_ports[0]; in pmz_probe()
1671 pmz_ports[1].port.line = 1; in pmz_probe()
1672 pmz_ports[1].flags = 0; in pmz_probe()
1673 pmz_ports[1].pdev = &scc_b_pdev; in pmz_probe()
1674 err = pmz_init_port(&pmz_ports[1]); in pmz_probe()
1694 if (pmz_ports[i].pdev == pdev) in pmz_attach()
1699 uap = &pmz_ports[i]; in pmz_attach()
1824 pmz_dispose_port(&pmz_ports[i]); in init_pmz()
1850 struct uart_pmac_port *uport = &pmz_ports[i]; in exit_pmz()
1882 struct uart_pmac_port *uap = &pmz_ports[con->index]; in pmz_console_write()
1928 uap = &pmz_ports[co->index]; in pmz_console_setup()