Home
last modified time | relevance | path

Searched refs:s_asd (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/drivers/staging/media/atomisp/pci/
Datomisp_csi2_bridge.c641 struct sensor_async_subdev *s_asd = to_sensor_asd(asd); in atomisp_notifier_bound() local
644 if (s_asd->port >= ATOMISP_CAMERA_NR_PORTS) { in atomisp_notifier_bound()
645 dev_err(isp->dev, "port %d not supported\n", s_asd->port); in atomisp_notifier_bound()
649 if (isp->sensor_subdevs[s_asd->port]) { in atomisp_notifier_bound()
650 dev_err(isp->dev, "port %d already has a sensor attached\n", s_asd->port); in atomisp_notifier_bound()
658 isp->sensor_subdevs[s_asd->port] = sd; in atomisp_notifier_bound()
668 struct sensor_async_subdev *s_asd = to_sensor_asd(asd); in atomisp_notifier_unbind() local
670 isp->sensor_subdevs[s_asd->port] = NULL; in atomisp_notifier_unbind()
698 struct sensor_async_subdev *s_asd; in atomisp_csi2_bridge_parse_firmware() local
719 s_asd = v4l2_async_nf_add_fwnode_remote(&isp->notifier, ep, in atomisp_csi2_bridge_parse_firmware()
[all …]
/linux-6.12.1/drivers/media/pci/intel/ipu6/
Dipu6-isys-mcd-phy.c575 struct sensor_async_sd *s_asd; in ipu6_isys_mcd_phy_common_init() local
582 s_asd = container_of(asc, struct sensor_async_sd, asc); in ipu6_isys_mcd_phy_common_init()
583 phy_id = s_asd->csi2.port / 4; in ipu6_isys_mcd_phy_common_init()
629 struct sensor_async_sd *s_asd; in ipu6_isys_mcd_phy_config() local
637 s_asd = container_of(asc, struct sensor_async_sd, asc); in ipu6_isys_mcd_phy_config()
638 cfg.port = s_asd->csi2.port; in ipu6_isys_mcd_phy_config()
639 cfg.nlanes = s_asd->csi2.nlanes; in ipu6_isys_mcd_phy_config()
Dipu6-isys.c677 struct sensor_async_sd *s_asd = in isys_notifier_bound() local
681 if (s_asd->csi2.port >= isys->pdata->ipdata->csi2.nports) { in isys_notifier_bound()
683 s_asd->csi2.port); in isys_notifier_bound()
694 sd->name, s_asd->csi2.nlanes, s_asd->csi2.port); in isys_notifier_bound()
695 ret = isys_complete_ext_device_registration(isys, sd, &s_asd->csi2); in isys_notifier_bound()
729 struct sensor_async_sd *s_asd; in isys_notifier_init() local
743 s_asd = v4l2_async_nf_add_fwnode_remote(&isys->notifier, ep, in isys_notifier_init()
745 if (IS_ERR(s_asd)) { in isys_notifier_init()
746 ret = PTR_ERR(s_asd); in isys_notifier_init()
751 s_asd->csi2.port = vep.base.port; in isys_notifier_init()
[all …]
/linux-6.12.1/drivers/media/platform/rockchip/rkisp1/
Drkisp1-dev.c131 struct rkisp1_sensor_async *s_asd = in rkisp1_subdev_notifier_bound() local
136 s_asd->sd = sd; in rkisp1_subdev_notifier_bound()
138 source_pad = media_entity_get_fwnode_pad(&sd->entity, s_asd->source_ep, in rkisp1_subdev_notifier_bound()
146 if (s_asd->port == 0) in rkisp1_subdev_notifier_bound()
147 return rkisp1_csi_link_sensor(rkisp1, sd, s_asd, source_pad); in rkisp1_subdev_notifier_bound()
152 !s_asd->index ? MEDIA_LNK_FL_ENABLED : 0); in rkisp1_subdev_notifier_bound()
Drkisp1-csi.c34 struct rkisp1_sensor_async *s_asd, in rkisp1_csi_link_sensor() argument
40 s_asd->pixel_rate_ctrl = v4l2_ctrl_find(sd->ctrl_handler, in rkisp1_csi_link_sensor()
42 if (!s_asd->pixel_rate_ctrl) { in rkisp1_csi_link_sensor()
51 !s_asd->index ? MEDIA_LNK_FL_ENABLED : 0); in rkisp1_csi_link_sensor()
Drkisp1-csi.h25 struct rkisp1_sensor_async *s_asd,
/linux-6.12.1/drivers/media/pci/intel/ipu3/
Dipu3-cio2.c1376 struct sensor_async_subdev *s_asd = to_sensor_asd(asd); in cio2_notifier_bound() local
1380 if (cio2->queue[s_asd->csi2.port].sensor) in cio2_notifier_bound()
1387 q = &cio2->queue[s_asd->csi2.port]; in cio2_notifier_bound()
1389 q->csi2 = s_asd->csi2; in cio2_notifier_bound()
1402 struct sensor_async_subdev *s_asd = to_sensor_asd(asd); in cio2_notifier_unbind() local
1404 cio2->queue[s_asd->csi2.port].sensor = NULL; in cio2_notifier_unbind()
1411 struct sensor_async_subdev *s_asd; in cio2_notifier_complete() local
1417 s_asd = to_sensor_asd(asd); in cio2_notifier_complete()
1418 q = &cio2->queue[s_asd->csi2.port]; in cio2_notifier_complete()
1445 struct sensor_async_subdev *s_asd; in cio2_parse_firmware() local
[all …]