STRUCT STEDMA40_CHAN_CFG(9)
π struct stedma40_chan_cfg π
okay bestie, welcome to the Kernel API Manual entry for struct stedma40_chan_cfg β yes that's the whole name, it's a mouthful, we cope π«Ά
πΈ NAME πΈ
struct stedma40_chan_cfg β literally the Structure to be filled by client drivers. that's it, that's the vibe β¨
π SYNOPSIS π
here's the whole struct, copy it exactly, no freestyling:
struct stedma40_chan_cfg {
enum dma_transfer_direction dir;
bool high_priority;
bool realtime;
enum stedma40_mode mode;
enum stedma40_mode_opt mode_opt;
int dev_type;
struct stedma40_half_channel_info src_info;
struct stedma40_half_channel_info dst_info;
bool use_fixed_channel;
int phy_channel;
};
look at her. main character struct energy π
π¦ Members π¦
let's do a member-by-member vibe check, no cap π
dirβ the direction, and your options are:MEM 2 MEM,PERIPH 2 MEM,MEM 2 PERIPH,PERIPH 2 PERIPH. pick your fighter πhigh_priorityβtrueif high-priority. simple as that, icon behavior βrealtimeβtrueif realtime mode is to be enabled. but listen β it's only available on DMA40 version 3+, i.eDB8500v2+. don't come for her if you're on older silicon πmodeβ channel mode: physical, logical, or operation. choose wisely πmode_optβ options for the chosen channel mode. the little add-ons, the accessories πdev_typeβ src/dst device type (driver usesdirto figure out which). she multitasking fr fr π₯src_infoβ Parameters for dst half channel. yes. that's what it says. we don't question the docs, we just report them πdst_infoβ Parameters for dst half channel. this one's also the dst half channel info. iconic consistency πuse_fixed_channelβ iftrue, use physical channel specified byphy_channel. you're hand-picking, bestie πphy_channelβ physical channel to use, only ifuse_fixed_channelistrue. otherwise she's irrelevant, no shade πΈ
β¨ Description β¨
so here's the tea: this structure has to be filled by the client drivers. it's not optional, it's not a suggestion, it's the assignment π
and the recommendation? do all dma configurations for clients in the machine. all of it. get it done in one place, keep it tidy, slay π§
π₯ SEE ALSO π₯
go read these next, iykyk:
- Kernel file
./drivers/dma/ste_dma40.hstruct stedma40_half_channel_info(9)
fr fr read the header file before you touch anything, bestie. the struct definition is right there waiting for you π«Ά
and that's the whole page! source/version lives at ./drivers/dma, dated October 2026, and the page itself is struct stedma40_chan_cfg(9) β bye babes, go fill your structs responsibly πβ¨π
π¦ 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