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()
2904 for (port = 0; port < hpriv->n_ports; port++) { in mv_host_intr()
2939 if ((port + p) >= hpriv->n_ports) in mv_host_intr()
2977 for (i = 0; i < host->n_ports; i++) { in mv_pci_error()
3494 for (port = 0; port < hpriv->n_ports; port++) in mv_soc_reset_hc()
3960 for (port = 0; port < host->n_ports; port++) in mv_init_host()
3972 for (port = 0; port < host->n_ports; port++) { in mv_init_host()
4068 int n_ports = 0, irq = 0; in mv_platform_probe() local
4092 &n_ports); in mv_platform_probe()
4099 if (n_ports <= 0) { in mv_platform_probe()
4101 n_ports); in mv_platform_probe()
4108 n_ports = mv_platform_data->n_ports; in mv_platform_probe()
4112 host = ata_host_alloc_pinfo(&pdev->dev, ppi, n_ports); in mv_platform_probe()
4118 n_ports, sizeof(struct clk *), in mv_platform_probe()
4123 n_ports, sizeof(struct phy *), in mv_platform_probe()
4144 for (port = 0; port < n_ports; port++) { in mv_platform_probe()
4161 hpriv->n_ports = port; in mv_platform_probe()
4168 hpriv->n_ports = n_ports; in mv_platform_probe()
4196 (unsigned)MV_MAX_Q_DEPTH, host->n_ports); in mv_platform_probe()
4207 for (port = 0; port < hpriv->n_ports; port++) { in mv_platform_probe()
4237 for (port = 0; port < host->n_ports; port++) { in mv_platform_remove()
4399 gen, (unsigned)MV_MAX_Q_DEPTH, host->n_ports, in mv_print_info()
4418 int n_ports, port, rc; in mv_pci_init_one() local
4423 n_ports = mv_get_hc_count(ppi[0]->flags) * MV_PORTS_PER_HC; in mv_pci_init_one()
4425 host = ata_host_alloc_pinfo(&pdev->dev, ppi, n_ports); in mv_pci_init_one()
4430 hpriv->n_ports = n_ports; in mv_pci_init_one()
4454 for (port = 0; port < host->n_ports; port++) { in mv_pci_init_one()