vme_slave_set(9)
π vme_slave_set(9) β straight from the Kernel API Manual π
okay so bestie, welcome to the group chat for vme_slave_set(9) β the Kernel API Manual page that handles setting a VME slave windowβs configuration. Itβs giving βspecific function, very specific job,β and we are gonna read every single bit. no skipping. π
β¨ NAME β¨
vme_slave_set β Set VME slave window configuration.
πΈ SYNOPSIS πΈ
int vme_slave_set (struct vme_resource *resource , int enabled ,
unsigned long long vme_base , unsigned long long size , dma_addr_t
buf_base , u32 aspace , u32 cycle );
π¦ ARGUMENTS π¦
resourceβ Pointer to VME slave resource. like, the resource pointer you pass in, bestie.enabledβ State to which the window should be configured.vme_baseβ Base address for the window.sizeβ Size of the VME window.buf_baseβ Based address of buffer used to provide VME slave window storage.aspaceβ VME address space for the VME window.cycleβ VME data transfer cycle type for the VME window.
π DESCRIPTION π
Set configuration for provided VME slave window. Thatβs the whole assignment, and this function is absolutely doing it. β¨
π RETURN π
Zero on success, -EINVAL if operation is not supported on this device, if an invalid resource has been provided or invalid attributes are provided. Hardware specific errors may also be returned. so yeah, check that return value, bestie β itβs important. π
π«Ά SEE ALSO π«Ά
Kernel file ./drivers/staging/vme_user/vme.c
vme_alloc_consistent(9)vme_free_consistent(9)vme_get_size(9)vme_slave_request(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)
xoxo, your kernel bestie π β source/version: ./drivers/staging/vme_user; date: October 2026. periodt. π
π¦ 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