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

/linux-master/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;
/linux-master/include/linux/
H A Dtc.h116 static inline unsigned long tc_get_speed(struct tc_bus *tbus) argument
118 return 100000 * (10000 / (unsigned long)tbus->info.clk_period);
139 extern int tc_bus_get_info(struct tc_bus *tbus);
/linux-master/drivers/tc/
H A Dtc.c34 static void __init tc_bus_add_devices(struct tc_bus *tbus) argument
36 resource_size_t slotsize = tbus->info.slot_size << 20;
37 resource_size_t extslotsize = tbus->ext_slot_size;
47 for (slot = 0; slot < tbus->num_tcslots; slot++) {
48 slotaddr = tbus->slot_base + slot * slotsize;
49 extslotaddr = tbus->ext_slot_base + slot * extslotsize;
91 tdev->bus = tbus;
92 tdev->dev.parent = &tbus->dev;
141 list_add_tail(&tdev->node, &tbus->devices);
/linux-master/drivers/pci/hotplug/
H A Dcpqphp_pci.c205 u8 tbus; local
228 pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(tdevice, 0), PCI_SECONDARY_BUS, &tbus);
230 dbg("Recurse on bus_num %d tdevice %d\n", tbus, tdevice);
243 u8 tbus, tdevice, tslot; local
247 tbus = cpqhp_routing_table->slots[loop].bus;
252 *bus_num = tbus;
254 ctrl->pci_bus->number = tbus;
264 pci_bus_read_config_byte(ctrl->pci_bus, *dev_num, PCI_SECONDARY_BUS, &tbus);
265 dbg("Scan bus for Non Bridge: bus %d\n", tbus);
266 if (PCI_ScanBusForNonBridge(ctrl, tbus, dev_nu
[all...]
H A Dcpqphp_core.c164 u8 tbus, tdevice, tslot; local
170 tbus = cpqhp_routing_table->slots[loop].bus;
173 dbg("%d %d %d %d\n", tbus, tdevice >> 3, tdevice & 0x7, tslot);
313 u8 tbus, tdevice, tslot, bridgeSlot; local
321 tbus = cpqhp_routing_table->slots[loop].bus;
325 if ((tbus == bus_num) && (tdevice == dev_num)) {
338 bus->number = tbus;
/linux-master/drivers/net/ethernet/ti/
H A Dnetcp_xgbepcsr.c276 /* Set tbus address */
285 u32 tmp, dlpf, tbus; local
298 tbus = netcp_xgbe_serdes_read_select_tbus(serdes_regs, lane +
302 tmp >> 2, tmp & 3, (tbus >> 2) & 3);
/linux-master/drivers/video/fbdev/
H A Dpmagb-b-fb.c187 struct tc_bus *tbus = to_tc_dev(info->device)->bus; local
189 u32 freq0, freq1, freqtc = tc_get_speed(tbus) / 250;

Completed in 137 milliseconds