Searched refs:n_ports (Results 1 – 5 of 5) sorted by relevance
239 uc_priv->n_ports = (uc_priv->cap & 0x1f) + 1; in ahci_host_init()242 uc_priv->cap, uc_priv->port_map, uc_priv->n_ports); in ahci_host_init()245 if (uc_priv->n_ports > CONFIG_SYS_SCSI_MAX_SCSI_ID) in ahci_host_init()246 uc_priv->n_ports = CONFIG_SYS_SCSI_MAX_SCSI_ID; in ahci_host_init()249 for (i = 0; i < uc_priv->n_ports; i++) { in ahci_host_init()662 if (port > uc_priv->n_ports) { in ahci_device_data_io()1001 for (i = 0; i < uc_priv->n_ports; i++) { in ahci_start_ports()1206 uc_plat->max_id = max_t(unsigned long, uc_priv->n_ports, in ahci_probe_scsi()1209 if (uc_priv->n_ports < uc_plat->max_id) in ahci_probe_scsi()1210 uc_plat->max_id = uc_priv->n_ports; in ahci_probe_scsi()
157 uc_priv->n_ports = (uc_priv->cap & SATA_HOST_CAP_NP_MASK) + 1; in ahci_host_init()160 uc_priv->cap, uc_priv->port_map, uc_priv->n_ports); in ahci_host_init()162 for (i = 0; i < uc_priv->n_ports; i++) { in ahci_host_init()738 for (i = 0; i < uc_priv->n_ports; i++) { in dwc_ahci_start_ports()
351 unsigned int n_ports; member
300 host.n_ports = SATA_DWC_MAX_PORTS; in init_sata()
166 u32 n_ports; member