Searched refs:pci_clock (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/drivers/ata/ |
D | pata_sc1200.c | 48 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()
|
D | pata_optidma.c | 45 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()
|
/Linux-v6.6/arch/mips/pci/ |
D | pci-octeon.c | 415 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()
|
/Linux-v6.6/drivers/misc/ |
D | ics932s401.c | 338 static DEVICE_ATTR(pci_clock, S_IRUGO, show_pci_clock, NULL);
|