Lines Matching refs:pci_clock
41 unsigned int pci_clock; in sc1200_get_pci_clock() local
51 pci_clock = PCI_CLK_33; in sc1200_get_pci_clock()
56 pci_clock = inw (0x901e); in sc1200_get_pci_clock()
57 pci_clock >>= 8; in sc1200_get_pci_clock()
58 pci_clock &= 0x03; in sc1200_get_pci_clock()
59 if (pci_clock == PCI_CLK_33A) in sc1200_get_pci_clock()
60 pci_clock = PCI_CLK_33; in sc1200_get_pci_clock()
62 return pci_clock; in sc1200_get_pci_clock()
130 unsigned short pci_clock; in sc1200_set_dma_mode() local
146 pci_clock = sc1200_get_pci_clock(); in sc1200_set_dma_mode()
154 timings = udma_timing[pci_clock][mode - XFER_UDMA_0]; in sc1200_set_dma_mode()
156 timings = mwdma_timing[pci_clock][mode - XFER_MW_DMA_0]; in sc1200_set_dma_mode()