Lines Matching refs:table_count
312 pi->pi_msix.table_count = MSIX_TABLE_COUNT(msixcap.msgctrl); in cfginitmsi()
313 pi->pi_msix.pba_size = PBA_SIZE(pi->pi_msix.table_count); in cfginitmsi()
316 table_size = pi->pi_msix.table_count * MSIX_TABLE_ENTRY_SIZE; in cfginitmsi()
320 for (i = 0; i < pi->pi_msix.table_count; i++) { in cfginitmsi()
362 int index, table_count; in msix_table_read() local
367 table_count = pi->pi_msix.table_count; in msix_table_read()
369 offset >= table_offset + table_count * MSIX_TABLE_ENTRY_SIZE) { in msix_table_read()
395 assert(index < table_count); in msix_table_read()
436 int index, table_count; in msix_table_write() local
441 table_count = pi->pi_msix.table_count; in msix_table_write()
443 offset >= table_offset + table_count * MSIX_TABLE_ENTRY_SIZE) { in msix_table_write()
467 assert(index < table_count); in msix_table_write()
532 table_size += pi->pi_msix.table_count * MSIX_TABLE_ENTRY_SIZE; in init_msix_table()
948 msix_table_entries = pi->pi_msix.table_count; in passthru_cfgwrite_default()
1081 table_size += pi->pi_msix.table_count * MSIX_TABLE_ENTRY_SIZE; in passthru_msix_addr()