vme_master_request(9)
π vme_master_request β a Kernel API Manual moment
okay so bestie, welcome to vme_master_request(9), straight out of the Kernel API Manual β¨ this is the glow-up page for requesting a VME master window resource, and honestly it's giving "let me reserve my little corner of the bus" energy π
β¨ NAME β¨
vme_master_request β request a VME master window resource. that's it, that's the whole vibe π¦
πΈ SYNOPSIS πΈ
struct vme_resource * vme_master_request (struct vme_dev *vdev , u32
address , u32 cycle , u32 dwidth );
no cap, that's the exact signature β copy it character for character, she's iconic like that π
π ARGUMENTS π
vdevβ pointer to the VME devicestruct vme_devthat got assigned to your driver instance. like, which device are we even talking about, bestie? this one πaddressβ the required VME address space, literally the space you're asking for.cycleβ the required VME data transfer cycle type. yes, the type of cycle, don't skip it πdwidthβ the required VME data transfer width. width matters, always π
π¦ DESCRIPTION π¦
so what does she actually do? she requests use of a VME window resource β and not just any window, one that's capable of being set for the requested address space, the requested data transfer cycle, and the requested width π all three at once. it's giving "matching energy" fr fr.
β RETURN β
- pointer to VME resource on success π«Ά
NULLon failure π
π SEE ALSO π
first up, the kernel file it all lives in: ./drivers/staging/vme_user/vme.c β go read her, she ate π₯
and then the whole friend group, all of them, no gatekeeping:
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_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_bus_num(9)vme_register_driver(9)vme_unregister_driver(9)
and that's the page, bestie!! π this one ships from ./drivers/staging/vme_user, dated October 2026 β periodt, go request some windows responsibly β¨π§
π¦ 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