Home
last modified time | relevance | path

Searched full:tbus (Results 1 – 12 of 12) sorted by relevance

/Linux-v6.6/arch/mips/dec/
Dtc.c39 int __init tc_bus_get_info(struct tc_bus *tbus) in tc_bus_get_info() argument
44 memcpy(&tbus->info, rex_gettcinfo(), sizeof(tbus->info)); in tc_bus_get_info()
45 tbus->slot_base = CPHYSADDR((long)rex_slot_address(0)); in tc_bus_get_info()
49 tbus->num_tcslots = 7; in tc_bus_get_info()
53 tbus->ext_slot_base = 0x20000000; in tc_bus_get_info()
54 tbus->ext_slot_size = 0x20000000; in tc_bus_get_info()
57 tbus->num_tcslots = 3; in tc_bus_get_info()
60 tbus->num_tcslots = 2; in tc_bus_get_info()
/Linux-v6.6/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()
/Linux-v6.6/include/linux/
Dtc.h116 static inline unsigned long tc_get_speed(struct tc_bus *tbus) in tc_get_speed() argument
118 return 100000 * (10000 / (unsigned long)tbus->info.clk_period); in tc_get_speed()
139 extern int tc_bus_get_info(struct tc_bus *tbus);
/Linux-v6.6/drivers/net/ethernet/ti/
Dnetcp_xgbepcsr.c276 /* Set tbus address */ in netcp_xgbe_serdes_read_select_tbus()
278 /* Get TBUS Value */ in netcp_xgbe_serdes_read_select_tbus()
285 u32 tmp, dlpf, tbus; in netcp_xgbe_serdes_reset_cdr() local
298 tbus = netcp_xgbe_serdes_read_select_tbus(serdes_regs, lane + in netcp_xgbe_serdes_reset_cdr()
302 tmp >> 2, tmp & 3, (tbus >> 2) & 3); in netcp_xgbe_serdes_reset_cdr()
/Linux-v6.6/drivers/pci/hotplug/
Dcpqphp_pci.c205 u8 tbus; in PCI_ScanBusForNonBridge() local
228 pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(tdevice, 0), PCI_SECONDARY_BUS, &tbus); in PCI_ScanBusForNonBridge()
230 dbg("Recurse on bus_num %d tdevice %d\n", tbus, tdevice); in PCI_ScanBusForNonBridge()
243 u8 tbus, tdevice, tslot; in PCI_GetBusDevHelper() local
247 tbus = cpqhp_routing_table->slots[loop].bus; in PCI_GetBusDevHelper()
252 *bus_num = tbus; in PCI_GetBusDevHelper()
254 ctrl->pci_bus->number = tbus; in PCI_GetBusDevHelper()
264 pci_bus_read_config_byte(ctrl->pci_bus, *dev_num, PCI_SECONDARY_BUS, &tbus); in PCI_GetBusDevHelper()
265 dbg("Scan bus for Non Bridge: bus %d\n", tbus); in PCI_GetBusDevHelper()
266 if (PCI_ScanBusForNonBridge(ctrl, tbus, dev_num) == 0) { in PCI_GetBusDevHelper()
[all …]
Dcpqphp_core.c164 u8 tbus, tdevice, tslot; in pci_print_IRQ_route() local
170 tbus = cpqhp_routing_table->slots[loop].bus; in pci_print_IRQ_route()
173 dbg("%d %d %d %d\n", tbus, tdevice >> 3, tdevice & 0x7, tslot); in pci_print_IRQ_route()
313 u8 tbus, tdevice, tslot, bridgeSlot; in get_slot_mapping() local
321 tbus = cpqhp_routing_table->slots[loop].bus; in get_slot_mapping()
325 if ((tbus == bus_num) && (tdevice == dev_num)) { in get_slot_mapping()
338 bus->number = tbus; in get_slot_mapping()
/Linux-v6.6/drivers/video/fbdev/
Dpmagb-b-fb.c187 struct tc_bus *tbus = to_tc_dev(info->device)->bus; in pmagbbfb_osc_setup() local
189 u32 freq0, freq1, freqtc = tc_get_speed(tbus) / 250; in pmagbbfb_osc_setup()
/Linux-v6.6/drivers/clk/bcm/
Dclk-bcm63xx-gate.c474 .name = "tbus",
/Linux-v6.6/Documentation/devicetree/bindings/iommu/
Darm,smmu.yaml568 ID each, but may master through multiple SMMU TBUs */
/Linux-v6.6/drivers/net/ethernet/qlogic/qed/
Dqed_debug.c369 /* Relative address of indirect TBUS address register (bits 0..7) */
372 /* Relative address of indirect TBUS address register (bits 8..10) */
375 /* Relative address of indirect TBUS data register (bits 0..7) */
378 /* Relative address of indirect TBUS data register (bits 8..11) */
3306 /* Dumps the tbus indirect memory for all PHYs.
3669 /* Dump PHY tbus */ in qed_grc_dump()
/Linux-v6.6/arch/powerpc/kernel/
Diommu.c403 printk(KERN_INFO "\tbus# = 0x%llx\n", (u64)tbl->it_busno); in iommu_free_check()
/Linux-v6.6/drivers/iommu/arm/arm-smmu-v3/
Darm-smmu-v3.c2024 /* Assume that a coherent TCU implies coherent TBUs */ in arm_smmu_capable()