Home
last modified time | relevance | path

Searched refs:randomness (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/soc/tegra/fuse/
H A Dfuse-tegra30.c70 u32 randomness[12]; in tegra30_fuse_add_randomness() local
72 randomness[0] = tegra_sku_info.sku_id; in tegra30_fuse_add_randomness()
73 randomness[1] = tegra_read_straps(); in tegra30_fuse_add_randomness()
74 randomness[2] = tegra_read_chipid(); in tegra30_fuse_add_randomness()
75 randomness[3] = tegra_sku_info.cpu_process_id << 16; in tegra30_fuse_add_randomness()
76 randomness[3] |= tegra_sku_info.soc_process_id; in tegra30_fuse_add_randomness()
77 randomness[4] = tegra_sku_info.cpu_speedo_id << 16; in tegra30_fuse_add_randomness()
78 randomness[4] |= tegra_sku_info.soc_speedo_id; in tegra30_fuse_add_randomness()
79 randomness[5] = tegra_fuse_read_early(FUSE_VENDOR_CODE); in tegra30_fuse_add_randomness()
80 randomness[ in tegra30_fuse_add_randomness()
[all...]
H A Dfuse-tegra20.c138 u32 randomness[7]; in tegra20_fuse_add_randomness() local
140 randomness[0] = tegra_sku_info.sku_id; in tegra20_fuse_add_randomness()
141 randomness[1] = tegra_read_straps(); in tegra20_fuse_add_randomness()
142 randomness[2] = tegra_read_chipid(); in tegra20_fuse_add_randomness()
143 randomness[3] = tegra_sku_info.cpu_process_id << 16; in tegra20_fuse_add_randomness()
144 randomness[3] |= tegra_sku_info.soc_process_id; in tegra20_fuse_add_randomness()
145 randomness[4] = tegra_sku_info.cpu_speedo_id << 16; in tegra20_fuse_add_randomness()
146 randomness[4] |= tegra_sku_info.soc_speedo_id; in tegra20_fuse_add_randomness()
147 randomness[5] = tegra_fuse_read_early(FUSE_UID_LOW); in tegra20_fuse_add_randomness()
148 randomness[ in tegra20_fuse_add_randomness()
[all...]
/kernel/linux/linux-6.6/drivers/soc/tegra/fuse/
H A Dfuse-tegra20.c167 u32 randomness[7]; in tegra20_fuse_add_randomness() local
169 randomness[0] = tegra_sku_info.sku_id; in tegra20_fuse_add_randomness()
170 randomness[1] = tegra_read_straps(); in tegra20_fuse_add_randomness()
171 randomness[2] = tegra_read_chipid(); in tegra20_fuse_add_randomness()
172 randomness[3] = tegra_sku_info.cpu_process_id << 16; in tegra20_fuse_add_randomness()
173 randomness[3] |= tegra_sku_info.soc_process_id; in tegra20_fuse_add_randomness()
174 randomness[4] = tegra_sku_info.cpu_speedo_id << 16; in tegra20_fuse_add_randomness()
175 randomness[4] |= tegra_sku_info.soc_speedo_id; in tegra20_fuse_add_randomness()
176 randomness[5] = tegra_fuse_read_early(FUSE_UID_LOW); in tegra20_fuse_add_randomness()
177 randomness[ in tegra20_fuse_add_randomness()
[all...]
H A Dfuse-tegra30.c68 u32 randomness[12]; in tegra30_fuse_add_randomness() local
70 randomness[0] = tegra_sku_info.sku_id; in tegra30_fuse_add_randomness()
71 randomness[1] = tegra_read_straps(); in tegra30_fuse_add_randomness()
72 randomness[2] = tegra_read_chipid(); in tegra30_fuse_add_randomness()
73 randomness[3] = tegra_sku_info.cpu_process_id << 16; in tegra30_fuse_add_randomness()
74 randomness[3] |= tegra_sku_info.soc_process_id; in tegra30_fuse_add_randomness()
75 randomness[4] = tegra_sku_info.cpu_speedo_id << 16; in tegra30_fuse_add_randomness()
76 randomness[4] |= tegra_sku_info.soc_speedo_id; in tegra30_fuse_add_randomness()
77 randomness[5] = tegra_fuse_read_early(FUSE_VENDOR_CODE); in tegra30_fuse_add_randomness()
78 randomness[ in tegra30_fuse_add_randomness()
[all...]
/kernel/linux/linux-5.10/drivers/nvmem/
H A Dsunxi_sid.c120 char *randomness; in sunxi_sid_probe() local
159 randomness = kzalloc(size, GFP_KERNEL); in sunxi_sid_probe()
160 if (!randomness) in sunxi_sid_probe()
163 nvmem_cfg->reg_read(sid, 0, randomness, size); in sunxi_sid_probe()
164 add_device_randomness(randomness, size); in sunxi_sid_probe()
165 kfree(randomness); in sunxi_sid_probe()
/kernel/linux/linux-6.6/drivers/nvmem/
H A Dsunxi_sid.c131 char *randomness; in sunxi_sid_probe() local
170 randomness = kzalloc(size, GFP_KERNEL); in sunxi_sid_probe()
171 if (!randomness) in sunxi_sid_probe()
174 nvmem_cfg->reg_read(sid, 0, randomness, size); in sunxi_sid_probe()
175 add_device_randomness(randomness, size); in sunxi_sid_probe()
176 kfree(randomness); in sunxi_sid_probe()

Completed in 4 milliseconds