tbus 39 arch/mips/dec/tc.c int __init tc_bus_get_info(struct tc_bus *tbus) tbus 44 arch/mips/dec/tc.c memcpy(&tbus->info, rex_gettcinfo(), sizeof(tbus->info)); tbus 45 arch/mips/dec/tc.c tbus->slot_base = CPHYSADDR((long)rex_slot_address(0)); tbus 49 arch/mips/dec/tc.c tbus->num_tcslots = 7; tbus 53 arch/mips/dec/tc.c tbus->ext_slot_base = 0x20000000; tbus 54 arch/mips/dec/tc.c tbus->ext_slot_size = 0x20000000; tbus 57 arch/mips/dec/tc.c tbus->num_tcslots = 3; tbus 60 arch/mips/dec/tc.c tbus->num_tcslots = 2; tbus 285 drivers/net/ethernet/ti/netcp_xgbepcsr.c u32 tmp, dlpf, tbus; tbus 298 drivers/net/ethernet/ti/netcp_xgbepcsr.c tbus = netcp_xgbe_serdes_read_select_tbus(serdes_regs, lane + tbus 302 drivers/net/ethernet/ti/netcp_xgbepcsr.c tmp >> 2, tmp & 3, (tbus >> 2) & 3); tbus 164 drivers/pci/hotplug/cpqphp_core.c u8 tbus, tdevice, tslot; tbus 170 drivers/pci/hotplug/cpqphp_core.c tbus = cpqhp_routing_table->slots[loop].bus; tbus 173 drivers/pci/hotplug/cpqphp_core.c dbg("%d %d %d %d\n", tbus, tdevice >> 3, tdevice & 0x7, tslot); tbus 312 drivers/pci/hotplug/cpqphp_core.c u8 tbus, tdevice, tslot, bridgeSlot; tbus 320 drivers/pci/hotplug/cpqphp_core.c tbus = cpqhp_routing_table->slots[loop].bus; tbus 324 drivers/pci/hotplug/cpqphp_core.c if ((tbus == bus_num) && (tdevice == dev_num)) { tbus 337 drivers/pci/hotplug/cpqphp_core.c bus->number = tbus; tbus 203 drivers/pci/hotplug/cpqphp_pci.c u8 tbus; tbus 226 drivers/pci/hotplug/cpqphp_pci.c pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(tdevice, 0), PCI_SECONDARY_BUS, &tbus); tbus 228 drivers/pci/hotplug/cpqphp_pci.c dbg("Recurse on bus_num %d tdevice %d\n", tbus, tdevice); tbus 241 drivers/pci/hotplug/cpqphp_pci.c u8 tbus, tdevice, tslot; tbus 245 drivers/pci/hotplug/cpqphp_pci.c tbus = cpqhp_routing_table->slots[loop].bus; tbus 250 drivers/pci/hotplug/cpqphp_pci.c *bus_num = tbus; tbus 252 drivers/pci/hotplug/cpqphp_pci.c ctrl->pci_bus->number = tbus; tbus 262 drivers/pci/hotplug/cpqphp_pci.c pci_bus_read_config_byte(ctrl->pci_bus, *dev_num, PCI_SECONDARY_BUS, &tbus); tbus 263 drivers/pci/hotplug/cpqphp_pci.c dbg("Scan bus for Non Bridge: bus %d\n", tbus); tbus 264 drivers/pci/hotplug/cpqphp_pci.c if (PCI_ScanBusForNonBridge(ctrl, tbus, dev_num) == 0) { tbus 265 drivers/pci/hotplug/cpqphp_pci.c *bus_num = tbus; tbus 34 drivers/tc/tc.c static void __init tc_bus_add_devices(struct tc_bus *tbus) tbus 36 drivers/tc/tc.c resource_size_t slotsize = tbus->info.slot_size << 20; tbus 37 drivers/tc/tc.c resource_size_t extslotsize = tbus->ext_slot_size; tbus 47 drivers/tc/tc.c for (slot = 0; slot < tbus->num_tcslots; slot++) { tbus 48 drivers/tc/tc.c slotaddr = tbus->slot_base + slot * slotsize; tbus 49 drivers/tc/tc.c extslotaddr = tbus->ext_slot_base + slot * extslotsize; tbus 91 drivers/tc/tc.c tdev->bus = tbus; tbus 92 drivers/tc/tc.c tdev->dev.parent = &tbus->dev; tbus 141 drivers/tc/tc.c list_add_tail(&tdev->node, &tbus->devices); tbus 189 drivers/video/fbdev/pmagb-b-fb.c struct tc_bus *tbus = to_tc_dev(info->device)->bus; tbus 191 drivers/video/fbdev/pmagb-b-fb.c u32 freq0, freq1, freqtc = tc_get_speed(tbus) / 250; tbus 116 include/linux/tc.h static inline unsigned long tc_get_speed(struct tc_bus *tbus) tbus 118 include/linux/tc.h return 100000 * (10000 / (unsigned long)tbus->info.clk_period); tbus 139 include/linux/tc.h extern int tc_bus_get_info(struct tc_bus *tbus);