STRUCT SH_DMAE_CHANNEL(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct sh_dmae_channel(9) ✨

okay so bestie, welcome to the Kernel API Manual 🫢 β€” this is the page for struct sh_dmae_channel, and it's literally the platform data for a DMAC channel. it's giving "small struct, big responsibilities" πŸ’…


🌸 NAME 🌸

struct sh_dmae_channel β€” the DMAC channel platform data, no cap πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

struct sh_dmae_channel {
    unsigned int    offset;
    unsigned int    dmars;
    unsigned int    chclr_offset;
    unsigned char   dmars_bit;
    unsigned char   chclr_bit;
 };

πŸ‘‘ Members πŸ‘‘

  • offset β€” the register offset within the main IOMEM resource. like, where the channel's regs actually live inside the bigger block πŸ—ΊοΈ
  • dmars β€” the channel's DMARS register offset ✨
  • chclr_offset β€” the channel's CHCLR register offset 🎯
  • dmars_bit β€” the channel's DMARS field offset within the register. it's a bit field situation, iykyk πŸ”
  • chclr_bit β€” the bit position that you set to reset the channel. set the bit β†’ channel goes bye πŸ‘‹ πŸ’€
fr fr, dmars_bit is an offset within the register and chclr_bit is a bit position β€” two different flavours of "bit", don't mix them up bestie πŸ™ˆ

🌈 SEE ALSO 🌈

  • Kernel file ./include/linux/sh_dma.h
  • struct sh_dmae_pdata(9)

and that's the whole vibe check, bestie β€” go read those headers, slay πŸ’–

shipped from ./include/linux, dated October 2026 ⭐ β€” that's the source and version, periodt πŸŽ€

πŸ“¦ where this page comes from