hsi_alloc_controller(9)
hsi_alloc_controller(9) π β¨
π NAME π
From the Kernel API Manual, bestie: hsi_alloc_controller - Allocate an HSI controller and its ports π
πΈ SYNOPSIS πΈ
struct hsi_controller * hsi_alloc_controller (unsigned int n_ports ,
gfp_t flags );
π¦ ARGUMENTS π¦
n_portsβ Number of ports on the HSI controller. Like, how many ports are we giving this controller? π₯flagsβ Kernel allocation flags. The allocation flags, but make it kernel β¨
π DESCRIPTION π
Return NULL on failure or a pointer to an hsi_controller on success. So if it flops, you get NULL; if it slays, you get the pointer. No cap π
π SEE ALSO π
Okay so the whole friend group is here, plus the kernel file:
- Kernel file
./drivers/hsi/hsi_core.c hsi_port_unregister_clients(9)hsi_unregister_controller(9)hsi_register_controller(9)hsi_register_client_driver(9)hsi_put_controller(9)hsi_free_msg(9)hsi_alloc_msg(9)hsi_async(9)hsi_claim_port(9)hsi_release_port(9)hsi_register_port_event(9)hsi_unregister_port_event(9)hsi_event(9)hsi_get_channel_id_by_name(9)
xoxo, source ./drivers/hsi Β· dated October 2026 Β· page hsi_alloc_controller(9) π
π¦ 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