Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/ide/
Dsc1200.c41 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()
[all …]
Dide.c177 module_param_named(pci_clock, ide_pci_clk, int, 0);
178 MODULE_PARM_DESC(pci_clock, "PCI bus clock frequency (in MHz)");
/linux-2.6.39/drivers/ata/
Dpata_sc1200.c62 u16 pci_clock; in sc1200_clock() local
70 pci_clock = inw(0x901E); in sc1200_clock()
71 pci_clock >>= 8; in sc1200_clock()
72 pci_clock &= 0x03; in sc1200_clock()
73 if (pci_clock == 3) in sc1200_clock()
74 pci_clock = 0; in sc1200_clock()
75 return pci_clock; in sc1200_clock()
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()
427 pci_clock = inb(0x1F5) & 1; /* 0 = 33Mhz, 1 = 25Mhz */ in optidma_init_one()
/linux-2.6.39/arch/mips/pci/
Dpci-octeon.c430 unsigned long cycles, pci_clock; in octeon_pci_initialize() local
437 pci_clock = (cnt_reg_end.s.pcicnt - cnt_reg_start.s.pcicnt) / in octeon_pci_initialize()
439 pr_notice("PCI Clock: %lu MHz\n", pci_clock); in octeon_pci_initialize()
/linux-2.6.39/drivers/misc/
Dics932s401.c349 static DEVICE_ATTR(pci_clock, S_IRUGO, show_pci_clock, NULL);
/linux-2.6.39/Documentation/
Dkernel-parameters.txt922 .vlb_clock .pci_clock .noflush .nohpa .noprobe .nowerr