Searched refs:bar_index (Results 1 - 11 of 11) sorted by relevance
/kernel/linux/linux-5.10/drivers/staging/gasket/ |
H A D | gasket_core.c | 438 int bar_index) in gasket_write_mappable_regions() 445 driver_desc->bar_descriptions[bar_index]; in gasket_write_mappable_regions() 838 int bar_index; in gasket_mm_vma_bar_offset() local 844 bar_index = gasket_get_bar_index(gasket_dev, raw_offset); in gasket_mm_vma_bar_offset() 845 if (bar_index < 0) { in gasket_mm_vma_bar_offset() 849 trace_gasket_mmap_exit(bar_index); in gasket_mm_vma_bar_offset() 850 return bar_index; in gasket_mm_vma_bar_offset() 853 raw_offset - driver_desc->bar_descriptions[bar_index].base; in gasket_mm_vma_bar_offset() 909 int bar_index, ret; in do_map_region() local 923 bar_index in do_map_region() 436 gasket_write_mappable_regions(char *buf, const struct gasket_driver_desc *driver_desc, int bar_index) gasket_write_mappable_regions() argument 1014 int bar_index; gasket_mmap() local [all...] |
H A D | gasket_core.h | 439 * @bar_index: BAR for which to retrieve memory ranges. 450 int bar_index,
|
/kernel/linux/linux-5.10/samples/vfio-mdev/ |
H A D | mtty.c | 240 u32 cfg_addr, bar_mask, bar_index = 0; in handle_pci_cfg_write() local 259 bar_index = 0; in handle_pci_cfg_write() 261 bar_index = 1; in handle_pci_cfg_write() 263 if ((mdev_state->nr_ports == 1) && (bar_index == 1)) { in handle_pci_cfg_write() 269 pr_info("BAR%d addr 0x%x\n", bar_index, cfg_addr); in handle_pci_cfg_write() 272 bar_mask = mdev_state->bar_mask[bar_index]; in handle_pci_cfg_write() 1049 u32 bar_index; in mtty_get_region_info() local 1058 bar_index = region_info->index; in mtty_get_region_info() 1059 if (bar_index >= VFIO_PCI_NUM_REGIONS) in mtty_get_region_info() 1064 switch (bar_index) { in mtty_get_region_info() [all...] |
/kernel/linux/linux-6.6/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...] |
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/ |
H A D | xmit.c | 289 if (tid->bar_index >= 0) in ath_tx_update_baw() 290 tid->bar_index--; in ath_tx_update_baw() 460 int bar_index = -1; in ath_tx_complete_aggr() local 559 bar_index = max_t(int, bar_index, in ath_tx_complete_aggr() 611 bar_index = max_t(int, bar_index, in ath_tx_complete_aggr() 642 if (bar_index >= 0) { in ath_tx_complete_aggr() 643 u16 bar_seq = ATH_BA_INDEX2SEQ(seq_first, bar_index); in ath_tx_complete_aggr() 646 tid->bar_index in ath_tx_complete_aggr() [all...] |
H A D | debug_sta.c | 68 tid->bar_index, in read_file_node_aggr()
|
H A D | ath9k.h | 245 s8 bar_index; member
|
/kernel/linux/linux-6.6/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 in ath_tx_complete_aggr() [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
|
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/nfpcore/ |
H A D | nfp6000_pcie.c | 104 #define NFP_PCIE_P2C_EXPBAR_OFFSET(bar_index) ((bar_index) * 4)
|
Completed in 18 milliseconds