_base_writeq(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… _base_writeq(9) β€” 64 bit write to MMIO πŸ’…

okay so bestie, welcome to _base_writeq(9) from the Kernel API Manual ✨ this one is short and iconic: it’s the 64 bit write to MMIO situation. no cap.


🌸 NAME 🌸

_base_writeq β€” 64 bit write to MMIO πŸ‘‘


✨ SYNOPSIS ✨

void _base_writeq (__u64 b , volatile void __iomem *addr , spinlock_t
       *writeq_lock );

πŸŽ€ ARGUMENTS πŸŽ€

  • b β€” data payload, aka the actual stuff being written πŸ’–
  • addr β€” address in MMIO space, aka where it’s headed πŸ“
  • writeq_lock β€” spin lock, the locking situation πŸ”’

πŸ’– DESCRIPTION πŸ’–

This is glue for handling an atomic 64 bit word to MMIO ✨ it’s special handling, and it takes care of 32 bit environment where it’s not guaranteed to send the entire word in one transfer πŸ’…. that’s the lore, fr fr 🫢


πŸ¦‹ SEE ALSO πŸ¦‹


that’s the whole vibe, bestie 🫢 the source/version line says ./drivers/scsi/mpt3sas, the date is October 2026, and the page id is _base_writeq(9) πŸ’…βœ¨

πŸ“¦ where this page comes from