gma_i2c_create(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, welcome to the Kernel API Manual β€” section 9, obviously β€” and say hi to gma_i2c_create. It instantiates an Intel i2c bus using the specified GPIO reg. πŸ’… That's the whole vibe: make the bus, get it out into the world, iykyk.

πŸŽ€ SYNOPSIS πŸŽ€

struct gma_i2c_chan * gma_i2c_create (struct drm_device *dev , const u32
reg , const char *name );

🌸 ARGUMENTS 🌸

  • dev β€” the DRM device. main-character device energy.
  • reg β€” the GPIO reg to use. pick the right one, bestie.
  • name β€” the name for this bus. name it something cute but, like, functional.

πŸ¦‹ DESCRIPTION πŸ¦‹

Creates and registers a new i2c bus with the Linux i2c layer, for use in output probing and control (e.g. DDC or SDVO control functions). obsessed with a bus that does its job. ✨

Possible values for reg include: GPIOA, GPIOB, GPIOC, GPIOD, GPIOE, GPIOF, GPIOG, GPIOH β€” see PRM for details on how these different busses are used. no cap, the PRM has the lore.

πŸ’– SEE ALSO πŸ’–


and that's the page, bestie 🫢 this lil source/version corner is ./drivers/gpu/drm/gma500, dated October 2026 β€” bye, slay, and close your color tags πŸ’œβœ¨

πŸ“¦ where this page comes from