Lines Matching refs:guts
17 struct guts { struct
28 static struct guts *guts; variable
128 if (!guts || !guts->regs) in fsl_guts_get_svr()
131 if (guts->little_endian) in fsl_guts_get_svr()
132 svr = ioread32(&guts->regs->svr); in fsl_guts_get_svr()
134 svr = ioread32be(&guts->regs->svr); in fsl_guts_get_svr()
149 guts = devm_kzalloc(dev, sizeof(*guts), GFP_KERNEL); in fsl_guts_probe()
150 if (!guts) in fsl_guts_probe()
153 guts->little_endian = of_property_read_bool(np, "little-endian"); in fsl_guts_probe()
156 guts->regs = devm_ioremap_resource(dev, res); in fsl_guts_probe()
157 if (IS_ERR(guts->regs)) in fsl_guts_probe()
158 return PTR_ERR(guts->regs); in fsl_guts_probe()