Home
last modified time | relevance | path

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

123

/linux-6.15/drivers/media/platform/samsung/exynos4-is/
H A Dmedia-dev.c73 p->subdevs[i] = NULL; in fimc_pipeline_prepare()
97 p->subdevs[IDX_SENSOR] = sd; in fimc_pipeline_prepare()
100 p->subdevs[IDX_CSIS] = sd; in fimc_pipeline_prepare()
103 p->subdevs[IDX_FLITE] = sd; in fimc_pipeline_prepare()
106 p->subdevs[IDX_FIMC] = sd; in fimc_pipeline_prepare()
109 p->subdevs[IDX_IS_ISP] = sd; in fimc_pipeline_prepare()
238 sd = p->subdevs[IDX_SENSOR]; in __fimc_pipeline_open()
300 sd = p->subdevs[IDX_FIMC]; in __fimc_pipeline_s_stream()
321 if (p->subdevs[IDX_FIMC]) in __fimc_pipeline_s_stream()
325 else if (p->subdevs[IDX_FLITE]) in __fimc_pipeline_s_stream()
[all …]
H A Dmedia-dev.h58 struct v4l2_subdev *subdevs[IDX_MAX]; member
198 return p->subdevs[index]; in __fimc_md_get_subdev()
/linux-6.15/include/media/
H A Dv4l2-device.h48 struct list_head subdevs; member
271 list_for_each_entry(sd, &(v4l2_dev)->subdevs, list)
295 list_for_each_entry((sd), &(v4l2_dev)->subdevs, list) \
354 list_for_each_entry((sd), &(v4l2_dev)->subdevs, list) { \
530 list_for_each_entry(__sd, &(v4l2_dev)->subdevs, list) { \
558 list_for_each_entry(__sd, &(v4l2_dev)->subdevs, list) { \
/linux-6.15/drivers/mfd/
H A Dhi6421-pmic-core.c54 const struct mfd_cell *subdevs; in hi6421_pmic_probe() local
89 subdevs = hi6421_devs; in hi6421_pmic_probe()
93 subdevs = hi6421v530_devs; in hi6421_pmic_probe()
103 subdevs, n_subdevs, NULL, 0, NULL); in hi6421_pmic_probe()
H A Dsun6i-prcm.c19 const struct mfd_cell *subdevs; member
108 .subdevs = sun6i_a31_prcm_subdevs,
113 .subdevs = sun8i_a23_prcm_subdevs,
147 ret = mfd_add_devices(&pdev->dev, 0, data->subdevs, data->nsubdevs, in sun6i_prcm_probe()
H A Dntxec.c153 const struct mfd_cell *subdevs; in ntxec_probe() local
179 subdevs = ntxec_subdev; in ntxec_probe()
183 subdevs = ntxec_subdev_pwm; in ntxec_probe()
236 subdevs, n_subdevs, NULL, 0, NULL); in ntxec_probe()
H A Darizona-core.c941 const struct mfd_cell *subdevs = NULL; in arizona_dev_init() local
1144 subdevs = wm5102_devs; in arizona_dev_init()
1167 subdevs = wm5110_devs; in arizona_dev_init()
1191 subdevs = cs47l24_devs; in arizona_dev_init()
1206 subdevs = wm8997_devs; in arizona_dev_init()
1230 subdevs = wm8998_devs; in arizona_dev_init()
1240 if (!subdevs) { in arizona_dev_init()
1366 subdevs, n_subdevs, NULL, 0, NULL); in arizona_dev_init()
H A Daat2870-core.c383 if ((pdata->subdevs[i].id == aat2870_devs[j].id) && in aat2870_i2c_probe()
384 !strcmp(pdata->subdevs[i].name, in aat2870_i2c_probe()
387 pdata->subdevs[i].platform_data; in aat2870_i2c_probe()
/linux-6.15/drivers/soc/microchip/
H A Dmpfs-sys-controller.c113 static struct platform_device subdevs[] = { variable
168 for (i = 0; i < ARRAY_SIZE(subdevs); i++) { in mpfs_sys_controller_probe()
169 subdevs[i].dev.parent = dev; in mpfs_sys_controller_probe()
170 if (platform_device_register(&subdevs[i])) in mpfs_sys_controller_probe()
171 dev_warn(dev, "Error registering sub device %s\n", subdevs[i].name); in mpfs_sys_controller_probe()
/linux-6.15/drivers/regulator/
H A Dmax1586.c184 pdata->subdevs = devm_kcalloc(dev, in of_get_max1586_platform_data()
188 if (!pdata->subdevs) in of_get_max1586_platform_data()
192 sub = pdata->subdevs; in of_get_max1586_platform_data()
245 id = pdata->subdevs[i].id; in max1586_pmic_probe()
246 if (!pdata->subdevs[i].platform_data) in max1586_pmic_probe()
261 config.init_data = pdata->subdevs[i].platform_data; in max1586_pmic_probe()
H A Dmax8660.c341 pdata->subdevs = devm_kcalloc(dev, in max8660_pdata_from_dt()
345 if (!pdata->subdevs) in max8660_pdata_from_dt()
349 sub = pdata->subdevs; in max8660_pdata_from_dt()
433 if (!pdata->subdevs[i].platform_data) in max8660_probe()
436 boot_on = pdata->subdevs[i].platform_data->constraints.boot_on; in max8660_probe()
438 switch (pdata->subdevs[i].id) { in max8660_probe()
469 pdata->subdevs[i].name); in max8660_probe()
478 id = pdata->subdevs[i].id; in max8660_probe()
481 config.init_data = pdata->subdevs[i].platform_data; in max8660_probe()
/linux-6.15/drivers/media/v4l2-core/
H A Dv4l2-device.c22 INIT_LIST_HEAD(&v4l2_dev->subdevs); in v4l2_device_register()
99 list_for_each_entry_safe(sd, next, &v4l2_dev->subdevs, list) { in v4l2_device_unregister()
158 list_add_tail(&sd->list, &v4l2_dev->subdevs); in __v4l2_device_register_subdev()
201 list_for_each_entry(sd, &v4l2_dev->subdevs, list) { in __v4l2_device_register_subdev_nodes()
253 list_for_each_entry(sd, &v4l2_dev->subdevs, list) { in __v4l2_device_register_subdev_nodes()
/linux-6.15/drivers/gpu/host1x/
H A Dbus.c55 list_add_tail(&subdev->list, &device->subdevs); in host1x_subdev_add()
60 if (of_match_node(driver->subdevs, child) && in host1x_subdev_add()
97 if (of_match_node(driver->subdevs, np) && in host1x_device_parse_dt()
130 if (list_empty(&device->subdevs)) { in host1x_subdev_register()
148 if (list_empty(&device->subdevs)) { in __host1x_subdev_unregister()
162 list_move_tail(&subdev->list, &device->subdevs); in __host1x_subdev_unregister()
301 list_for_each_entry(subdev, &device->subdevs, list) { in host1x_add_client()
399 list_for_each_entry_safe(subdev, sd, &device->subdevs, list) in __host1x_device_del()
441 INIT_LIST_HEAD(&device->subdevs); in host1x_device_add()
469 list_for_each_entry(subdev, &device->subdevs, list) { in host1x_device_add()
[all …]
/linux-6.15/drivers/staging/media/atomisp/pci/
H A Datomisp_v4l2.c767 const struct intel_v4l2_subdev_table *subdevs; in atomisp_subdev_probe() local
780 for (subdevs = atomisp_platform_get_subdevs(); subdevs->subdev; subdevs++) { in atomisp_subdev_probe()
781 ret = v4l2_device_register_subdev(&isp->v4l2_dev, subdevs->subdev); in atomisp_subdev_probe()
785 if (subdevs->port >= ATOMISP_CAMERA_NR_PORTS) { in atomisp_subdev_probe()
786 dev_err(isp->dev, "port %d not supported\n", subdevs->port); in atomisp_subdev_probe()
790 if (isp->sensor_subdevs[subdevs->port]) { in atomisp_subdev_probe()
792 subdevs->port); in atomisp_subdev_probe()
796 mipi_port = atomisp_port_to_mipi_port(isp, subdevs->port); in atomisp_subdev_probe()
797 isp->sensor_lanes[mipi_port] = subdevs->lanes; in atomisp_subdev_probe()
798 isp->sensor_subdevs[subdevs->port] = subdevs->subdev; in atomisp_subdev_probe()
[all …]
/linux-6.15/Documentation/admin-guide/media/
H A Domap3isp.rst35 Split to subdevs
38 The OMAP 3 ISP is split into V4L2 subdevs, each of the blocks inside the ISP
39 having one subdev to represent it. Each of the subdevs provide a V4L2 subdev
H A Dfimc.rst80 Camera capture subdevs
104 the sub-devices (format, crop), to avoid resetting the subdevs' configuration
107 For full sub-device control support (subdevs configured at user space before
114 For V4L2 video node control only (subdevs configured internally by the host
/linux-6.15/include/media/drv-intf/
H A Drenesas-ceu.h23 struct ceu_async_subdev subdevs[CEU_MAX_SUBDEVS]; member
/linux-6.15/include/linux/regulator/
H A Dmax1586.h46 struct max1586_subdev_data *subdevs; member
H A Dmax8660.h42 struct max8660_subdev_data *subdevs; member
/linux-6.15/Documentation/userspace-api/media/drivers/
H A Domap3isp-uapi.rst20 statistics (AEWB, AF and histogram) subdevs.
32 Each of the statistics subdevs is able to produce events. An event is
140 The statistics subdevs do offer more dynamic configuration options than the
141 other subdevs. They can be enabled, disable and reconfigured when the pipeline
148 The private IOCTLs offered by the AEWB, AF and histogram subdevs are heavily
/linux-6.15/drivers/media/platform/renesas/
H A Drenesas-ceu.c176 struct ceu_subdev **subdevs; member
1220 ceudev->sd = ceudev->subdevs[i]; in ceu_s_input()
1413 ceudev->sd = ceudev->subdevs[0]; in ceu_notify_complete()
1465 ceudev->subdevs = devm_kcalloc(ceudev->dev, n_sd, in ceu_init_async_subdevs()
1466 sizeof(*ceudev->subdevs), GFP_KERNEL); in ceu_init_async_subdevs()
1467 if (!ceudev->subdevs) in ceu_init_async_subdevs()
1499 async_sd = &pdata->subdevs[i]; in ceu_parse_platform_data()
1509 ceudev->subdevs[i] = ceu_sd; in ceu_parse_platform_data()
1571 ceudev->subdevs[i] = ceu_sd; in ceu_parse_dt()
/linux-6.15/drivers/staging/media/imx/
H A Dimx-media-dev-common.c28 list_for_each_entry(sd, &imxmd->v4l2_dev.subdevs, list) { in imx_media_create_csi2_links()
37 list_for_each_entry(sd, &imxmd->v4l2_dev.subdevs, list) { in imx_media_create_csi2_links()
128 list_for_each_entry(sd, &imxmd->v4l2_dev.subdevs, list) { in imx_media_alloc_pad_vdev_lists()
/linux-6.15/drivers/staging/media/ipu3/
H A DTODO9 Comments on configuring v4l2 subdevs for CIO2 and ImgU.
/linux-6.15/include/linux/mfd/
H A Dtps6586x.h88 struct tps6586x_subdev_info *subdevs; member
H A Daat2870.h150 struct aat2870_subdev_info *subdevs; member

123