Lines Matching refs:dev
129 struct device_node *np = pdev->dev.of_node; in simplefb_parse_dt()
136 dev_err(&pdev->dev, "Can't parse width property\n"); in simplefb_parse_dt()
142 dev_err(&pdev->dev, "Can't parse height property\n"); in simplefb_parse_dt()
148 dev_err(&pdev->dev, "Can't parse stride property\n"); in simplefb_parse_dt()
154 dev_err(&pdev->dev, "Can't parse format property\n"); in simplefb_parse_dt()
165 dev_err(&pdev->dev, "Invalid format value\n"); in simplefb_parse_dt()
175 struct simplefb_platform_data *pd = dev_get_platdata(&pdev->dev); in simplefb_parse_pd()
192 dev_err(&pdev->dev, "Invalid format value\n"); in simplefb_parse_pd()
221 struct device_node *np = pdev->dev.of_node; in simplefb_clocks_get()
225 if (dev_get_platdata(&pdev->dev) || !np) in simplefb_clocks_get()
246 dev_err(&pdev->dev, "%s: clock %d not found: %ld\n", in simplefb_clocks_get()
265 dev_err(&pdev->dev, in simplefb_clocks_enable()
327 struct device_node *np = pdev->dev.of_node; in simplefb_regulators_get()
333 if (dev_get_platdata(&pdev->dev) || !np) in simplefb_regulators_get()
346 par->regulators = devm_kcalloc(&pdev->dev, count, in simplefb_regulators_get()
361 regulator = devm_regulator_get_optional(&pdev->dev, name); in simplefb_regulators_get()
365 dev_err(&pdev->dev, "regulator %s not found: %ld\n", in simplefb_regulators_get()
385 dev_err(&pdev->dev, in simplefb_regulators_enable()
426 if (dev_get_platdata(&pdev->dev)) in simplefb_probe()
428 else if (pdev->dev.of_node) in simplefb_probe()
436 dev_err(&pdev->dev, "No memory resource\n"); in simplefb_probe()
447 dev_warn(&pdev->dev, "simplefb: cannot reserve video memory at %pR\n", res); in simplefb_probe()
451 info = framebuffer_alloc(sizeof(struct simplefb_par), &pdev->dev); in simplefb_probe()
499 dev_info(&pdev->dev, "framebuffer at 0x%lx, 0x%x bytes\n", in simplefb_probe()
501 dev_info(&pdev->dev, "format=%s, mode=%dx%dx%d, linelength=%d\n", in simplefb_probe()
511 dev_err(&pdev->dev, "Unable to acquire aperture: %d\n", ret); in simplefb_probe()
516 dev_err(&pdev->dev, "Unable to register simplefb: %d\n", ret); in simplefb_probe()
520 dev_info(&pdev->dev, "fb%d: simplefb registered!\n", info->node); in simplefb_probe()