Searched refs:bar_index (Results 1 – 8 of 8) sorted by relevance
/openbmc/qemu/hw/xen/ |
H A D | xen_pt_msi.c | 403 int xen_pt_msix_update_remap(XenPCIPassthroughState *s, int bar_index) in xen_pt_msix_update_remap() argument 408 if (!(s->msix && s->msix->bar_index == bar_index)) { in xen_pt_msix_update_remap() 529 int i, total_entries, bar_index; in xen_pt_msix_init() local 574 bar_index = msix->bar_index = table_off & PCI_MSIX_FLAGS_BIRMASK; in xen_pt_msix_init() 576 msix->table_base = s->real_device.io_regions[bar_index].base_addr; in xen_pt_msix_init() 607 memory_region_add_subregion_overlap(&s->bar[bar_index], table_off, in xen_pt_msix_init() 635 memory_region_del_subregion(&s->bar[msix->bar_index], &msix->mmio); in xen_pt_msix_unmap()
|
H A D | xen_pt.h | 224 int bar_index; member 336 int xen_pt_msix_update_remap(XenPCIPassthroughState *s, int bar_index); 341 return s->msix && s->msix->bar_index == bar; in xen_pt_has_msix_mapping()
|
H A D | xen_pt.c | 612 rc = xen_pt_msix_update_remap(s, s->msix->bar_index); in xen_pt_region_update()
|
/openbmc/linux/samples/vfio-mdev/ |
H A D | mtty.c | 282 u32 cfg_addr, bar_mask, bar_index = 0; in handle_pci_cfg_write() local 301 bar_index = 0; in handle_pci_cfg_write() 303 bar_index = 1; in handle_pci_cfg_write() 305 if ((mdev_state->nr_ports == 1) && (bar_index == 1)) { in handle_pci_cfg_write() 311 pr_info("BAR%d addr 0x%x\n", bar_index, cfg_addr); in handle_pci_cfg_write() 314 bar_mask = mdev_state->bar_mask[bar_index]; in handle_pci_cfg_write() 1138 u32 bar_index; in mtty_get_region_info() local 1140 bar_index = region_info->index; in mtty_get_region_info() 1141 if (bar_index >= VFIO_PCI_NUM_REGIONS) in mtty_get_region_info() 1146 switch (bar_index) { in mtty_get_region_info() [all …]
|
/openbmc/linux/drivers/net/wireless/ath/ath9k/ |
H A D | xmit.c | 336 if (tid->bar_index >= 0) in ath_tx_update_baw() 337 tid->bar_index--; in ath_tx_update_baw() 509 int bar_index = -1; in ath_tx_complete_aggr() local 608 bar_index = max_t(int, bar_index, in ath_tx_complete_aggr() 660 bar_index = max_t(int, bar_index, in ath_tx_complete_aggr() 691 if (bar_index >= 0) { in ath_tx_complete_aggr() 692 u16 bar_seq = ATH_BA_INDEX2SEQ(seq_first, bar_index); in ath_tx_complete_aggr() 695 tid->bar_index = ATH_BA_INDEX(tid->seq_start, bar_seq); in ath_tx_complete_aggr() 698 ath_send_bar(tid, ATH_BA_INDEX2SEQ(seq_first, bar_index + 1)); in ath_tx_complete_aggr() 1010 if (tid->bar_index > ATH_BA_INDEX(tid->seq_start, seqno)) { in ath_tx_get_tid_subframe() [all …]
|
H A D | debug_sta.c | 68 tid->bar_index, in read_file_node_aggr()
|
H A D | ath9k.h | 246 s8 bar_index; member
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfpcore/ |
H A D | nfp6000_pcie.c | 104 #define NFP_PCIE_P2C_EXPBAR_OFFSET(bar_index) ((bar_index) * 4) argument
|