vme_dma_pattern_attribute(9)
π vme_dma_pattern_attribute(9) β the Kernel API Manual, bestie edition π
okay so real talk, this one lives in the Kernel API Manual and it's literally the whole "make me a pattern attribute" moment for VME DMA. tiny page, big vibes. let's get into it π
β¨ NAME β¨
vme_dma_pattern_attribute β creates a "Pattern" type VME DMA list attribute. that's it, that's the whole job. no cap. π¦
πΈ SYNOPSIS πΈ
struct vme_dma_attr * vme_dma_pattern_attribute (u32 pattern , u32 type );
likeβ¦ it hands you back a struct vme_dma_attr * and it wants exactly two little u32s to do it. slay. β¨
π ARGUMENTS π
patternβ the value that gets used as the pattern. yes, it's the pattern. the pattern is the pattern. we been knew πtypeβ the type of pattern you want written. pick your fave, be decisive, main character energy only π
π DESCRIPTION π
so what we're doing here is creating a VME DMA list attribute that's all about pattern generation. that's the whole function. it's giving "small but essential" honestly. π§
β οΈ important bestie warning: it is the responsibility of the user to free used attributes using vme_dma_free_attribute. the kernel will NOT come clean up after you. that memory is your child now. take care of it. don't leave it at the group chat unread π
π₯ RETURN π₯
- on success you get a pointer to the VME DMA attribute π
- on failure?
NULL. nothing. void. a little heartbreak π
π SEE ALSO π
the kernel file is ./drivers/staging/vme_user/vme.c, and honestly the whole friend group is in here β go say hi to all of them π«Ά
memory crew:
slave squad:
master gang:
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)
dma besties (our people!!):
vme_dma_request(9)vme_new_dma_list(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)
irq girlies:
location monitor icons:
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)
misc icons & driver royalty:
okay that's the whole page, you ate that honestly. go free your attributes and hydrate π β¨
this lil masterpiece comes from source ./drivers/staging/vme_user, stamped October 2026 β mwah, bye bestie ππ¦
π¦ 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