Lines Matching refs:guts
17 struct guts { struct
28 static struct guts *guts; variable
127 if (!guts || !guts->regs) in fsl_guts_get_svr()
130 if (guts->little_endian) in fsl_guts_get_svr()
131 svr = ioread32(&guts->regs->svr); in fsl_guts_get_svr()
133 svr = ioread32be(&guts->regs->svr); in fsl_guts_get_svr()
147 guts = devm_kzalloc(dev, sizeof(*guts), GFP_KERNEL); in fsl_guts_probe()
148 if (!guts) in fsl_guts_probe()
151 guts->little_endian = of_property_read_bool(np, "little-endian"); in fsl_guts_probe()
153 guts->regs = devm_platform_ioremap_resource(pdev, 0); in fsl_guts_probe()
154 if (IS_ERR(guts->regs)) in fsl_guts_probe()
155 return PTR_ERR(guts->regs); in fsl_guts_probe()