epf_ntb_init_epc_bar(9)
epf_ntb_init_epc_bar(9) π
okay so this one is straight outta the Kernel API Manual, and it's giving "let's figure out which BARs go where" energy. No cap. β¨
πΈ NAME πΈ
epf_ntb_init_epc_bar β identify the BARs to be used for each of the NTB constructs: the scratchpad region, the doorbell, and the memorywindow. π
β¨ SYNOPSIS β¨
int epf_ntb_init_epc_bar (struct epf_ntb *ntb );
π«Ά ARGUMENTS π«Ά
ntbβ the NTB device that facilitates communication between HOST and VHOST. This is the main-character struct here. π
π RETURN π
Zero for success, or an error code in case of failure. So like, 0 = slay, and an error code = something went sideways. π
π₯ SEE ALSO π₯
Kernel file: ./drivers/pci/endpoint/functions/pci-epf-vntb.c
the whole friend group is here, bestie:
epf_ntb_link_up(9)epf_ntb_configure_mw(9)epf_ntb_teardown_mw(9)epf_ntb_cmd_handler(9)epf_ntb_config_sspad_bar_clear(9)epf_ntb_config_sspad_bar_set(9)epf_ntb_config_spad_bar_free(9)epf_ntb_config_spad_bar_alloc(9)epf_ntb_configure_interrupt(9)epf_ntb_db_bar_init(9)epf_ntb_db_bar_clear(9)epf_ntb_mw_bar_init(9)epf_ntb_mw_bar_clear(9)epf_ntb_is_bar_used(9)epf_ntb_find_bar(9)epf_ntb_epc_init(9)epf_ntb_epc_cleanup(9)epf_ntb_add_cfs(9)epf_ntb_bind(9)epf_ntb_unbind(9)epf_ntb_probe(9)
and that's the whole page, bestie! source/version: ./drivers/pci/endpoint/functions Β· date: October 2026 π¦π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms