Home
last modified time | relevance | path

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

/drivers/char/hw_random/
Damd-rng.c81 u8 rnen; in amd_rng_init() local
83 pci_read_config_byte(amd_pdev, 0x40, &rnen); in amd_rng_init()
84 rnen |= (1 << 7); /* RNG on */ in amd_rng_init()
85 pci_write_config_byte(amd_pdev, 0x40, rnen); in amd_rng_init()
87 pci_read_config_byte(amd_pdev, 0x41, &rnen); in amd_rng_init()
88 rnen |= (1 << 7); /* PMIO enable */ in amd_rng_init()
89 pci_write_config_byte(amd_pdev, 0x41, rnen); in amd_rng_init()
96 u8 rnen; in amd_rng_cleanup() local
98 pci_read_config_byte(amd_pdev, 0x40, &rnen); in amd_rng_cleanup()
99 rnen &= ~(1 << 7); /* RNG off */ in amd_rng_cleanup()
[all …]