init_ohci139...and_init_dma(9)
β¨ init_ohci1394_reset_and_init_dma β bestie's guide to waking up a FireWire controller π¦
Okay so picture this: it's kernel API manual time, the section is 9, and we're hanging out in ./drivers/firewire. This one's short and sweet but it's doing real work, so let's get into it π
πΈ NAME πΈ
init_ohci1394_reset_and_init_dma β literally the function that inits the controller and turns on DMA. That's it, that's the vibe π
β SYNOPSIS β
void init_ohci1394_reset_and_init_dma (struct ohci *ohci );
Notice the void up front β no return value, she gives you nothing back, she just does things π
π§ ARGUMENTS π§
ohciβ a pointer to the OHCI-1394 controller structure. Like, the actual controller you're about to wake up. Hand her the pointer and step back π«Ά
π DESCRIPTION π
So what does it do? It initializes the given controller and enables the physical DMA engine in it. Both things. Controller gets initialized, physical DMA engine gets enabled. Iconic behavior, no notes β¨
Like, if you handed me a controller and were like "bestie, make it work," this is the function. It resets and inits, then flips on the physical DMA engine so the thing can actually move data around. Lowkey essential ππ₯
π₯ SEE ALSO π₯
- Kernel file
./drivers/firewire/init_ohci1394_dma.cβ the source, go read it, it's right there π init_ohci1394_wait_for_busresets(9)init_ohci1394_enable_physical_dma(9)init_ohci1394_controller(9)init_ohci1394_dma_on_all_controllers(9)setup_ohci1394_dma(9)
The whole friend group, fr fr π
Heads up bestie: this page is from the./drivers/firewirepart of the kernel and it's dated October 2026, pageinit_ohci139...and_init_dma(9)in the Kernel API Manual. That's the whole footer, folded in with love π
Go forth and init that DMA, you absolute main character ππ
π¦ 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