Lines Matching refs:clkctl
1143 u8 clkctl, lock; in vlsi_start_clock() local
1147 clkctl = CLKCTL_PD_INV | CLKCTL_CLKSTP; in vlsi_start_clock()
1148 pci_write_config_byte(pdev, VLSI_PCI_CLKCTL, clkctl); in vlsi_start_clock()
1168 clkctl = CLKCTL_CLKSTP; in vlsi_start_clock()
1169 pci_write_config_byte(pdev, VLSI_PCI_CLKCTL, clkctl); in vlsi_start_clock()
1186 clkctl = CLKCTL_EXTCLK | CLKCTL_CLKSTP; in vlsi_start_clock()
1188 clkctl |= CLKCTL_XCKSEL; in vlsi_start_clock()
1189 pci_write_config_byte(pdev, VLSI_PCI_CLKCTL, clkctl); in vlsi_start_clock()
1194 pci_read_config_byte(pdev, VLSI_PCI_CLKCTL, &clkctl); in vlsi_start_clock()
1198 clkctl &= ~CLKCTL_CLKSTP; in vlsi_start_clock()
1199 pci_write_config_byte(pdev, VLSI_PCI_CLKCTL, clkctl); in vlsi_start_clock()
1206 u8 clkctl; in vlsi_stop_clock() local
1209 pci_read_config_byte(pdev, VLSI_PCI_CLKCTL, &clkctl); in vlsi_stop_clock()
1210 clkctl |= CLKCTL_CLKSTP; in vlsi_stop_clock()
1211 pci_write_config_byte(pdev, VLSI_PCI_CLKCTL, clkctl); in vlsi_stop_clock()
1214 clkctl &= ~(CLKCTL_EXTCLK | CLKCTL_PD_INV); in vlsi_stop_clock()
1215 pci_write_config_byte(pdev, VLSI_PCI_CLKCTL, clkctl); in vlsi_stop_clock()