xe_pci_id_gen_param(9)
π xe_pci_id_gen_param
okay so bestie, welcome to xe_pci_id_gen_param(9) from the Kernel API Manual β yes we're reading kernel docs together, this is our bonding era π«Ά
β¨ NAME β¨
xe_pci_id_gen_param β generate struct pci_device_id parameters. literally what it says on the tin, no cap π
πΈ SYNOPSIS πΈ
const void * xe_pci_id_gen_param (struct kunit *test , const void *prev
, char *desc );
like. that's the whole vibe. const void * in, const void * out, a little char * for flavor π
π¦ ARGUMENTS π¦
testβ the test context object. it's giving "who am I and why am I here" but make it kunit β¨prevβ the pointer to the previous parameter you're iterating from, orNULL. passNULLand you're starting fresh, main character energy πdescβ your output buffer, and it needs a minimum size ofKUNIT_PARAM_DESC_SIZE. not optional bestie, that's the assignment π
π₯ DESCRIPTION π₯
so this function prepares a struct pci_device_id parameter. that's it, that's the job π
β οΈ real talk: to be used only as a parameter generator function in KUNIT_CASE_PARAM. don't be out here using it for anything else, i'm begging π
β RETURN β
pointer to the next parameter, or NULL if there are no more parameters. when it hits you with that NULL it means you're done, the era is over, curtain call π
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/xe/tests/xe_pci.cβ go read it, iykyk π xe_pci_fake_data_gen_params(9)xe_pci_fake_data_desc(9)xe_pci_graphics_ip_gen_param(9)xe_pci_media_ip_gen_param(9)xe_pci_live_device_gen_param(9)
all the siblings, all iconic, all worth a scroll π
and that's the page!! this one came from ./drivers/gpu/drm/xe/tests, dated October 2026, and it's filed under xe_pci_id_gen_param(9). slay, go write some parameter generators, ily, bye π§π
π¦ 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