Lines Matching refs:gt
45 static int gt_config_access(struct gt64120_pci_controller *gt, in gt_config_access() argument
66 writel(~GT_INTRCAUSE_ABORT_BITS, >->regs->intrcause); in gt_config_access()
74 writel(addr, >->regs->pci0_cfgaddr); in gt_config_access()
87 writel(val, >->regs->pci0_cfgdata); in gt_config_access()
89 val = readl(>->regs->pci0_cfgdata); in gt_config_access()
103 intr = readl(>->regs->intrcause); in gt_config_access()
106 writel(~GT_INTRCAUSE_ABORT_BITS, >->regs->intrcause); in gt_config_access()
120 struct gt64120_pci_controller *gt = hose_to_gt64120(hose); in gt_read_config_dword() local
123 return gt_config_access(gt, PCI_ACCESS_READ, dev, where, value); in gt_read_config_dword()
129 struct gt64120_pci_controller *gt = hose_to_gt64120(hose); in gt_write_config_dword() local
132 return gt_config_access(gt, PCI_ACCESS_WRITE, dev, where, &data); in gt_write_config_dword()
142 struct gt64120_pci_controller *gt; in gt64120_pci_init() local
145 gt = &global_gt; in gt64120_pci_init()
146 gt->regs = regs; in gt64120_pci_init()
148 hose = >->hose; in gt64120_pci_init()