• Home
  • Raw
  • Download

Lines Matching refs:sasc

1190 			       struct soc_camera_async_client *sasc)  in soc_camera_dyn_pdev()  argument
1213 sasc->pdev = pdev; in soc_camera_dyn_pdev()
1218 static struct soc_camera_device *soc_camera_add_pdev(struct soc_camera_async_client *sasc) in soc_camera_add_pdev() argument
1220 struct platform_device *pdev = sasc->pdev; in soc_camera_add_pdev()
1299 if (icd->sasc) { in soc_camera_i2c_init()
1366 if (icd->sasc) in soc_camera_i2c_free()
1391 struct soc_camera_async_client *sasc = container_of(notifier, in soc_camera_async_bound() local
1393 struct soc_camera_device *icd = platform_get_drvdata(sasc->pdev); in soc_camera_async_bound()
1395 if (asd == sasc->sensor && !WARN_ON(icd->control)) { in soc_camera_async_bound()
1424 struct soc_camera_async_client *sasc = container_of(notifier, in soc_camera_async_unbind() local
1426 struct soc_camera_device *icd = platform_get_drvdata(sasc->pdev); in soc_camera_async_unbind()
1438 struct soc_camera_async_client *sasc = container_of(notifier, in soc_camera_async_complete() local
1440 struct soc_camera_device *icd = platform_get_drvdata(sasc->pdev); in soc_camera_async_complete()
1460 struct soc_camera_async_client *sasc; in scan_async_group() local
1481 sasc = devm_kzalloc(ici->v4l2_dev.dev, sizeof(*sasc), GFP_KERNEL); in scan_async_group()
1482 if (!sasc) in scan_async_group()
1488 ret = soc_camera_dyn_pdev(&sdesc, sasc); in scan_async_group()
1492 sasc->sensor = &sasd->asd; in scan_async_group()
1494 icd = soc_camera_add_pdev(sasc); in scan_async_group()
1500 sasc->notifier.subdevs = asd; in scan_async_group()
1501 sasc->notifier.num_subdevs = size; in scan_async_group()
1502 sasc->notifier.bound = soc_camera_async_bound; in scan_async_group()
1503 sasc->notifier.unbind = soc_camera_async_unbind; in scan_async_group()
1504 sasc->notifier.complete = soc_camera_async_complete; in scan_async_group()
1506 icd->sasc = sasc; in scan_async_group()
1519 ret = v4l2_async_notifier_register(&ici->v4l2_dev, &sasc->notifier); in scan_async_group()
1526 platform_device_del(sasc->pdev); in scan_async_group()
1528 platform_device_put(sasc->pdev); in scan_async_group()
1530 devm_kfree(ici->v4l2_dev.dev, sasc); in scan_async_group()
1556 struct soc_camera_async_client sasc; member
1566 struct soc_camera_async_client *sasc; in soc_of_bind() local
1583 sasc = &info->sasc; in soc_of_bind()
1588 ret = soc_camera_dyn_pdev(&sdesc, sasc); in soc_of_bind()
1592 sasc->sensor = &info->sasd.asd; in soc_of_bind()
1594 icd = soc_camera_add_pdev(sasc); in soc_of_bind()
1600 sasc->notifier.subdevs = &info->subdev; in soc_of_bind()
1601 sasc->notifier.num_subdevs = 1; in soc_of_bind()
1602 sasc->notifier.bound = soc_camera_async_bound; in soc_of_bind()
1603 sasc->notifier.unbind = soc_camera_async_unbind; in soc_of_bind()
1604 sasc->notifier.complete = soc_camera_async_complete; in soc_of_bind()
1606 icd->sasc = sasc; in soc_of_bind()
1624 ret = v4l2_async_notifier_register(&ici->v4l2_dev, &sasc->notifier); in soc_of_bind()
1631 platform_device_del(sasc->pdev); in soc_of_bind()
1633 platform_device_put(sasc->pdev); in soc_of_bind()
1810 if (icd->sasc) in soc_camera_remove()
1811 platform_device_unregister(icd->sasc->pdev); in soc_camera_remove()
1974 struct soc_camera_async_client *sasc; in soc_camera_host_unregister() local
1980 if (icd->iface == ici->nr && icd->sasc) { in soc_camera_host_unregister()
1983 list_add(&icd->sasc->list, &notifiers); in soc_camera_host_unregister()
1987 list_for_each_entry(sasc, &notifiers, list) { in soc_camera_host_unregister()
1989 v4l2_async_notifier_unregister(&sasc->notifier); in soc_camera_host_unregister()
1990 put_device(&sasc->pdev->dev); in soc_camera_host_unregister()