smi_i2c_probe(9)
okay bestie, welcome to smi_i2c_probe(9) from the Kernel API Manual π this page is short, itβs giving βtiny but important,β and we are keeping every single detail. no skips, periodt.
πΈ NAME πΈ
smi_i2c_probe β instantiate multiple I2C devices from the inst array. thatβs the name, bestie, and it ate.
β¨ SYNOPSIS β¨
the signature, verbatim, because we do not play with code:
int smi_i2c_probe (struct platform_device *pdev , struct smi *smi ,
const struct smi_instance *inst_array );
π ARGUMENTS π
three arguments, three vibe checks:
pdevβ the platform device. lowkey just the platform device, but highkey important.smiβ internal struct for the Serial multi instantiate driver.inst_arrayβ array of instances to probe. the lineup, the roster, the main characters.
π DESCRIPTION π
okay so hereβs the tea: this function returns the number of I2C devices instantiate β yes, βinstantiate,β thatβs the wording, donβt come for me π β and it returns Zero if none is found, or a negative error code. thatβs it. thatβs the description. short and iconic.
π¦ SEE ALSO π¦
go peep these too, bestie:
- Kernel file
./drivers/platform/x86/serial-multi-instantiate.c smi_spi_probe(9)
mwah π sign-off szn: source/version ./drivers/platform/x86, date October 2026, page smi_i2c_probe(9) β love u, bye π«Ά
π¦ 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