Lines Matching refs:table_count
325 pi->pi_msix.table_count = MSIX_TABLE_COUNT(msixcap.msgctrl); in cfginitmsi()
326 pi->pi_msix.pba_size = PBA_SIZE(pi->pi_msix.table_count); in cfginitmsi()
329 table_size = pi->pi_msix.table_count * MSIX_TABLE_ENTRY_SIZE; in cfginitmsi()
333 for (i = 0; i < pi->pi_msix.table_count; i++) { in cfginitmsi()
375 int index, table_count; in msix_table_read() local
380 table_count = pi->pi_msix.table_count; in msix_table_read()
382 offset >= table_offset + table_count * MSIX_TABLE_ENTRY_SIZE) { in msix_table_read()
408 assert(index < table_count); in msix_table_read()
449 int index, table_count; in msix_table_write() local
454 table_count = pi->pi_msix.table_count; in msix_table_write()
456 offset >= table_offset + table_count * MSIX_TABLE_ENTRY_SIZE) { in msix_table_write()
480 assert(index < table_count); in msix_table_write()
544 table_size += pi->pi_msix.table_count * MSIX_TABLE_ENTRY_SIZE; in init_msix_table()
1097 msix_table_entries = pi->pi_msix.table_count; in passthru_cfgwrite_default()
1250 table_size += pi->pi_msix.table_count * MSIX_TABLE_ENTRY_SIZE; in passthru_msix_addr()