hte_push_ts_ns(9)
π hte_push_ts_ns(9) β like, the Kernel API Manual page, but fun π
okay so bestie, we're in the Kernel API Manual today and this one is honestly such a serve β it's the little function that pushes timestamp data around in nanoseconds β±οΈβ¨. Yes, nanoseconds. She's precise. She's iconic. Let's get into it π
β¨ NAME β¨
hte_push_ts_ns β push timestamp data in nanoseconds π
π¦ SYNOPSIS π¦
int hte_push_ts_ns (const struct hte_chip *chip , u32 xlated_id , struct
hte_ts_data *data );
that's the whole vibe right there, no cap π₯
πΈ ARGUMENTS πΈ
chipβ the HTE chip π«Ά. It gets used during the registration, that's its whole moment.xlated_idβ the entity id, and this one's understood by both the subsystem and the provider (collab of the century honestly π). You get it from thexlatecallback during the request API.dataβ timestamp data π. That's it, that's the arg.
π DESCRIPTION π
So the provider uses this to push timestamp data. That's the whole job π―. She pushes. Timestamps happen. Nanoseconds. Live, laugh, love πβ¨.
π RETURN π
0on success π₯³- or a negative error code on failure π (we don't love that for us, but it happens)
π§ SEE ALSO π§
go read the kernel file ./drivers/hte/hte.c first, fr fr β then these besties:
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_get_clk_src_info(9)devm_hte_register_chip(9)
like, a whole friend group ππ¦πΈ
π reminder bestie: failure gives you a negative error code, not just any old error code. negative. clock it.
okay and that's a wrap on this page! π she lives in ./drivers/hte and the docs stamped her October 2026 β mwah, see you in the next one, periodt π
β¨π«Ά
π¦ 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