qcom_labibb_check_sc_status(9)
β¨ NAME β¨
qcom_labibb_check_sc_status β check the Short Circuit Protection status, bestie π
. This page is from the Kernel API Manual, and itβs giving βtiny function, very important safety vibesβ. π¦
β¨ SYNOPSIS β¨
int qcom_labibb_check_sc_status (struct labibb_regulator *vreg );
β¨ ARGUMENTS β¨
vregβ the main driver structure. Thatβs literally the whole argument, no cap. π«Ά
β¨ DESCRIPTION β¨
Okay so this function checks the STATUS1 register on both the LAB and IBB regulators for the ShortCircuit bit. If itβs set on any of them, then we have experienced a short-circuit event. ππ₯
β¨ RETURN β¨
- Zero if there is no short-circuit
- 1 if in short-circuit
- a negative number for error
β¨ SEE ALSO β¨
- Kernel file
./drivers/regulator/qcom-labibb-regulator.c qcom_labibb_check_ocp_status(9)qcom_labibb_ocp_recovery_worker(9)qcom_labibb_ocp_isr(9)qcom_labibb_sc_recovery_worker(9)qcom_labibb_sc_isr(9)
Catch you later β source/version ./drivers/regulator, date October 2026. Mwah π, slay, and remember: a short-circuit bit on any regulator is main character energy in the worst way. 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