camss_get_link_freq(9)
π camss_get_link_freq(9) π
okay so bestie, welcome to camss_get_link_freq(9) β section 9 of the Kernel API Manual, aka the kernel-functions corner of the docs. this one's short and sweet and it's literally just "hey sensor, what's your link frequency?" π
β¨ NAME β¨
camss_get_link_freq β get the link frequency from the sensor π¦
πΈ SYNOPSIS πΈ
s64 camss_get_link_freq (struct media_entity *entity , unsigned int bpp
, unsigned int lanes );
that's the whole signature, no cap. it returns an s64, takes a struct media_entity * plus two unsigned ints. slay. π
π«Ά ARGUMENTS π«Ά
entityβ the media entity that's chillin' in the current pipeline πbppβ number of bits per pixel for the current format, iykyk βlanesβ number of lanes in the link to the sensor π₯
π DESCRIPTION π
so what does it actually do? it returns the link frequency on success π β or a negative error code if things did not go well π. that's it. that's the whole vibe. periodt.
ngl, if you get a negative number back, that's your sign something went sideways β don't come for the function, check your pipeline bestie π
π§ SEE ALSO π§
- Kernel file
./drivers/media/platform/qcom/camss/camss.cβ go read it, it's giving main character energy π
and that's the tea, bestie ππ β this page came from the source ./drivers/media/platform/qcom/... and it's dated October 2026, so keep that in mind when you cite it. 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