/drivers/media/platform/samsung/exynos4-is/ |
D | media-dev.c | 74 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 …]
|
D | media-dev.h | 59 struct v4l2_subdev *subdevs[IDX_MAX]; member 198 return p->subdevs[index]; in __fimc_md_get_subdev()
|
/drivers/soc/microchip/ |
D | mpfs-sys-controller.c | 83 static struct platform_device subdevs[] = { variable 123 for (i = 0; i < ARRAY_SIZE(subdevs); i++) { in mpfs_sys_controller_probe() 124 subdevs[i].dev.parent = dev; in mpfs_sys_controller_probe() 125 if (platform_device_register(&subdevs[i])) in mpfs_sys_controller_probe() 126 dev_warn(dev, "Error registering sub device %s\n", subdevs[i].name); in mpfs_sys_controller_probe()
|
/drivers/mfd/ |
D | hi6421-pmic-core.c | 55 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()
|
D | sun6i-prcm.c | 19 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()
|
D | ntxec.c | 153 const struct mfd_cell *subdevs; in ntxec_probe() local 178 subdevs = ntxec_subdev; in ntxec_probe() 182 subdevs = ntxec_subdev_pwm; in ntxec_probe() 235 subdevs, n_subdevs, NULL, 0, NULL); in ntxec_probe()
|
D | arizona-core.c | 947 const struct mfd_cell *subdevs = NULL; in arizona_dev_init() local 1150 subdevs = wm5102_devs; in arizona_dev_init() 1173 subdevs = wm5110_devs; in arizona_dev_init() 1197 subdevs = cs47l24_devs; in arizona_dev_init() 1212 subdevs = wm8997_devs; in arizona_dev_init() 1236 subdevs = wm8998_devs; in arizona_dev_init() 1246 if (!subdevs) { in arizona_dev_init() 1372 subdevs, n_subdevs, NULL, 0, NULL); in arizona_dev_init()
|
D | aat2870-core.c | 386 if ((pdata->subdevs[i].id == aat2870_devs[j].id) && in aat2870_i2c_probe() 387 !strcmp(pdata->subdevs[i].name, in aat2870_i2c_probe() 390 pdata->subdevs[i].platform_data; in aat2870_i2c_probe()
|
D | tps6586x.c | 392 subdev = &pdata->subdevs[i]; in tps6586x_add_subdevs() 428 pdata->subdevs = NULL; in tps6586x_parse_dt()
|
D | da903x.c | 467 subdev = &pdata->subdevs[i]; in da903x_add_subdevs()
|
/drivers/regulator/ |
D | max8660.c | 341 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()
|
D | max1586.c | 184 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()
|
/drivers/gpu/host1x/ |
D | bus.c | 55 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() 422 list_for_each_entry_safe(subdev, sd, &device->subdevs, list) in __host1x_device_del() 464 INIT_LIST_HEAD(&device->subdevs); in host1x_device_add() 494 list_for_each_entry(subdev, &device->subdevs, list) { in host1x_device_add() [all …]
|
/drivers/media/v4l2-core/ |
D | v4l2-device.c | 22 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() 251 list_for_each_entry(sd, &v4l2_dev->subdevs, list) { in __v4l2_device_register_subdev_nodes()
|
/drivers/staging/media/atomisp/pci/ |
D | atomisp_gmin_platform.c | 129 .subdevs = pdata_subdevs, 164 if (!pdata.subdevs[i].type) in atomisp_register_i2c_module() 167 if (pdata.subdevs[i].type) in atomisp_register_i2c_module() 179 pdata.subdevs[i].type = type; in atomisp_register_i2c_module() 180 pdata.subdevs[i].port = gs->csi_port; in atomisp_register_i2c_module() 181 pdata.subdevs[i].subdev = subdev; in atomisp_register_i2c_module() 182 pdata.subdevs[i].v4l2_subdev.i2c_adapter_id = client->adapter->nr; in atomisp_register_i2c_module() 185 bi = &pdata.subdevs[i].v4l2_subdev.board_info; in atomisp_register_i2c_module() 201 for (i = 0; i < MAX_SUBDEVS && pdata.subdevs[i].type; i++) { in atomisp_gmin_find_subdev() 202 struct intel_v4l2_subdev_table *sd = &pdata.subdevs[i]; in atomisp_gmin_find_subdev() [all …]
|
D | atomisp_v4l2.c | 977 struct intel_v4l2_subdev_table *subdevs; in atomisp_subdev_probe() local 990 for (subdevs = pdata->subdevs; subdevs->type; ++subdevs) { in atomisp_subdev_probe() 991 if (subdevs->type == RAW_CAMERA || in atomisp_subdev_probe() 992 subdevs->type == SOC_CAMERA) in atomisp_subdev_probe() 1004 for (subdevs = pdata->subdevs; subdevs->type; ++subdevs) { in atomisp_subdev_probe() 1007 &subdevs->v4l2_subdev.board_info; in atomisp_subdev_probe() 1009 i2c_get_adapter(subdevs->v4l2_subdev.i2c_adapter_id); in atomisp_subdev_probe() 1045 switch (subdevs->type) { in atomisp_subdev_probe() 1058 isp->inputs[isp->input_cnt].type = subdevs->type; in atomisp_subdev_probe() 1059 isp->inputs[isp->input_cnt].port = subdevs->port; in atomisp_subdev_probe() [all …]
|
/drivers/staging/media/omap4iss/ |
D | iss.c | 983 struct iss_v4l2_subdevs_group *subdevs; in iss_register_entities() local 1028 for (subdevs = pdata->subdevs; subdevs && subdevs->subdevs; ++subdevs) { in iss_register_entities() 1034 sensor = iss_register_subdev_group(iss, subdevs->subdevs); in iss_register_entities() 1038 sensor->host_priv = subdevs; in iss_register_entities() 1044 switch (subdevs->interface) { in iss_register_entities() 1061 subdevs->interface); in iss_register_entities()
|
D | iss_csiphy.c | 120 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()
|
/drivers/media/platform/renesas/ |
D | renesas-ceu.c | 177 struct ceu_subdev **subdevs; member 1201 ceusd = ceudev->subdevs[inp->index]; in ceu_enum_input() 1236 ceudev->sd = ceudev->subdevs[i]; in ceu_s_input() 1429 ceudev->sd = ceudev->subdevs[0]; in ceu_notify_complete() 1481 ceudev->subdevs = devm_kcalloc(ceudev->dev, n_sd, in ceu_init_async_subdevs() 1482 sizeof(*ceudev->subdevs), GFP_KERNEL); in ceu_init_async_subdevs() 1483 if (!ceudev->subdevs) in ceu_init_async_subdevs() 1515 async_sd = &pdata->subdevs[i]; in ceu_parse_platform_data() 1525 ceudev->subdevs[i] = ceu_sd; in ceu_parse_platform_data() 1587 ceudev->subdevs[i] = ceu_sd; in ceu_parse_dt()
|
/drivers/staging/media/imx/ |
D | imx-media-dev-common.c | 42 list_for_each_entry(sd, &imxmd->v4l2_dev.subdevs, list) { in imx_media_create_csi2_links() 51 list_for_each_entry(sd, &imxmd->v4l2_dev.subdevs, list) { in imx_media_create_csi2_links() 143 list_for_each_entry(sd, &imxmd->v4l2_dev.subdevs, list) { in imx_media_alloc_pad_vdev_lists()
|
D | imx-media-utils.c | 635 list_for_each_entry(sd, &imxmd->v4l2_dev.subdevs, list) { in imx_media_find_subdev_by_fwnode() 650 list_for_each_entry(sd, &imxmd->v4l2_dev.subdevs, list) { in imx_media_find_subdev_by_devname()
|
/drivers/staging/media/ipu3/ |
D | TODO | 9 Comments on configuring v4l2 subdevs for CIO2 and ImgU.
|
/drivers/remoteproc/ |
D | remoteproc_core.c | 1079 list_for_each_entry(subdev, &rproc->subdevs, node) { in rproc_prepare_subdevices() 1090 list_for_each_entry_continue_reverse(subdev, &rproc->subdevs, node) { in rproc_prepare_subdevices() 1103 list_for_each_entry(subdev, &rproc->subdevs, node) { in rproc_start_subdevices() 1114 list_for_each_entry_continue_reverse(subdev, &rproc->subdevs, node) { in rproc_start_subdevices() 1126 list_for_each_entry_reverse(subdev, &rproc->subdevs, node) { in rproc_stop_subdevices() 1136 list_for_each_entry_reverse(subdev, &rproc->subdevs, node) { in rproc_unprepare_subdevices() 2496 INIT_LIST_HEAD(&rproc->subdevs); in rproc_alloc() 2635 list_add_tail(&subdev->node, &rproc->subdevs); in rproc_add_subdev()
|
/drivers/staging/media/tegra-video/ |
D | video.c | 139 .subdevs = host1x_video_subdevs,
|
/drivers/staging/media/atomisp/include/linux/ |
D | atomisp_platform.h | 141 struct intel_v4l2_subdev_table *subdevs; member
|