getNumberOfPorts
for (int i = 0; i < getNumberOfPorts(); i++) {
uint8_t getNumberOfPorts();
for (int i = 0; i < hba->getNumberOfPorts(); i++) {