Home
last modified time | relevance | path

Searched refs:tdrv (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/tc/
Dtc-driver.c28 int tc_register_driver(struct tc_driver *tdrv) in tc_register_driver() argument
30 return driver_register(&tdrv->driver); in tc_register_driver()
43 void tc_unregister_driver(struct tc_driver *tdrv) in tc_unregister_driver() argument
45 driver_unregister(&tdrv->driver); in tc_unregister_driver()
59 static const struct tc_device_id *tc_match_device(struct tc_driver *tdrv, in tc_match_device() argument
62 const struct tc_device_id *id = tdrv->id_table; in tc_match_device()
88 struct tc_driver *tdrv = to_tc_driver(drv); in tc_bus_match() local
91 id = tc_match_device(tdrv, tdev); in tc_bus_match()
/linux-6.1.9/include/linux/
Dtc.h125 extern int tc_register_driver(struct tc_driver *tdrv);
126 extern void tc_unregister_driver(struct tc_driver *tdrv);
130 static inline int tc_register_driver(struct tc_driver *tdrv) { return 0; } in tc_register_driver() argument
131 static inline void tc_unregister_driver(struct tc_driver *tdrv) { } in tc_unregister_driver() argument
/linux-6.1.9/drivers/bus/
Dmoxtet.c89 struct moxtet_driver *tdrv = to_moxtet_driver(drv); in moxtet_match() local
95 if (!tdrv->id_table) in moxtet_match()
98 for (t = tdrv->id_table; *t; ++t) in moxtet_match()