cdx_match_id(9)
okay so bestie, welcome to cdx_match_id(9) from the Kernel API Manual β page title and manual name, folded in all cute near the top π«Ά. This one is about seeing if a CDX device matches a given cdx_id table, and itβs giving matchmaker energy π
.
πΈ NAME πΈ
cdx_match_id β See if a CDX device matches a given cdx_id table. periodt.
β¨ SYNOPSIS β¨
the signature, untouched because we do not mess with code:
const struct cdx_device_id * cdx_match_id (const struct cdx_device_id
*ids , struct cdx_device *dev );
π ARGUMENTS π
idsβ array of CDX device ID structures to search in. this is the search zone, bestie πdevβ the CDX device structure to match against. this is the device in question π«Ά
π¦ DESCRIPTION π¦
Used by a driver to check whether a CDX device is in its list of supported devices. Returns the matching cdx_device_id structure or NULL if there is no match. literally a vibe check for devices π
.
π RETURN π
matching cdx_device_id structure or NULL if there is no match. no match means NULL, and thatβs periodt π.
π SEE ALSO π
Kernel file ./drivers/cdx/cdx.c β and the rest of the squad:
cdx_dev_reset(9)reset_cdx_device(9)cdx_unregister_device(9)cdx_match_one_device(9)cdx_bus_match(9)cdx_mmap_resource(9)
sending you off from source/version ./drivers/cdx, dated October 2026 β kisses, and go read those manpages bestie π
π¦ 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