Searched refs:imxmd (Results 1 – 6 of 6) sorted by relevance
/linux-6.3-rc2/drivers/staging/media/imx/ |
A D | imx-media-dev.c | 51 mutex_lock(&imxmd->mutex); in imx6_media_probe_complete() 53 imxmd->m2m_vdev = imx_media_csc_scaler_device_init(imxmd); in imx6_media_probe_complete() 54 if (IS_ERR(imxmd->m2m_vdev)) { in imx6_media_probe_complete() 56 imxmd->m2m_vdev = NULL; in imx6_media_probe_complete() 62 mutex_unlock(&imxmd->mutex); in imx6_media_probe_complete() 76 struct imx_media_dev *imxmd; in imx_media_probe() local 80 if (IS_ERR(imxmd)) in imx_media_probe() 81 return PTR_ERR(imxmd); in imx_media_probe() 85 v4l2_err(&imxmd->v4l2_dev, in imx_media_probe() 111 if (imxmd->m2m_vdev) { in imx_media_remove() [all …]
|
A D | imx-media-dev-common.c | 220 dev_dbg(imxmd->md.dev, in imx_media_inherit_controls() 292 dev_dbg(imxmd->md.dev, in imx_media_link_notify() 304 dev_dbg(imxmd->md.dev, in imx_media_link_notify() 354 imxmd = devm_kzalloc(dev, sizeof(*imxmd), GFP_KERNEL); in imx_media_dev_init() 355 if (!imxmd) in imx_media_dev_init() 360 strscpy(imxmd->md.model, "imx-media", sizeof(imxmd->md.model)); in imx_media_dev_init() 362 imxmd->md.dev = dev; in imx_media_dev_init() 366 imxmd->v4l2_dev.mdev = &imxmd->md; in imx_media_dev_init() 370 snprintf(imxmd->md.bus_info, sizeof(imxmd->md.bus_info), in imx_media_dev_init() 386 return imxmd; in imx_media_dev_init() [all …]
|
A D | imx-media-internal-sd.c | 211 mutex_lock(&imxmd->mutex); in imx_media_register_ipu_internal_subdevs() 214 if (!imxmd->ipu[ipu_id]) in imx_media_register_ipu_internal_subdevs() 215 imxmd->ipu[ipu_id] = ipu; in imx_media_register_ipu_internal_subdevs() 233 mutex_lock(&imxmd->mutex); in imx_media_register_ipu_internal_subdevs() 265 mutex_unlock(&imxmd->mutex); in imx_media_register_ipu_internal_subdevs() 276 mutex_lock(&imxmd->mutex); in imx_media_register_ipu_internal_subdevs() 279 mutex_unlock(&imxmd->mutex); in imx_media_register_ipu_internal_subdevs() 289 mutex_lock(&imxmd->mutex); in imx_media_unregister_ipu_internal_subdevs() 294 sd = imxmd->sync_sd[i][j]; in imx_media_unregister_ipu_internal_subdevs() 301 mutex_lock(&imxmd->mutex); in imx_media_unregister_ipu_internal_subdevs() [all …]
|
A D | imx-media-of.c | 19 int imx_media_of_add_csi(struct imx_media_dev *imxmd, in imx_media_of_add_csi() argument 26 dev_dbg(imxmd->md.dev, "%s: %pOFn not enabled\n", __func__, in imx_media_of_add_csi() 32 asd = v4l2_async_nf_add_fwnode(&imxmd->notifier, in imx_media_of_add_csi() 38 dev_dbg(imxmd->md.dev, "%s: already added %pOFn\n", in imx_media_of_add_csi() 46 int imx_media_add_of_subdevs(struct imx_media_dev *imxmd, in imx_media_add_of_subdevs() argument 57 ret = imx_media_of_add_csi(imxmd, csi_np); in imx_media_add_of_subdevs()
|
A D | imx-media.h | 205 imx_media_find_subdev_by_fwnode(struct imx_media_dev *imxmd, 208 imx_media_find_subdev_by_devname(struct imx_media_dev *imxmd, 210 void imx_media_add_video_device(struct imx_media_dev *imxmd, 235 int imx_media_pipeline_set_stream(struct imx_media_dev *imxmd, 243 int imx_media_dev_notifier_register(struct imx_media_dev *imxmd, 257 int imx_media_register_ipu_internal_subdevs(struct imx_media_dev *imxmd, 259 void imx_media_unregister_ipu_internal_subdevs(struct imx_media_dev *imxmd); 264 int imx_media_of_add_csi(struct imx_media_dev *imxmd,
|
A D | imx-media-utils.c | 630 imx_media_find_subdev_by_fwnode(struct imx_media_dev *imxmd, in imx_media_find_subdev_by_fwnode() argument 635 list_for_each_entry(sd, &imxmd->v4l2_dev.subdevs, list) { in imx_media_find_subdev_by_fwnode() 645 imx_media_find_subdev_by_devname(struct imx_media_dev *imxmd, in imx_media_find_subdev_by_devname() argument 650 list_for_each_entry(sd, &imxmd->v4l2_dev.subdevs, list) { in imx_media_find_subdev_by_devname() 663 void imx_media_add_video_device(struct imx_media_dev *imxmd, in imx_media_add_video_device() argument 666 mutex_lock(&imxmd->mutex); in imx_media_add_video_device() 668 list_add_tail(&vdev->list, &imxmd->vdev_list); in imx_media_add_video_device() 670 mutex_unlock(&imxmd->mutex); in imx_media_add_video_device() 830 mutex_lock(&imxmd->md.graph_mutex); in imx_media_pipeline_set_stream() 833 ret = __media_pipeline_start(entity->pads, &imxmd->pipe); in imx_media_pipeline_set_stream() [all …]
|
Completed in 14 milliseconds