Home
last modified time | relevance | path

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

12

/drivers/media/platform/exynos4-is/
Dmedia-dev.c76 p->subdevs[i] = NULL; in fimc_pipeline_prepare()
100 p->subdevs[IDX_SENSOR] = sd; in fimc_pipeline_prepare()
103 p->subdevs[IDX_CSIS] = sd; in fimc_pipeline_prepare()
106 p->subdevs[IDX_FLITE] = sd; in fimc_pipeline_prepare()
109 p->subdevs[IDX_FIMC] = sd; in fimc_pipeline_prepare()
112 p->subdevs[IDX_IS_ISP] = sd; in fimc_pipeline_prepare()
122 if (sensor && p->subdevs[IDX_FIMC]) in fimc_pipeline_prepare()
123 __setup_sensor_notification(fmd, sensor, p->subdevs[IDX_FIMC]); in fimc_pipeline_prepare()
167 if (p->subdevs[IDX_SENSOR] == NULL) in fimc_pipeline_s_power()
173 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()
/drivers/media/platform/rcar-vin/
Drcar-core.c186 struct v4l2_async_subdev **subdevs = NULL; in rvin_digital_graph_init() local
199 subdevs = devm_kzalloc(vin->dev, sizeof(*subdevs), GFP_KERNEL); in rvin_digital_graph_init()
200 if (subdevs == NULL) in rvin_digital_graph_init()
203 subdevs[0] = &vin->digital.asd; in rvin_digital_graph_init()
206 of_node_full_name(subdevs[0]->match.of.node)); in rvin_digital_graph_init()
209 vin->notifier.subdevs = subdevs; in rvin_digital_graph_init()
/drivers/regulator/
Dmax8660.c354 pdata->subdevs = devm_kzalloc(dev, sizeof(struct max8660_subdev_data) * in max8660_pdata_from_dt()
356 if (!pdata->subdevs) in max8660_pdata_from_dt()
360 sub = pdata->subdevs; in max8660_pdata_from_dt()
444 if (!pdata->subdevs[i].platform_data) in max8660_probe()
447 boot_on = pdata->subdevs[i].platform_data->constraints.boot_on; in max8660_probe()
449 switch (pdata->subdevs[i].id) { in max8660_probe()
480 pdata->subdevs[i].name); in max8660_probe()
489 id = pdata->subdevs[i].id; in max8660_probe()
492 config.init_data = pdata->subdevs[i].platform_data; in max8660_probe()
Dmax1586.c197 pdata->subdevs = devm_kzalloc(dev, sizeof(struct max1586_subdev_data) * in of_get_max1586_platform_data()
199 if (!pdata->subdevs) in of_get_max1586_platform_data()
203 sub = pdata->subdevs; in of_get_max1586_platform_data()
264 id = pdata->subdevs[i].id; in max1586_pmic_probe()
265 if (!pdata->subdevs[i].platform_data) in max1586_pmic_probe()
280 config.init_data = pdata->subdevs[i].platform_data; in max1586_pmic_probe()
/drivers/mfd/
Dsun6i-prcm.c17 const struct mfd_cell *subdevs; member
116 .subdevs = sun6i_a31_prcm_subdevs,
121 .subdevs = sun8i_a23_prcm_subdevs,
156 ret = mfd_add_devices(&pdev->dev, 0, data->subdevs, data->nsubdevs, in sun6i_prcm_probe()
Darizona-core.c1040 const struct mfd_cell *subdevs = NULL; in arizona_dev_init() local
1238 subdevs = wm5102_devs; in arizona_dev_init()
1261 subdevs = wm5110_devs; in arizona_dev_init()
1285 subdevs = cs47l24_devs; in arizona_dev_init()
1300 subdevs = wm8997_devs; in arizona_dev_init()
1324 subdevs = wm8998_devs; in arizona_dev_init()
1334 if (!subdevs) { in arizona_dev_init()
1527 subdevs, n_subdevs, NULL, 0, NULL); in arizona_dev_init()
Daat2870-core.c417 if ((pdata->subdevs[i].id == aat2870_devs[j].id) && in aat2870_i2c_probe()
418 !strcmp(pdata->subdevs[i].name, in aat2870_i2c_probe()
421 pdata->subdevs[i].platform_data; in aat2870_i2c_probe()
Dtps6586x.c394 subdev = &pdata->subdevs[i]; in tps6586x_add_subdevs()
432 pdata->subdevs = NULL; in tps6586x_parse_dt()
Dda903x.c470 subdev = &pdata->subdevs[i]; in da903x_add_subdevs()
Dezx-pcap.c489 ret = pcap_add_subdev(pcap, &pdata->subdevs[i]); in ezx_pcap_probe()
/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()
/drivers/gpu/host1x/
Dbus.c57 list_add_tail(&subdev->list, &device->subdevs); in host1x_subdev_add()
83 if (of_match_node(driver->subdevs, np) && in host1x_device_parse_dt()
116 if (list_empty(&device->subdevs)) { in host1x_subdev_register()
134 if (list_empty(&device->subdevs)) { in __host1x_subdev_unregister()
148 list_move_tail(&subdev->list, &device->subdevs); in __host1x_subdev_unregister()
230 list_for_each_entry(subdev, &device->subdevs, list) { in host1x_add_client()
348 list_for_each_entry_safe(subdev, sd, &device->subdevs, list) in __host1x_device_del()
390 INIT_LIST_HEAD(&device->subdevs); in host1x_device_add()
416 list_for_each_entry(subdev, &device->subdevs, list) { in host1x_device_add()
/drivers/media/v4l2-core/
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()
278 list_for_each_entry(sd, &v4l2_dev->subdevs, list) { in v4l2_device_register_subdev_nodes()
Dv4l2-async.c152 asd = notifier->subdevs[i]; in v4l2_async_notifier_register()
/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()
/drivers/media/platform/xilinx/
Dxilinx-vipp.c507 struct v4l2_async_subdev **subdevs = NULL; in xvip_graph_init() local
533 subdevs = devm_kzalloc(xdev->dev, sizeof(*subdevs) * num_subdevs, in xvip_graph_init()
535 if (subdevs == NULL) { in xvip_graph_init()
542 subdevs[i++] = &entity->asd; in xvip_graph_init()
544 xdev->notifier.subdevs = subdevs; in xvip_graph_init()
/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()
/drivers/staging/media/davinci_vpfe/
Ddavinci-vpfe-mc.txt27 Split to subdevs
30 The Davinci VPFE is split into V4L2 subdevs, each of the blocks inside the VPFE
31 having one subdev to represent it. Each of the subdevs provide a V4L2 subdev
DTODO14 - The driver should have no knowledge of possible external subdevs; see
/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dtop.h12 u32 nvkm_top_intr(struct nvkm_device *, u32 intr, u64 *subdevs);
/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dgpfifogk104.c239 u64 subdevs = 0; in gk104_fifo_gpfifo_new_() local
261 subdevs |= func[j].subdev; in gk104_fifo_gpfifo_new_()
287 0x1000, 0x1000, true, vm, 0, subdevs, in gk104_fifo_gpfifo_new_()
/drivers/media/platform/omap3isp/
Disp.h226 struct v4l2_subdev *subdevs[ISP_MAX_SUBDEVS]; member
Disp.c2110 notifier->subdevs = devm_kcalloc( in isp_of_parse_nodes()
2111 dev, ISP_MAX_SUBDEVS, sizeof(*notifier->subdevs), GFP_KERNEL); in isp_of_parse_nodes()
2112 if (!notifier->subdevs) in isp_of_parse_nodes()
2125 notifier->subdevs[notifier->num_subdevs] = &isd->asd; in isp_of_parse_nodes()
2172 list_for_each_entry(sd, &v4l2_dev->subdevs, list) { in isp_subdev_notifier_complete()

12