cmd_db_read_slave_id(9)
π NAME π
cmd_db_read_slave_id β okay bestie, welcome to the Kernel API Manual; this function is literally about getting the slave ID for a given resource address. β¨
πΈ SYNOPSIS πΈ
enum cmd_db_hw_type cmd_db_read_slave_id (const char *id );
π¦ ARGUMENTS π¦
idβ the resource id you're querying the DB with for version. π«Ά
π RETURN π
It gives you back a cmd_db_hw_type enum on success, and CMD_DB_HW_INVALID on error. That's the whole return vibe. π
π SEE ALSO π
Go read these too, bestie:
- Kernel file
./drivers/soc/qcom/cmd-db.c struct entry_header(9)struct rsc_hdr(9)struct cmd_db_header(9)Description of the Command DB database.(9)cmd_db_ready(9)cmd_db_read_addr(9)cmd_db_read_aux_data(9)cmd_db_match_resource_addr(9)
okay bye bestie β this page lives under source/version ./drivers/soc/qcom, dated October 2026, and it's all for cmd_db_read_slave_id(9). 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