regmap_get_reg_stride(9)
π regmap_get_reg_stride(9) β the kernel API manual, bestie edition
okay so bestie, welcome to regmap_get_reg_stride from the Kernel API Manual β¨ this one's a tiny little function but it's lowkey carrying the whole generic-infrastructure friend group, and i'm obsessed with how unserious it is. let's get into it π
β¨ NAME β¨
regmap_get_reg_stride β report the register address stride π«
like, it just tells you the stride. that's the whole job. she's an icon, she's a legend, and she's literally one int. periodt.
πΈ SYNOPSIS πΈ
int regmap_get_reg_stride (struct regmap *map );
yup, that's it. one function, one argument, one int coming back at you. no cap, it's giving "i have one job and i ate" π«Ά
π¦ ARGUMENTS π¦
mapβ the register map you're operating on, bestie. that's the one. you hand her the map, she gives you the stride. simple as that π
π DESCRIPTION π
so here's the vibe: regmap_get_reg_stride reports the register address stride π
and the key iykyk detail? it's mainly intended for use by generic infrastructure built on top of regmap β so it's not really the function you call in your random driver on a whim, it's the function the framework-y besties call when they're building stuff on top of regmap. she's infrastructure support, she's the backstage crew, she's main character energy in a supporting role π
π₯ SEE ALSO π₯
okay this list is LONG and honestly it's giving guest list at the function of the year π but every single one of these cuties is invited, so:
- kernel file
./drivers/base/regmap/regmap.c 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_val_bytes(9)regmap_get_max_register(9)regmap_might_sleep(9)
that's forty-one entries plus the kernel file, bestie. i counted. do not ask me to count again π
π§ cute little sign-off π§
and that's the whole page!! π this legend lives over in ./drivers/base/regmap, the version stamp says October 2026, and the source is the good old Kernel API Manual β so next time someone asks you for the register address stride, you know exactly who to call. slay, bye π
β¨π
π¦ 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