Lines Matching refs:dev
113 struct device *dev; member
154 ret = pm_runtime_resume_and_get(isp->dev); in risp_power_on()
160 pm_runtime_put(isp->dev); in risp_power_on()
170 pm_runtime_put(isp->dev); in risp_power_off()
182 dev_err(isp->dev, "Unsupported bus format\n"); in risp_start()
188 dev_err(isp->dev, "Failed to power on ISP\n"); in risp_start()
337 dev_err(isp->dev, "Failed to find pad for %s\n", subdev->name); in risp_notify_bound()
343 dev_dbg(isp->dev, "Bound %s pad: %d\n", subdev->name, pad); in risp_notify_bound()
359 dev_dbg(isp->dev, "Unbind %s\n", subdev->name); in risp_notify_unbind()
376 ep = fwnode_graph_get_endpoint_by_id(dev_fwnode(isp->dev), in risp_parse_dt()
383 dev_err(isp->dev, "Not connected to subdevice\n"); in risp_parse_dt()
393 dev_dbg(isp->dev, "Found '%pOF'\n", to_of_node(fwnode)); in risp_parse_dt()
426 isp->rstc = devm_reset_control_get(&pdev->dev, NULL); in risp_probe_resources()
444 isp = devm_kzalloc(&pdev->dev, sizeof(*isp), GFP_KERNEL); in risp_probe()
448 isp->dev = &pdev->dev; in risp_probe()
454 dev_err(isp->dev, "Failed to get resources\n"); in risp_probe()
460 pm_runtime_enable(&pdev->dev); in risp_probe()
467 isp->subdev.dev = &pdev->dev; in risp_probe()
469 v4l2_set_subdevdata(&isp->subdev, &pdev->dev); in risp_probe()
471 KBUILD_MODNAME, dev_name(&pdev->dev)); in risp_probe()
490 dev_info(isp->dev, "Using CSI-2 input: %u\n", isp->csi_input); in risp_probe()
497 pm_runtime_disable(&pdev->dev); in risp_probe()
513 pm_runtime_disable(&pdev->dev); in risp_remove()