gma_i2c_create(9)
β¨ 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 π
- Kernel file
./drivers/gpu/drm/gma500/intel_i2c.c gma_i2c_destroy(9)
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
- 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