tc_bus_match(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– tc_bus_match(9) πŸ’–

okay bestie, welcome to the Kernel API Manual β€” this page is all about tc_bus_match, and it's giving very specific matchmaker energy for a device structure and a matching TC device ID structure. no cap, it's a tiny function with a very specific job ✨

🌸 NAME 🌸

tc_bus_match β€” tell if a device structure has a matching TC device ID structure πŸŽ€

✨ SYNOPSIS ✨

int tc_bus_match (struct device *dev , const struct device_driver *drv
       );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” the device structure to match against. this is the one we're checking, bestie 🫢
  • drv β€” the device driver to search for matching TC device ID strings. yes, it's out here looking for its match πŸ”

πŸ’… DESCRIPTION πŸ’…

so this one is used by a driver to check whether a TC device present in the system is in its list of supported devices. that's the whole plot. it returns 1 if there is a match, or 0 otherwise. iconic binary behavior, honestly πŸ‘‘

🌈 SEE ALSO 🌈


mwah πŸ’‹ this little page lives under ./drivers/tc and was dated October 2026 β€” go forth and match those devices, bestie πŸ’–

πŸ“¦ where this page comes from