camss             381 drivers/media/platform/qcom/camss/camss-csid.c 	if (csid->camss->version == CAMSS_8x16) {
camss             386 drivers/media/platform/qcom/camss/camss-csid.c 	} else if (csid->camss->version == CAMSS_8x96) {
camss             445 drivers/media/platform/qcom/camss/camss-csid.c 	enum camss_version ver = csid->camss->version;
camss             463 drivers/media/platform/qcom/camss/camss-csid.c 	struct device *dev = csid->camss->dev;
camss             536 drivers/media/platform/qcom/camss/camss-csid.c 		       CAMSS_CSID_RST_CMD(csid->camss->version));
camss             541 drivers/media/platform/qcom/camss/camss-csid.c 		dev_err(csid->camss->dev, "CSID reset timeout\n");
camss             558 drivers/media/platform/qcom/camss/camss-csid.c 	struct device *dev = csid->camss->dev;
camss             624 drivers/media/platform/qcom/camss/camss-csid.c 	enum camss_version ver = csid->camss->version;
camss             635 drivers/media/platform/qcom/camss/camss-csid.c 			dev_err(csid->camss->dev,
camss             719 drivers/media/platform/qcom/camss/camss-csid.c 		if (csid->camss->version == CAMSS_8x96) {
camss            1083 drivers/media/platform/qcom/camss/camss-csid.c int msm_csid_subdev_init(struct camss *camss, struct csid_device *csid,
camss            1086 drivers/media/platform/qcom/camss/camss-csid.c 	struct device *dev = camss->dev;
camss            1092 drivers/media/platform/qcom/camss/camss-csid.c 	csid->camss = camss;
camss            1095 drivers/media/platform/qcom/camss/camss-csid.c 	if (camss->version == CAMSS_8x16) {
camss            1099 drivers/media/platform/qcom/camss/camss-csid.c 	} else if (camss->version == CAMSS_8x96) {
camss            1320 drivers/media/platform/qcom/camss/camss-csid.c 	struct device *dev = csid->camss->dev;
camss              45 drivers/media/platform/qcom/camss/camss-csid.h 	struct camss *camss;
camss              67 drivers/media/platform/qcom/camss/camss-csid.h int msm_csid_subdev_init(struct camss *camss, struct csid_device *csid,
camss             104 drivers/media/platform/qcom/camss/camss-csiphy.c 	struct device *dev = csiphy->camss->dev;
camss             173 drivers/media/platform/qcom/camss/camss-csiphy.c 	struct device *dev = csiphy->camss->dev;
camss             250 drivers/media/platform/qcom/camss/camss-csiphy.c 		dev_err(csiphy->camss->dev,
camss             255 drivers/media/platform/qcom/camss/camss-csiphy.c 		dev_err(csiphy->camss->dev,
camss             537 drivers/media/platform/qcom/camss/camss-csiphy.c int msm_csiphy_subdev_init(struct camss *camss,
camss             541 drivers/media/platform/qcom/camss/camss-csiphy.c 	struct device *dev = camss->dev;
camss             547 drivers/media/platform/qcom/camss/camss-csiphy.c 	csiphy->camss = camss;
camss             551 drivers/media/platform/qcom/camss/camss-csiphy.c 	if (camss->version == CAMSS_8x16) {
camss             555 drivers/media/platform/qcom/camss/camss-csiphy.c 	} else if (camss->version == CAMSS_8x96) {
camss             721 drivers/media/platform/qcom/camss/camss-csiphy.c 	struct device *dev = csiphy->camss->dev;
camss              60 drivers/media/platform/qcom/camss/camss-csiphy.h 	struct camss *camss;
camss              80 drivers/media/platform/qcom/camss/camss-csiphy.h int msm_csiphy_subdev_init(struct camss *camss,
camss             160 drivers/media/platform/qcom/camss/camss-vfe.c 	if (vfe->camss->version == CAMSS_8x16)
camss             208 drivers/media/platform/qcom/camss/camss-vfe.c 	else if (vfe->camss->version == CAMSS_8x96)
camss             289 drivers/media/platform/qcom/camss/camss-vfe.c 		dev_err(vfe->camss->dev, "VFE reset timeout\n");
camss             313 drivers/media/platform/qcom/camss/camss-vfe.c 		dev_err(vfe->camss->dev, "VFE halt timeout\n");
camss             506 drivers/media/platform/qcom/camss/camss-vfe.c 		dev_err_ratelimited(vfe->camss->dev,
camss             526 drivers/media/platform/qcom/camss/camss-vfe.c 		dev_err_ratelimited(vfe->camss->dev,
camss             555 drivers/media/platform/qcom/camss/camss-vfe.c 			dev_err_ratelimited(vfe->camss->dev,
camss             570 drivers/media/platform/qcom/camss/camss-vfe.c 			dev_err_ratelimited(vfe->camss->dev,
camss             595 drivers/media/platform/qcom/camss/camss-vfe.c 		dev_err(vfe->camss->dev, "Output is running\n");
camss             617 drivers/media/platform/qcom/camss/camss-vfe.c 			dev_err(vfe->camss->dev, "Can not reserve wm\n");
camss             688 drivers/media/platform/qcom/camss/camss-vfe.c 		dev_err(vfe->camss->dev, "Output is not in reserved state %d\n",
camss             790 drivers/media/platform/qcom/camss/camss-vfe.c 		dev_err(vfe->camss->dev, "VFE sof timeout\n");
camss             803 drivers/media/platform/qcom/camss/camss-vfe.c 		dev_err(vfe->camss->dev, "VFE reg update timeout\n");
camss             828 drivers/media/platform/qcom/camss/camss-vfe.c 		ops->camif_wait_for_stop(vfe, vfe->camss->dev);
camss            1021 drivers/media/platform/qcom/camss/camss-vfe.c 		dev_err_ratelimited(vfe->camss->dev,
camss            1028 drivers/media/platform/qcom/camss/camss-vfe.c 		dev_err_ratelimited(vfe->camss->dev,
camss            1036 drivers/media/platform/qcom/camss/camss-vfe.c 		dev_err_ratelimited(vfe->camss->dev,
camss            1113 drivers/media/platform/qcom/camss/camss-vfe.c 	struct device *dev = vfe->camss->dev;
camss            1258 drivers/media/platform/qcom/camss/camss-vfe.c 		ret = camss_pm_domain_on(vfe->camss, vfe->id);
camss            1262 drivers/media/platform/qcom/camss/camss-vfe.c 		ret = pm_runtime_get_sync(vfe->camss->dev);
camss            1271 drivers/media/platform/qcom/camss/camss-vfe.c 					  vfe->camss->dev);
camss            1297 drivers/media/platform/qcom/camss/camss-vfe.c 	pm_runtime_put_sync(vfe->camss->dev);
camss            1300 drivers/media/platform/qcom/camss/camss-vfe.c 	camss_pm_domain_off(vfe->camss, vfe->id);
camss            1317 drivers/media/platform/qcom/camss/camss-vfe.c 		dev_err(vfe->camss->dev, "vfe power off on power_count == 0\n");
camss            1325 drivers/media/platform/qcom/camss/camss-vfe.c 		pm_runtime_put_sync(vfe->camss->dev);
camss            1326 drivers/media/platform/qcom/camss/camss-vfe.c 		camss_pm_domain_off(vfe->camss, vfe->id);
camss            1422 drivers/media/platform/qcom/camss/camss-vfe.c 		vfe->ops->hw_version_read(vfe, vfe->camss->dev);
camss            1448 drivers/media/platform/qcom/camss/camss-vfe.c 			dev_err(vfe->camss->dev,
camss            1453 drivers/media/platform/qcom/camss/camss-vfe.c 			dev_err(vfe->camss->dev,
camss            1980 drivers/media/platform/qcom/camss/camss-vfe.c int msm_vfe_subdev_init(struct camss *camss, struct vfe_device *vfe,
camss            1983 drivers/media/platform/qcom/camss/camss-vfe.c 	struct device *dev = camss->dev;
camss            1996 drivers/media/platform/qcom/camss/camss-vfe.c 	if (camss->version == CAMSS_8x16)
camss            1998 drivers/media/platform/qcom/camss/camss-vfe.c 	else if (camss->version == CAMSS_8x96)
camss            2079 drivers/media/platform/qcom/camss/camss-vfe.c 	vfe->camss = camss;
camss            2087 drivers/media/platform/qcom/camss/camss-vfe.c 		l->video_out.camss = camss;
camss            2092 drivers/media/platform/qcom/camss/camss-vfe.c 		if (camss->version == CAMSS_8x16) {
camss            2100 drivers/media/platform/qcom/camss/camss-vfe.c 		} else if (camss->version == CAMSS_8x96) {
camss            2233 drivers/media/platform/qcom/camss/camss-vfe.c 	struct device *dev = vfe->camss->dev;
camss             146 drivers/media/platform/qcom/camss/camss-vfe.h 	struct camss *camss;
camss             170 drivers/media/platform/qcom/camss/camss-vfe.h int msm_vfe_subdev_init(struct camss *camss, struct vfe_device *vfe,
camss             527 drivers/media/platform/qcom/camss/camss-video.c 		 dev_name(video->camss->dev));
camss             750 drivers/media/platform/qcom/camss/camss-video.c 		dev_err(video->camss->dev, "Failed to power up pipeline: %d\n",
camss             804 drivers/media/platform/qcom/camss/camss-video.c 	if (atomic_dec_and_test(&video->camss->ref_count))
camss             805 drivers/media/platform/qcom/camss/camss-video.c 		camss_delete(video->camss);
camss             869 drivers/media/platform/qcom/camss/camss-video.c 	q->dev = video->camss->dev;
camss             887 drivers/media/platform/qcom/camss/camss-video.c 	if (video->camss->version == CAMSS_8x16) {
camss             895 drivers/media/platform/qcom/camss/camss-video.c 	} else if (video->camss->version == CAMSS_8x96) {
camss             932 drivers/media/platform/qcom/camss/camss-video.c 	atomic_inc(&video->camss->ref_count);
camss             955 drivers/media/platform/qcom/camss/camss-video.c 	atomic_inc(&video->camss->ref_count);
camss             957 drivers/media/platform/qcom/camss/camss-video.c 	atomic_dec(&video->camss->ref_count);
camss              39 drivers/media/platform/qcom/camss/camss-video.h 	struct camss *camss;
camss             398 drivers/media/platform/qcom/camss/camss.c int camss_pm_domain_on(struct camss *camss, int id)
camss             400 drivers/media/platform/qcom/camss/camss.c 	if (camss->version == CAMSS_8x96) {
camss             401 drivers/media/platform/qcom/camss/camss.c 		camss->genpd_link[id] = device_link_add(camss->dev,
camss             402 drivers/media/platform/qcom/camss/camss.c 				camss->genpd[id], DL_FLAG_STATELESS |
camss             405 drivers/media/platform/qcom/camss/camss.c 		if (!camss->genpd_link[id])
camss             412 drivers/media/platform/qcom/camss/camss.c void camss_pm_domain_off(struct camss *camss, int id)
camss             414 drivers/media/platform/qcom/camss/camss.c 	if (camss->version == CAMSS_8x96)
camss             415 drivers/media/platform/qcom/camss/camss.c 		device_link_del(camss->genpd_link[id]);
camss             465 drivers/media/platform/qcom/camss/camss.c static int camss_of_parse_ports(struct camss *camss)
camss             467 drivers/media/platform/qcom/camss/camss.c 	struct device *dev = camss->dev;
camss             487 drivers/media/platform/qcom/camss/camss.c 			&camss->notifier, of_fwnode_handle(remote),
camss             507 drivers/media/platform/qcom/camss/camss.c 	v4l2_async_notifier_cleanup(&camss->notifier);
camss             518 drivers/media/platform/qcom/camss/camss.c static int camss_init_subdevices(struct camss *camss)
camss             527 drivers/media/platform/qcom/camss/camss.c 	if (camss->version == CAMSS_8x16) {
camss             532 drivers/media/platform/qcom/camss/camss.c 	} else if (camss->version == CAMSS_8x96) {
camss             541 drivers/media/platform/qcom/camss/camss.c 	for (i = 0; i < camss->csiphy_num; i++) {
camss             542 drivers/media/platform/qcom/camss/camss.c 		ret = msm_csiphy_subdev_init(camss, &camss->csiphy[i],
camss             545 drivers/media/platform/qcom/camss/camss.c 			dev_err(camss->dev,
camss             552 drivers/media/platform/qcom/camss/camss.c 	for (i = 0; i < camss->csid_num; i++) {
camss             553 drivers/media/platform/qcom/camss/camss.c 		ret = msm_csid_subdev_init(camss, &camss->csid[i],
camss             556 drivers/media/platform/qcom/camss/camss.c 			dev_err(camss->dev,
camss             563 drivers/media/platform/qcom/camss/camss.c 	ret = msm_ispif_subdev_init(&camss->ispif, ispif_res);
camss             565 drivers/media/platform/qcom/camss/camss.c 		dev_err(camss->dev, "Failed to init ispif sub-device: %d\n",
camss             570 drivers/media/platform/qcom/camss/camss.c 	for (i = 0; i < camss->vfe_num; i++) {
camss             571 drivers/media/platform/qcom/camss/camss.c 		ret = msm_vfe_subdev_init(camss, &camss->vfe[i],
camss             574 drivers/media/platform/qcom/camss/camss.c 			dev_err(camss->dev,
camss             589 drivers/media/platform/qcom/camss/camss.c static int camss_register_entities(struct camss *camss)
camss             594 drivers/media/platform/qcom/camss/camss.c 	for (i = 0; i < camss->csiphy_num; i++) {
camss             595 drivers/media/platform/qcom/camss/camss.c 		ret = msm_csiphy_register_entity(&camss->csiphy[i],
camss             596 drivers/media/platform/qcom/camss/camss.c 						 &camss->v4l2_dev);
camss             598 drivers/media/platform/qcom/camss/camss.c 			dev_err(camss->dev,
camss             605 drivers/media/platform/qcom/camss/camss.c 	for (i = 0; i < camss->csid_num; i++) {
camss             606 drivers/media/platform/qcom/camss/camss.c 		ret = msm_csid_register_entity(&camss->csid[i],
camss             607 drivers/media/platform/qcom/camss/camss.c 					       &camss->v4l2_dev);
camss             609 drivers/media/platform/qcom/camss/camss.c 			dev_err(camss->dev,
camss             616 drivers/media/platform/qcom/camss/camss.c 	ret = msm_ispif_register_entities(&camss->ispif, &camss->v4l2_dev);
camss             618 drivers/media/platform/qcom/camss/camss.c 		dev_err(camss->dev, "Failed to register ispif entities: %d\n",
camss             623 drivers/media/platform/qcom/camss/camss.c 	for (i = 0; i < camss->vfe_num; i++) {
camss             624 drivers/media/platform/qcom/camss/camss.c 		ret = msm_vfe_register_entities(&camss->vfe[i],
camss             625 drivers/media/platform/qcom/camss/camss.c 						&camss->v4l2_dev);
camss             627 drivers/media/platform/qcom/camss/camss.c 			dev_err(camss->dev,
camss             634 drivers/media/platform/qcom/camss/camss.c 	for (i = 0; i < camss->csiphy_num; i++) {
camss             635 drivers/media/platform/qcom/camss/camss.c 		for (j = 0; j < camss->csid_num; j++) {
camss             637 drivers/media/platform/qcom/camss/camss.c 				&camss->csiphy[i].subdev.entity,
camss             639 drivers/media/platform/qcom/camss/camss.c 				&camss->csid[j].subdev.entity,
camss             643 drivers/media/platform/qcom/camss/camss.c 				dev_err(camss->dev,
camss             645 drivers/media/platform/qcom/camss/camss.c 					camss->csiphy[i].subdev.entity.name,
camss             646 drivers/media/platform/qcom/camss/camss.c 					camss->csid[j].subdev.entity.name,
camss             653 drivers/media/platform/qcom/camss/camss.c 	for (i = 0; i < camss->csid_num; i++) {
camss             654 drivers/media/platform/qcom/camss/camss.c 		for (j = 0; j < camss->ispif.line_num; j++) {
camss             656 drivers/media/platform/qcom/camss/camss.c 				&camss->csid[i].subdev.entity,
camss             658 drivers/media/platform/qcom/camss/camss.c 				&camss->ispif.line[j].subdev.entity,
camss             662 drivers/media/platform/qcom/camss/camss.c 				dev_err(camss->dev,
camss             664 drivers/media/platform/qcom/camss/camss.c 					camss->csid[i].subdev.entity.name,
camss             665 drivers/media/platform/qcom/camss/camss.c 					camss->ispif.line[j].subdev.entity.name,
camss             672 drivers/media/platform/qcom/camss/camss.c 	for (i = 0; i < camss->ispif.line_num; i++)
camss             673 drivers/media/platform/qcom/camss/camss.c 		for (k = 0; k < camss->vfe_num; k++)
camss             674 drivers/media/platform/qcom/camss/camss.c 			for (j = 0; j < ARRAY_SIZE(camss->vfe[k].line); j++) {
camss             676 drivers/media/platform/qcom/camss/camss.c 					&camss->ispif.line[i].subdev.entity,
camss             678 drivers/media/platform/qcom/camss/camss.c 					&camss->vfe[k].line[j].subdev.entity,
camss             682 drivers/media/platform/qcom/camss/camss.c 					dev_err(camss->dev,
camss             684 drivers/media/platform/qcom/camss/camss.c 						camss->ispif.line[i].subdev.entity.name,
camss             685 drivers/media/platform/qcom/camss/camss.c 						camss->vfe[k].line[j].subdev.entity.name,
camss             694 drivers/media/platform/qcom/camss/camss.c 	i = camss->vfe_num;
camss             697 drivers/media/platform/qcom/camss/camss.c 		msm_vfe_unregister_entities(&camss->vfe[i]);
camss             699 drivers/media/platform/qcom/camss/camss.c 	msm_ispif_unregister_entities(&camss->ispif);
camss             702 drivers/media/platform/qcom/camss/camss.c 	i = camss->csid_num;
camss             705 drivers/media/platform/qcom/camss/camss.c 		msm_csid_unregister_entity(&camss->csid[i]);
camss             707 drivers/media/platform/qcom/camss/camss.c 	i = camss->csiphy_num;
camss             710 drivers/media/platform/qcom/camss/camss.c 		msm_csiphy_unregister_entity(&camss->csiphy[i]);
camss             721 drivers/media/platform/qcom/camss/camss.c static void camss_unregister_entities(struct camss *camss)
camss             725 drivers/media/platform/qcom/camss/camss.c 	for (i = 0; i < camss->csiphy_num; i++)
camss             726 drivers/media/platform/qcom/camss/camss.c 		msm_csiphy_unregister_entity(&camss->csiphy[i]);
camss             728 drivers/media/platform/qcom/camss/camss.c 	for (i = 0; i < camss->csid_num; i++)
camss             729 drivers/media/platform/qcom/camss/camss.c 		msm_csid_unregister_entity(&camss->csid[i]);
camss             731 drivers/media/platform/qcom/camss/camss.c 	msm_ispif_unregister_entities(&camss->ispif);
camss             733 drivers/media/platform/qcom/camss/camss.c 	for (i = 0; i < camss->vfe_num; i++)
camss             734 drivers/media/platform/qcom/camss/camss.c 		msm_vfe_unregister_entities(&camss->vfe[i]);
camss             741 drivers/media/platform/qcom/camss/camss.c 	struct camss *camss = container_of(async, struct camss, notifier);
camss             745 drivers/media/platform/qcom/camss/camss.c 	struct csiphy_device *csiphy = &camss->csiphy[id];
camss             755 drivers/media/platform/qcom/camss/camss.c 	struct camss *camss = container_of(async, struct camss, notifier);
camss             756 drivers/media/platform/qcom/camss/camss.c 	struct v4l2_device *v4l2_dev = &camss->v4l2_dev;
camss             773 drivers/media/platform/qcom/camss/camss.c 				dev_err(camss->dev,
camss             782 drivers/media/platform/qcom/camss/camss.c 				dev_err(camss->dev,
camss             790 drivers/media/platform/qcom/camss/camss.c 	ret = v4l2_device_register_subdev_nodes(&camss->v4l2_dev);
camss             794 drivers/media/platform/qcom/camss/camss.c 	return media_device_register(&camss->media_dev);
camss             815 drivers/media/platform/qcom/camss/camss.c 	struct camss *camss;
camss             818 drivers/media/platform/qcom/camss/camss.c 	camss = kzalloc(sizeof(*camss), GFP_KERNEL);
camss             819 drivers/media/platform/qcom/camss/camss.c 	if (!camss)
camss             822 drivers/media/platform/qcom/camss/camss.c 	atomic_set(&camss->ref_count, 0);
camss             823 drivers/media/platform/qcom/camss/camss.c 	camss->dev = dev;
camss             824 drivers/media/platform/qcom/camss/camss.c 	platform_set_drvdata(pdev, camss);
camss             827 drivers/media/platform/qcom/camss/camss.c 		camss->version = CAMSS_8x16;
camss             828 drivers/media/platform/qcom/camss/camss.c 		camss->csiphy_num = 2;
camss             829 drivers/media/platform/qcom/camss/camss.c 		camss->csid_num = 2;
camss             830 drivers/media/platform/qcom/camss/camss.c 		camss->vfe_num = 1;
camss             833 drivers/media/platform/qcom/camss/camss.c 		camss->version = CAMSS_8x96;
camss             834 drivers/media/platform/qcom/camss/camss.c 		camss->csiphy_num = 3;
camss             835 drivers/media/platform/qcom/camss/camss.c 		camss->csid_num = 4;
camss             836 drivers/media/platform/qcom/camss/camss.c 		camss->vfe_num = 2;
camss             841 drivers/media/platform/qcom/camss/camss.c 	camss->csiphy = devm_kcalloc(dev, camss->csiphy_num,
camss             842 drivers/media/platform/qcom/camss/camss.c 				     sizeof(*camss->csiphy), GFP_KERNEL);
camss             843 drivers/media/platform/qcom/camss/camss.c 	if (!camss->csiphy)
camss             846 drivers/media/platform/qcom/camss/camss.c 	camss->csid = devm_kcalloc(dev, camss->csid_num, sizeof(*camss->csid),
camss             848 drivers/media/platform/qcom/camss/camss.c 	if (!camss->csid)
camss             851 drivers/media/platform/qcom/camss/camss.c 	camss->vfe = devm_kcalloc(dev, camss->vfe_num, sizeof(*camss->vfe),
camss             853 drivers/media/platform/qcom/camss/camss.c 	if (!camss->vfe)
camss             856 drivers/media/platform/qcom/camss/camss.c 	v4l2_async_notifier_init(&camss->notifier);
camss             858 drivers/media/platform/qcom/camss/camss.c 	num_subdevs = camss_of_parse_ports(camss);
camss             862 drivers/media/platform/qcom/camss/camss.c 	ret = camss_init_subdevices(camss);
camss             870 drivers/media/platform/qcom/camss/camss.c 	camss->media_dev.dev = camss->dev;
camss             871 drivers/media/platform/qcom/camss/camss.c 	strscpy(camss->media_dev.model, "Qualcomm Camera Subsystem",
camss             872 drivers/media/platform/qcom/camss/camss.c 		sizeof(camss->media_dev.model));
camss             873 drivers/media/platform/qcom/camss/camss.c 	camss->media_dev.ops = &camss_media_ops;
camss             874 drivers/media/platform/qcom/camss/camss.c 	media_device_init(&camss->media_dev);
camss             876 drivers/media/platform/qcom/camss/camss.c 	camss->v4l2_dev.mdev = &camss->media_dev;
camss             877 drivers/media/platform/qcom/camss/camss.c 	ret = v4l2_device_register(camss->dev, &camss->v4l2_dev);
camss             883 drivers/media/platform/qcom/camss/camss.c 	ret = camss_register_entities(camss);
camss             888 drivers/media/platform/qcom/camss/camss.c 		camss->notifier.ops = &camss_subdev_notifier_ops;
camss             890 drivers/media/platform/qcom/camss/camss.c 		ret = v4l2_async_notifier_register(&camss->v4l2_dev,
camss             891 drivers/media/platform/qcom/camss/camss.c 						   &camss->notifier);
camss             899 drivers/media/platform/qcom/camss/camss.c 		ret = v4l2_device_register_subdev_nodes(&camss->v4l2_dev);
camss             906 drivers/media/platform/qcom/camss/camss.c 		ret = media_device_register(&camss->media_dev);
camss             914 drivers/media/platform/qcom/camss/camss.c 	if (camss->version == CAMSS_8x96) {
camss             915 drivers/media/platform/qcom/camss/camss.c 		camss->genpd[PM_DOMAIN_VFE0] = dev_pm_domain_attach_by_id(
camss             916 drivers/media/platform/qcom/camss/camss.c 						camss->dev, PM_DOMAIN_VFE0);
camss             917 drivers/media/platform/qcom/camss/camss.c 		if (IS_ERR(camss->genpd[PM_DOMAIN_VFE0]))
camss             918 drivers/media/platform/qcom/camss/camss.c 			return PTR_ERR(camss->genpd[PM_DOMAIN_VFE0]);
camss             920 drivers/media/platform/qcom/camss/camss.c 		camss->genpd[PM_DOMAIN_VFE1] = dev_pm_domain_attach_by_id(
camss             921 drivers/media/platform/qcom/camss/camss.c 						camss->dev, PM_DOMAIN_VFE1);
camss             922 drivers/media/platform/qcom/camss/camss.c 		if (IS_ERR(camss->genpd[PM_DOMAIN_VFE1])) {
camss             923 drivers/media/platform/qcom/camss/camss.c 			dev_pm_domain_detach(camss->genpd[PM_DOMAIN_VFE0],
camss             925 drivers/media/platform/qcom/camss/camss.c 			return PTR_ERR(camss->genpd[PM_DOMAIN_VFE1]);
camss             934 drivers/media/platform/qcom/camss/camss.c 	camss_unregister_entities(camss);
camss             936 drivers/media/platform/qcom/camss/camss.c 	v4l2_device_unregister(&camss->v4l2_dev);
camss             938 drivers/media/platform/qcom/camss/camss.c 	v4l2_async_notifier_cleanup(&camss->notifier);
camss             943 drivers/media/platform/qcom/camss/camss.c void camss_delete(struct camss *camss)
camss             945 drivers/media/platform/qcom/camss/camss.c 	v4l2_device_unregister(&camss->v4l2_dev);
camss             946 drivers/media/platform/qcom/camss/camss.c 	media_device_unregister(&camss->media_dev);
camss             947 drivers/media/platform/qcom/camss/camss.c 	media_device_cleanup(&camss->media_dev);
camss             949 drivers/media/platform/qcom/camss/camss.c 	pm_runtime_disable(camss->dev);
camss             951 drivers/media/platform/qcom/camss/camss.c 	if (camss->version == CAMSS_8x96) {
camss             952 drivers/media/platform/qcom/camss/camss.c 		dev_pm_domain_detach(camss->genpd[PM_DOMAIN_VFE0], true);
camss             953 drivers/media/platform/qcom/camss/camss.c 		dev_pm_domain_detach(camss->genpd[PM_DOMAIN_VFE1], true);
camss             956 drivers/media/platform/qcom/camss/camss.c 	kfree(camss);
camss             969 drivers/media/platform/qcom/camss/camss.c 	struct camss *camss = platform_get_drvdata(pdev);
camss             971 drivers/media/platform/qcom/camss/camss.c 	for (i = 0; i < camss->vfe_num; i++)
camss             972 drivers/media/platform/qcom/camss/camss.c 		msm_vfe_stop_streaming(&camss->vfe[i]);
camss             974 drivers/media/platform/qcom/camss/camss.c 	v4l2_async_notifier_unregister(&camss->notifier);
camss             975 drivers/media/platform/qcom/camss/camss.c 	v4l2_async_notifier_cleanup(&camss->notifier);
camss             976 drivers/media/platform/qcom/camss/camss.c 	camss_unregister_entities(camss);
camss             978 drivers/media/platform/qcom/camss/camss.c 	if (atomic_read(&camss->ref_count) == 0)
camss             979 drivers/media/platform/qcom/camss/camss.c 		camss_delete(camss);
camss              27 drivers/media/platform/qcom/camss/camss.h 	container_of(ptr_module, struct camss, ptr_module)
camss              37 drivers/media/platform/qcom/camss/camss.h 		     struct camss, ptr_module)
camss             111 drivers/media/platform/qcom/camss/camss.h int camss_pm_domain_on(struct camss *camss, int id);
camss             112 drivers/media/platform/qcom/camss/camss.h void camss_pm_domain_off(struct camss *camss, int id);
camss             113 drivers/media/platform/qcom/camss/camss.h void camss_delete(struct camss *camss);