Home
last modified time | relevance | path

Searched refs:pci_clock (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/ata/
H A Dpata_sc1200.c48 u16 pci_clock; in sc1200_clock() local
56 pci_clock = inw(0x901E); in sc1200_clock()
57 pci_clock >>= 8; in sc1200_clock()
58 pci_clock &= 0x03; in sc1200_clock()
59 if (pci_clock == 3) in sc1200_clock()
60 pci_clock = 0; in sc1200_clock()
61 return pci_clock; in sc1200_clock()
H A Dpata_optidma.c45 static int pci_clock; /* 0 = 33 1 = 25 */ variable
151 addr = addr_timing[pci_clock][pio]; in optidma_mode_setup()
159 pair_addr = addr_timing[pci_clock][pair->pio_mode - XFER_PIO_0]; in optidma_mode_setup()
169 iowrite8(data_rec_timing[pci_clock][pio], regio + READ_REG); in optidma_mode_setup()
170 iowrite8(data_rec_timing[pci_clock][pio], regio + WRITE_REG); in optidma_mode_setup()
172 iowrite8(dma_data_rec_timing[pci_clock][dma], regio + READ_REG); in optidma_mode_setup()
173 iowrite8(dma_data_rec_timing[pci_clock][dma], regio + WRITE_REG); in optidma_mode_setup()
426 pci_clock = inb(0x1F5) & 1; /* 0 = 33Mhz, 1 = 25Mhz */ in optidma_init_one()
/openbmc/linux/arch/mips/pci/
H A Dpci-octeon.c415 unsigned long cycles, pci_clock; in octeon_pci_initialize() local
422 pci_clock = (cnt_reg_end.s.pcicnt - cnt_reg_start.s.pcicnt) / in octeon_pci_initialize()
424 pr_notice("PCI Clock: %lu MHz\n", pci_clock); in octeon_pci_initialize()
/openbmc/linux/drivers/misc/
H A Dics932s401.c338 static DEVICE_ATTR(pci_clock, S_IRUGO, show_pci_clock, NULL);