Lines Matching refs:sdinfo
298 struct vpfe_subdev_info *sdinfo = vpfe_dev->current_subdev; in vpfe_config_image_format() local
348 sdinfo->grp_id, pad, get_fmt, NULL, &fmt); in vpfe_config_image_format()
632 struct vpfe_subdev_info *sdinfo; in vpfe_release() local
642 sdinfo = vpfe_dev->current_subdev; in vpfe_release()
644 sdinfo->grp_id, in vpfe_release()
947 struct vpfe_subdev_info *sdinfo; in vpfe_get_subdev_input_index() local
951 sdinfo = &cfg->sub_devs[i]; in vpfe_get_subdev_input_index()
952 if (app_input_index < (j + sdinfo->num_inputs)) { in vpfe_get_subdev_input_index()
957 j += sdinfo->num_inputs; in vpfe_get_subdev_input_index()
971 struct vpfe_subdev_info *sdinfo; in vpfe_get_app_input_index() local
975 sdinfo = &cfg->sub_devs[i]; in vpfe_get_app_input_index()
976 if (!strcmp(sdinfo->name, vpfe_dev->current_subdev->name)) { in vpfe_get_app_input_index()
977 if (vpfe_dev->current_input >= sdinfo->num_inputs) in vpfe_get_app_input_index()
982 j += sdinfo->num_inputs; in vpfe_get_app_input_index()
991 struct vpfe_subdev_info *sdinfo; in vpfe_enum_input() local
1003 sdinfo = &vpfe_dev->cfg->sub_devs[subdev]; in vpfe_enum_input()
1004 *inp = sdinfo->inputs[index]; in vpfe_enum_input()
1022 struct vpfe_subdev_info *sdinfo; in vpfe_s_input() local
1052 sdinfo = &vpfe_dev->cfg->sub_devs[subdev_index]; in vpfe_s_input()
1054 route = &sdinfo->routes[inp_index]; in vpfe_s_input()
1055 if (route && sdinfo->can_route) { in vpfe_s_input()
1072 vpfe_dev->current_subdev = sdinfo; in vpfe_s_input()
1079 ret = ccdc_dev->hw_ops.set_hw_if_params(&sdinfo->ccdc_if_params); in vpfe_s_input()
1094 struct vpfe_subdev_info *sdinfo; in vpfe_querystd() local
1100 sdinfo = vpfe_dev->current_subdev; in vpfe_querystd()
1104 ret = v4l2_device_call_until_err(&vpfe_dev->v4l2_dev, sdinfo->grp_id, in vpfe_querystd()
1113 struct vpfe_subdev_info *sdinfo; in vpfe_s_std() local
1123 sdinfo = vpfe_dev->current_subdev; in vpfe_s_std()
1131 ret = v4l2_device_call_until_err(&vpfe_dev->v4l2_dev, sdinfo->grp_id, in vpfe_s_std()
1393 struct vpfe_subdev_info *sdinfo; in vpfe_streamon() local
1410 sdinfo = vpfe_dev->current_subdev; in vpfe_streamon()
1411 ret = v4l2_device_call_until_err(&vpfe_dev->v4l2_dev, sdinfo->grp_id, in vpfe_streamon()
1477 struct vpfe_subdev_info *sdinfo; in vpfe_streamoff() local
1506 sdinfo = vpfe_dev->current_subdev; in vpfe_streamoff()
1507 ret = v4l2_device_call_until_err(&vpfe_dev->v4l2_dev, sdinfo->grp_id, in vpfe_streamoff()
1675 struct vpfe_subdev_info *sdinfo; in vpfe_probe() local
1809 sdinfo = &vpfe_cfg->sub_devs[i]; in vpfe_probe()
1815 &sdinfo->board_info, in vpfe_probe()
1820 sdinfo->name); in vpfe_probe()
1821 vpfe_dev->sd[i]->grp_id = sdinfo->grp_id; in vpfe_probe()
1823 for (j = 0; j < sdinfo->num_inputs; j++) { in vpfe_probe()
1824 inps = &sdinfo->inputs[j]; in vpfe_probe()
1830 sdinfo->name); in vpfe_probe()