Lines Matching refs:oif_sd
1379 v4l2_dbg(1, s5c73m3_dbg, &state->oif_sd, "clock frequency: %ld\n", in __s5c73m3_power_on()
1430 v4l2_err(&state->oif_sd, "Failed to re-enable %s: %d\n", in __s5c73m3_power_off()
1479 state->oif_sd.name); in s5c73m3_oif_registered()
1484 S5C73M3_ISP_PAD, &state->oif_sd.entity, OIF_ISP_PAD, in s5c73m3_oif_registered()
1488 S5C73M3_JPEG_PAD, &state->oif_sd.entity, OIF_JPEG_PAD, in s5c73m3_oif_registered()
1611 struct v4l2_subdev *oif_sd; in s5c73m3_probe() local
1626 oif_sd = &state->oif_sd; in s5c73m3_probe()
1645 v4l2_i2c_subdev_init(oif_sd, client, &oif_subdev_ops); in s5c73m3_probe()
1647 strscpy(oif_sd->name, "S5C73M3-OIF", sizeof(oif_sd->name)); in s5c73m3_probe()
1649 oif_sd->internal_ops = &oif_internal_ops; in s5c73m3_probe()
1650 oif_sd->flags |= V4L2_SUBDEV_FL_HAS_DEVNODE; in s5c73m3_probe()
1655 oif_sd->entity.function = MEDIA_ENT_F_PROC_VIDEO_SCALER; in s5c73m3_probe()
1657 ret = media_entity_pads_init(&oif_sd->entity, OIF_NUM_PADS, in s5c73m3_probe()
1692 oif_sd->dev = dev; in s5c73m3_probe()
1706 ret = v4l2_async_register_subdev(oif_sd); in s5c73m3_probe()
1722 struct v4l2_subdev *oif_sd = i2c_get_clientdata(client); in s5c73m3_remove() local
1723 struct s5c73m3 *state = oif_sd_to_s5c73m3(oif_sd); in s5c73m3_remove()
1726 v4l2_async_unregister_subdev(oif_sd); in s5c73m3_remove()
1728 v4l2_ctrl_handler_free(oif_sd->ctrl_handler); in s5c73m3_remove()
1729 media_entity_cleanup(&oif_sd->entity); in s5c73m3_remove()