Searched refs:tbus (Results 1 – 5 of 5) sorted by relevance
/linux/arch/mips/dec/ |
H A D | tc.c | 39 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/include/linux/ |
H A D | tc.h | 116 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/drivers/net/ethernet/ti/ |
H A D | netcp_xgbepcsr.c | 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/drivers/pci/hotplug/ |
H A D | cpqphp_core.c | 164 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/drivers/video/fbdev/ |
H A D | pmagb-b-fb.c | 187 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()
|