regmap_multi_reg_read(9)
π NAME π
regmap_multi_reg_read β read multiple non-sequential registers from the device, bestie β¨
(Also, hi, this is the regmap_multi_reg_read(9) page from the Kernel API Manual β welcome to the group chat π«Ά)
πΈ SYNOPSIS πΈ
int regmap_multi_reg_read (struct regmap *map , const unsigned int *regs
, void *val , size_t val_count );
π ARGUMENTS π
mapβ the register map you're reading from, your main character πΊοΈβ¨regsβ an array of registers to read from, like a little guest list πvalβ pointer to store the read value, in the native register size for the device (so, device-dependent sizing, don't come for me) πΎval_countβ how many registers you're reading, i.e. the headcount π’
π¦ DESCRIPTION π¦
okay so. A value of zero will be returned on success ππ, and a negative errno will be returned in error cases ππ.
That's it, that's the whole vibe. No cap. π
Heads up bestie: non-sequential means the registers do NOT have to be next to each other in the address space β that's the whole point of this call π§ββοΈ
π₯ SEE ALSO π₯
Kernel file ./drivers/base/regmap/regmap.c β plus 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_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)
π that's the whole page, you ate that π
signing off from ./drivers/base/regmap β this was the Kernel API Manual edition, dated October 2026, and it's giving iconic. mwah πβ¨
π¦ 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