Searched refs:csi_dev (Results 1 – 9 of 9) sorted by relevance
/linux/drivers/media/platform/sunxi/sun6i-csi/ |
H A D | sun6i_csi.c | 28 int sun6i_csi_isp_complete(struct sun6i_csi_device *csi_dev, in sun6i_csi_isp_complete() argument 31 if (csi_dev->v4l2_dev && csi_dev->v4l2_dev != v4l2_dev) in sun6i_csi_isp_complete() 34 csi_dev->v4l2_dev = v4l2_dev; in sun6i_csi_isp_complete() 35 csi_dev->media_dev = v4l2_dev->mdev; in sun6i_csi_isp_complete() 37 return sun6i_csi_capture_setup(csi_dev); in sun6i_csi_isp_complete() 40 static int sun6i_csi_isp_detect(struct sun6i_csi_device *csi_dev) in sun6i_csi_isp_detect() argument 42 struct device *dev = csi_dev->dev; in sun6i_csi_isp_detect() 63 csi_dev->isp_available = true; in sun6i_csi_isp_detect() 76 static int sun6i_csi_v4l2_setup(struct sun6i_csi_device *csi_dev) in sun6i_csi_v4l2_setup() argument 78 struct sun6i_csi_v4l2 *v4l2 = &csi_dev->v4l2; in sun6i_csi_v4l2_setup() [all …]
|
H A D | sun6i_csi_bridge.c | 18 void sun6i_csi_bridge_dimensions(struct sun6i_csi_device *csi_dev, in sun6i_csi_bridge_dimensions() argument 22 *width = csi_dev->bridge.mbus_format.width; in sun6i_csi_bridge_dimensions() 24 *height = csi_dev->bridge.mbus_format.height; in sun6i_csi_bridge_dimensions() 27 void sun6i_csi_bridge_format(struct sun6i_csi_device *csi_dev, in sun6i_csi_bridge_format() argument 31 *mbus_code = csi_dev->bridge.mbus_format.code; in sun6i_csi_bridge_format() 33 *field = csi_dev->bridge.mbus_format.field; in sun6i_csi_bridge_format() 179 static void sun6i_csi_bridge_irq_enable(struct sun6i_csi_device *csi_dev) in sun6i_csi_bridge_irq_enable() argument 181 struct regmap *regmap = csi_dev->regmap; in sun6i_csi_bridge_irq_enable() 193 static void sun6i_csi_bridge_irq_disable(struct sun6i_csi_device *csi_dev) in sun6i_csi_bridge_irq_disable() argument 195 struct regmap *regmap = csi_dev->regmap; in sun6i_csi_bridge_irq_disable() [all …]
|
H A D | sun6i_csi_capture.c | 25 void sun6i_csi_capture_dimensions(struct sun6i_csi_device *csi_dev, in sun6i_csi_capture_dimensions() argument 29 *width = csi_dev->capture.format.fmt.pix.width; in sun6i_csi_capture_dimensions() 31 *height = csi_dev->capture.format.fmt.pix.height; in sun6i_csi_capture_dimensions() 34 void sun6i_csi_capture_format(struct sun6i_csi_device *csi_dev, in sun6i_csi_capture_format() argument 38 *pixelformat = csi_dev->capture.format.fmt.pix.pixelformat; in sun6i_csi_capture_format() 41 *field = csi_dev->capture.format.fmt.pix.field; in sun6i_csi_capture_format() 333 sun6i_csi_capture_buffer_configure(struct sun6i_csi_device *csi_dev, in sun6i_csi_capture_buffer_configure() argument 336 struct regmap *regmap = csi_dev->regmap; in sun6i_csi_capture_buffer_configure() 349 sun6i_csi_capture_dimensions(csi_dev, &width, &height); in sun6i_csi_capture_buffer_configure() 350 sun6i_csi_capture_format(csi_dev, &pixelformat, NULL); in sun6i_csi_capture_buffer_configure() [all …]
|
H A D | sun6i_csi_capture.h | 64 void sun6i_csi_capture_dimensions(struct sun6i_csi_device *csi_dev, 66 void sun6i_csi_capture_format(struct sun6i_csi_device *csi_dev, 76 void sun6i_csi_capture_configure(struct sun6i_csi_device *csi_dev); 77 void sun6i_csi_capture_state_update(struct sun6i_csi_device *csi_dev); 81 void sun6i_csi_capture_sync(struct sun6i_csi_device *csi_dev); 82 void sun6i_csi_capture_frame_done(struct sun6i_csi_device *csi_dev); 86 int sun6i_csi_capture_setup(struct sun6i_csi_device *csi_dev); 87 void sun6i_csi_capture_cleanup(struct sun6i_csi_device *csi_dev);
|
H A D | sun6i_csi_bridge.h | 54 void sun6i_csi_bridge_dimensions(struct sun6i_csi_device *csi_dev, 56 void sun6i_csi_bridge_format(struct sun6i_csi_device *csi_dev, 66 int sun6i_csi_bridge_setup(struct sun6i_csi_device *csi_dev); 67 void sun6i_csi_bridge_cleanup(struct sun6i_csi_device *csi_dev);
|
H A D | sun6i_csi.h | 60 int sun6i_csi_isp_complete(struct sun6i_csi_device *csi_dev,
|
/linux/drivers/media/pci/intel/ |
H A D | ipu-bridge.c | 162 struct device *dev, *csi_dev; in ipu_bridge_get_ivsc_csi_dev() local 172 csi_dev = device_find_child_by_name(dev, name); in ipu_bridge_get_ivsc_csi_dev() 176 return csi_dev; in ipu_bridge_get_ivsc_csi_dev() 186 struct device *csi_dev; in ipu_bridge_check_ivsc_dev() local 190 csi_dev = ipu_bridge_get_ivsc_csi_dev(adev); in ipu_bridge_check_ivsc_dev() 191 if (!csi_dev) { in ipu_bridge_check_ivsc_dev() 197 sensor->csi_dev = csi_dev; in ipu_bridge_check_ivsc_dev() 338 if (sensor->csi_dev) { in ipu_bridge_create_fwnode_properties() 433 if (sensor->csi_dev) { in ipu_bridge_init_swnode_names() 455 if (sensor->csi_dev) { in ipu_bridge_init_swnode_group() [all …]
|
/linux/drivers/media/pci/intel/ivsc/ |
H A D | mei_ace.c | 177 struct device *csi_dev; member 399 struct device *csi_dev; in mei_ace_setup_dev_link() local 405 csi_dev = device_find_child_by_name(dev->parent, name); in mei_ace_setup_dev_link() 406 if (!csi_dev) { in mei_ace_setup_dev_link() 409 } else if (!dev_fwnode(csi_dev)) { in mei_ace_setup_dev_link() 415 ace->csi_link = device_link_add(csi_dev, dev, DL_FLAG_PM_RUNTIME | in mei_ace_setup_dev_link() 419 dev_err(dev, "failed to link to %s\n", dev_name(csi_dev)); in mei_ace_setup_dev_link() 423 ace->csi_dev = csi_dev; in mei_ace_setup_dev_link() 428 put_device(csi_dev); in mei_ace_setup_dev_link() 525 put_device(ace->csi_dev); in mei_ace_remove()
|
/linux/include/media/ |
H A D | ipu-bridge.h | 127 struct device *csi_dev; member
|