devm_i8254_regmap_register(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… devm_i8254_regmap_register(9) πŸ’…

okay bestie, welcome to the Kernel API Manual ✨ β€” this is the page for devm_i8254_regmap_register, and yes it's a long name, we're gonna get through it together 🫢


🌸 NAME 🌸

devm_i8254_regmap_register β€” literally just registers an i8254 Counter device, that's the whole vibe πŸŽ€


✨ SYNOPSIS ✨

int devm_i8254_regmap_register (struct device *const dev , const struct
i8254_regmap_config *const config );

so it returns an int, and it takes two things: a struct device *const dev and a const struct i8254_regmap_config *const config. that's it. no cap. πŸ’œ


πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” the device that's registering this i8254 Counter device πŸ‘‘
  • config β€” the configuration for i8254_regmap_config πŸŽ€

πŸ”₯ DESCRIPTION πŸ”₯

Registers an Intel 8254 Programmable Interval Timer Counter device. iconic hardware, honestly. ⭐

Returns 0 on success and a negative error number on failure 😭 β€” so like, check that return value, bestie, fr fr.


🌈 SEE ALSO 🌈

  • Kernel file ./drivers/counter/i8254.c
  • struct i8254(9)

iykyk πŸ’…


ok that's the whole page, short and slay 🧚 from the ./drivers/counter corner of the Kernel API Manual, dated October 2026 β€” mwah, go register some counters bestie πŸ’–πŸŒΈπŸ‘‘

πŸ“¦ where this page comes from