Home
last modified time | relevance | path

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

/openbmc/linux/drivers/tty/serial/jsm/
H A Djsm_driver.c85 brd->maxports = 2; in jsm_probe_one()
94 brd->maxports = 4; in jsm_probe_one()
102 brd->maxports = 8; in jsm_probe_one()
106 brd->maxports = 1; in jsm_probe_one()
285 for (i = 0; i < brd->maxports; i++) { in jsm_remove_one()
H A Djsm_tty.c381 brd->nasync = brd->maxports; in jsm_tty_init()
446 brd->nasync = brd->maxports; in jsm_uart_port_init()
494 brd->nasync = brd->maxports; in jsm_remove_uart_port()
H A Djsm.h133 u32 maxports; /* MAX ports this board can handle */ member
H A Djsm_neo.c716 if (port >= brd->maxports) in neo_parse_isr()
834 if (port >= brd->maxports) in neo_parse_lsr()
/openbmc/qemu/tests/qtest/
H A Dahci-test.c482 uint8_t maxports; in ahci_test_hba_spec() local
539 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()