Searched refs:tdrv (Results 1 – 2 of 2) sorted by relevance
28 int tc_register_driver(struct tc_driver *tdrv) in tc_register_driver() argument30 return driver_register(&tdrv->driver); in tc_register_driver()43 void tc_unregister_driver(struct tc_driver *tdrv) in tc_unregister_driver() argument45 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() argument62 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() local91 id = tc_match_device(tdrv, tdev); in tc_bus_match()
125 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() argument131 static inline void tc_unregister_driver(struct tc_driver *tdrv) { } in tc_unregister_driver() argument