asd 95 drivers/media/i2c/st-mipid02.c struct v4l2_async_subdev asd; asd 797 drivers/media/i2c/st-mipid02.c struct v4l2_async_subdev *asd) asd 831 drivers/media/i2c/st-mipid02.c struct v4l2_async_subdev *asd) asd 878 drivers/media/i2c/st-mipid02.c bridge->asd.match.fwnode = asd 880 drivers/media/i2c/st-mipid02.c bridge->asd.match_type = V4L2_ASYNC_MATCH_FWNODE; asd 884 drivers/media/i2c/st-mipid02.c ret = v4l2_async_notifier_add_subdev(&bridge->notifier, &bridge->asd); asd 888 drivers/media/i2c/st-mipid02.c fwnode_handle_put(bridge->asd.match.fwnode); asd 1390 drivers/media/pci/intel/ipu3/ipu3-cio2.c struct v4l2_async_subdev asd; asd 1397 drivers/media/pci/intel/ipu3/ipu3-cio2.c struct v4l2_async_subdev *asd) asd 1401 drivers/media/pci/intel/ipu3/ipu3-cio2.c struct sensor_async_subdev *s_asd = container_of(asd, asd 1402 drivers/media/pci/intel/ipu3/ipu3-cio2.c struct sensor_async_subdev, asd); asd 1420 drivers/media/pci/intel/ipu3/ipu3-cio2.c struct v4l2_async_subdev *asd) asd 1424 drivers/media/pci/intel/ipu3/ipu3-cio2.c struct sensor_async_subdev *s_asd = container_of(asd, asd 1425 drivers/media/pci/intel/ipu3/ipu3-cio2.c struct sensor_async_subdev, asd); asd 1436 drivers/media/pci/intel/ipu3/ipu3-cio2.c struct v4l2_async_subdev *asd; asd 1441 drivers/media/pci/intel/ipu3/ipu3-cio2.c list_for_each_entry(asd, &cio2->notifier.asd_list, asd_list) { asd 1442 drivers/media/pci/intel/ipu3/ipu3-cio2.c s_asd = container_of(asd, struct sensor_async_subdev, asd); asd 1511 drivers/media/pci/intel/ipu3/ipu3-cio2.c &cio2->notifier, ep, &s_asd->asd); asd 1662 drivers/media/platform/am437x/am437x-vpfe.c for (i = 0; i < ARRAY_SIZE(vpfe->cfg->asd); i++) { asd 1688 drivers/media/platform/am437x/am437x-vpfe.c for (i = 0; i < ARRAY_SIZE(vpfe->cfg->asd); i++) { asd 2280 drivers/media/platform/am437x/am437x-vpfe.c struct v4l2_async_subdev *asd) asd 2291 drivers/media/platform/am437x/am437x-vpfe.c for (i = 0; i < ARRAY_SIZE(vpfe->cfg->asd); i++) { asd 2292 drivers/media/platform/am437x/am437x-vpfe.c if (vpfe->cfg->asd[i]->match.fwnode == asd 2293 drivers/media/platform/am437x/am437x-vpfe.c asd[i].match.fwnode) { asd 2493 drivers/media/platform/am437x/am437x-vpfe.c pdata->asd[i] = v4l2_async_notifier_add_fwnode_subdev( asd 2497 drivers/media/platform/am437x/am437x-vpfe.c if (IS_ERR(pdata->asd[i])) asd 2580 drivers/media/platform/am437x/am437x-vpfe.c ARRAY_SIZE(vpfe->cfg->asd), asd 98 drivers/media/platform/am437x/am437x-vpfe.h struct v4l2_async_subdev *asd[VPFE_MAX_SUBDEV]; asd 1901 drivers/media/platform/atmel/atmel-isc-base.c struct v4l2_async_subdev *asd) asd 1920 drivers/media/platform/atmel/atmel-isc-base.c struct v4l2_async_subdev *asd) asd 43 drivers/media/platform/atmel/atmel-isc.h struct v4l2_async_subdev *asd; asd 73 drivers/media/platform/atmel/atmel-isi.c struct v4l2_async_subdev asd; asd 1072 drivers/media/platform/atmel/atmel-isi.c struct v4l2_async_subdev *asd) asd 1084 drivers/media/platform/atmel/atmel-isi.c struct v4l2_async_subdev *asd) asd 1117 drivers/media/platform/atmel/atmel-isi.c isi->entity.asd.match_type = V4L2_ASYNC_MATCH_FWNODE; asd 1118 drivers/media/platform/atmel/atmel-isi.c isi->entity.asd.match.fwnode = of_fwnode_handle(remote); asd 1135 drivers/media/platform/atmel/atmel-isi.c ret = v4l2_async_notifier_add_subdev(&isi->notifier, &isi->entity.asd); asd 101 drivers/media/platform/atmel/atmel-sama5d2-isc.c subdev_entity->asd = kzalloc(sizeof(*subdev_entity->asd), asd 103 drivers/media/platform/atmel/atmel-sama5d2-isc.c if (!subdev_entity->asd) { asd 124 drivers/media/platform/atmel/atmel-sama5d2-isc.c subdev_entity->asd->match_type = V4L2_ASYNC_MATCH_FWNODE; asd 125 drivers/media/platform/atmel/atmel-sama5d2-isc.c subdev_entity->asd->match.fwnode = of_fwnode_handle(rem); asd 234 drivers/media/platform/atmel/atmel-sama5d2-isc.c subdev_entity->asd); asd 236 drivers/media/platform/atmel/atmel-sama5d2-isc.c fwnode_handle_put(subdev_entity->asd->match.fwnode); asd 237 drivers/media/platform/atmel/atmel-sama5d2-isc.c kfree(subdev_entity->asd); asd 84 drivers/media/platform/cadence/cdns-csi2rx.c struct v4l2_async_subdev asd; asd 250 drivers/media/platform/cadence/cdns-csi2rx.c struct v4l2_async_subdev *asd) asd 398 drivers/media/platform/cadence/cdns-csi2rx.c csi2rx->asd.match.fwnode = fwnode_graph_get_remote_port_parent(fwh); asd 399 drivers/media/platform/cadence/cdns-csi2rx.c csi2rx->asd.match_type = V4L2_ASYNC_MATCH_FWNODE; asd 404 drivers/media/platform/cadence/cdns-csi2rx.c ret = v4l2_async_notifier_add_subdev(&csi2rx->notifier, &csi2rx->asd); asd 406 drivers/media/platform/cadence/cdns-csi2rx.c fwnode_handle_put(csi2rx->asd.match.fwnode); asd 1379 drivers/media/platform/davinci/vpif_capture.c struct v4l2_async_subdev *asd) asd 1384 drivers/media/platform/davinci/vpif_capture.c struct v4l2_async_subdev *_asd = vpif_obj.config->asd[i]; asd 1587 drivers/media/platform/davinci/vpif_capture.c pdata->asd[i] = v4l2_async_notifier_add_fwnode_subdev( asd 1590 drivers/media/platform/davinci/vpif_capture.c if (IS_ERR(pdata->asd[i])) asd 1122 drivers/media/platform/davinci/vpif_display.c struct v4l2_async_subdev *asd) asd 1325 drivers/media/platform/davinci/vpif_display.c &vpif_obj.notifier, vpif_obj.config->asd[i]); asd 455 drivers/media/platform/exynos4-is/media-dev.c fmd->sensor[index].asd.match_type = V4L2_ASYNC_MATCH_FWNODE; asd 456 drivers/media/platform/exynos4-is/media-dev.c fmd->sensor[index].asd.match.fwnode = of_fwnode_handle(rem); asd 459 drivers/media/platform/exynos4-is/media-dev.c &fmd->sensor[index].asd); asd 1370 drivers/media/platform/exynos4-is/media-dev.c struct v4l2_async_subdev *asd) asd 1378 drivers/media/platform/exynos4-is/media-dev.c if (fmd->sensor[i].asd.match.fwnode == asd 88 drivers/media/platform/exynos4-is/media-dev.h struct v4l2_async_subdev asd; asd 548 drivers/media/platform/marvell-ccic/cafe-driver.c mcam->asd.match_type = V4L2_ASYNC_MATCH_I2C; asd 549 drivers/media/platform/marvell-ccic/cafe-driver.c mcam->asd.match.i2c.adapter_id = i2c_adapter_id(cam->i2c_adapter); asd 550 drivers/media/platform/marvell-ccic/cafe-driver.c mcam->asd.match.i2c.address = ov7670_info.addr; asd 1773 drivers/media/platform/marvell-ccic/mcam-core.c struct v4l2_subdev *subdev, struct v4l2_async_subdev *asd) asd 1818 drivers/media/platform/marvell-ccic/mcam-core.c struct v4l2_subdev *subdev, struct v4l2_async_subdev *asd) asd 1897 drivers/media/platform/marvell-ccic/mcam-core.c ret = v4l2_async_notifier_add_subdev(&cam->notifier, &cam->asd); asd 154 drivers/media/platform/marvell-ccic/mcam-core.h struct v4l2_async_subdev asd; asd 282 drivers/media/platform/marvell-ccic/mmp-driver.c mcam->asd.match_type = V4L2_ASYNC_MATCH_FWNODE; asd 283 drivers/media/platform/marvell-ccic/mmp-driver.c mcam->asd.match.fwnode = fwnode_graph_get_remote_port_parent(ep); asd 322 drivers/media/platform/marvell-ccic/mmp-driver.c fwnode_handle_put(mcam->asd.match.fwnode); asd 2187 drivers/media/platform/omap3isp/isp.c &isp->notifier, ep, &isd->asd); asd 2239 drivers/media/platform/omap3isp/isp.c &isp->notifier, ep, &isd->asd); asd 223 drivers/media/platform/omap3isp/isp.h struct v4l2_async_subdev asd; asd 228 drivers/media/platform/omap3isp/isp.h (&container_of((sd)->asd, struct isp_async_subdev, asd)->bus) asd 695 drivers/media/platform/pxa_camera.c struct v4l2_async_subdev asd; asd 2134 drivers/media/platform/pxa_camera.c struct v4l2_async_subdev *asd) asd 2213 drivers/media/platform/pxa_camera.c struct v4l2_async_subdev *asd) asd 2290 drivers/media/platform/pxa_camera.c struct v4l2_async_subdev *asd) asd 2345 drivers/media/platform/pxa_camera.c asd->match_type = V4L2_ASYNC_MATCH_FWNODE; asd 2348 drivers/media/platform/pxa_camera.c asd->match.fwnode = of_fwnode_handle(remote); asd 2393 drivers/media/platform/pxa_camera.c pcdev->asd.match_type = V4L2_ASYNC_MATCH_I2C; asd 2394 drivers/media/platform/pxa_camera.c pcdev->asd.match.i2c.adapter_id = asd 2396 drivers/media/platform/pxa_camera.c pcdev->asd.match.i2c.address = pcdev->pdata->sensor_i2c_address; asd 2398 drivers/media/platform/pxa_camera.c err = pxa_camera_pdata_from_dt(&pdev->dev, pcdev, &pcdev->asd); asd 2492 drivers/media/platform/pxa_camera.c err = v4l2_async_notifier_add_subdev(&pcdev->notifier, &pcdev->asd); asd 2494 drivers/media/platform/pxa_camera.c fwnode_handle_put(pcdev->asd.match.fwnode); asd 2501 drivers/media/platform/pxa_camera.c pcdev->asd.match_type = V4L2_ASYNC_MATCH_I2C; asd 2509 drivers/media/platform/pxa_camera.c pcdev->asd.match.i2c.adapter_id, asd 2510 drivers/media/platform/pxa_camera.c pcdev->asd.match.i2c.address); asd 474 drivers/media/platform/qcom/camss/camss.c struct v4l2_async_subdev *asd; asd 486 drivers/media/platform/qcom/camss/camss.c asd = v4l2_async_notifier_add_fwnode_subdev( asd 490 drivers/media/platform/qcom/camss/camss.c if (IS_ERR(asd)) { asd 491 drivers/media/platform/qcom/camss/camss.c ret = PTR_ERR(asd); asd 495 drivers/media/platform/qcom/camss/camss.c csd = container_of(asd, struct camss_async_subdev, asd); asd 739 drivers/media/platform/qcom/camss/camss.c struct v4l2_async_subdev *asd) asd 743 drivers/media/platform/qcom/camss/camss.c container_of(asd, struct camss_async_subdev, asd); asd 94 drivers/media/platform/qcom/camss/camss.h struct v4l2_async_subdev asd; /* must be first */ asd 574 drivers/media/platform/rcar-vin/rcar-core.c struct v4l2_async_subdev *asd) asd 587 drivers/media/platform/rcar-vin/rcar-core.c struct v4l2_async_subdev *asd) asd 615 drivers/media/platform/rcar-vin/rcar-core.c struct v4l2_async_subdev *asd) asd 619 drivers/media/platform/rcar-vin/rcar-core.c container_of(asd, struct rvin_parallel_entity, asd); asd 661 drivers/media/platform/rcar-vin/rcar-core.c to_of_node(vin->parallel->asd.match.fwnode)); asd 745 drivers/media/platform/rcar-vin/rcar-core.c struct v4l2_async_subdev *asd) asd 757 drivers/media/platform/rcar-vin/rcar-core.c if (vin->group->csi[i].fwnode != asd->match.fwnode) asd 769 drivers/media/platform/rcar-vin/rcar-core.c struct v4l2_async_subdev *asd) asd 777 drivers/media/platform/rcar-vin/rcar-core.c if (vin->group->csi[i].fwnode != asd->match.fwnode) asd 797 drivers/media/platform/rcar-vin/rcar-core.c struct v4l2_async_subdev *asd) asd 805 drivers/media/platform/rcar-vin/rcar-core.c if (!of_device_is_available(to_of_node(asd->match.fwnode))) { asd 807 drivers/media/platform/rcar-vin/rcar-core.c to_of_node(asd->match.fwnode)); asd 815 drivers/media/platform/rcar-vin/rcar-core.c to_of_node(asd->match.fwnode)); asd 820 drivers/media/platform/rcar-vin/rcar-core.c vin->group->csi[vep->base.id].fwnode = asd->match.fwnode; asd 823 drivers/media/platform/rcar-vin/rcar-core.c to_of_node(asd->match.fwnode), vep->base.id); asd 364 drivers/media/platform/rcar-vin/rcar-csi2.c struct v4l2_async_subdev asd; asd 738 drivers/media/platform/rcar-vin/rcar-csi2.c struct v4l2_async_subdev *asd) asd 743 drivers/media/platform/rcar-vin/rcar-csi2.c pad = media_entity_get_fwnode_pad(&subdev->entity, asd->match.fwnode, asd 762 drivers/media/platform/rcar-vin/rcar-csi2.c struct v4l2_async_subdev *asd) asd 836 drivers/media/platform/rcar-vin/rcar-csi2.c priv->asd.match.fwnode = asd 838 drivers/media/platform/rcar-vin/rcar-csi2.c priv->asd.match_type = V4L2_ASYNC_MATCH_FWNODE; asd 844 drivers/media/platform/rcar-vin/rcar-csi2.c ret = v4l2_async_notifier_add_subdev(&priv->notifier, &priv->asd); asd 846 drivers/media/platform/rcar-vin/rcar-csi2.c fwnode_handle_put(priv->asd.match.fwnode); asd 853 drivers/media/platform/rcar-vin/rcar-csi2.c to_of_node(priv->asd.match.fwnode)); asd 84 drivers/media/platform/rcar-vin/rcar-vin.h struct v4l2_async_subdev asd; asd 188 drivers/media/platform/rcar_drif.c struct v4l2_async_subdev asd; /* Async sub-device descriptor */ asd 1103 drivers/media/platform/rcar_drif.c struct v4l2_async_subdev *asd) asd 1108 drivers/media/platform/rcar_drif.c if (sdr->ep.asd.match.fwnode != asd 1124 drivers/media/platform/rcar_drif.c struct v4l2_async_subdev *asd) asd 1233 drivers/media/platform/rcar_drif.c sdr->ep.asd.match.fwnode = fwnode; asd 1234 drivers/media/platform/rcar_drif.c sdr->ep.asd.match_type = V4L2_ASYNC_MATCH_FWNODE; asd 1235 drivers/media/platform/rcar_drif.c ret = v4l2_async_notifier_add_subdev(notifier, &sdr->ep.asd); asd 156 drivers/media/platform/renesas-ceu.c struct v4l2_async_subdev asd; asd 163 drivers/media/platform/renesas-ceu.c static struct ceu_subdev *to_ceu_subdev(struct v4l2_async_subdev *asd) asd 165 drivers/media/platform/renesas-ceu.c return container_of(asd, struct ceu_subdev, asd); asd 1384 drivers/media/platform/renesas-ceu.c struct v4l2_async_subdev *asd) asd 1388 drivers/media/platform/renesas-ceu.c struct ceu_subdev *ceu_sd = to_ceu_subdev(asd); asd 1515 drivers/media/platform/renesas-ceu.c INIT_LIST_HEAD(&ceu_sd->asd.list); asd 1518 drivers/media/platform/renesas-ceu.c ceu_sd->asd.match_type = V4L2_ASYNC_MATCH_I2C; asd 1519 drivers/media/platform/renesas-ceu.c ceu_sd->asd.match.i2c.adapter_id = async_sd->i2c_adapter_id; asd 1520 drivers/media/platform/renesas-ceu.c ceu_sd->asd.match.i2c.address = async_sd->i2c_address; asd 1523 drivers/media/platform/renesas-ceu.c &ceu_sd->asd); asd 1582 drivers/media/platform/renesas-ceu.c INIT_LIST_HEAD(&ceu_sd->asd.list); asd 1586 drivers/media/platform/renesas-ceu.c ceu_sd->asd.match_type = V4L2_ASYNC_MATCH_FWNODE; asd 1587 drivers/media/platform/renesas-ceu.c ceu_sd->asd.match.fwnode = of_fwnode_handle(remote); asd 1590 drivers/media/platform/renesas-ceu.c &ceu_sd->asd); asd 103 drivers/media/platform/stm32/stm32-dcmi.c struct v4l2_async_subdev asd; asd 1730 drivers/media/platform/stm32/stm32-dcmi.c struct v4l2_async_subdev *asd) asd 1742 drivers/media/platform/stm32/stm32-dcmi.c struct v4l2_async_subdev *asd) asd 1794 drivers/media/platform/stm32/stm32-dcmi.c dcmi->entity.asd.match_type = V4L2_ASYNC_MATCH_FWNODE; asd 1795 drivers/media/platform/stm32/stm32-dcmi.c dcmi->entity.asd.match.fwnode = of_fwnode_handle(remote); asd 1813 drivers/media/platform/stm32/stm32-dcmi.c &dcmi->entity.asd); asd 38 drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.c struct v4l2_async_subdev *asd) asd 131 drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.c ep, &csi->asd); asd 140 drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.h struct v4l2_async_subdev asd; asd 697 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c struct v4l2_async_subdev *asd) asd 1429 drivers/media/platform/ti-vpe/cal.c struct v4l2_async_subdev *asd) asd 1643 drivers/media/platform/ti-vpe/cal.c struct v4l2_async_subdev *asd; asd 1724 drivers/media/platform/ti-vpe/cal.c asd = kzalloc(sizeof(*asd), GFP_KERNEL); asd 1725 drivers/media/platform/ti-vpe/cal.c if (!asd) asd 1728 drivers/media/platform/ti-vpe/cal.c asd->match_type = V4L2_ASYNC_MATCH_FWNODE; asd 1729 drivers/media/platform/ti-vpe/cal.c asd->match.fwnode = of_fwnode_handle(sensor_node); asd 1731 drivers/media/platform/ti-vpe/cal.c ret = v4l2_async_notifier_add_subdev(&ctx->notifier, asd); asd 1734 drivers/media/platform/ti-vpe/cal.c kfree(asd); asd 335 drivers/media/platform/video-mux.c struct v4l2_async_subdev *asd) asd 342 drivers/media/platform/video-mux.c return fwnode_device_is_available(asd->match.fwnode) ? 0 : -ENOTCONN; asd 37 drivers/media/platform/xilinx/xilinx-vipp.c struct v4l2_async_subdev asd; /* must be first */ asd 43 drivers/media/platform/xilinx/xilinx-vipp.c to_xvip_entity(struct v4l2_async_subdev *asd) asd 45 drivers/media/platform/xilinx/xilinx-vipp.c return container_of(asd, struct xvip_graph_entity, asd); asd 57 drivers/media/platform/xilinx/xilinx-vipp.c struct v4l2_async_subdev *asd; asd 59 drivers/media/platform/xilinx/xilinx-vipp.c list_for_each_entry(asd, &xdev->notifier.asd_list, asd_list) { asd 60 drivers/media/platform/xilinx/xilinx-vipp.c entity = to_xvip_entity(asd); asd 61 drivers/media/platform/xilinx/xilinx-vipp.c if (entity->asd.match.fwnode == fwnode) asd 85 drivers/media/platform/xilinx/xilinx-vipp.c ep = fwnode_graph_get_next_endpoint(entity->asd.match.fwnode, asd 288 drivers/media/platform/xilinx/xilinx-vipp.c struct v4l2_async_subdev *asd; asd 294 drivers/media/platform/xilinx/xilinx-vipp.c list_for_each_entry(asd, &xdev->notifier.asd_list, asd_list) { asd 295 drivers/media/platform/xilinx/xilinx-vipp.c entity = to_xvip_entity(asd); asd 320 drivers/media/platform/xilinx/xilinx-vipp.c struct v4l2_async_subdev *asd; asd 325 drivers/media/platform/xilinx/xilinx-vipp.c list_for_each_entry(asd, &xdev->notifier.asd_list, asd_list) { asd 326 drivers/media/platform/xilinx/xilinx-vipp.c entity = to_xvip_entity(asd); asd 328 drivers/media/platform/xilinx/xilinx-vipp.c if (entity->asd.match.fwnode != subdev->fwnode) asd 333 drivers/media/platform/xilinx/xilinx-vipp.c entity->asd.match.fwnode); asd 362 drivers/media/platform/xilinx/xilinx-vipp.c struct v4l2_async_subdev *asd; asd 385 drivers/media/platform/xilinx/xilinx-vipp.c asd = v4l2_async_notifier_add_fwnode_subdev( asd 389 drivers/media/platform/xilinx/xilinx-vipp.c if (IS_ERR(asd)) { asd 390 drivers/media/platform/xilinx/xilinx-vipp.c ret = PTR_ERR(asd); asd 406 drivers/media/platform/xilinx/xilinx-vipp.c struct v4l2_async_subdev *asd; asd 419 drivers/media/platform/xilinx/xilinx-vipp.c list_for_each_entry(asd, &xdev->notifier.asd_list, asd_list) { asd 420 drivers/media/platform/xilinx/xilinx-vipp.c entity = to_xvip_entity(asd); asd 421 drivers/media/platform/xilinx/xilinx-vipp.c ret = xvip_graph_parse_one(xdev, entity->asd.match.fwnode); asd 27 drivers/media/v4l2-core/v4l2-async.c struct v4l2_async_subdev *asd) asd 32 drivers/media/v4l2-core/v4l2-async.c return n->ops->bound(n, subdev, asd); asd 37 drivers/media/v4l2-core/v4l2-async.c struct v4l2_async_subdev *asd) asd 42 drivers/media/v4l2-core/v4l2-async.c n->ops->unbind(n, subdev, asd); asd 53 drivers/media/v4l2-core/v4l2-async.c static bool match_i2c(struct v4l2_subdev *sd, struct v4l2_async_subdev *asd) asd 59 drivers/media/v4l2-core/v4l2-async.c asd->match.i2c.adapter_id == client->adapter->nr && asd 60 drivers/media/v4l2-core/v4l2-async.c asd->match.i2c.address == client->addr; asd 67 drivers/media/v4l2-core/v4l2-async.c struct v4l2_async_subdev *asd) asd 69 drivers/media/v4l2-core/v4l2-async.c return !strcmp(asd->match.device_name, dev_name(sd->dev)); asd 72 drivers/media/v4l2-core/v4l2-async.c static bool match_fwnode(struct v4l2_subdev *sd, struct v4l2_async_subdev *asd) asd 74 drivers/media/v4l2-core/v4l2-async.c return sd->fwnode == asd->match.fwnode; asd 77 drivers/media/v4l2-core/v4l2-async.c static bool match_custom(struct v4l2_subdev *sd, struct v4l2_async_subdev *asd) asd 79 drivers/media/v4l2-core/v4l2-async.c if (!asd->match.custom.match) asd 83 drivers/media/v4l2-core/v4l2-async.c return asd->match.custom.match(sd->dev, asd); asd 94 drivers/media/v4l2-core/v4l2-async.c bool (*match)(struct v4l2_subdev *sd, struct v4l2_async_subdev *asd); asd 95 drivers/media/v4l2-core/v4l2-async.c struct v4l2_async_subdev *asd; asd 97 drivers/media/v4l2-core/v4l2-async.c list_for_each_entry(asd, ¬ifier->waiting, list) { asd 99 drivers/media/v4l2-core/v4l2-async.c switch (asd->match_type) { asd 119 drivers/media/v4l2-core/v4l2-async.c if (match(sd, asd)) asd 120 drivers/media/v4l2-core/v4l2-async.c return asd; asd 229 drivers/media/v4l2-core/v4l2-async.c struct v4l2_async_subdev *asd) asd 238 drivers/media/v4l2-core/v4l2-async.c ret = v4l2_async_notifier_call_bound(notifier, sd, asd); asd 245 drivers/media/v4l2-core/v4l2-async.c list_del(&asd->list); asd 246 drivers/media/v4l2-core/v4l2-async.c sd->asd = asd; asd 282 drivers/media/v4l2-core/v4l2-async.c struct v4l2_async_subdev *asd; asd 285 drivers/media/v4l2-core/v4l2-async.c asd = v4l2_async_find_match(notifier, sd); asd 286 drivers/media/v4l2-core/v4l2-async.c if (!asd) asd 289 drivers/media/v4l2-core/v4l2-async.c ret = v4l2_async_match_notify(notifier, v4l2_dev, sd, asd); asd 313 drivers/media/v4l2-core/v4l2-async.c sd->asd = NULL; asd 329 drivers/media/v4l2-core/v4l2-async.c v4l2_async_notifier_call_unbind(notifier, sd, sd->asd); asd 341 drivers/media/v4l2-core/v4l2-async.c struct v4l2_async_subdev *asd) asd 347 drivers/media/v4l2-core/v4l2-async.c if (asd_equal(asd, asd_y)) asd 351 drivers/media/v4l2-core/v4l2-async.c if (WARN_ON(!sd->asd)) asd 354 drivers/media/v4l2-core/v4l2-async.c if (asd_equal(asd, sd->asd)) asd 368 drivers/media/v4l2-core/v4l2-async.c struct v4l2_async_subdev *asd, asd 380 drivers/media/v4l2-core/v4l2-async.c if (asd_equal(asd, asd_y)) asd 386 drivers/media/v4l2-core/v4l2-async.c if (__v4l2_async_notifier_has_async_subdev(notifier, asd)) asd 393 drivers/media/v4l2-core/v4l2-async.c struct v4l2_async_subdev *asd, asd 399 drivers/media/v4l2-core/v4l2-async.c if (!asd) asd 402 drivers/media/v4l2-core/v4l2-async.c switch (asd->match_type) { asd 407 drivers/media/v4l2-core/v4l2-async.c if (v4l2_async_notifier_has_async_subdev(notifier, asd, asd 415 drivers/media/v4l2-core/v4l2-async.c asd->match_type, asd); asd 430 drivers/media/v4l2-core/v4l2-async.c struct v4l2_async_subdev *asd; asd 438 drivers/media/v4l2-core/v4l2-async.c list_for_each_entry(asd, ¬ifier->asd_list, asd_list) { asd 439 drivers/media/v4l2-core/v4l2-async.c ret = v4l2_async_notifier_asd_valid(notifier, asd, i++); asd 443 drivers/media/v4l2-core/v4l2-async.c list_add_tail(&asd->list, ¬ifier->waiting); asd 535 drivers/media/v4l2-core/v4l2-async.c struct v4l2_async_subdev *asd, *tmp; asd 540 drivers/media/v4l2-core/v4l2-async.c list_for_each_entry_safe(asd, tmp, ¬ifier->asd_list, asd_list) { asd 541 drivers/media/v4l2-core/v4l2-async.c switch (asd->match_type) { asd 543 drivers/media/v4l2-core/v4l2-async.c fwnode_handle_put(asd->match.fwnode); asd 549 drivers/media/v4l2-core/v4l2-async.c list_del(&asd->asd_list); asd 550 drivers/media/v4l2-core/v4l2-async.c kfree(asd); asd 565 drivers/media/v4l2-core/v4l2-async.c struct v4l2_async_subdev *asd) asd 571 drivers/media/v4l2-core/v4l2-async.c ret = v4l2_async_notifier_asd_valid(notifier, asd, -1); asd 575 drivers/media/v4l2-core/v4l2-async.c list_add_tail(&asd->asd_list, ¬ifier->asd_list); asd 588 drivers/media/v4l2-core/v4l2-async.c struct v4l2_async_subdev *asd; asd 591 drivers/media/v4l2-core/v4l2-async.c asd = kzalloc(asd_struct_size, GFP_KERNEL); asd 592 drivers/media/v4l2-core/v4l2-async.c if (!asd) asd 595 drivers/media/v4l2-core/v4l2-async.c asd->match_type = V4L2_ASYNC_MATCH_FWNODE; asd 596 drivers/media/v4l2-core/v4l2-async.c asd->match.fwnode = fwnode_handle_get(fwnode); asd 598 drivers/media/v4l2-core/v4l2-async.c ret = v4l2_async_notifier_add_subdev(notifier, asd); asd 601 drivers/media/v4l2-core/v4l2-async.c kfree(asd); asd 605 drivers/media/v4l2-core/v4l2-async.c return asd; asd 612 drivers/media/v4l2-core/v4l2-async.c struct v4l2_async_subdev *asd) asd 621 drivers/media/v4l2-core/v4l2-async.c asd->match_type = V4L2_ASYNC_MATCH_FWNODE; asd 622 drivers/media/v4l2-core/v4l2-async.c asd->match.fwnode = remote; asd 624 drivers/media/v4l2-core/v4l2-async.c ret = v4l2_async_notifier_add_subdev(notif, asd); asd 637 drivers/media/v4l2-core/v4l2-async.c struct v4l2_async_subdev *asd; asd 640 drivers/media/v4l2-core/v4l2-async.c asd = kzalloc(asd_struct_size, GFP_KERNEL); asd 641 drivers/media/v4l2-core/v4l2-async.c if (!asd) asd 644 drivers/media/v4l2-core/v4l2-async.c asd->match_type = V4L2_ASYNC_MATCH_I2C; asd 645 drivers/media/v4l2-core/v4l2-async.c asd->match.i2c.adapter_id = adapter_id; asd 646 drivers/media/v4l2-core/v4l2-async.c asd->match.i2c.address = address; asd 648 drivers/media/v4l2-core/v4l2-async.c ret = v4l2_async_notifier_add_subdev(notifier, asd); asd 650 drivers/media/v4l2-core/v4l2-async.c kfree(asd); asd 654 drivers/media/v4l2-core/v4l2-async.c return asd; asd 663 drivers/media/v4l2-core/v4l2-async.c struct v4l2_async_subdev *asd; asd 666 drivers/media/v4l2-core/v4l2-async.c asd = kzalloc(asd_struct_size, GFP_KERNEL); asd 667 drivers/media/v4l2-core/v4l2-async.c if (!asd) asd 670 drivers/media/v4l2-core/v4l2-async.c asd->match_type = V4L2_ASYNC_MATCH_DEVNAME; asd 671 drivers/media/v4l2-core/v4l2-async.c asd->match.device_name = device_name; asd 673 drivers/media/v4l2-core/v4l2-async.c ret = v4l2_async_notifier_add_subdev(notifier, asd); asd 675 drivers/media/v4l2-core/v4l2-async.c kfree(asd); asd 679 drivers/media/v4l2-core/v4l2-async.c return asd; asd 704 drivers/media/v4l2-core/v4l2-async.c struct v4l2_async_subdev *asd; asd 709 drivers/media/v4l2-core/v4l2-async.c asd = v4l2_async_find_match(notifier, sd); asd 710 drivers/media/v4l2-core/v4l2-async.c if (!asd) asd 713 drivers/media/v4l2-core/v4l2-async.c ret = v4l2_async_match_notify(notifier, v4l2_dev, sd, asd); asd 741 drivers/media/v4l2-core/v4l2-async.c if (sd->asd) asd 742 drivers/media/v4l2-core/v4l2-async.c v4l2_async_notifier_call_unbind(notifier, sd, sd->asd); asd 760 drivers/media/v4l2-core/v4l2-async.c if (sd->asd) { asd 763 drivers/media/v4l2-core/v4l2-async.c list_add(&sd->asd->list, ¬ifier->waiting); asd 765 drivers/media/v4l2-core/v4l2-async.c v4l2_async_notifier_call_unbind(notifier, sd, sd->asd); asd 606 drivers/media/v4l2-core/v4l2-fwnode.c struct v4l2_async_subdev *asd; asd 609 drivers/media/v4l2-core/v4l2-fwnode.c asd = kzalloc(asd_struct_size, GFP_KERNEL); asd 610 drivers/media/v4l2-core/v4l2-fwnode.c if (!asd) asd 613 drivers/media/v4l2-core/v4l2-fwnode.c asd->match_type = V4L2_ASYNC_MATCH_FWNODE; asd 614 drivers/media/v4l2-core/v4l2-fwnode.c asd->match.fwnode = asd 616 drivers/media/v4l2-core/v4l2-fwnode.c if (!asd->match.fwnode) { asd 629 drivers/media/v4l2-core/v4l2-fwnode.c ret = parse_endpoint ? parse_endpoint(dev, &vep, asd) : 0; asd 641 drivers/media/v4l2-core/v4l2-fwnode.c ret = v4l2_async_notifier_add_subdev(notifier, asd); asd 652 drivers/media/v4l2-core/v4l2-fwnode.c fwnode_handle_put(asd->match.fwnode); asd 653 drivers/media/v4l2-core/v4l2-fwnode.c kfree(asd); asd 773 drivers/media/v4l2-core/v4l2-fwnode.c struct v4l2_async_subdev *asd; asd 775 drivers/media/v4l2-core/v4l2-fwnode.c asd = v4l2_async_notifier_add_fwnode_subdev(notifier, asd 777 drivers/media/v4l2-core/v4l2-fwnode.c sizeof(*asd)); asd 779 drivers/media/v4l2-core/v4l2-fwnode.c if (IS_ERR(asd)) { asd 781 drivers/media/v4l2-core/v4l2-fwnode.c if (PTR_ERR(asd) == -EEXIST) asd 784 drivers/media/v4l2-core/v4l2-fwnode.c return PTR_ERR(asd); asd 1074 drivers/media/v4l2-core/v4l2-fwnode.c struct v4l2_async_subdev *asd; asd 1076 drivers/media/v4l2-core/v4l2-fwnode.c asd = v4l2_async_notifier_add_fwnode_subdev(notifier, fwnode, asd 1077 drivers/media/v4l2-core/v4l2-fwnode.c sizeof(*asd)); asd 1079 drivers/media/v4l2-core/v4l2-fwnode.c if (IS_ERR(asd)) { asd 1080 drivers/media/v4l2-core/v4l2-fwnode.c ret = PTR_ERR(asd); asd 1085 drivers/media/v4l2-core/v4l2-fwnode.c return PTR_ERR(asd); asd 353 drivers/spi/spi-atmel.c struct atmel_spi_device *asd = spi->controller_state; asd 357 drivers/spi/spi-atmel.c spi_writel(as, CSR0 + 4 * spi->chip_select, asd->csr); asd 361 drivers/spi/spi-atmel.c spi_writel(as, CSR0, asd->csr); asd 377 drivers/spi/spi-atmel.c gpiod_set_value(asd->npcs_pin, 1); asd 394 drivers/spi/spi-atmel.c gpiod_set_value(asd->npcs_pin, 1); asd 403 drivers/spi/spi-atmel.c struct atmel_spi_device *asd = spi->controller_state; asd 420 drivers/spi/spi-atmel.c gpiod_set_value(asd->npcs_pin, 0); asd 1178 drivers/spi/spi-atmel.c struct atmel_spi_device *asd; asd 1208 drivers/spi/spi-atmel.c asd = spi->controller_state; asd 1209 drivers/spi/spi-atmel.c if (!asd) { asd 1210 drivers/spi/spi-atmel.c asd = kzalloc(sizeof(struct atmel_spi_device), GFP_KERNEL); asd 1211 drivers/spi/spi-atmel.c if (!asd) asd 1226 drivers/spi/spi-atmel.c asd->npcs_pin = spi->cs_gpiod; asd 1229 drivers/spi/spi-atmel.c spi->controller_state = asd; asd 1232 drivers/spi/spi-atmel.c asd->csr = csr; asd 1252 drivers/spi/spi-atmel.c struct atmel_spi_device *asd; asd 1264 drivers/spi/spi-atmel.c asd = spi->controller_state; asd 1265 drivers/spi/spi-atmel.c bits = (asd->csr >> 4) & 0xf; asd 1441 drivers/spi/spi-atmel.c struct atmel_spi_device *asd = spi->controller_state; asd 1443 drivers/spi/spi-atmel.c if (!asd) asd 1447 drivers/spi/spi-atmel.c kfree(asd); asd 1868 drivers/staging/media/imx/imx-media-csi.c struct v4l2_async_subdev *asd) asd 1870 drivers/staging/media/imx/imx-media-csi.c return fwnode_device_is_available(asd->match.fwnode) ? 0 : -ENOTCONN; asd 25 drivers/staging/media/imx/imx-media-dev-common.c struct v4l2_async_subdev *asd) asd 23 drivers/staging/media/imx/imx-media-dev.c struct v4l2_async_subdev *asd) asd 22 drivers/staging/media/imx/imx-media-of.c struct v4l2_async_subdev *asd; asd 32 drivers/staging/media/imx/imx-media-of.c asd = v4l2_async_notifier_add_fwnode_subdev(&imxmd->notifier, asd 34 drivers/staging/media/imx/imx-media-of.c sizeof(*asd)); asd 35 drivers/staging/media/imx/imx-media-of.c if (IS_ERR(asd)) { asd 36 drivers/staging/media/imx/imx-media-of.c ret = PTR_ERR(asd); asd 548 drivers/staging/media/imx/imx6-mipi-csi2.c struct v4l2_async_subdev *asd) asd 553 drivers/staging/media/imx/imx6-mipi-csi2.c if (!fwnode_device_is_available(asd->match.fwnode)) { asd 1185 drivers/staging/media/imx/imx7-media-csi.c struct v4l2_async_subdev *asd) asd 1187 drivers/staging/media/imx/imx7-media-csi.c return fwnode_device_is_available(asd->match.fwnode) ? 0 : -EINVAL; asd 849 drivers/staging/media/imx/imx7-mipi-csis.c struct v4l2_async_subdev *asd) asd 1323 drivers/staging/media/soc_camera/soc_camera.c struct v4l2_async_subdev *asd) asd 1329 drivers/staging/media/soc_camera/soc_camera.c if (asd == sasc->sensor && !WARN_ON(icd->control)) { asd 1356 drivers/staging/media/soc_camera/soc_camera.c struct v4l2_async_subdev *asd) asd 1397 drivers/staging/media/soc_camera/soc_camera.c struct v4l2_async_subdev **asd, unsigned int size) asd 1409 drivers/staging/media/soc_camera/soc_camera.c sasd = container_of(asd[i], struct soc_camera_async_subdev, asd); asd 1414 drivers/staging/media/soc_camera/soc_camera.c if (i >= size || asd[i]->match_type != V4L2_ASYNC_MATCH_I2C) { asd 1432 drivers/staging/media/soc_camera/soc_camera.c sasc->sensor = &sasd->asd; asd 1443 drivers/staging/media/soc_camera/soc_camera.c ret = v4l2_async_notifier_add_subdev(&sasc->notifier, asd[i]); asd 1454 drivers/staging/media/soc_camera/soc_camera.c sasd->asd.match.i2c.adapter_id, asd 1455 drivers/staging/media/soc_camera/soc_camera.c sasd->asd.match.i2c.address); asd 1484 drivers/staging/media/soc_camera/soc_camera.c struct v4l2_async_subdev **asd; asd 1487 drivers/staging/media/soc_camera/soc_camera.c for (j = 0, asd = ici->asd; ici->asd_sizes[j]; j++) { asd 1488 drivers/staging/media/soc_camera/soc_camera.c scan_async_group(ici, asd, ici->asd_sizes[j]); asd 1489 drivers/staging/media/soc_camera/soc_camera.c asd += ici->asd_sizes[j]; asd 1524 drivers/staging/media/soc_camera/soc_camera.c info->sasd.asd.match.fwnode = of_fwnode_handle(remote); asd 1525 drivers/staging/media/soc_camera/soc_camera.c info->sasd.asd.match_type = V4L2_ASYNC_MATCH_FWNODE; asd 1526 drivers/staging/media/soc_camera/soc_camera.c info->subdev = &info->sasd.asd; asd 1538 drivers/staging/media/soc_camera/soc_camera.c sasc->sensor = &info->sasd.asd; asd 39 include/linux/platform_data/media/camera-mx3.h struct v4l2_async_subdev **asd; /* Flat array, arranged in groups */ asd 51 include/media/davinci/vpif_types.h struct v4l2_async_subdev **asd; /* Flat array, arranged in groups */ asd 77 include/media/davinci/vpif_types.h struct v4l2_async_subdev *asd[VPIF_CAPTURE_MAX_CHANNELS]; asd 67 include/media/soc_camera.h struct v4l2_async_subdev asd; asd 82 include/media/soc_camera.h struct v4l2_async_subdev **asd; /* Flat array, arranged in groups */ asd 110 include/media/v4l2-async.h struct v4l2_async_subdev *asd); asd 114 include/media/v4l2-async.h struct v4l2_async_subdev *asd); asd 161 include/media/v4l2-async.h struct v4l2_async_subdev *asd); asd 207 include/media/v4l2-async.h struct v4l2_async_subdev *asd); asd 252 include/media/v4l2-fwnode.h struct v4l2_async_subdev *asd); asd 868 include/media/v4l2-subdev.h struct v4l2_async_subdev *asd;