Searched refs:tbus (Results 1 - 6 of 6) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/dec/
H A Dtc.c39 int __init tc_bus_get_info(struct tc_bus *tbus) argument
44 memcpy(&tbus->info, rex_gettcinfo(), sizeof(tbus->info));
45 tbus->slot_base = CPHYSADDR((long)rex_slot_address(0));
49 tbus->num_tcslots = 7;
53 tbus->ext_slot_base = 0x20000000;
54 tbus->ext_slot_size = 0x20000000;
57 tbus->num_tcslots = 3;
60 tbus->num_tcslots = 2;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dtc.h115 static inline unsigned long tc_get_speed(struct tc_bus *tbus) argument
117 return 100000 * (10000 / (unsigned long)tbus->info.clk_period);
138 extern int tc_bus_get_info(struct tc_bus *tbus);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/tc/
H A Dtc.c32 static void __init tc_bus_add_devices(struct tc_bus *tbus) argument
34 resource_size_t slotsize = tbus->info.slot_size << 20;
35 resource_size_t extslotsize = tbus->ext_slot_size;
45 for (slot = 0; slot < tbus->num_tcslots; slot++) {
46 slotaddr = tbus->slot_base + slot * slotsize;
47 extslotaddr = tbus->ext_slot_base + slot * extslotsize;
90 tdev->bus = tbus;
91 tdev->dev.parent = &tbus->dev;
132 list_add_tail(&tdev->node, &tbus->devices);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/pci/hotplug/
H A Dcpqphp_pci.c211 u8 tbus; local
234 pci_bus_read_config_byte (ctrl->pci_bus, PCI_DEVFN(tdevice, 0), PCI_SECONDARY_BUS, &tbus);
235 dbg("Recurse on bus_num %d tdevice %d\n", tbus, tdevice);
236 if (PCI_ScanBusNonBridge(tbus, tdevice) == 0)
252 u8 tbus, tdevice, tslot; local
267 tbus = PCIIRQRoutingInfoLength->slots[loop].bus;
272 *bus_num = tbus;
274 ctrl->pci_bus->number = tbus;
286 pci_bus_read_config_byte (ctrl->pci_bus, *dev_num, PCI_SECONDARY_BUS, &tbus);
287 dbg("Scan bus for Non Bridge: bus %d\n", tbus);
[all...]
H A Dcpqphp_core.c195 u8 tbus, tdevice, tslot; local
214 tbus = routing_table->slots[loop].bus;
217 dbg("%d %d %d %d\n", tbus, tdevice >> 3, tdevice & 0x7, tslot);
513 u8 tbus, tdevice, tslot, bridgeSlot; local
532 tbus = PCIIRQRoutingInfoLength->slots[loop].bus;
536 if ((tbus == bus_num) && (tdevice == dev_num)) {
549 bus->number = tbus;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/video/
H A Dpmagb-b-fb.c189 struct tc_bus *tbus = to_tc_dev(info->device)->bus; local
191 u32 freq0, freq1, freqtc = tc_get_speed(tbus) / 250;

Completed in 92 milliseconds