Lines Matching refs:n_ports
556 int n_ports; member
1107 unsigned int clks, is_dual_hc = hpriv->n_ports > MV_PORTS_PER_HC; in mv_set_irq_coalescing()
1600 for (port = 0; port < hpriv->n_ports; port++) { in mv_soc_led_blink_disable()
2908 for (port = 0; port < hpriv->n_ports; port++) { in mv_host_intr()
2943 if ((port + p) >= hpriv->n_ports) in mv_host_intr()
2981 for (i = 0; i < host->n_ports; i++) { in mv_pci_error()
3498 for (port = 0; port < hpriv->n_ports; port++) in mv_soc_reset_hc()
3964 for (port = 0; port < host->n_ports; port++) in mv_init_host()
3976 for (port = 0; port < host->n_ports; port++) { in mv_init_host()
4072 int n_ports = 0, irq = 0; in mv_platform_probe() local
4095 of_property_read_u32(pdev->dev.of_node, "nr-ports", &n_ports); in mv_platform_probe()
4099 n_ports = mv_platform_data->n_ports; in mv_platform_probe()
4103 host = ata_host_alloc_pinfo(&pdev->dev, ppi, n_ports); in mv_platform_probe()
4109 sizeof(struct clk *) * n_ports, in mv_platform_probe()
4114 sizeof(struct phy *) * n_ports, in mv_platform_probe()
4132 for (port = 0; port < n_ports; port++) { in mv_platform_probe()
4149 hpriv->n_ports = port; in mv_platform_probe()
4156 hpriv->n_ports = n_ports; in mv_platform_probe()
4184 (unsigned)MV_MAX_Q_DEPTH, host->n_ports); in mv_platform_probe()
4195 for (port = 0; port < hpriv->n_ports; port++) { in mv_platform_probe()
4225 for (port = 0; port < host->n_ports; port++) { in mv_platform_remove()
4387 gen, (unsigned)MV_MAX_Q_DEPTH, host->n_ports, in mv_print_info()
4406 int n_ports, port, rc; in mv_pci_init_one() local
4411 n_ports = mv_get_hc_count(ppi[0]->flags) * MV_PORTS_PER_HC; in mv_pci_init_one()
4413 host = ata_host_alloc_pinfo(&pdev->dev, ppi, n_ports); in mv_pci_init_one()
4418 hpriv->n_ports = n_ports; in mv_pci_init_one()
4442 for (port = 0; port < host->n_ports; port++) { in mv_pci_init_one()