ish_disable_dma(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ish_disable_dma (9) β€” from the Kernel API Manual, bestie

okay so picture this: it's giving kernel-internal, it's giving Intel ISH energy, and the manual page name is literally ish_disable_dma. Welcome to the Kernel API Manual glow-up, bestie β€” this one's short, sweet, and does exactly one job. πŸŽ€


✨ NAME ✨

ish_disable_dma β€” shuts down the dma communication between the host and ISHFW, no cap 🫢

So like… the host and ISHFW have been chatting over dma, and this function is the "okay bye bestie, we're done here" moment. πŸ’…


🌸 SYNOPSIS 🌸

int ish_disable_dma (struct ishtp_device *dev );

yeah that's it. one argument, one int coming back atcha. iconic minimalism honestly. ⭐


πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” the ishtp device pointer. that's the whole argument list. one (1) pointer, the main character of this story. πŸ‘‘

πŸ’– DESCRIPTION πŸ’–

okay so here's the entire vibe: it clears the dma enable bit and then it waits for dma to go inactive. that's the whole thing. 🧚

clear the enable bit β†’ wait for inactive β†’ done.

it's literally the "turning the lights off and making sure everyone actually left the party" of kernel functions. no extra steps, no notes. ✨


πŸ”₯ RETURN πŸ”₯

  • 0 for success πŸ’–
  • else an error code 😭 (like, not zero, so… something went sideways, bestie)

fr fr: 0 = slay, anything else = check your error codes.


🌈 SEE ALSO 🌈

this is the part where the manpage gets social β€” it's all "you may also know me from…" and honestly the friend group is HUGE. 🫢

Kernel file ./drivers/hid/intel-ish-hid/ipc/ipc.c plus:

like I said. big friend group. iykyk. πŸ’€

seriously though β€” if you're poking around the Intel ISH IPC code, read the ones above too, they're all in the same ./drivers/hid/intel-ish-hid/ipc/ipc.c situation and they all reference each other. πŸ‘€

and that's the whole page, bestie β€” no more sections hiding at the bottom. πŸŽ€

sign-off time ✨ this little gem lives under ./drivers/hid/intel-ish-hid/ipc, dated October 2026, and it's page ish_disable_dma(9). go forth and disable that dma. slay. πŸ’œπŸ“

πŸ“¦ where this page comes from