Lines Matching +full:camera +full:- +full:sensor
2 * camera image capture (abstract) bus driver header
20 #include <media/videobuf2-v4l2.h>
21 #include <media/v4l2-async.h>
22 #include <media/v4l2-ctrls.h>
23 #include <media/v4l2-device.h>
33 struct device *parent; /* Camera host device */
49 void *host_priv; /* Per-device host private data */
86 unsigned int *asd_sizes; /* 0-terminated array of asd group sizes */
133 /* Per camera SOCAM_SENSOR_* bus flags */
136 /* sensor driver private platform data */
148 /* Optional callbacks to power on or off and reset the sensor */
166 /* Camera bus id, used to match a camera and a bus */
173 * For non-I2C devices platform has to provide methods to add a device
181 * Platform data for "soc-camera-pdrv"
182 * This MUST be kept binary-identical to struct soc_camera_link below, until
194 * Subdevice part - keep at top and compatible to
198 /* Per camera SOCAM_SENSOR_* bus flags */
205 /* Used by soc-camera helper functions */
208 /* Optional callbacks to power on or off and reset the sensor */
227 * Host part - keep at bottom and compatible to
231 /* Camera bus id, used to match a camera and a bus */
238 * For non-I2C devices platform has to provide methods to add a device
256 return icd->sdesc; in to_soc_camera_desc()
262 return icd->control; in to_soc_camera_control()
279 * struct soc_camera_format_xlate - match between host and sensor formats
280 * @code: code of a sensor provided format
283 * Host and sensor translation structure. Used in table of host and sensor
297 * to request sense from the camera, for example, when calling .set_fmt(). The
303 * @master_clock if the host wants to be informed about pixel-clock
306 * camera is not allowed to exceed this.
307 * @pixel_clock if the camera driver changed pixel clock during this
309 * master_clock to calculate the new pixel-clock and
319 #define SOCAM_DATAWIDTH(x) BIT((x) - 1)
347 else if (*start > start_min + length_max - *length) in soc_camera_limit_side()
348 *start = start_min + length_max - *length; in soc_camera_limit_side()
367 /* This is only temporary here - until v4l2-subdev begins to link to video_device */
373 return icd ? icd->vdev : NULL; in soc_camera_i2c_to_vdev()
378 return client->dev.platform_data; in soc_camera_i2c_to_desc()
394 return (icd->iface << 8) | (icd->devnum + 1); in soc_camera_grp_id()