host1x_device_init(9)
π
host1x_device_init(9) β Kernel API Manual β¨
okay bestie, welcome to the host1x corner of the kernel π this page is short but it's lowkey important, so let's get into it.
πΈ NAME πΈ
host1x_device_init β initialize a host1x logical device π
β¨ SYNOPSIS β¨
int host1x_device_init (struct host1x_device *device );
It's giving int return type, and it takes one pointer, no cap π
π ARGUMENTS π
deviceβ the host1x logical device π«Ά
π¦ DESCRIPTION π¦
okay so picture this: the driver for the host1x logical device can call host1x_device_init during execution of its host1x_driver.probe implementation, and the whole point is to initialize each of its clients β¨. that's the main-character job.
Then the client drivers access the subsystem specific driver data using the host1x_client.parent field and driver data associated with it β usually by calling dev_get_drvdata π
. iykyk.
π SEE ALSO π
Kernel file: ./drivers/gpu/host1x/bus.c π
host1x_subdev_add(9)host1x_subdev_del(9)host1x_device_parse_dt(9)host1x_device_exit(9)host1x_register(9)host1x_unregister(9)host1x_driver_register_full(9)host1x_driver_unregister(9)__host1x_client_init(9)host1x_client_exit(9)__host1x_client_register(9)host1x_client_unregister(9)host1x_bo_pin(9)host1x_bo_unpin(9)host1x_bo_clear_cached_mappings(9)
And that's the whole page, bestie β short, sweet, and fully initialized π§π. This manual page's source/version line points at ./drivers/gpu/host1x with the date October 2026, and the page itself is host1x_device_init(9) πβ¨.
π¦ 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