Searched refs:bbar (Results 1 - 6 of 6) sorted by relevance

/linux-4.4.14/arch/x86/kernel/
H A Dpci-calgary_64.c171 void __iomem *bbar; member in struct:calgary_bus_info
492 return bus_info[num].bbar; busno_to_bbar()
547 void __iomem *bbar = tbl->bbar; calgary_tce_cache_blast() local
551 target = calgary_reg(bbar, phb_offset(tbl->it_busno) | PHB_AER_OFFSET); calgary_tce_cache_blast()
556 target = calgary_reg(bbar, phb_offset(tbl->it_busno) | PHB_PLSSR_OFFSET); calgary_tce_cache_blast()
560 target = calgary_reg(bbar, split_queue_offset(tbl->it_busno)); calgary_tce_cache_blast()
569 target = calgary_reg(bbar, tar_offset(tbl->it_busno)); calgary_tce_cache_blast()
573 target = calgary_reg(bbar, phb_offset(tbl->it_busno) | PHB_AER_OFFSET); calgary_tce_cache_blast()
580 void __iomem *bbar = tbl->bbar; calioc2_tce_cache_blast() local
593 target = calgary_reg(bbar, phb_offset(bus) | PHB_PAGE_MIG_CTRL); calioc2_tce_cache_blast()
602 target = calgary_reg(bbar, split_queue_offset(bus)); calioc2_tce_cache_blast()
611 target = calgary_reg(bbar, phb_offset(bus) | PHB_PAGE_MIG_DEBUG); calioc2_tce_cache_blast()
626 target = calgary_reg(bbar, phb_offset(bus) | PHB_PAGE_MIG_CTRL); calioc2_tce_cache_blast()
630 target = calgary_reg(bbar, phb_offset(bus) | PHB_PAGE_MIG_DEBUG); calioc2_tce_cache_blast()
636 target = calgary_reg(bbar, tar_offset(bus)); calioc2_tce_cache_blast()
641 target = calgary_reg(bbar, phb_offset(bus) | PHB_PAGE_MIG_CTRL); calioc2_tce_cache_blast()
647 target = calgary_reg(bbar, phb_offset(bus) | PHB_PAGE_MIG_CTRL); calioc2_tce_cache_blast()
674 void __iomem *bbar = tbl->bbar; calgary_reserve_peripheral_mem_1() local
677 target = calgary_reg(bbar, phb_offset(busnum) | PHB_MEM_1_LOW); calgary_reserve_peripheral_mem_1()
679 target = calgary_reg(bbar, phb_offset(busnum) | PHB_MEM_1_HIGH); calgary_reserve_peripheral_mem_1()
681 target = calgary_reg(bbar, phb_offset(busnum) | PHB_MEM_1_SIZE); calgary_reserve_peripheral_mem_1()
698 void __iomem *bbar = tbl->bbar; calgary_reserve_peripheral_mem_2() local
701 target = calgary_reg(bbar, phb_offset(busnum) | PHB_CONFIG_RW_OFFSET); calgary_reserve_peripheral_mem_2()
706 target = calgary_reg(bbar, phb_offset(busnum) | PHB_MEM_2_LOW); calgary_reserve_peripheral_mem_2()
708 target = calgary_reg(bbar, phb_offset(busnum) | PHB_MEM_2_HIGH); calgary_reserve_peripheral_mem_2()
710 target = calgary_reg(bbar, phb_offset(busnum) | PHB_MEM_2_SIZE_LOW); calgary_reserve_peripheral_mem_2()
712 target = calgary_reg(bbar, phb_offset(busnum) | PHB_MEM_2_SIZE_HIGH); calgary_reserve_peripheral_mem_2()
753 static int __init calgary_setup_tar(struct pci_dev *dev, void __iomem *bbar) calgary_setup_tar() argument
762 ret = build_tce_table(dev, bbar); calgary_setup_tar()
784 target = calgary_reg(bbar, tar_offset(dev->bus->number)); calgary_setup_tar()
811 target = calgary_reg(tbl->bbar, tar_offset(dev->bus->number)); calgary_free_bus()
831 void __iomem *bbar = tbl->bbar; calgary_dump_error_regs() local
835 target = calgary_reg(bbar, phb_offset(tbl->it_busno) | PHB_CSR_OFFSET); calgary_dump_error_regs()
838 target = calgary_reg(bbar, phb_offset(tbl->it_busno) | PHB_PLSSR_OFFSET); calgary_dump_error_regs()
848 void __iomem *bbar = tbl->bbar; calioc2_dump_error_regs() local
857 target = calgary_reg(bbar, phboff | PHB_CSR_OFFSET); calioc2_dump_error_regs()
860 target = calgary_reg(bbar, phboff | PHB_PLSSR_OFFSET); calioc2_dump_error_regs()
863 target = calgary_reg(bbar, phboff | 0x290); calioc2_dump_error_regs()
866 target = calgary_reg(bbar, phboff | 0x800); calioc2_dump_error_regs()
879 target = calgary_reg(bbar, phboff | erroff); calioc2_dump_error_regs()
886 target = calgary_reg(bbar, phboff | PHB_ROOT_COMPLEX_STATUS); calioc2_dump_error_regs()
896 void __iomem *bbar = tbl->bbar; calgary_watchdog() local
900 target = calgary_reg(bbar, phb_offset(tbl->it_busno) | PHB_CSR_OFFSET); calgary_watchdog()
911 target = calgary_reg(bbar, phb_offset(tbl->it_busno) | calgary_watchdog()
923 static void __init calgary_set_split_completion_timeout(void __iomem *bbar, calgary_set_split_completion_timeout() argument
944 target = calgary_reg(bbar, CALGARY_CONFIG_REG); calgary_set_split_completion_timeout()
958 void __iomem *bbar = tbl->bbar; calioc2_handle_quirks() local
965 target = calgary_reg(bbar, phb_offset(busnum) | PHB_SAVIOR_L2); calioc2_handle_quirks()
980 calgary_set_split_completion_timeout(tbl->bbar, busnum, calgary_handle_quirks()
989 void __iomem *bbar; calgary_enable_translation() local
994 bbar = tbl->bbar; calgary_enable_translation()
997 target = calgary_reg(bbar, phb_offset(busnum) | PHB_CONFIG_RW_OFFSET); calgary_enable_translation()
1021 void __iomem *bbar; calgary_disable_translation() local
1026 bbar = tbl->bbar; calgary_disable_translation()
1029 target = calgary_reg(bbar, phb_offset(busnum) | PHB_CONFIG_RW_OFFSET); calgary_disable_translation()
1054 void __iomem *bbar; calgary_init_one() local
1058 bbar = busno_to_bbar(dev->bus->number); calgary_init_one()
1059 ret = calgary_setup_tar(dev, bbar); calgary_init_one()
1088 void __iomem *bbar; calgary_locate_bbars() local
1102 bbar = ioremap_nocache(rio->BBAR, 1024 * 1024); calgary_locate_bbars()
1103 if (!bbar) calgary_locate_bbars()
1108 target = calgary_reg(bbar, offset); calgary_locate_bbars()
1117 bus_info[bus].bbar = bbar; calgary_locate_bbars()
1121 bus_info[start_bus].bbar = bbar; calgary_locate_bbars()
1132 if (bus_info[bus].bbar) calgary_locate_bbars()
1133 iounmap(bus_info[bus].bbar); calgary_locate_bbars()
1345 target = calgary_reg(bus_info[bus].bbar, get_tce_space_from_tar()
H A Dtce_64.c135 int __init build_tce_table(struct pci_dev *dev, void __iomem *bbar) build_tce_table() argument
157 tbl->bbar = bbar; build_tce_table()
/linux-4.4.14/arch/x86/include/asm/
H A Dtce.h46 extern int __init build_tce_table(struct pci_dev *dev, void __iomem *bbar);
H A Dcalgary.h38 void __iomem *bbar; /* Bridge BAR */ member in struct:iommu_table
/linux-4.4.14/drivers/pci/hotplug/
H A Dibmphp.h135 u32 bbar; member in struct:rio_detail
H A Dibmphp_ebda.c429 rio_detail_ptr->bbar = readl (io_mem + offset + 1); ebda_rio_table()
440 // debug ("rio_node_id: %x\nbbar: %x\nrio_type: %x\nowner_id: %x\nport0_node: %x\nport0_port: %x\nport1_node: %x\nport1_port: %x\nfirst_slot_num: %x\nstatus: %x\n", rio_detail_ptr->rio_node_id, rio_detail_ptr->bbar, rio_detail_ptr->rio_type, rio_detail_ptr->owner_id, rio_detail_ptr->port0_node_connect, rio_detail_ptr->port0_port_connect, rio_detail_ptr->port1_node_connect, rio_detail_ptr->port1_port_connect, rio_detail_ptr->first_slot_num, rio_detail_ptr->status); ebda_rio_table()

Completed in 111 milliseconds