Home
last modified time | relevance | path

Searched refs:tc_bus (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/tc/
H A Dtc.c27 static struct tc_bus tc_bus = { variable
34 static void __init tc_bus_add_devices(struct tc_bus *tbus) in tc_bus_add_devices()
154 if (tc_bus_get_info(&tc_bus)) in tc_init()
157 INIT_LIST_HEAD(&tc_bus.devices); in tc_init()
158 dev_set_name(&tc_bus.dev, "tc"); in tc_init()
159 if (device_register(&tc_bus.dev)) in tc_init()
162 if (tc_bus.info.slot_size) { in tc_init()
163 unsigned int tc_clock = tc_get_speed(&tc_bus) / 100000; in tc_init()
166 "(with%s parity)\n", tc_bus.info.revision, in tc_init()
168 tc_bus.info.parity ? "" : "out"); in tc_init()
[all …]
/openbmc/linux/include/linux/
H A Dtc.h64 struct tc_bus { struct
82 struct tc_bus *bus; /* Bus this device is on. */ argument
116 static inline unsigned long tc_get_speed(struct tc_bus *tbus) in tc_get_speed()
139 extern int tc_bus_get_info(struct tc_bus *tbus);
/openbmc/linux/arch/mips/dec/
H A Dtc.c39 int __init tc_bus_get_info(struct tc_bus *tbus) in tc_bus_get_info()
/openbmc/linux/drivers/video/fbdev/
H A Dpmagb-b-fb.c187 struct tc_bus *tbus = to_tc_dev(info->device)->bus; in pmagbbfb_osc_setup()