Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/include/media/
Dv4l2-device.h50 struct list_head subdevs; member
270 list_for_each_entry(sd, &(v4l2_dev)->subdevs, list)
294 list_for_each_entry((sd), &(v4l2_dev)->subdevs, list) \
353 list_for_each_entry((sd), &(v4l2_dev)->subdevs, list) { \
529 list_for_each_entry(__sd, &(v4l2_dev)->subdevs, list) { \
557 list_for_each_entry(__sd, &(v4l2_dev)->subdevs, list) { \
/kernel/linux/linux-5.10/drivers/media/platform/exynos4-is/
Dmedia-dev.c74 p->subdevs[i] = NULL; in fimc_pipeline_prepare()
98 p->subdevs[IDX_SENSOR] = sd; in fimc_pipeline_prepare()
101 p->subdevs[IDX_CSIS] = sd; in fimc_pipeline_prepare()
104 p->subdevs[IDX_FLITE] = sd; in fimc_pipeline_prepare()
107 p->subdevs[IDX_FIMC] = sd; in fimc_pipeline_prepare()
110 p->subdevs[IDX_IS_ISP] = sd; in fimc_pipeline_prepare()
120 if (sensor && p->subdevs[IDX_FIMC]) in fimc_pipeline_prepare()
121 __setup_sensor_notification(fmd, sensor, p->subdevs[IDX_FIMC]); in fimc_pipeline_prepare()
165 if (p->subdevs[IDX_SENSOR] == NULL) in fimc_pipeline_s_power()
171 ret = __subdev_set_power(p->subdevs[idx], on); in fimc_pipeline_s_power()
[all …]
Dmedia-dev.h59 struct v4l2_subdev *subdevs[IDX_MAX]; member
193 return p->subdevs[index]; in __fimc_md_get_subdev()
/kernel/linux/linux-5.10/drivers/mfd/
Dhi6421-pmic-core.c55 const struct mfd_cell *subdevs; in hi6421_pmic_probe() local
94 subdevs = hi6421_devs; in hi6421_pmic_probe()
98 subdevs = hi6421v530_devs; in hi6421_pmic_probe()
108 subdevs, n_subdevs, NULL, 0, NULL); in hi6421_pmic_probe()
Dsun6i-prcm.c19 const struct mfd_cell *subdevs; member
128 .subdevs = sun6i_a31_prcm_subdevs,
133 .subdevs = sun8i_a23_prcm_subdevs,
167 ret = mfd_add_devices(&pdev->dev, 0, data->subdevs, data->nsubdevs, in sun6i_prcm_probe()
Darizona-core.c991 const struct mfd_cell *subdevs = NULL; in arizona_dev_init() local
1194 subdevs = wm5102_devs; in arizona_dev_init()
1217 subdevs = wm5110_devs; in arizona_dev_init()
1241 subdevs = cs47l24_devs; in arizona_dev_init()
1256 subdevs = wm8997_devs; in arizona_dev_init()
1280 subdevs = wm8998_devs; in arizona_dev_init()
1290 if (!subdevs) { in arizona_dev_init()
1416 subdevs, n_subdevs, NULL, 0, NULL); in arizona_dev_init()
/kernel/linux/linux-5.10/drivers/regulator/
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()
253 id = pdata->subdevs[i].id; in max1586_pmic_probe()
254 if (!pdata->subdevs[i].platform_data) in max1586_pmic_probe()
269 config.init_data = pdata->subdevs[i].platform_data; in max1586_pmic_probe()
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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/gpu/host1x/
Dbus.c53 list_add_tail(&subdev->list, &device->subdevs); in host1x_subdev_add()
58 if (of_match_node(driver->subdevs, child) && in host1x_subdev_add()
95 if (of_match_node(driver->subdevs, np) && in host1x_device_parse_dt()
128 if (list_empty(&device->subdevs)) { in host1x_subdev_register()
146 if (list_empty(&device->subdevs)) { in __host1x_subdev_unregister()
160 list_move_tail(&subdev->list, &device->subdevs); in __host1x_subdev_unregister()
268 list_for_each_entry(subdev, &device->subdevs, list) { in host1x_add_client()
389 list_for_each_entry_safe(subdev, sd, &device->subdevs, list) in __host1x_device_del()
431 INIT_LIST_HEAD(&device->subdevs); in host1x_device_add()
461 list_for_each_entry(subdev, &device->subdevs, list) { in host1x_device_add()
[all …]
/kernel/linux/linux-5.10/include/linux/platform_data/media/
Domap4iss.h54 struct iss_subdev_i2c_board_info *subdevs; member
62 struct iss_v4l2_subdevs_group *subdevs; member
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
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()
156 list_add_tail(&sd->list, &v4l2_dev->subdevs); in v4l2_device_register_subdev()
199 list_for_each_entry(sd, &v4l2_dev->subdevs, list) { in __v4l2_device_register_subdev_nodes()
250 list_for_each_entry(sd, &v4l2_dev->subdevs, list) { in __v4l2_device_register_subdev_nodes()
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
Datomisp_gmin_platform.c125 .subdevs = pdata_subdevs,
178 if (!pdata.subdevs[i].type) in atomisp_register_i2c_module()
181 if (pdata.subdevs[i].type) in atomisp_register_i2c_module()
193 pdata.subdevs[i].type = type; in atomisp_register_i2c_module()
194 pdata.subdevs[i].port = gs->csi_port; in atomisp_register_i2c_module()
195 pdata.subdevs[i].subdev = subdev; in atomisp_register_i2c_module()
196 pdata.subdevs[i].v4l2_subdev.i2c_adapter_id = client->adapter->nr; in atomisp_register_i2c_module()
199 bi = &pdata.subdevs[i].v4l2_subdev.board_info; in atomisp_register_i2c_module()
215 for (i = 0; i < MAX_SUBDEVS && pdata.subdevs[i].type; i++) { in atomisp_gmin_find_subdev()
216 struct intel_v4l2_subdev_table *sd = &pdata.subdevs[i]; in atomisp_gmin_find_subdev()
[all …]
Datomisp_v4l2.c1018 struct intel_v4l2_subdev_table *subdevs; in atomisp_subdev_probe() local
1031 for (subdevs = pdata->subdevs; subdevs->type; ++subdevs) { in atomisp_subdev_probe()
1032 if (subdevs->type == RAW_CAMERA || in atomisp_subdev_probe()
1033 subdevs->type == SOC_CAMERA) in atomisp_subdev_probe()
1045 for (subdevs = pdata->subdevs; subdevs->type; ++subdevs) { in atomisp_subdev_probe()
1048 &subdevs->v4l2_subdev.board_info; in atomisp_subdev_probe()
1050 i2c_get_adapter(subdevs->v4l2_subdev.i2c_adapter_id); in atomisp_subdev_probe()
1087 switch (subdevs->type) { in atomisp_subdev_probe()
1100 isp->inputs[isp->input_cnt].type = subdevs->type; in atomisp_subdev_probe()
1101 isp->inputs[isp->input_cnt].port = subdevs->port; in atomisp_subdev_probe()
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/omap4iss/
Diss.c980 struct iss_v4l2_subdevs_group *subdevs; in iss_register_entities() local
1025 for (subdevs = pdata->subdevs; subdevs && subdevs->subdevs; ++subdevs) { in iss_register_entities()
1031 sensor = iss_register_subdev_group(iss, subdevs->subdevs); in iss_register_entities()
1035 sensor->host_priv = subdevs; in iss_register_entities()
1041 switch (subdevs->interface) { in iss_register_entities()
1058 subdevs->interface); in iss_register_entities()
Diss_csiphy.c120 struct iss_v4l2_subdevs_group *subdevs = pipe->external->host_priv; in omap4iss_csiphy_config() local
128 lanes = &subdevs->bus.csi2.lanecfg; in omap4iss_csiphy_config()
146 if (subdevs->interface == ISS_INTERFACE_CSI2A_PHY1) { in omap4iss_csiphy_config()
157 if (subdevs->interface == ISS_INTERFACE_CSI2B_PHY2) { in omap4iss_csiphy_config()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/top/
Dbase.c96 u64 subdevs = 0; in nvkm_top_intr() local
103 subdevs |= BIT_ULL(info->index); in nvkm_top_intr()
110 *psubdevs = subdevs; in nvkm_top_intr()
/kernel/linux/linux-5.10/Documentation/admin-guide/media/
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
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
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dgpfifogk104.c251 u64 subdevs = 0; in gk104_fifo_gpfifo_new_() local
261 subdevs |= BIT_ULL(fifo->engine[i].engine->subdev.index); in gk104_fifo_gpfifo_new_()
264 if (subdevs & BIT_ULL(NVKM_ENGINE_GR)) in gk104_fifo_gpfifo_new_()
265 subdevs |= BIT_ULL(NVKM_ENGINE_SW); in gk104_fifo_gpfifo_new_()
276 0x1000, 0x1000, true, vmm, 0, subdevs, in gk104_fifo_gpfifo_new_()
Dgpfifogv100.c133 u64 subdevs = 0; in gv100_fifo_gpfifo_new_() local
144 subdevs |= BIT_ULL(fifo->engine[i].engine->subdev.index); in gv100_fifo_gpfifo_new_()
156 0, subdevs, 1, fifo->user.bar->addr, 0x200, in gv100_fifo_gpfifo_new_()
/kernel/linux/linux-5.10/include/media/drv-intf/
Drenesas-ceu.h23 struct ceu_async_subdev subdevs[CEU_MAX_SUBDEVS]; member
/kernel/linux/linux-5.10/include/linux/regulator/
Dmax1586.h46 struct max1586_subdev_data *subdevs; member
Dmax8660.h42 struct max8660_subdev_data *subdevs; member
/kernel/linux/linux-5.10/Documentation/userspace-api/media/drivers/
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

123