hte_get_clk_src_info(9)
okay bestie, welcome to hte_get_clk_src_info(9) from the Kernel API Manual β this is the little helper that gets the clock source information for a ts descriptor β¨
π NAME π
hte_get_clk_src_info β Get the clock source information for a ts descriptor. That's the whole vibe. π
π¦ SYNOPSIS π¦
int hte_get_clk_src_info (const struct hte_ts_desc *desc , struct hte_clk_info *ci );
πΈ ARGUMENTS πΈ
descβ ts descriptor, same as returned from request API. So it's the descriptor you already got back from the request API β don't go inventing a new one, bestie. π«Άciβ The API fills this structure with the clock information data. This is where the clock info lands, and the API does the filling. β¨
π CONTEXT π
Any context. Literally any context β it's not picky, no cap. π
β RETURN β
0 on success, else negative error code on failure. So if you get 0, slay; if you get a negative error code, that's the failure signal. π
π SEE ALSO π
Kernel file ./drivers/hte/hte.c β go peek if you're feeling nosy, iykyk.
struct hte_ts_info(9)struct hte_device(9)hte_ts_put(9)hte_disable_ts(9)hte_enable_ts(9)of_hte_req_count(9)hte_ts_get(9)hte_request_ts_ns(9)devm_hte_request_ts_ns(9)hte_init_line_attr(9)hte_push_ts_ns(9)devm_hte_register_chip(9)
source/version: ./drivers/hte Β· date: October 2026 π bye bestie, go get that clock info π
π¦ 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