vme_dma_pattern_attribute(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:

dma besties (our people!!):

irq girlies:

location monitor icons:

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