vme_bus_num(9)
π vme_bus_num β like, the bus number one
okay so bestie, welcome to vme_bus_num(9) from the Kernel API Manual β¨ this is the little function that tells you which bus you're on. tiny page, iconic energy, let's go π
β¨ NAME β¨
vme_bus_num β retrieve bus number. that's it. that's the whole vibe π
πΈ SYNOPSIS πΈ
int vme_bus_num (struct vme_dev *vdev );
literally one argument, king π«Ά
π¦ ARGUMENTS π¦
vdevβ pointer to the VME devicestruct vme_devthat's assigned to your driver instance. like, your device, bestie, the one the driver got handed π«
π DESCRIPTION π
so what it does is: it retrieves the bus enumeration associated with the provided VME device. that's the whole thing. no cap, no secret extra steps, just grabbing the bus enumeration off the vdev you passed in π
π₯ RETURN π₯
- the bus number on success π
-EINVALif the VME bridge cannot be determined π (like when it just can't figure out which bridge you mean β rude, honestly)
π SEE ALSO π
kernel file ./drivers/staging/vme_user/vme.c, plus the whole friend group β every single one of these, no skipping π:
vme_alloc_consistent(9)vme_free_consistent(9)vme_get_size(9)vme_slave_request(9)vme_slave_set(9)vme_slave_get(9)vme_slave_free(9)vme_master_request(9)vme_master_set(9)vme_master_get(9)vme_master_read(9)vme_master_write(9)vme_master_rmw(9)vme_master_mmap_prepare(9)vme_master_free(9)vme_dma_request(9)vme_new_dma_list(9)vme_dma_pattern_attribute(9)vme_dma_pci_attribute(9)vme_dma_vme_attribute(9)vme_dma_free_attribute(9)vme_dma_list_add(9)vme_dma_list_exec(9)vme_dma_list_free(9)vme_dma_free(9)vme_irq_request(9)vme_irq_free(9)vme_irq_generate(9)vme_lm_request(9)vme_lm_count(9)vme_lm_set(9)vme_lm_get(9)vme_lm_attach(9)vme_lm_detach(9)vme_lm_free(9)vme_slot_num(9)vme_register_driver(9)vme_unregister_driver(9)
okay that's the page!! mwah π this one's filed under ./drivers/staging/vme_user and dated October 2026 β so like, mark your calendar bestie ποΈβ¨ slay, go read the other vme_* ones, they're all in the same friend group fr fr π
π¦
π¦ 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