ish_wakeup(9)
π ish_wakeup(9) π
okay so bestie, welcome to the Kernel API Manual β yes that's the manual name, we're in the big-kid section now, and today's main character is ish_wakeup β¨
πΈ NAME πΈ
ish_wakeup β wakeup ishfw from waiting-for-host state
like literally, it's the "hey girl wake UP" of kernel functions π«Ά
π¦ SYNOPSIS π¦
int ish_wakeup (struct ishtp_device *dev );
that's it. that's the whole invite. one function, one argument, very demure π
π ARGUMENTS π
devβ ishtp device pointer. it's the device, the one we're waking up. no notes π
β DESCRIPTION β
okay so here's the vibe: ish_wakeup sets the dma enable bit and sends a IPC RESET message to FW, and that combo is what wakes the FW up out of its waiting-for-host state π΄β‘οΈπ
like the FW is just over there napping, waiting for the host, and this function is the friend who bursts in and goes "BESTIE. we have things to do." no cap π₯
so, recap for the girlies taking notes:
- set the dma enable bit β¨
- send a IPC RESET message to FW β¨
- FW is now awake and out of waiting-for-host state β¨ slay
π RETURN π
0for success π- anything else = error code π
so like, check it. 0 is the good one. don't be out here ignoring a nonzero return, that's giving chaos π
π SEE ALSO π
so many friends in the group chat, let me introduce everyone π
the kernel file lives at ./drivers/hid/intel-ish-hid/ipc/ipc.c and honestly it's an iconic little directory, and while you're there go say hi to:
ish_reg_read(9), ish_reg_write(9), _ish_read_fw_sts_reg(9), check_generated_interrupt(9), ish_is_input_ready(9), set_host_ready(9), ishtp_fw_is_ready(9), ish_set_host_rdy(9), ish_clr_host_rdy(9), ish_set_host_ready(9), _ishtp_read_hdr(9), _ishtp_read(9), write_ipc_from_queue(9), write_ipc_to_queue(9), ipc_send_mng_msg(9), timed_wait_for_timeout(9), ish_fw_reset_handler(9), fw_reset_work_fn(9), _ish_sync_fw_clock(9), recv_ipc(9), ish_irq_handler(9), ish_disable_dma(9), _ish_hw_reset(9), _ish_ipc_reset(9), ish_hw_start(9), ish_ipc_get_header(9), _dma_no_cache_snooping(9), ish_dev_init(9), ish_device_disable(9)
that's the whole squad, fr fr. every single one. collect them all π§
ngl bestie, if you got here from a different page, hi, you're doing great, keep reading π«Ά
and that's the page! this icon was brought to you by the ./drivers/hid/intel-ish-hid/ipc directory, dated October 2026, and yeah we're still on ish_wakeup(9) π mwah, go wake something up π π
π¦ 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