tb_cfg_request(9)
π NAME π
tb_cfg_request β Start control request not waiting for it to complete.
Hi bestie! You're in the Kernel API Manual, on the tb_cfg_request(9) page. Strap in, this one's short and sweet π
β¨ SYNOPSIS β¨
The whole signature, exactly, no edits:
int tb_cfg_request (struct tb_ctl *ctl , struct tb_cfg_request *req ,
void (*callback)(void *) , void *callback_data );
π¦ ARGUMENTS π¦
ctlβ the control channel to use, periodt.reqβ the request to start. Like, actually start it, bestie.callbackβ callback called when the request is completed. Main character energy.callback_dataβ data to be passed tocallback.
πΈ DESCRIPTION πΈ
Okay so this is lowkey the async one: it queues req on the given control channel without waiting for it to complete. Then, when the request completes, callback is called. That's the whole vibe, and it's iconic β¨
π₯ RETURN π₯
0 on success, negative errno otherwise. No cap, that's the return contract π
π SEE ALSO π
Go vibe with these, bestie:
- Kernel file
./drivers/thunderbolt/ctl.c+struct tb_ctl(9)β the kernel file and the struct, iykyk. tb_cfg_request_alloc(9)tb_cfg_request_get(9)tb_cfg_request_put(9)tb_cfg_request_cancel(9)tb_cfg_request_sync(9)tb_ctl_alloc(9)tb_ctl_free(9)tb_ctl_start(9)tb_ctl_stop(9)tb_cfg_ack_notification(9)tb_cfg_ack_plug(9)tb_cfg_reset(9)tb_cfg_read_raw(9)tb_cfg_write_raw(9)tb_cfg_get_upstream_port(9)
Okay that's the whole page, bestie π It's from ./drivers/thunderbolt, dated October 2026, and it's tb_cfg_request(9) from the Kernel API Manual β bye, love you, slay π
π¦ 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