Home
last modified time | relevance | path

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

/freebsd/sys/dev/pci/controller/
H A Dpci_n1sdp.c90 int table_count; in n1sdp_init() local
125 table_count = sc->n1_discovery_data->nr_bdfs; in n1sdp_init()
126 for (i = 0; i < table_count; i++) in n1sdp_init()
144 int table_count; in n1sdp_check_bdf() local
152 table_count = sc->n1_discovery_data->nr_bdfs; in n1sdp_check_bdf()
154 for (i = 0; i < table_count; i++) in n1sdp_check_bdf()
/freebsd/usr.sbin/bhyve/
H A Dpci_passthru.c282 pi->pi_msix.table_count = MSIX_TABLE_COUNT(msixcap.msgctrl); in cfginitmsi()
283 pi->pi_msix.pba_size = PBA_SIZE(pi->pi_msix.table_count); in cfginitmsi()
286 table_size = pi->pi_msix.table_count * MSIX_TABLE_ENTRY_SIZE; in cfginitmsi()
290 for (i = 0; i < pi->pi_msix.table_count; i++) { in cfginitmsi()
332 int index, table_count; in msix_table_read() local
337 table_count = pi->pi_msix.table_count; in msix_table_read()
339 offset >= table_offset + table_count * MSIX_TABLE_ENTRY_SIZE) { in msix_table_read()
365 assert(index < table_count); in msix_table_read()
406 int index, table_count; in msix_table_write() local
411 table_count = pi->pi_msix.table_count; in msix_table_write()
[all …]
H A Dpci_emul.c431 if (tab_index >= pi->pi_msix.table_count) in pci_emul_msix_twrite()
476 if (tab_index < pi->pi_msix.table_count) { in pci_emul_msix_tread()
1259 pi->pi_msix.table_count = msgnum; in pci_emul_add_msixcap()
1958 if (index >= pi->pi_msix.table_count) in pci_generate_msix()
2504 SNAPSHOT_VAR_OR_LEAVE(pi->pi_msix.table_count, meta, ret, done); in pci_snapshot_pci_dev()
2519 for (i = 0; i < pi->pi_msix.table_count; i++) { in pci_snapshot_pci_dev()
/freebsd/sys/dev/ice/
H A Dice_ddp_common.h167 __le32 table_count;
166 __le32 table_count; global() member
H A Dice_ddp_common.c1943 (nvms->vers + LE32_TO_CPU(nvms->table_count)); in ice_find_buf_table()