Home
last modified time | relevance | path

Searched refs:tbus (Results 1 – 5 of 5) sorted by relevance

/drivers/tc/
Dtc.c34 static void __init tc_bus_add_devices(struct tc_bus *tbus) in tc_bus_add_devices() argument
36 resource_size_t slotsize = tbus->info.slot_size << 20; in tc_bus_add_devices()
37 resource_size_t extslotsize = tbus->ext_slot_size; in tc_bus_add_devices()
47 for (slot = 0; slot < tbus->num_tcslots; slot++) { in tc_bus_add_devices()
48 slotaddr = tbus->slot_base + slot * slotsize; in tc_bus_add_devices()
49 extslotaddr = tbus->ext_slot_base + slot * extslotsize; in tc_bus_add_devices()
91 tdev->bus = tbus; in tc_bus_add_devices()
92 tdev->dev.parent = &tbus->dev; in tc_bus_add_devices()
141 list_add_tail(&tdev->node, &tbus->devices); in tc_bus_add_devices()
/drivers/pci/hotplug/
Dcpqphp_pci.c210 u8 tbus; in PCI_ScanBusForNonBridge() local
233 pci_bus_read_config_byte (ctrl->pci_bus, PCI_DEVFN(tdevice, 0), PCI_SECONDARY_BUS, &tbus); in PCI_ScanBusForNonBridge()
235 dbg("Recurse on bus_num %d tdevice %d\n", tbus, tdevice); in PCI_ScanBusForNonBridge()
248 u8 tbus, tdevice, tslot; in PCI_GetBusDevHelper() local
252 tbus = cpqhp_routing_table->slots[loop].bus; in PCI_GetBusDevHelper()
257 *bus_num = tbus; in PCI_GetBusDevHelper()
259 ctrl->pci_bus->number = tbus; in PCI_GetBusDevHelper()
269 pci_bus_read_config_byte (ctrl->pci_bus, *dev_num, PCI_SECONDARY_BUS, &tbus); in PCI_GetBusDevHelper()
270 dbg("Scan bus for Non Bridge: bus %d\n", tbus); in PCI_GetBusDevHelper()
271 if (PCI_ScanBusForNonBridge(ctrl, tbus, dev_num) == 0) { in PCI_GetBusDevHelper()
[all …]
Dcpqphp_core.c180 u8 tbus, tdevice, tslot; in pci_print_IRQ_route() local
186 tbus = cpqhp_routing_table->slots[loop].bus; in pci_print_IRQ_route()
189 dbg("%d %d %d %d\n", tbus, tdevice >> 3, tdevice & 0x7, tslot); in pci_print_IRQ_route()
340 u8 tbus, tdevice, tslot, bridgeSlot; in get_slot_mapping() local
348 tbus = cpqhp_routing_table->slots[loop].bus; in get_slot_mapping()
352 if ((tbus == bus_num) && (tdevice == dev_num)) { in get_slot_mapping()
365 bus->number = tbus; in get_slot_mapping()
/drivers/net/ethernet/ti/
Dnetcp_xgbepcsr.c292 u32 tmp, dlpf, tbus; in netcp_xgbe_serdes_reset_cdr() local
305 tbus = netcp_xgbe_serdes_read_select_tbus(serdes_regs, lane + in netcp_xgbe_serdes_reset_cdr()
309 tmp >> 2, tmp & 3, (tbus >> 2) & 3); in netcp_xgbe_serdes_reset_cdr()
/drivers/video/fbdev/
Dpmagb-b-fb.c189 struct tc_bus *tbus = to_tc_dev(info->device)->bus; in pmagbbfb_osc_setup() local
191 u32 freq0, freq1, freqtc = tc_get_speed(tbus) / 250; in pmagbbfb_osc_setup()