STRUCT AT91_ADC_DMA(9)
π struct at91_adc_dma(9) π Kernel API Manual π
πΈ NAME πΈ
struct at91_adc_dma - at91-sama5d2 dma information struct
okay bestie, this is the struct that carries the at91-sama5d2 DMA information, and every single field is required reading. no skips, no cap. π¦
β¨ SYNOPSIS β¨
struct at91_adc_dma {
struct dma_chan *dma_chan;
u8 *rx_buf;
dma_addr_t rx_dma_buf;
phys_addr_t phys_addr;
int buf_idx;
int rx_buf_sz;
int watermark;
s64 dma_ts;
};
π Members π
member-by-member vibe check, and every one is iconic:
dma_chanβ the dma channel acquired. acquired, not borrowed, iykyk. πrx_bufβ dma coherent allocated area. that's the buffer's allocated area, periodt. β¨rx_dma_bufβ dma handler for the buffer. handler duties, slay. πphys_addrβ physical address of the ADC base register. physical is literally in the name. π¦buf_idxβ index inside the dma buffer where reading was last done. last-done index lore. πrx_buf_szβ size of buffer used by DMA operation. the size, the whole size, nothing but the size. πwatermarkβ number of conversions to copy before DMA triggers irq. that's the exact trigger threshold, no guessing. π₯dma_tsβ hold the start timestamp of dma operation. timestamp bestie has entered the chat. β°
π₯ SEE ALSO π₯
go peek at these, bestie β all the related struct and enum lore is right here:
- Kernel file
./drivers/iio/adc/at91-sama5d2_adc.c struct at91_adc_platform(9)struct at91_adc_temp_sensor_clb(9)enum at91_adc_ts_clb_idx(9)struct at91_adc_soc_info(9)struct at91_adc_touch(9)struct at91_adc_temp(9)
xoxo, your source/version bestie is ./drivers/iio/adc, and the date stamp is October 2026 β mwah ππ
π¦ 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