Searched refs:tdrv (Results 1 – 3 of 3) 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(struct tc_driver *tdrv, in tc_match_device() argument62 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() 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
89 struct moxtet_driver *tdrv = to_moxtet_driver(drv); in moxtet_match() local95 if (!tdrv->id_table) in moxtet_match()98 for (t = tdrv->id_table; *t; ++t) in moxtet_match()