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