Lines Matching refs:n_ports

543 	int			n_ports;  member
1094 unsigned int clks, is_dual_hc = hpriv->n_ports > MV_PORTS_PER_HC; in mv_set_irq_coalescing()
1587 for (port = 0; port < hpriv->n_ports; port++) { in mv_soc_led_blink_disable()
2893 for (port = 0; port < hpriv->n_ports; port++) { in mv_host_intr()
2928 if ((port + p) >= hpriv->n_ports) in mv_host_intr()
2966 for (i = 0; i < host->n_ports; i++) { in mv_pci_error()
3483 for (port = 0; port < hpriv->n_ports; port++) in mv_soc_reset_hc()
3949 for (port = 0; port < host->n_ports; port++) in mv_init_host()
3961 for (port = 0; port < host->n_ports; port++) { in mv_init_host()
4057 int n_ports = 0, irq = 0; in mv_platform_probe() local
4081 &n_ports); in mv_platform_probe()
4088 if (n_ports <= 0) { in mv_platform_probe()
4090 n_ports); in mv_platform_probe()
4097 n_ports = mv_platform_data->n_ports; in mv_platform_probe()
4105 host = ata_host_alloc_pinfo(&pdev->dev, ppi, n_ports); in mv_platform_probe()
4111 n_ports, sizeof(struct clk *), in mv_platform_probe()
4116 n_ports, sizeof(struct phy *), in mv_platform_probe()
4137 for (port = 0; port < n_ports; port++) { in mv_platform_probe()
4154 hpriv->n_ports = port; in mv_platform_probe()
4161 hpriv->n_ports = n_ports; in mv_platform_probe()
4189 (unsigned)MV_MAX_Q_DEPTH, host->n_ports); in mv_platform_probe()
4200 for (port = 0; port < hpriv->n_ports; port++) { in mv_platform_probe()
4230 for (port = 0; port < host->n_ports; port++) { in mv_platform_remove()
4360 gen, (unsigned)MV_MAX_Q_DEPTH, host->n_ports, in mv_print_info()
4379 int n_ports, port, rc; in mv_pci_init_one() local
4384 n_ports = mv_get_hc_count(ppi[0]->flags) * MV_PORTS_PER_HC; in mv_pci_init_one()
4386 host = ata_host_alloc_pinfo(&pdev->dev, ppi, n_ports); in mv_pci_init_one()
4391 hpriv->n_ports = n_ports; in mv_pci_init_one()
4417 for (port = 0; port < host->n_ports; port++) { in mv_pci_init_one()