Searched refs:rnen (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/drivers/char/hw_random/ |
D | amd-rng.c | 97 u8 rnen; in amd_rng_init() local 99 pci_read_config_byte(priv->pcidev, 0x40, &rnen); in amd_rng_init() 100 rnen |= BIT(7); /* RNG on */ in amd_rng_init() 101 pci_write_config_byte(priv->pcidev, 0x40, rnen); in amd_rng_init() 103 pci_read_config_byte(priv->pcidev, 0x41, &rnen); in amd_rng_init() 104 rnen |= BIT(7); /* PMIO enable */ in amd_rng_init() 105 pci_write_config_byte(priv->pcidev, 0x41, rnen); in amd_rng_init() 113 u8 rnen; in amd_rng_cleanup() local 115 pci_read_config_byte(priv->pcidev, 0x40, &rnen); in amd_rng_cleanup() 116 rnen &= ~BIT(7); /* RNG off */ in amd_rng_cleanup() [all …]
|