i3c_dev_get_master_data(9)
π i3c_dev_get_master_data π
okay so bestie, welcome to the Kernel API Manual β¨ β this one's a tiny little function living in i3c_dev_get_master_data(9) land, and honestly? it's giving "small but mighty" π
πΈ NAME πΈ
i3c_dev_get_master_data β get master private data attached to an I3C device descriptor π¦
like, it goes and fetches the private data that some master parked on an I3C device descriptor. that's the whole vibe check, no cap.
β¨ SYNOPSIS β¨
void * i3c_dev_get_master_data (const struct i3c_dev_desc *dev );
literally one argument. one return. immaculate minimalism π
π«Ά ARGUMENTS π«Ά
devβ the I3C device descriptor you wanna pull private data out of. that's it, that's the whole parameter. it'sconst struct i3c_dev_desc *so like, don't even think about messing with it π
π RETURN π
returns the private data that was previously attached with i3c_dev_set_master_data β y'know, the matching setter, the other half of the duo π
or, if nobody attached anything to the device: NULL. that's it. no data attached, no data back, zero drama, fr fr.
π SEE ALSO π
so this is the part where the manpage just. lists. everything. and I mean everything β the whole friend group, the whole contact list, the entire group chat π all from the kernel file ./include/linux/i3c/master.h:
struct i3c_i2c_dev_desc(9)struct i2c_dev_boardinfo(9)struct i2c_dev_desc(9)struct i3c_ibi_slot(9)struct i3c_device_ibi_info(9)struct i3c_dev_boardinfo(9)struct i3c_dev_desc(9)struct i3c_device(9)enum i3c_bus_mode(9)enum i3c_open_drain_speed(9)enum i3c_addr_slot_status(9)struct i3c_bus(9)struct i3c_master_controller_ops(9)struct i3c_master_controller(9)i3c_bus_for_each_i2cdev(9)i3c_bus_for_each_i3cdev(9)struct i3c_dma(9)i3c_dev_set_master_data(9)i2c_dev_get_master_data(9)i2c_dev_set_master_data(9)i3c_dev_get_master(9)i2c_dev_get_master(9)i3c_master_get_bus(9)
like I said. the whole squad π§π the i2c cousins are all here too, it's a family reunion.
π quick reminder bestie: thesetversion isi3c_dev_set_master_dataβ this page only gets. don't come for me if you tried to set data with the getter, that's on you π
and that's the page!! short, sweet, extremely iconic β source/version is ./include/linux/i3c, dated October 2026, from the Kernel API Manual β mwah, love u, go attach some private data responsibly πππ
π¦ 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