Lines Matching refs:guts
40 static struct guts {
43 } *guts;
82 if (!guts || !guts->regs)
85 if (guts->little_endian)
86 svr = ioread32(&guts->regs->svr);
88 svr = ioread32be(&guts->regs->svr);
101 /* Initialize guts */
102 guts = devm_kzalloc(dev, sizeof(*guts), GFP_KERNEL);
103 if (!guts)
106 guts->little_endian = of_property_read_bool(np, "little-endian");
108 guts->regs = devm_platform_ioremap_resource(pdev, 0);
109 if (IS_ERR(guts->regs))
110 return PTR_ERR(guts->regs);
160 * guts node, for Loongson-2 SoCs.
170 .name = "loongson2-guts",