Home
last modified time | relevance | path

Searched refs:n_ports (Results 1 – 5 of 5) sorted by relevance

/rk3399_rockchip-uboot/drivers/ata/
H A Dahci.c239 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()
H A Ddwc_ahsata.c157 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()
H A Dsata_dwc.h351 unsigned int n_ports; member
H A Dsata_dwc.c300 host.n_ports = SATA_DWC_MAX_PORTS; in init_sata()
/rk3399_rockchip-uboot/include/
H A Dahci.h166 u32 n_ports; member