Home
last modified time | relevance | path

Searched refs:subdevs (Results 1 – 25 of 85) sorted by relevance

1234

/Linux-v4.19/drivers/media/platform/vimc/
Dvimc-core.c52 struct platform_device **subdevs; member
163 platform_get_drvdata(vimc->subdevs[link->src_ent]); in vimc_create_links()
165 platform_get_drvdata(vimc->subdevs[link->sink_ent]); in vimc_create_links()
265 vimc->subdevs[i] = platform_device_register_data(&vimc->pdev.dev, in vimc_add_subdevs()
270 if (IS_ERR(vimc->subdevs[i])) { in vimc_add_subdevs()
271 match = ERR_CAST(vimc->subdevs[i]); in vimc_add_subdevs()
273 platform_device_unregister(vimc->subdevs[i]); in vimc_add_subdevs()
290 platform_device_unregister(vimc->subdevs[i]); in vimc_rm_subdevs()
307 vimc->subdevs = devm_kcalloc(&vimc->pdev.dev, vimc->pipe_cfg->num_ents, in vimc_probe()
308 sizeof(*vimc->subdevs), GFP_KERNEL); in vimc_probe()
[all …]
/Linux-v4.19/include/media/
Dv4l2-device.h62 struct list_head subdevs; member
229 list_for_each_entry(sd, &(v4l2_dev)->subdevs, list)
253 list_for_each_entry((sd), &(v4l2_dev)->subdevs, list) \
312 list_for_each_entry((sd), &(v4l2_dev)->subdevs, list) { \
488 list_for_each_entry(__sd, &(v4l2_dev)->subdevs, list) { \
516 list_for_each_entry(__sd, &(v4l2_dev)->subdevs, list) { \
/Linux-v4.19/drivers/media/platform/exynos4-is/
Dmedia-dev.c77 p->subdevs[i] = NULL; in fimc_pipeline_prepare()
101 p->subdevs[IDX_SENSOR] = sd; in fimc_pipeline_prepare()
104 p->subdevs[IDX_CSIS] = sd; in fimc_pipeline_prepare()
107 p->subdevs[IDX_FLITE] = sd; in fimc_pipeline_prepare()
110 p->subdevs[IDX_FIMC] = sd; in fimc_pipeline_prepare()
113 p->subdevs[IDX_IS_ISP] = sd; in fimc_pipeline_prepare()
123 if (sensor && p->subdevs[IDX_FIMC]) in fimc_pipeline_prepare()
124 __setup_sensor_notification(fmd, sensor, p->subdevs[IDX_FIMC]); in fimc_pipeline_prepare()
168 if (p->subdevs[IDX_SENSOR] == NULL) in fimc_pipeline_s_power()
174 ret = __subdev_set_power(p->subdevs[idx], on); in fimc_pipeline_s_power()
[all …]
Dmedia-dev.h64 struct v4l2_subdev *subdevs[IDX_MAX]; member
208 return p->subdevs[index]; in __fimc_md_get_subdev()
/Linux-v4.19/drivers/media/v4l2-core/
Dv4l2-fwnode.c326 struct v4l2_async_subdev **subdevs; in v4l2_async_notifier_realloc() local
331 subdevs = kvmalloc_array( in v4l2_async_notifier_realloc()
332 max_subdevs, sizeof(*notifier->subdevs), in v4l2_async_notifier_realloc()
334 if (!subdevs) in v4l2_async_notifier_realloc()
337 if (notifier->subdevs) { in v4l2_async_notifier_realloc()
338 memcpy(subdevs, notifier->subdevs, in v4l2_async_notifier_realloc()
339 sizeof(*subdevs) * notifier->num_subdevs); in v4l2_async_notifier_realloc()
341 kvfree(notifier->subdevs); in v4l2_async_notifier_realloc()
344 notifier->subdevs = subdevs; in v4l2_async_notifier_realloc()
394 notifier->subdevs[notifier->num_subdevs] = asd; in v4l2_async_notifier_fwnode_parse_endpoint()
[all …]
Dv4l2-device.c38 INIT_LIST_HEAD(&v4l2_dev->subdevs); in v4l2_device_register()
115 list_for_each_entry_safe(sd, next, &v4l2_dev->subdevs, list) { in v4l2_device_unregister()
201 list_add_tail(&sd->list, &v4l2_dev->subdevs); in v4l2_device_register_subdev()
234 list_for_each_entry(sd, &v4l2_dev->subdevs, list) { in v4l2_device_register_subdev_nodes()
282 list_for_each_entry(sd, &v4l2_dev->subdevs, list) { in v4l2_device_register_subdev_nodes()
Dv4l2-async.c354 struct v4l2_async_subdev *asd = notifier->subdevs[this_index]; in v4l2_async_notifier_fwnode_has_async_subdev()
355 struct v4l2_async_subdev *other_asd = notifier->subdevs[j]; in v4l2_async_notifier_fwnode_has_async_subdev()
389 asd = notifier->subdevs[i]; in __v4l2_async_notifier_register()
509 struct v4l2_async_subdev *asd = notifier->subdevs[i]; in v4l2_async_notifier_cleanup()
526 kvfree(notifier->subdevs); in v4l2_async_notifier_cleanup()
527 notifier->subdevs = NULL; in v4l2_async_notifier_cleanup()
/Linux-v4.19/drivers/mfd/
Dhi6421-pmic-core.c58 const struct mfd_cell *subdevs; in hi6421_pmic_probe() local
97 subdevs = hi6421_devs; in hi6421_pmic_probe()
101 subdevs = hi6421v530_devs; in hi6421_pmic_probe()
111 subdevs, n_subdevs, NULL, 0, NULL); in hi6421_pmic_probe()
Dsun6i-prcm.c20 const struct mfd_cell *subdevs; member
129 .subdevs = sun6i_a31_prcm_subdevs,
134 .subdevs = sun8i_a23_prcm_subdevs,
169 ret = mfd_add_devices(&pdev->dev, 0, data->subdevs, data->nsubdevs, in sun6i_prcm_probe()
/Linux-v4.19/drivers/regulator/
Dmax1586.c197 pdata->subdevs = devm_kcalloc(dev, in of_get_max1586_platform_data()
201 if (!pdata->subdevs) in of_get_max1586_platform_data()
205 sub = pdata->subdevs; in of_get_max1586_platform_data()
266 id = pdata->subdevs[i].id; in max1586_pmic_probe()
267 if (!pdata->subdevs[i].platform_data) in max1586_pmic_probe()
282 config.init_data = pdata->subdevs[i].platform_data; in max1586_pmic_probe()
Dmax8660.c354 pdata->subdevs = devm_kcalloc(dev, in max8660_pdata_from_dt()
358 if (!pdata->subdevs) in max8660_pdata_from_dt()
362 sub = pdata->subdevs; in max8660_pdata_from_dt()
446 if (!pdata->subdevs[i].platform_data) in max8660_probe()
449 boot_on = pdata->subdevs[i].platform_data->constraints.boot_on; in max8660_probe()
451 switch (pdata->subdevs[i].id) { in max8660_probe()
482 pdata->subdevs[i].name); in max8660_probe()
491 id = pdata->subdevs[i].id; in max8660_probe()
494 config.init_data = pdata->subdevs[i].platform_data; in max8660_probe()
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/mc/
Dbase.c84 u64 subdevs; in nvkm_mc_intr() local
90 stat = nvkm_top_intr(device, intr, &subdevs); in nvkm_mc_intr()
91 while (subdevs) { in nvkm_mc_intr()
92 enum nvkm_devidx subidx = __ffs64(subdevs); in nvkm_mc_intr()
96 subdevs &= ~BIT_ULL(subidx); in nvkm_mc_intr()
/Linux-v4.19/drivers/gpu/host1x/
Dbus.c62 list_add_tail(&subdev->list, &device->subdevs); in host1x_subdev_add()
67 if (of_match_node(driver->subdevs, child) && in host1x_subdev_add()
104 if (of_match_node(driver->subdevs, np) && in host1x_device_parse_dt()
137 if (list_empty(&device->subdevs)) { in host1x_subdev_register()
155 if (list_empty(&device->subdevs)) { in __host1x_subdev_unregister()
169 list_move_tail(&subdev->list, &device->subdevs); in __host1x_subdev_unregister()
277 list_for_each_entry(subdev, &device->subdevs, list) { in host1x_add_client()
367 list_for_each_entry_safe(subdev, sd, &device->subdevs, list) in __host1x_device_del()
409 INIT_LIST_HEAD(&device->subdevs); in host1x_device_add()
437 list_for_each_entry(subdev, &device->subdevs, list) { in host1x_device_add()
/Linux-v4.19/drivers/staging/media/imx/
Dimx-media-dev.c304 list_for_each_entry(sd, &imxmd->v4l2_dev.subdevs, list) { in imx_media_alloc_pad_vdev_lists()
491 struct v4l2_async_subdev **subdevs; in imx_media_probe() local
547 subdevs = devm_kcalloc(imxmd->md.dev, num_subdevs, sizeof(*subdevs), in imx_media_probe()
549 if (!subdevs) { in imx_media_probe()
556 subdevs[i++] = &imxasd->asd; in imx_media_probe()
559 imxmd->subdev_notifier.subdevs = subdevs; in imx_media_probe()
/Linux-v4.19/include/linux/platform_data/media/
Domap4iss.h54 struct iss_subdev_i2c_board_info *subdevs; member
62 struct iss_v4l2_subdevs_group *subdevs; member
/Linux-v4.19/drivers/staging/media/omap4iss/
Diss.c988 struct iss_v4l2_subdevs_group *subdevs; in iss_register_entities() local
1033 for (subdevs = pdata->subdevs; subdevs && subdevs->subdevs; ++subdevs) { in iss_register_entities()
1039 sensor = iss_register_subdev_group(iss, subdevs->subdevs); in iss_register_entities()
1043 sensor->host_priv = subdevs; in iss_register_entities()
1049 switch (subdevs->interface) { in iss_register_entities()
1066 subdevs->interface); in iss_register_entities()
Diss_csiphy.c124 struct iss_v4l2_subdevs_group *subdevs = pipe->external->host_priv; in omap4iss_csiphy_config() local
132 lanes = &subdevs->bus.csi2.lanecfg; in omap4iss_csiphy_config()
150 if (subdevs->interface == ISS_INTERFACE_CSI2A_PHY1) { in omap4iss_csiphy_config()
161 if (subdevs->interface == ISS_INTERFACE_CSI2B_PHY2) { in omap4iss_csiphy_config()
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/top/
Dbase.c80 u64 subdevs = 0; in nvkm_top_intr() local
87 subdevs |= BIT_ULL(info->index); in nvkm_top_intr()
94 *psubdevs = subdevs; in nvkm_top_intr()
/Linux-v4.19/drivers/media/platform/xilinx/
Dxilinx-vipp.c509 struct v4l2_async_subdev **subdevs = NULL; in xvip_graph_init() local
535 subdevs = devm_kcalloc(xdev->dev, num_subdevs, sizeof(*subdevs), in xvip_graph_init()
537 if (subdevs == NULL) { in xvip_graph_init()
544 subdevs[i++] = &entity->asd; in xvip_graph_init()
546 xdev->notifier.subdevs = subdevs; in xvip_graph_init()
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dgpfifogk104.c250 u64 subdevs = 0; in gk104_fifo_gpfifo_new_() local
260 subdevs |= BIT_ULL(fifo->engine[i].engine->subdev.index); in gk104_fifo_gpfifo_new_()
263 if (subdevs & BIT_ULL(NVKM_ENGINE_GR)) in gk104_fifo_gpfifo_new_()
264 subdevs |= BIT_ULL(NVKM_ENGINE_SW); in gk104_fifo_gpfifo_new_()
275 0x1000, 0x1000, true, vmm, 0, subdevs, in gk104_fifo_gpfifo_new_()
Dgpfifogv100.c124 u64 subdevs = 0; in gv100_fifo_gpfifo_new_() local
134 subdevs |= BIT_ULL(fifo->engine[i].engine->subdev.index); in gv100_fifo_gpfifo_new_()
146 0x1000, 0x1000, true, vmm, 0, subdevs, in gv100_fifo_gpfifo_new_()
/Linux-v4.19/Documentation/media/v4l-drivers/
Domap3isp.rst33 Split to subdevs
36 The OMAP 3 ISP is split into V4L2 subdevs, each of the blocks inside the ISP
37 having one subdev to represent it. Each of the subdevs provide a V4L2 subdev
74 statistics (AEWB, AF and histogram) subdevs.
86 Each of the statistics subdevs is able to produce events. An event is
194 The statistics subdevs do offer more dynamic configuration options than the
195 other subdevs. They can be enabled, disable and reconfigured when the pipeline
202 The private IOCTLs offered by the AEWB, AF and histogram subdevs are heavily
/Linux-v4.19/include/media/drv-intf/
Drenesas-ceu.h23 struct ceu_async_subdev subdevs[CEU_MAX_SUBDEVS]; member
/Linux-v4.19/include/linux/regulator/
Dmax1586.h59 struct max1586_subdev_data *subdevs; member
Dmax8660.h54 struct max8660_subdev_data *subdevs; member

1234