Home
last modified time | relevance | path

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

/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)");
/drivers/ata/
Dpata_sc1200.c61 u16 pci_clock; in sc1200_clock() local
69 pci_clock = inw(0x901E); in sc1200_clock()
70 pci_clock >>= 8; in sc1200_clock()
71 pci_clock &= 0x03; in sc1200_clock()
72 if (pci_clock == 3) in sc1200_clock()
73 pci_clock = 0; in sc1200_clock()
74 return pci_clock; in sc1200_clock()
Dpata_optidma.c44 static int pci_clock; /* 0 = 33 1 = 25 */ variable
150 addr = addr_timing[pci_clock][pio]; in optidma_mode_setup()
158 pair_addr = addr_timing[pci_clock][pair->pio_mode - XFER_PIO_0]; in optidma_mode_setup()
168 iowrite8(data_rec_timing[pci_clock][pio], regio + READ_REG); in optidma_mode_setup()
169 iowrite8(data_rec_timing[pci_clock][pio], regio + WRITE_REG); in optidma_mode_setup()
171 iowrite8(dma_data_rec_timing[pci_clock][dma], regio + READ_REG); in optidma_mode_setup()
172 iowrite8(dma_data_rec_timing[pci_clock][dma], regio + WRITE_REG); in optidma_mode_setup()
424 pci_clock = inb(0x1F5) & 1; /* 0 = 33Mhz, 1 = 25Mhz */ in optidma_init_one()
/drivers/misc/
Dics932s401.c349 static DEVICE_ATTR(pci_clock, S_IRUGO, show_pci_clock, NULL);