Symbol: tc_bus
arch/mips/dec/tc.c
39
int __init tc_bus_get_info(struct tc_bus *tbus)
drivers/tc/tc.c
154
if (tc_bus_get_info(&tc_bus))
drivers/tc/tc.c
157
INIT_LIST_HEAD(&tc_bus.devices);
drivers/tc/tc.c
158
dev_set_name(&tc_bus.dev, "tc");
drivers/tc/tc.c
159
if (device_register(&tc_bus.dev))
drivers/tc/tc.c
162
if (tc_bus.info.slot_size) {
drivers/tc/tc.c
163
unsigned int tc_clock = tc_get_speed(&tc_bus) / 100000;
drivers/tc/tc.c
166
"(with%s parity)\n", tc_bus.info.revision,
drivers/tc/tc.c
168
tc_bus.info.parity ? "" : "out");
drivers/tc/tc.c
170
tc_bus.resource[0].start = tc_bus.slot_base;
drivers/tc/tc.c
171
tc_bus.resource[0].end = tc_bus.slot_base +
drivers/tc/tc.c
172
(tc_bus.info.slot_size << 20) *
drivers/tc/tc.c
173
tc_bus.num_tcslots - 1;
drivers/tc/tc.c
174
tc_bus.resource[0].name = tc_bus.name;
drivers/tc/tc.c
175
tc_bus.resource[0].flags = IORESOURCE_MEM;
drivers/tc/tc.c
177
&tc_bus.resource[0]) < 0) {
drivers/tc/tc.c
181
if (tc_bus.ext_slot_size) {
drivers/tc/tc.c
182
tc_bus.resource[1].start = tc_bus.ext_slot_base;
drivers/tc/tc.c
183
tc_bus.resource[1].end = tc_bus.ext_slot_base +
drivers/tc/tc.c
184
tc_bus.ext_slot_size *
drivers/tc/tc.c
185
tc_bus.num_tcslots - 1;
drivers/tc/tc.c
186
tc_bus.resource[1].name = tc_bus.name;
drivers/tc/tc.c
187
tc_bus.resource[1].flags = IORESOURCE_MEM;
drivers/tc/tc.c
189
&tc_bus.resource[1]) < 0) {
drivers/tc/tc.c
195
tc_bus_add_devices(&tc_bus);
drivers/tc/tc.c
201
release_resource(&tc_bus.resource[0]);
drivers/tc/tc.c
203
put_device(&tc_bus.dev);
drivers/tc/tc.c
27
static struct tc_bus tc_bus = {
drivers/tc/tc.c
34
static void __init tc_bus_add_devices(struct tc_bus *tbus)
drivers/video/fbdev/pmagb-b-fb.c
187
struct tc_bus *tbus = to_tc_dev(info->device)->bus;
include/linux/tc.h
116
static inline unsigned long tc_get_speed(struct tc_bus *tbus)
include/linux/tc.h
139
extern int tc_bus_get_info(struct tc_bus *tbus);
include/linux/tc.h
82
struct tc_bus *bus; /* Bus this device is on. */