ntb_softc
intel_ntb_unmap_pci_bar(struct ntb_softc *ntb)
intel_ntb_setup_msix(struct ntb_softc *ntb, uint32_t num_vectors)
intel_ntb_xeon_gen3_init_isr(struct ntb_softc *ntb)
intel_ntb_xeon_gen4_init_isr(struct ntb_softc *ntb)
intel_ntb_init_isr(struct ntb_softc *ntb)
intel_ntb_setup_legacy_interrupt(struct ntb_softc *ntb)
intel_ntb_teardown_interrupts(struct ntb_softc *ntb)
db_ioread(struct ntb_softc *ntb, uint64_t regoff)
db_iowrite(struct ntb_softc *ntb, uint64_t regoff, uint64_t val)
db_iowrite_raw(struct ntb_softc *ntb, uint64_t regoff, uint64_t val)
struct ntb_softc *ntb = device_get_softc(dev);
struct ntb_softc *ntb = device_get_softc(dev);
struct ntb_softc *ntb = device_get_softc(dev);
struct ntb_softc *ntb = device_get_softc(dev);
intel_ntb_vec_mask(struct ntb_softc *ntb, uint64_t db_vector)
intel_ntb_interrupt(struct ntb_softc *ntb, uint32_t vec)
struct ntb_softc *ntb;
intel_ntb_create_msix_vec(struct ntb_softc *ntb, uint32_t num_vectors)
intel_ntb_free_msix_vec(struct ntb_softc *ntb)
intel_ntb_get_msix_info(struct ntb_softc *ntb)
intel_ntb_teardown_xeon(struct ntb_softc *ntb)
intel_ntb_detect_max_mw(struct ntb_softc *ntb)
intel_ntb_detect_xeon(struct ntb_softc *ntb)
intel_ntb_detect_atom(struct ntb_softc *ntb)
intel_ntb_detect_xeon_gen3(struct ntb_softc *ntb)
intel_ntb_is_ICX(struct ntb_softc *ntb)
intel_ntb_is_SPR(struct ntb_softc *ntb)
intel_ntb_detect_xeon_gen4(struct ntb_softc *ntb)
intel_ntb_detect_xeon_gen4_cfg(struct ntb_softc *ntb)
intel_ntb_xeon_init_dev(struct ntb_softc *ntb)
intel_ntb_xeon_gen3_init_dev(struct ntb_softc *ntb)
intel_ntb_xeon_gen4_init_dev(struct ntb_softc *ntb)
intel_ntb_atom_init_dev(struct ntb_softc *ntb)
configure_atom_secondary_side_bars(struct ntb_softc *ntb)
xeon_reset_sbar_size(struct ntb_softc *ntb, enum ntb_bar idx,
xeon_set_sbar_base_and_limit(struct ntb_softc *ntb, uint64_t bar_addr,
xeon_set_pbar_xlat(struct ntb_softc *ntb, uint64_t base_addr, enum ntb_bar idx)
xeon_setup_b2b_mw(struct ntb_softc *ntb, const struct ntb_b2b_addr *addr,
xeon_gen3_setup_b2b_mw(struct ntb_softc *ntb)
xeon_gen4_setup_b2b_mw(struct ntb_softc *ntb)
_xeon_link_is_up(struct ntb_softc *ntb)
link_is_up(struct ntb_softc *ntb)
atom_link_is_err(struct ntb_softc *ntb)
struct ntb_softc *ntb = arg;
atom_perform_link_restart(struct ntb_softc *ntb)
struct ntb_softc *ntb = device_get_softc(dev);
struct ntb_softc *ntb = device_get_softc(dev);
struct ntb_softc *ntb = device_get_softc(dev);
struct ntb_softc *ntb = device_get_softc(dev);
struct ntb_softc *ntb = device_get_softc(dev);
struct ntb_softc *ntb = device_get_softc(dev);
struct ntb_softc *ntb = device_get_softc(dev);
struct ntb_softc *ntb = arg;
intel_ntb_atom_poll_link(struct ntb_softc *ntb)
intel_ntb_xeon_gen1_poll_link(struct ntb_softc *ntb)
intel_ntb_xeon_gen4_poll_link(struct ntb_softc *ntb)
intel_ntb_poll_link(struct ntb_softc *ntb)
intel_ntb_link_sta_speed(struct ntb_softc *ntb)
intel_ntb_link_sta_width(struct ntb_softc *ntb)
intel_ntb_sysctl_init(struct ntb_softc *ntb)
struct ntb_softc *ntb = arg1;
struct ntb_softc *ntb = arg1;
struct ntb_softc *ntb = arg1;
static unsigned intel_ntb_user_mw_to_idx(struct ntb_softc *, unsigned uidx);
static inline enum ntb_bar intel_ntb_mw_to_bar(struct ntb_softc *, unsigned mw);
struct ntb_softc *ntb = arg1;
static inline bool bar_is_64bit(struct ntb_softc *, enum ntb_bar);
struct ntb_softc *ntb;
static inline void bar_get_xlat_params(struct ntb_softc *, enum ntb_bar,
static int intel_ntb_map_pci_bars(struct ntb_softc *ntb);
static int intel_ntb_mw_set_wc_internal(struct ntb_softc *, unsigned idx,
static void print_map_success(struct ntb_softc *, struct ntb_pci_bar_info *,
intel_ntb_user_mw_to_idx(struct ntb_softc *ntb, unsigned uidx)
static int map_mmr_bar(struct ntb_softc *ntb, struct ntb_pci_bar_info *bar);
static int map_memory_window_bar(struct ntb_softc *ntb,
struct ntb_softc *ntb;
static void intel_ntb_unmap_pci_bar(struct ntb_softc *ntb);
static int intel_ntb_init_isr(struct ntb_softc *ntb);
static int intel_ntb_xeon_gen3_init_isr(struct ntb_softc *ntb);
static int intel_ntb_setup_legacy_interrupt(struct ntb_softc *ntb);
static int intel_ntb_setup_msix(struct ntb_softc *ntb, uint32_t num_vectors);
static void intel_ntb_teardown_interrupts(struct ntb_softc *ntb);
static inline uint64_t intel_ntb_vec_mask(struct ntb_softc *, uint64_t db_vector);
struct ntb_softc *ntb = device_get_softc(dev);
struct ntb_softc *ntb = device_get_softc(dev);
static void intel_ntb_interrupt(struct ntb_softc *, uint32_t vec);
struct ntb_softc *ntb = device_get_softc(dev);
struct ntb_softc *ntb = device_get_softc(dev);
static inline uint64_t db_ioread(struct ntb_softc *, uint64_t regoff);
struct ntb_softc *ntb = device_get_softc(dev);
static inline void db_iowrite(struct ntb_softc *, uint64_t regoff, uint64_t);
static inline void db_iowrite_raw(struct ntb_softc *, uint64_t regoff, uint64_t);
struct ntb_softc *ntb = device_get_softc(dev);
static int intel_ntb_create_msix_vec(struct ntb_softc *ntb, uint32_t num_vectors);
struct ntb_softc *ntb = device_get_softc(dev);
static void intel_ntb_free_msix_vec(struct ntb_softc *ntb);
static void intel_ntb_get_msix_info(struct ntb_softc *ntb);
struct ntb_softc *ntb = device_get_softc(dev);
static void intel_ntb_detect_max_mw(struct ntb_softc *ntb);
static int intel_ntb_detect_xeon(struct ntb_softc *ntb);
struct ntb_softc *ntb = device_get_softc(dev);
static int intel_ntb_detect_xeon_gen3(struct ntb_softc *ntb);
static int intel_ntb_detect_xeon_gen4(struct ntb_softc *ntb);
static int intel_ntb_detect_xeon_gen4_cfg(struct ntb_softc *ntb);
static int intel_ntb_detect_atom(struct ntb_softc *ntb);
static int intel_ntb_xeon_init_dev(struct ntb_softc *ntb);
static int intel_ntb_xeon_gen3_init_dev(struct ntb_softc *ntb);
static int intel_ntb_xeon_gen4_init_dev(struct ntb_softc *ntb);
static int intel_ntb_atom_init_dev(struct ntb_softc *ntb);
static void intel_ntb_teardown_xeon(struct ntb_softc *ntb);
static void configure_atom_secondary_side_bars(struct ntb_softc *ntb);
struct ntb_softc *ntb = device_get_softc(dev);
static void xeon_reset_sbar_size(struct ntb_softc *, enum ntb_bar idx,
struct ntb_softc *ntb = device_get_softc(dev);
static void xeon_set_sbar_base_and_limit(struct ntb_softc *,
intel_ntb_mw_set_wc_internal(struct ntb_softc *ntb, unsigned idx, vm_memattr_t mode)
static void xeon_set_pbar_xlat(struct ntb_softc *, uint64_t base_addr,
struct ntb_softc *ntb = device_get_softc(dev);
static int xeon_setup_b2b_mw(struct ntb_softc *,
static int xeon_gen3_setup_b2b_mw(struct ntb_softc *);
static int xeon_gen4_setup_b2b_mw(struct ntb_softc *);
struct ntb_softc *ntb = device_get_softc(dev);
struct ntb_softc *ntb = device_get_softc(dev);
static inline bool link_is_up(struct ntb_softc *ntb);
struct ntb_softc *ntb = device_get_softc(dev);
static inline bool _xeon_link_is_up(struct ntb_softc *ntb);
struct ntb_softc *ntb = device_get_softc(dev);
static inline bool atom_link_is_err(struct ntb_softc *ntb);
struct ntb_softc *ntb = device_get_softc(dev);
static inline enum ntb_speed intel_ntb_link_sta_speed(struct ntb_softc *);
static inline enum ntb_width intel_ntb_link_sta_width(struct ntb_softc *);
static bool intel_ntb_poll_link(struct ntb_softc *ntb);
sizeof(struct ntb_softc));
static void intel_ntb_sysctl_init(struct ntb_softc *);
struct ntb_softc *ntb;
struct ntb_softc *ntb;
intel_ntb_mw_to_bar(struct ntb_softc *ntb, unsigned mw)
bar_is_64bit(struct ntb_softc *ntb, enum ntb_bar bar)
bar_get_xlat_params(struct ntb_softc *ntb, enum ntb_bar bar, uint32_t *base,
intel_ntb_map_pci_bars(struct ntb_softc *ntb)
print_map_success(struct ntb_softc *ntb, struct ntb_pci_bar_info *bar,
map_mmr_bar(struct ntb_softc *ntb, struct ntb_pci_bar_info *bar)
map_memory_window_bar(struct ntb_softc *ntb, struct ntb_pci_bar_info *bar)