vme_dma_list_add(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

vme_dma_list_add β€” okay bestie, this is the vme_dma_list_add(9) page from the Kernel API Manual, and its whole job is adding an entry to a VME DMA list. πŸ’…βœ¨

✨ SYNOPSIS ✨

the signature, untouched, no cap:

int vme_dma_list_add (struct vme_dma_list *list , struct vme_dma_attr *src , struct vme_dma_attr *dest , size_t count );

🫢 ARGUMENTS 🫢

  • list β€” pointer to VME list. Yes, the list you're adding to, bestie.
  • src β€” pointer to DMA list attribute to use as source. πŸ¦‹
  • dest β€” pointer to DMA list attribute to use as destination. 🌸
  • count β€” number of bytes to transfer. Bytes, not vibes. πŸ’…

🌈 DESCRIPTION 🌈

So you're adding an entry to the provided VME DMA list. To make that entry happen, it needs pointers to source and destination DMA attributes and a count β€” that's the byte count. 🫢

⚠️ heads up bestie: the attributes supported as source and destinations for transfers are hardware dependent. This is not a universal vibe; the hardware has opinions. 😭

πŸ‘‘ RETURN πŸ‘‘

Zero on success, periodt. πŸ’–

You get -EINVAL if the operation is not supported on this device, or if the link list has already been submitted for execution. Hardware specific errors also possible β€” don't shoot the messenger πŸ’€.

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/staging/vme_user/vme.c β€” and the whole 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_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_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).

mwah πŸ’‹ source/version: ./drivers/staging/vme_user Β· date: October 2026 β€” byeee bestie 🫢

πŸ“¦ where this page comes from