Searched refs:maxports (Results 1 – 1 of 1) sorted by relevance
482 uint8_t maxports; in ahci_test_hba_spec() local539 maxports = (ahci->barsize - HBA_DATA_REGION_SIZE) / HBA_PORT_DATA_SIZE; in ahci_test_hba_spec()541 g_assert_cmphex((reg >> maxports), ==, 0); in ahci_test_hba_spec()621 for (i = 0; ports || (i < maxports); ports >>= 1, ++i) { in ahci_test_hba_spec()