quicki2c_dma_init(9)
π quicki2c_dma_init(9) β your girl's guide to the Kernel API Manual β¨
Okay so bestie, buckle up π this one's from the Kernel API Manual, and it's literally about getting your QuickI2C device's DMA all set up and cute. Let's get into it π
πΈ NAME πΈ
quicki2c_dma_init β configure THC DMA for a QuickI2C device. That's the whole vibe, no cap β¨
π¦ SYNOPSIS π¦
int quicki2c_dma_init (struct quicki2c_device *qcdev );
Like, it returns an int and takes exactly one arg. Simple, clean, iconic π
π ARGUMENTS π
qcdevβ pointer to thequicki2c_devicestructure. That's your device bestie right there π«Ά
β¨ DESCRIPTION β¨
So here's the tea β: this function takes TIC's parameters β things like max input length and max output length β and uses them to allocate the THC DMA buffers and configure the THC DMA engines.
Basically it's doing the whole backstage setup so your DMA can have main character energy later. Obsessed, honestly π₯
π RETURN π
0if it slays (success) β- an error code if it doesn't (failure) π
Periodt.
π SEE ALSO π
The kernel file lives right here at ./drivers/hid/intel-thc-hid/intel-quicki2c/pci-quicki2c.c π β go look, iykyk π
And the whole friend group of related functions:
quicki2c_acpi_get_dsm_property(9)quicki2c_acpi_get_dsd_property(9)quicki2c_get_acpi_resources(9)quicki2c_irq_quick_handler(9)try_recover(9)quicki2c_irq_thread_handler(9)quicki2c_dev_init(9)quicki2c_dev_deinit(9)quicki2c_dma_adv_enable(9)quicki2c_dma_adv_disable(9)quicki2c_dma_deinit(9)quicki2c_alloc_report_buf(9)quicki2c_remove(9)quicki2c_shutdown(9)
Heads up bestie π the source line got cut off in the manual β it just says ./drivers/hid/intel-thc-hid/in... β so don't come for me, that's literally all it gave us π
And that's a wrap, babe π This page is from the Kernel API Manual, sourced from that kernel file under ./drivers/hid/intel-thc-hid/in..., dated October 2026 β Go forth and configure your DMA engines, you gorgeous thing π§πβ¨
π¦ 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