regmap_get_device(9)
π regmap_get_device β like, the official Kernel API Manual page, bestie β¨
okay so before we even start: this whole thing lives in the Kernel API Manual section (9), so if you see regmap_get_device(9) floating around, that's why. now let's get into it π
πΈ NAME πΈ
regmap_get_device β obtain the device from a regmap. that's it. that's the whole vibe check. you give it a regmap, it gives you the device back π«Ά
β¨ SYNOPSIS β¨
struct device * regmap_get_device (struct regmap *map );
look at that signature. so clean. so iconic. literally just hands you a struct device * π
π¦ ARGUMENTS π¦
mapβ the register map you wanna operate on. this is your girl. the one you're asking about π
π DESCRIPTION π
returns the underlying device that the regmap has been created for. no cap, that's the entire function. it's giving "one job and she does it perfectly." you pass the regmap, she hands back the device it belongs to, and everybody goes home happy π
π₯ SEE ALSO π₯
okay there's a lot here, so buckle up bestie, because the regmap family is huge and they all showed up to the group chat π
Kernel file ./drivers/base/regmap/regmap.cdevm_regmap_field_alloc(9)regmap_field_bulk_alloc(9)devm_regmap_field_bulk_alloc(9)regmap_field_bulk_free(9)devm_regmap_field_bulk_free(9)devm_regmap_field_free(9)regmap_field_alloc(9)regmap_field_free(9)regmap_reinit_cache(9)regmap_exit(9)dev_get_regmap(9)regmap_can_raw_write(9)regmap_get_raw_read_max(9)regmap_get_raw_write_max(9)regmap_write(9)regmap_write_async(9)regmap_raw_write(9)regmap_noinc_write(9)regmap_field_update_bits_base(9)regmap_field_test_bits(9)regmap_fields_update_bits_base(9)regmap_bulk_write(9)regmap_multi_reg_write(9)regmap_multi_reg_write_bypassed(9)regmap_raw_write_async(9)regmap_read(9)regmap_read_bypassed(9)regmap_raw_read(9)regmap_noinc_read(9)regmap_field_read(9)regmap_fields_read(9)regmap_bulk_read(9)regmap_multi_reg_read(9)regmap_update_bits_base(9)regmap_test_bits(9)regmap_async_complete(9)regmap_register_patch(9)regmap_get_val_bytes(9)regmap_get_max_register(9)regmap_get_reg_stride(9)regmap_might_sleep(9)
like genuinely go read some of these, they're the whole extended universe π
and that's the page!! sourced from ./drivers/base/regmap, dated October 2026, filed under regmap_get_device(9) β mwah, love that for us πβ¨ no notes. bye bestie, go get that device π§π
π¦ 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