vme_slave_request(9)
β¨ vme_slave_request(9) β¨
okay bestie, welcome to the Kernel API Manual entry for vme_slave_request β yes it's a kernel function, yes it's from ./drivers/staging/vme_user, and yes we're gonna get through it together π
πΈ NAME πΈ
vme_slave_request β request a VME slave window resource. that's it, that's the whole vibe π
π¦ SYNOPSIS π¦
struct vme_resource * vme_slave_request (struct vme_dev *vdev , u32
address , u32 cycle );
literally just hand it a device, an address space, and a cycle type, and it'll try to hook you up π«Ά
π ARGUMENTS π
vdevβ pointer to the VME device structvme_devthat's assigned to your driver instance. like, which device are we even talking about, y'know? πaddressβ the required VME address space. which little corner of the map you're asking for πΊοΈcycleβ the required VME data transfer cycle type. the how of the transfer, not just the where β
π₯ DESCRIPTION π₯
so what this does is: it requests use of a VME window resource β and not just any window, one that's actually capable of being set for the address space you asked for and the data transfer cycle type you asked for. it's giving "matching service but for kernel resources" πβ¨
no cap, that's the whole function. it goes and finds you a window that fits your requirements. periodt π
π RETURN π
- pointer to the VME resource on success π
NULLon failure π
fr fr check for that NULL, bestie. don't be out here dereferencing a failed request, that's not the main character energy we want π
π§ SEE ALSO π§
the kernel file lives at ./drivers/staging/vme_user/vme.c β and honestly the whole friend group is here, so let me introduce everyone πΈ:
vme_alloc_consistent(9)vme_free_consistent(9)vme_get_size(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_bus_num(9)vme_register_driver(9)vme_unregister_driver(9)
and that's the whole page, bestie!! π β¨
cute little sign-off before you go: this one's from ./drivers/staging/vme_user, dated October 2026, and it's the vme_slave_request(9) page β go request those windows responsibly, ily π«Άπ
π¦ 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