Home
last modified time | relevance | path

Searched refs:rnen (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/drivers/char/
Damd768_rng.c191 u8 rnen; in rng_init_one() local
213 pci_read_config_byte(dev, 0x40, &rnen); in rng_init_one()
214 rnen|=(1<<7); /* RNG on */ in rng_init_one()
215 pci_write_config_byte(dev, 0x40, rnen); in rng_init_one()
217 pci_read_config_byte(dev, 0x41, &rnen); in rng_init_one()
218 rnen|=(1<<7); /* PMIO enable */ in rng_init_one()
219 pci_write_config_byte(dev, 0x41, rnen); in rng_init_one()
Dhw_random.c298 u8 rnen; in amd_init() local
313 pci_read_config_byte(dev, 0x40, &rnen); in amd_init()
314 rnen |= (1 << 7); /* RNG on */ in amd_init()
315 pci_write_config_byte(dev, 0x40, rnen); in amd_init()
317 pci_read_config_byte(dev, 0x41, &rnen); in amd_init()
318 rnen |= (1 << 7); /* PMIO enable */ in amd_init()
319 pci_write_config_byte(dev, 0x41, rnen); in amd_init()
335 u8 rnen; in amd_cleanup() local
337 pci_read_config_byte(amd_dev, 0x40, &rnen); in amd_cleanup()
338 rnen &= ~(1 << 7); /* RNG off */ in amd_cleanup()
[all …]