Searched refs:tc_bus (Results 1 – 4 of 4) sorted by relevance
26 static struct tc_bus tc_bus = { variable33 static void __init tc_bus_add_devices(struct tc_bus *tbus) in tc_bus_add_devices()148 if (tc_bus_get_info(&tc_bus)) in tc_init()151 INIT_LIST_HEAD(&tc_bus.devices); in tc_init()152 dev_set_name(&tc_bus.dev, "tc"); in tc_init()153 if (device_register(&tc_bus.dev)) in tc_init()156 if (tc_bus.info.slot_size) { in tc_init()157 unsigned int tc_clock = tc_get_speed(&tc_bus) / 100000; in tc_init()160 "(with%s parity)\n", tc_bus.info.revision, in tc_init()162 tc_bus.info.parity ? "" : "out"); in tc_init()[all …]
64 struct tc_bus { struct82 struct tc_bus *bus; /* Bus this device is on. */ argument115 static inline unsigned long tc_get_speed(struct tc_bus *tbus) in tc_get_speed()138 extern int tc_bus_get_info(struct tc_bus *tbus);
39 int __init tc_bus_get_info(struct tc_bus *tbus) in tc_bus_get_info()
189 struct tc_bus *tbus = to_tc_dev(info->device)->bus; in pmagbbfb_osc_setup()