Searched refs:n_ports (Results 1 – 3 of 3) sorted by relevance
228 uc_priv->n_ports = (uc_priv->cap & 0x1f) + 1; in ahci_host_init()231 uc_priv->cap, uc_priv->port_map, uc_priv->n_ports); in ahci_host_init()233 if (uc_priv->n_ports > CONFIG_SYS_SCSI_MAX_SCSI_ID) in ahci_host_init()234 uc_priv->n_ports = CONFIG_SYS_SCSI_MAX_SCSI_ID; in ahci_host_init()236 for (i = 0; i < uc_priv->n_ports; i++) { in ahci_host_init()644 if (port > uc_priv->n_ports) { in ahci_device_data_io()
156 uc_priv->n_ports = (uc_priv->cap & SATA_HOST_CAP_NP_MASK) + 1; in ahci_host_init()159 uc_priv->cap, uc_priv->port_map, uc_priv->n_ports); in ahci_host_init()161 for (i = 0; i < uc_priv->n_ports; i++) { in ahci_host_init()737 for (i = 0; i < uc_priv->n_ports; i++) { in dwc_ahci_start_ports()
165 u32 n_ports; member