Lines Matching refs:soc_info
25 static int __init davinci_init_id(struct davinci_soc_info *soc_info) in davinci_init_id() argument
33 base = ioremap(soc_info->jtag_id_reg, SZ_4K); in davinci_init_id()
39 soc_info->jtag_id = __raw_readl(base); in davinci_init_id()
42 variant = (soc_info->jtag_id & 0xf0000000) >> 28; in davinci_init_id()
43 part_no = (soc_info->jtag_id & 0x0ffff000) >> 12; in davinci_init_id()
45 for (i = 0, dip = soc_info->ids; i < soc_info->ids_num; in davinci_init_id()
49 soc_info->cpu_id = dip->cpu_id; in davinci_init_id()
55 pr_err("Unknown DaVinci JTAG ID 0x%x\n", soc_info->jtag_id); in davinci_init_id()
59 void __init davinci_common_init(const struct davinci_soc_info *soc_info) in davinci_common_init() argument
63 if (!soc_info) { in davinci_common_init()
68 memcpy(&davinci_soc_info, soc_info, sizeof(struct davinci_soc_info)); in davinci_common_init()