regmap_raw_read(9)
π regmap_raw_read(9) β Kernel API Manual π
okay so bestie, this is the manual page for regmap_raw_read, from the Kernel API Manual. it's short, it's sweet, and it does exactly one thing. let's get into it β¨
πΈ NAME πΈ
regmap_raw_read β Read raw data from the device π
like, literally just. reading. raw data. from the device. that's the whole vibe. no cap.
π¦ SYNOPSIS π¦
int regmap_raw_read (struct regmap *map , unsigned int reg , void *val ,
size_t val_len );
it returns an int, bestie. keep that in mind. π
π ARGUMENTS π
mapβ the register map you're reading from. this is your main character struct πregβ the first register to be read from. yes, the first one. it starts there and goes. π«Άvalβ a pointer to where the read value gets stored. pls make sure it's a real place to put things πval_lenβ the size of the data to read. how much are we reading? this much. π
β¨ DESCRIPTION β¨
so here's the tea π: a value of zero will be returned on success. zero = slay. zero = we ate. π
and a negative errno will be returned in error cases. so if you see a negative number, that's not a vibe. that's an error case. π
that's genuinely the whole description. short king energy. no notes. π
π SEE ALSO π
first up, the source of truth β kernel file ./drivers/base/regmap/regmap.c π§
and then, bestie, the whole extended friend group. every single one. i'm not leaving anyone out, that would be rude:
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_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, that's a whole group chat right there. iykyk π«Ά
so yeah, that's the page! π this lil beauty lives in ./drivers/base/regmap and it's dated October 2026 β which is, yes, a future date, and honestly? iconic of it. π
β¨
π¦ 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