vme_master_set(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… vme_master_set(9) πŸ’…

okay so this is a page from the Kernel API Manual bestie, and it's literally about vme_master_set β€” let's get into it 🫢


✨ NAME ✨

vme_master_set β€” sets up the configuration for your VME master window. that's it, that's the whole vibe πŸŽ€


🌸 SYNOPSIS 🌸

int vme_master_set (struct vme_resource *resource , int enabled ,
unsigned long long vme_base , unsigned long long size , u32 aspace , u32
cycle , u32 dwidth );

look at her go 😭 seven whole parameters, she's serving function signature realness πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • resource β€” pointer to the VME master resource. like, the actual thing you got from requesting it πŸ’–
  • enabled β€” the state you want the window configured to. yes queen, tell it what to be ✨
  • vme_base β€” base address for the window. where it all starts fr fr
  • size β€” size of the VME window. how much room she gets 🌈
  • aspace β€” VME address space for the VME window. which space we're in, iykyk
  • cycle β€” VME data transfer cycle type for the VME window. the type of cycle, very main character energy πŸ’…
  • dwidth β€” VME data transfer width for the VME window. how wide the data's traveling, no cap 🧚

πŸ’œ DESCRIPTION πŸ’œ

so basically: this sets the configuration for the VME master window you handed it. one job, and she does it 🎯


πŸ”₯ RETURN πŸ”₯

  • Zero on success β€” slay, we love a clean return πŸ’–
  • -EINVAL if the operation isn't supported on this device, or if you gave it an invalid resource, or if the attributes you passed are invalid (rude of you tbh πŸ™ˆ)
  • also, hardware specific errors may be returned on top of all that. so like, stay alert bestie πŸ’€

⭐ SEE ALSO ⭐

kernel file ./drivers/staging/vme_user/vme.c, plus literally the entire friend group:

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_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)


ngl the SEE ALSO section is giving extended family at a wedding 😭 but every single one of them belongs, so we list them all 🫢

and that's the page!! brought to you by ./drivers/staging/vme_user, dated October 2026 β€” mwah, study it, cite it, live by it πŸ’…βœ¨πŸ“

πŸ“¦ where this page comes from