/drivers/regulator/ |
D | max8660.c | 354 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()
|
D | max1586.c | 197 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/media/platform/exynos4-is/ |
D | media-dev.c | 76 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 …]
|
D | media-dev.h | 64 struct v4l2_subdev *subdevs[IDX_MAX]; member 207 return p->subdevs[index]; in __fimc_md_get_subdev()
|
D | fimc-capture.c | 183 struct v4l2_subdev *csis = p->subdevs[IDX_CSIS]; in fimc_capture_irq_handler() 783 struct v4l2_subdev *sd = p->subdevs[IDX_SENSOR]; in fimc_pipeline_try_format() 1171 if (sd == p->subdevs[IDX_SENSOR] && in fimc_pipeline_validate()
|
/drivers/mfd/ |
D | sun6i-prcm.c | 17 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()
|
D | arizona-core.c | 969 const struct mfd_cell *subdevs = NULL; in arizona_dev_init() local 1143 subdevs = wm5102_devs; in arizona_dev_init() 1166 subdevs = wm5110_devs; in arizona_dev_init() 1181 subdevs = wm8997_devs; in arizona_dev_init() 1205 subdevs = wm8998_devs; in arizona_dev_init() 1214 if (!subdevs) { in arizona_dev_init() 1406 subdevs, n_subdevs, NULL, 0, NULL); in arizona_dev_init()
|
D | aat2870-core.c | 420 if ((pdata->subdevs[i].id == aat2870_devs[j].id) && in aat2870_i2c_probe() 421 !strcmp(pdata->subdevs[i].name, in aat2870_i2c_probe() 424 pdata->subdevs[i].platform_data; in aat2870_i2c_probe()
|
D | tps6586x.c | 394 subdev = &pdata->subdevs[i]; in tps6586x_add_subdevs() 432 pdata->subdevs = NULL; in tps6586x_parse_dt()
|
D | da903x.c | 470 subdev = &pdata->subdevs[i]; in da903x_add_subdevs()
|
D | ezx-pcap.c | 489 ret = pcap_add_subdev(pcap, &pdata->subdevs[i]); in ezx_pcap_probe()
|
/drivers/gpu/host1x/ |
D | bus.c | 56 list_add_tail(&subdev->list, &device->subdevs); in host1x_subdev_add() 82 if (of_match_node(driver->subdevs, np) && in host1x_device_parse_dt() 113 if (list_empty(&device->subdevs)) { in host1x_subdev_register() 131 if (list_empty(&device->subdevs)) { in __host1x_subdev_unregister() 145 list_move_tail(&subdev->list, &device->subdevs); in __host1x_subdev_unregister() 227 list_for_each_entry(subdev, &device->subdevs, list) { in host1x_add_client() 345 list_for_each_entry_safe(subdev, sd, &device->subdevs, list) in __host1x_device_del() 387 INIT_LIST_HEAD(&device->subdevs); in host1x_device_add() 412 list_for_each_entry(subdev, &device->subdevs, list) { in host1x_device_add()
|
/drivers/media/v4l2-core/ |
D | v4l2-device.c | 38 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() 195 list_add_tail(&sd->list, &v4l2_dev->subdevs); in v4l2_device_register_subdev() 227 list_for_each_entry(sd, &v4l2_dev->subdevs, list) { in v4l2_device_register_subdev_nodes() 258 list_for_each_entry(sd, &v4l2_dev->subdevs, list) { in v4l2_device_register_subdev_nodes()
|
D | v4l2-async.c | 152 asd = notifier->subdevs[i]; in v4l2_async_notifier_register()
|
/drivers/staging/media/omap4iss/ |
D | iss.c | 1179 struct iss_v4l2_subdevs_group *subdevs; in iss_register_entities() local 1224 for (subdevs = pdata->subdevs; subdevs && subdevs->subdevs; ++subdevs) { in iss_register_entities() 1230 sensor = iss_register_subdev_group(iss, subdevs->subdevs); in iss_register_entities() 1234 sensor->host_priv = subdevs; in iss_register_entities() 1240 switch (subdevs->interface) { in iss_register_entities() 1257 subdevs->interface); in iss_register_entities()
|
D | iss_csiphy.c | 124 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/ |
D | xilinx-vipp.c | 509 struct v4l2_async_subdev **subdevs = NULL; in xvip_graph_init() local 535 subdevs = devm_kzalloc(xdev->dev, sizeof(*subdevs) * num_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()
|
/drivers/staging/media/davinci_vpfe/ |
D | davinci-vpfe-mc.txt | 27 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
|
D | TODO | 14 - The driver should have no knowledge of possible external subdevs; see
|
/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
D | gpfifogk104.c | 231 u64 subdevs = gk104_fifo_engine_subdev(i); in gk104_fifo_gpfifo_new() local 232 if (!nvkm_device_engine(device, __ffs64(subdevs))) in gk104_fifo_gpfifo_new()
|
D | gk104.c | 85 u64 subdevs = gk104_fifo_engine_subdev(engn); in gk104_fifo_engine() local 86 if (subdevs) in gk104_fifo_engine() 87 return nvkm_device_engine(device, __ffs(subdevs)); in gk104_fifo_engine()
|
/drivers/media/platform/omap3isp/ |
D | isp.h | 225 struct v4l2_subdev *subdevs[ISP_MAX_SUBDEVS]; member
|
D | isp.c | 2250 notifier->subdevs = devm_kcalloc( in isp_of_parse_nodes() 2251 dev, ISP_MAX_SUBDEVS, sizeof(*notifier->subdevs), GFP_KERNEL); in isp_of_parse_nodes() 2252 if (!notifier->subdevs) in isp_of_parse_nodes() 2265 notifier->subdevs[notifier->num_subdevs] = &isd->asd; in isp_of_parse_nodes()
|
/drivers/media/platform/soc_camera/ |
D | soc_camera.c | 1566 sasc->notifier.subdevs = asd; in scan_async_group() 1665 sasc->notifier.subdevs = &info->subdev; in soc_of_bind()
|
/drivers/gpu/drm/tegra/ |
D | drm.c | 1076 .subdevs = host1x_drm_subdevs,
|