STRUCT SH_DMAE_CHANNEL(9)
β¨ 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_bitis an offset within the register andchclr_bitis 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
- 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