Lines Matching full:cap
49 u32 cap; member
120 cap_save = readl(&host_mmio->cap); in ahci_host_init()
142 writel(cap_save, &host_mmio->cap); in ahci_host_init()
152 uc_priv->cap = readl(&host_mmio->cap); in ahci_host_init()
156 uc_priv->n_ports = (uc_priv->cap & SATA_HOST_CAP_NP_MASK) + 1; in ahci_host_init()
158 debug("cap 0x%x port_map 0x%x n_ports %d\n", in ahci_host_init()
159 uc_priv->cap, uc_priv->port_map, uc_priv->n_ports); in ahci_host_init()
272 u32 vers, cap, impl, speed; in ahci_print_info() local
277 cap = uc_priv->cap; in ahci_print_info()
280 speed = (cap & SATA_HOST_CAP_ISS_MASK) in ahci_print_info()
297 ((cap >> 8) & 0x1f) + 1, in ahci_print_info()
298 (cap & 0x1f) + 1, in ahci_print_info()
306 cap & (1 << 31) ? "64bit " : "", in ahci_print_info()
307 cap & (1 << 30) ? "ncq " : "", in ahci_print_info()
308 cap & (1 << 28) ? "ilck " : "", in ahci_print_info()
309 cap & (1 << 27) ? "stag " : "", in ahci_print_info()
310 cap & (1 << 26) ? "pm " : "", in ahci_print_info()
311 cap & (1 << 25) ? "led " : "", in ahci_print_info()
312 cap & (1 << 24) ? "clo " : "", in ahci_print_info()
313 cap & (1 << 19) ? "nz " : "", in ahci_print_info()
314 cap & (1 << 18) ? "only " : "", in ahci_print_info()
315 cap & (1 << 17) ? "pmp " : "", in ahci_print_info()
316 cap & (1 << 15) ? "pio " : "", in ahci_print_info()
317 cap & (1 << 14) ? "slum " : "", in ahci_print_info()
318 cap & (1 << 13) ? "part " : ""); in ahci_print_info()