Lines Matching refs:n_ports

543 	int			n_ports;  member
1098 unsigned int clks, is_dual_hc = hpriv->n_ports > MV_PORTS_PER_HC; in mv_set_irq_coalescing()
1583 for (port = 0; port < hpriv->n_ports; port++) { in mv_soc_led_blink_disable()
2890 for (port = 0; port < hpriv->n_ports; port++) { in mv_host_intr()
2925 if ((port + p) >= hpriv->n_ports) in mv_host_intr()
2963 for (i = 0; i < host->n_ports; i++) { in mv_pci_error()
3482 for (port = 0; port < hpriv->n_ports; port++) in mv_soc_reset_hc()
3943 for (port = 0; port < host->n_ports; port++) in mv_init_host()
3955 for (port = 0; port < host->n_ports; port++) { in mv_init_host()
4051 int n_ports = 0, irq = 0; in mv_platform_probe() local
4075 &n_ports); in mv_platform_probe()
4082 if (n_ports <= 0) { in mv_platform_probe()
4084 n_ports); in mv_platform_probe()
4091 n_ports = mv_platform_data->n_ports; in mv_platform_probe()
4099 host = ata_host_alloc_pinfo(&pdev->dev, ppi, n_ports); in mv_platform_probe()
4105 n_ports, sizeof(struct clk *), in mv_platform_probe()
4110 n_ports, sizeof(struct phy *), in mv_platform_probe()
4131 for (port = 0; port < n_ports; port++) { in mv_platform_probe()
4148 hpriv->n_ports = port; in mv_platform_probe()
4155 hpriv->n_ports = n_ports; in mv_platform_probe()
4183 (unsigned)MV_MAX_Q_DEPTH, host->n_ports); in mv_platform_probe()
4194 for (port = 0; port < hpriv->n_ports; port++) { in mv_platform_probe()
4224 for (port = 0; port < host->n_ports; port++) { in mv_platform_remove()
4354 gen, (unsigned)MV_MAX_Q_DEPTH, host->n_ports, in mv_print_info()
4373 int n_ports, port, rc; in mv_pci_init_one() local
4378 n_ports = mv_get_hc_count(ppi[0]->flags) * MV_PORTS_PER_HC; in mv_pci_init_one()
4380 host = ata_host_alloc_pinfo(&pdev->dev, ppi, n_ports); in mv_pci_init_one()
4385 hpriv->n_ports = n_ports; in mv_pci_init_one()
4411 for (port = 0; port < host->n_ports; port++) { in mv_pci_init_one()