Home
last modified time | relevance | path

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

/linux/drivers/tc/
H A 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(const struct tc_driver *tdrv, in tc_match_device() argument
62 const struct tc_device_id *id = tdrv->id_table; in tc_match_device()
88 const 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/include/linux/
H A 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