amba_device_alloc(9)
π amba_device_alloc(9) π
hey bestie, welcome to the Kernel API Manual β this is the page for amba_device_alloc, and yes it's giving kernel-device-allocation realness. β¨
πΈ NAME πΈ
amba_device_alloc β allocate an AMBA device.
β¨ SYNOPSIS β¨
struct amba_device * amba_device_alloc (const char *name ,
resource_size_t base , size_t size );
π¬ ARGUMENTS π¬
nameβ sysfs name of the AMBA device. that's the label it goes by, periodt.baseβ base of AMBA device. literally the base.sizeβ size of AMBA device. the size, bestie.
π₯ DESCRIPTION π₯
okay so amba_device_alloc allocates and initializes an AMBA device structure. slay. and if something goes wrong? it returns NULL on failure β no cap, that's the failure signal. π
π SEE ALSO π
peep these, iykyk:
- Kernel file
./drivers/amba/bus.cβ__amba_driver_register(9),amba_driver_unregister(9),amba_device_add(9),amba_device_register(9),amba_device_put(9),amba_device_unregister(9),amba_request_regions(9),amba_release_regions(9)
mwah π β source/version: ./drivers/amba, date: October 2026.
π¦ 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