STRUCT PL08X_CHANNEL_DATA(9)
πΈ struct pl08x_channel_data(9) πΈ
okay bestie, welcome to the Kernel API Manual β¨ β yes we're literally in the kernel docs and it's giving iconic. this page is all about struct pl08x_channel_data, the data structure you use to pass info between the platform and the PL08x driver about channel configuration π«Ά
β¨ NAME β¨
struct pl08x_channel_data β the data structure that carries info between the platform and the PL08x driver about how a channel should be configured π
π¦ SYNOPSIS π¦
struct pl08x_channel_data {
const char *bus_id;
int min_signal;
int max_signal;
u32 muxval;
dma_addr_t addr;
bool single;
u8 periph_buses;
};
π Members π
bus_idβ the name of this device channel, and no, it's not just the device name, because a device can have more than one channel. like, think"foo_tx"vibes β¨min_signalβ the minimum DMA signal number that gets muxed in for this channel (for platforms that support muxed signals). if you've got static assignments, make sure this is set to the assigned signal number. PL08x has 16 possible signals, numbered 0 thru 15, so when those aren't enough they often get muxed (in hardware), which disables using the same channel for two devices at the same time πmax_signalβ the maximum DMA signal number to be muxed in for the channel. set it to the same value asmin_signalfor devices with static assignments πmuxvalβ a number usually used to poke into some mux register to mux the signal into this channel πaddrβ the source/target address in physical memory for this DMA channel; it can be the address of a FIFO register for burst requests, for example. you can leave this undefined if the PrimeCell API is used for configuring this π¦singleβ the device connected to this channel will request single DMA transfers, not bursts. (bursts are the default, fyi π )periph_busesβ the device connected to this channel is accessible via these buses (usePL08X_AHB1 | PL08X_AHB2) π
π SEE ALSO π
- Kernel file
./include/linux/amba/pl08x.h struct pl08x_platform_data(9)
and that's the whole vibe check, bestie π this page is from ./include/linux/amba, dated October 2026, and yes it's still serving struct pl08x_channel_data(9) realness β 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