STRUCT PL08X_PLATFORM_DATA(9)
struct pl08x_platform_data(9)
okay bestie, this page is from the Kernel API Manual and it's literally the platform configuration blueprint for the PL08x PrimeCells π no cap.
πΈ NAME πΈ
struct pl08x_platform_data β the platform configuration for the PL08x PrimeCells.
β¨ SYNOPSIS β¨
Here's the struct exactly as it appears, character for character, zero edits:
struct pl08x_platform_data {
struct pl08x_channel_data *slave_channels;
unsigned int num_slave_channels;
enum pl08x_burst_size memcpy_burst_size;
enum pl08x_bus_width memcpy_bus_width;
bool memcpy_prot_buff;
bool memcpy_prot_cache;
int (*get_xfer_signal)(const struct pl08x_channel_data *);
void (*put_xfer_signal)(const struct pl08x_channel_data *, int);
u8 lli_buses;
u8 mem_buses;
const struct dma_slave_map *slave_map;
int slave_map_len;
};
π«Ά Members π«Ά
slave_channelsβ the channels defined for the different devices on the platform, all inclusive, including multiplexed channels. The available physical channels will be multiplexed around these signals as they are requested, just enumerate all possible channels. iconic behavior, honestly β¨num_slave_channelsβ number of elements in the slave channel array.memcpy_burst_sizeβ the appropriate burst size for memcpy operations.memcpy_bus_widthβ memory bus width.memcpy_prot_buffβ whether memcpy DMA is bufferable.memcpy_prot_cacheβ whether memcpy DMA is cacheable.get_xfer_signalβ request a physical signal to be used for a DMA transfer immediately: if there is some multiplexing or similar blocking the use of the channel the transfer can be denied by returning less than zero, else it returns the allocated signal number. the drama of it all πput_xfer_signalβ indicate to the platform that this physical signal is not running any DMA transfer and multiplexing can be recycled.lli_busesβ buses which LLIs can be fetched from:PL08X_AHB1 | PL08X_AHB2.mem_busesβ buses which memory can be accessed from:PL08X_AHB1 | PL08X_AHB2.slave_mapβ DMA slave matching table.slave_map_lenβ number of elements inslave_map.
π SEE ALSO π
- Kernel file
./include/linux/amba/pl08x.h struct pl08x_channel_data(9)
mwah π this page came from source/version ./include/linux/amba, dated October 2026, and it's all wrapped up as struct pl08x_platform_data(9) β slay, you're welcome, bestie π«Άβ¨
π¦ 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