regmap_mult...ite_bypassed(9)
π regmap_mult...ite_bypassed(9) π
okay so this is a page from the Kernel API Manual, bestie, and it's about regmap_multi_reg_write_bypassed(9) β yes the title got cutely truncated up top but we know her full name, don't worry π
β¨ NAME β¨
regmap_multi_reg_write_bypassed β write multiple registers to the device but not the cache. she's giving "I'll tell the hardware, I just won't tell the cache" π
πΈ SYNOPSIS πΈ
int regmap_multi_reg_write_bypassed (struct regmap *map , const struct reg_sequence *regs , int num_regs );
π¦ ARGUMENTS π¦
mapβ the register map you're writing to. your main character struct, literally πregsβ an array of structures, and each one contains the register + value that's gonna be written. it's a whole little lineup of glow-ups β¨num_regsβ the number of registers to write. count 'em, don't guess π«Ά
π DESCRIPTION π
So what she does is: write multiple registers to the device but not the cache, and the set of registers gets supplied in any order. no sorting required, she's flexible like that π
This function is intended to be used for writing a large block of data atomically to the device in a single transfer β for those I2C client devices that implement this alternative block write mode. one transfer, all the data, no crumbs. iconic behavior ngl π₯
A value of zero will be returned on success, and a negative errno will be returned in error cases. so like, 0 = slay, negative errno = π
fr fr tho: zero is success, negative errno is the bad timeline. memorize it, it's on the vibe check π
π SEE ALSO π
- Kernel file
./drivers/base/regmap/regmap.c(the source, the mothership π§) 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_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)
and that's the whole page, bestie, you ate π
β¨ this one lives in ./drivers/base/regmap and it's dated October 2026 β so like, mark your calendar and stan 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