regmap_get_val_bytes(9)
β¨ regmap_get_val_bytes β¨
okay so bestie, welcome to the regmap_get_val_bytes(9) glow-up β it's a page from the Kernel API Manual, and it's honestly iconic in how tiny it is π
πΈ NAME πΈ
regmap_get_val_bytes β literally just tells you the size of a register value π
π¦ SYNOPSIS π¦
int regmap_get_val_bytes (struct regmap *map );
π ARGUMENTS π
mapβ the register map you're operating on π«Ά that's it, that's the whole arg
β DESCRIPTION β
So the way this works: you call it and it reports the size of a register value β¨ β think of it as the vibe check for how many bytes a value takes up.
It's mainly intended for use by generic infrastructure built on top of regmap, so likeβ¦ not really a main character call for you personally, more of a backstage crew situation. iykyk π
π SEE ALSO π
Kernel file ./drivers/base/regmap/regmap.c β and the whole extended fam π₯°:
devm_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_get_device(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_max_register(9)regmap_get_reg_stride(9)regmap_might_sleep(9)
ngl the whole posse is listed up there β go click around, it's giving family reunion π
<div align="center">π</div>
and that's the whole page bestie, no cap π§ this lil masterpiece lives in ./drivers/base/regmap, dated October 2026, from the Kernel API Manual β mwah, slay, 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