Lines Matching defs:soc
23 #include <soc/tegra/common.h>
24 #include <soc/tegra/fuse.h>
65 .soc = NULL,
130 fuse->lookups = kmemdup_array(fuse->soc->lookups, sizeof(*fuse->lookups),
131 fuse->soc->num_lookups, GFP_KERNEL);
135 nvmem_add_cell_lookups(fuse->lookups, fuse->soc->num_lookups);
157 /* Initialize the soc data and lookups if using ACPI boot. */
158 if (is_acpi_node(dev_fwnode(&pdev->dev)) && !fuse->soc) {
167 fuse->soc = &tegra194_fuse_soc;
172 fuse->soc = &tegra234_fuse_soc;
177 fuse->soc = &tegra241_fuse_soc;
184 fuse->soc->init(fuse);
204 if (fuse->soc->probe) {
205 err = fuse->soc->probe(fuse);
215 nvmem.cells = fuse->soc->cells;
216 nvmem.ncells = fuse->soc->num_cells;
217 nvmem.keepout = fuse->soc->keepouts;
218 nvmem.nkeepout = fuse->soc->num_keepouts;
223 nvmem.size = fuse->soc->info->size;
290 if (fuse->soc->clk_suspend_on)
302 if (fuse->soc->clk_suspend_on)
336 unsigned int offset = fuse->soc->info->spare + spare * 4;
459 attr->custom_attr_group = fuse->soc->soc_attr_group;
502 fuse->soc = &tegra20_fuse_soc;
508 fuse->soc = &tegra30_fuse_soc;
514 fuse->soc = &tegra114_fuse_soc;
520 fuse->soc = &tegra124_fuse_soc;
545 fuse->soc = match->data;
567 fuse->soc->init(fuse);
583 struct device *soc;
592 soc = tegra_soc_device_register();
593 if (IS_ERR(soc)) {
594 pr_err("failed to register SoC device: %ld\n", PTR_ERR(soc));
595 return PTR_ERR(soc);