of_hte_req_count(9)
π of_hte_req_count(9) π
okay so bestie, welcome to the of_hte_req_count page from the Kernel API Manual β yes it's a real manual page, yes it's (9), and yes we're gonna read it together π«Ά
β¨ NAME β¨
of_hte_req_count β returns the number of entities to timestamp. that's it, that's the whole vibe π
πΈ SYNOPSIS πΈ
int of_hte_req_count (struct device *dev );
literally one argument, no cap. she's lowkey elegant like that β¨
π ARGUMENTS π
devβ the HTE consumer. that's the device we're asking about, she's the main character here π
π¦ DESCRIPTION π¦
so what does she do? the function returns the total count of the requested entities to timestamp, and she gets that number by parsing the device tree π highkey iconic behaviour, parsing device tree for a living.
β RETURN β
- Positive number on success π slay
-ENOENTif there are no entries π (not found energy)-EINVALfor other errors π (invalid, as the name suggests)
ngl bestie, check that return value. negative numbers mean something went wrong and you will simply have to deal with it π
π SEE ALSO π
- Kernel file
./drivers/hte/hte.c struct hte_ts_info(9)struct hte_device(9)hte_ts_put(9)hte_disable_ts(9)hte_enable_ts(9)hte_ts_get(9)hte_request_ts_ns(9)devm_hte_request_ts_ns(9)hte_init_line_attr(9)hte_get_clk_src_info(9)hte_push_ts_ns(9)devm_hte_register_chip(9)
like, the whole HTE friend group fr fr π§ go read them too, iykyk π
and that's the page!! π this came out of ./drivers/hte and it's dated October 2026, so mark your calendars bestie, mwah πβ¨
π¦ 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