asd_ddbsite_update_word(9)
π 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 whatoldvalis 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:
0on success. slay. β-EFAULTon parity error. π-EAGAINif 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
- 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