asd_ddbsite_update_word(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– asd_ddbsite_update_word(9) β€” Kernel API Manual πŸ’–

okay bestie, welcome to the Kernel API Manual page for asd_ddbsite_update_word(9) β€” yes, the function name is a whole mouthful, but we're gonna slay it together. ✨


🌸 NAME 🌸

asd_ddbsite_update_word β€” atomically update a word in a ddb site. periodt. πŸ’…

✨ SYNOPSIS ✨

int asd_ddbsite_update_word (struct asd_ha_struct *asd_ha , u16
       ddb_site_no , u16 offs , u16 oldval , u16 newval );

No cap, that's the whole call signature. 🫢

πŸŽ€ ARGUMENTS πŸŽ€

  • asd_ha β€” pointer to host adapter structure. literally the host adapter's pointer, bestie.
  • ddb_site_no β€” the DDB site number. yep, the number of the DDB site.
  • offs β€” the offset into the DDB. the way this pinpoints exactly where we're poking inside the DDB 😭
  • oldval β€” old value found in that offset. that's what oldval is holding before the swap.
  • newval β€” the new value to replace it. the glow-up value going in. πŸ’–

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this function is the one you reach for when the sequencers are running and you need to update a DDB site atomically β€” without the expensive pausing and upausing of the sequencers, and without accessing the DDB site through the CIO bus. it's giving "surgical little update while everything stays live" energy. πŸ’…

Return vibes, bestie β€” keep these close:

  • 0 on success. slay. βœ…
  • -EFAULT on parity error. 😭
  • -EAGAIN if the old value is different than the current value at that offset. not matching? try-again energy. πŸ”

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/scsi/aic94xx/aic94xx_reg.h β€” go peek, iykyk. πŸ“š

mwah πŸ’‹ this page is from ./drivers/scsi/aic94xx, dated October 2026, and it's chillin' under asd_ddbsite_update_word(9). πŸ«ΆπŸ’–

πŸ“¦ where this page comes from