/drivers/media/video/marvell-ccic/ |
D | mcam-core.c | 104 #define sensor_call(cam, o, f, args...) \ argument 199 static void mcam_buffer_done(struct mcam_camera *cam, int frame, in mcam_buffer_done() 213 #define cam_err(cam, fmt, arg...) \ argument 215 #define cam_warn(cam, fmt, arg...) \ argument 217 #define cam_dbg(cam, fmt, arg...) \ argument 224 static void mcam_reset_buffers(struct mcam_camera *cam) in mcam_reset_buffers() 233 static inline int mcam_needs_config(struct mcam_camera *cam) in mcam_needs_config() 238 static void mcam_set_config_needed(struct mcam_camera *cam, int needed) in mcam_set_config_needed() 251 static void mcam_ctlr_start(struct mcam_camera *cam) in mcam_ctlr_start() 258 static void mcam_ctlr_stop(struct mcam_camera *cam) in mcam_ctlr_stop() [all …]
|
D | mmp-driver.c | 59 static void mmpcam_add_device(struct mmp_camera *cam) in mmpcam_add_device() 66 static void mmpcam_remove_device(struct mmp_camera *cam) in mmpcam_remove_device() 80 struct mmp_camera *cam; in mmpcam_find_device() local 109 static void mmpcam_power_up_ctlr(struct mmp_camera *cam) in mmpcam_power_up_ctlr() 118 struct mmp_camera *cam = mcam_to_cam(mcam); in mmpcam_power_up() local 140 struct mmp_camera *cam = mcam_to_cam(mcam); in mmpcam_power_down() local 171 struct mmp_camera *cam; in mmpcam_probe() local 291 static int mmpcam_remove(struct mmp_camera *cam) in mmpcam_remove() 311 struct mmp_camera *cam = mmpcam_find_device(pdev); in mmpcam_platform_remove() local 325 struct mmp_camera *cam = mmpcam_find_device(pdev); in mmpcam_suspend() local [all …]
|
D | cafe-driver.c | 132 #define cam_err(cam, fmt, arg...) \ argument 134 #define cam_warn(cam, fmt, arg...) \ argument 169 static int cafe_smbus_write_data(struct cafe_camera *cam, in cafe_smbus_write_data() 248 static int cafe_smbus_read_data(struct cafe_camera *cam, in cafe_smbus_read_data() 295 struct cafe_camera *cam = i2c_get_adapdata(adapter); in cafe_smbus_xfer() local 315 static void cafe_smbus_enable_irq(struct cafe_camera *cam) in cafe_smbus_enable_irq() 335 static int cafe_smbus_setup(struct cafe_camera *cam) in cafe_smbus_setup() 356 static void cafe_smbus_shutdown(struct cafe_camera *cam) in cafe_smbus_shutdown() 434 struct cafe_camera *cam = data; in cafe_irq() local 460 struct cafe_camera *cam; in cafe_pci_probe() local [all …]
|
/drivers/media/video/cpia2/ |
D | cpia2_core.c | 137 int cpia2_do_command(struct camera_data *cam, in cpia2_do_command() 526 int cpia2_send_command(struct camera_data *cam, struct cpia2_command *cmd) in cpia2_send_command() 601 static void cpia2_get_version_info(struct camera_data *cam) in cpia2_get_version_info() 616 int cpia2_reset_camera(struct camera_data *cam) in cpia2_reset_camera() 838 static int cpia2_set_high_power(struct camera_data *cam) in cpia2_set_high_power() 878 int cpia2_set_low_power(struct camera_data *cam) in cpia2_set_low_power() 890 static int cpia2_send_onebyte_command(struct camera_data *cam, in cpia2_send_onebyte_command() 900 static int apply_vp_patch(struct camera_data *cam) in apply_vp_patch() 945 static int set_default_user_mode(struct camera_data *cam) in set_default_user_mode() 1044 static int set_vw_size(struct camera_data *cam, int size) in set_vw_size() [all …]
|
D | cpia2_v4l.c | 240 struct camera_data *cam = video_drvdata(file); in cpia2_open() local 285 struct camera_data *cam = video_get_drvdata(dev); in cpia2_close() local 327 struct camera_data *cam = video_drvdata(file); in cpia2_v4l_read() local 351 struct camera_data *cam = video_drvdata(filp); in cpia2_v4l_poll() local 366 static int sync(struct camera_data *cam, int frame_nr) in sync() 401 struct camera_data *cam = video_drvdata(file); in cpia2_default() local 425 struct camera_data *cam = video_drvdata(file); in cpia2_querycap() local 550 struct camera_data *cam = video_drvdata(file); in cpia2_try_fmt_vid_cap() local 612 struct camera_data *cam = video_drvdata(file); in cpia2_s_fmt_vid_cap() local 672 struct camera_data *cam = video_drvdata(file); in cpia2_g_fmt_vid_cap() local [all …]
|
D | cpia2_usb.c | 86 static void process_frame(struct camera_data *cam) in process_frame() 165 static void add_APPn(struct camera_data *cam) in add_APPn() 184 static void add_COM(struct camera_data *cam) in add_COM() 208 struct camera_data *cam = (struct camera_data *) urb->context; in cpia2_usb_complete() local 380 static int configure_transfer_mode(struct camera_data *cam, unsigned int alt) in configure_transfer_mode() 452 int cpia2_usb_change_streaming_alternate(struct camera_data *cam, in cpia2_usb_change_streaming_alternate() 482 static int set_alternate(struct camera_data *cam, unsigned int alt) in set_alternate() 516 static void free_sbufs(struct camera_data *cam) in free_sbufs() 585 int cpia2_usb_transfer_cmd(struct camera_data *cam, in cpia2_usb_transfer_cmd() 633 static int submit_urbs(struct camera_data *cam) in submit_urbs() [all …]
|
/drivers/media/video/sn9c102/ |
D | sn9c102_core.c | 142 sn9c102_request_buffers(struct sn9c102_device* cam, u32 count, in sn9c102_request_buffers() 183 static void sn9c102_release_buffers(struct sn9c102_device* cam) in sn9c102_release_buffers() 193 static void sn9c102_empty_framequeues(struct sn9c102_device* cam) in sn9c102_empty_framequeues() 207 static void sn9c102_requeue_outqueue(struct sn9c102_device* cam) in sn9c102_requeue_outqueue() 220 static void sn9c102_queue_unusedframes(struct sn9c102_device* cam) in sn9c102_queue_unusedframes() 240 int sn9c102_write_regs(struct sn9c102_device* cam, const u8 valreg[][2], in sn9c102_write_regs() 276 int sn9c102_write_reg(struct sn9c102_device* cam, u8 value, u16 index) in sn9c102_write_reg() 302 int sn9c102_read_reg(struct sn9c102_device* cam, u16 index) in sn9c102_read_reg() 318 int sn9c102_pread_reg(struct sn9c102_device* cam, u16 index) in sn9c102_pread_reg() 328 sn9c102_i2c_wait(struct sn9c102_device* cam, in sn9c102_i2c_wait() [all …]
|
D | sn9c102_hv7131r.c | 26 static int hv7131r_init(struct sn9c102_device* cam) in hv7131r_init() 140 static int hv7131r_get_ctrl(struct sn9c102_device* cam, in hv7131r_get_ctrl() 174 static int hv7131r_set_ctrl(struct sn9c102_device* cam, in hv7131r_set_ctrl() 209 static int hv7131r_set_crop(struct sn9c102_device* cam, in hv7131r_set_crop() 224 static int hv7131r_set_pix_format(struct sn9c102_device* cam, in hv7131r_set_pix_format() 345 int sn9c102_probe_hv7131r(struct sn9c102_device* cam) in sn9c102_probe_hv7131r()
|
D | sn9c102_pas106b.c | 27 static int pas106b_init(struct sn9c102_device* cam) in pas106b_init() 51 static int pas106b_get_ctrl(struct sn9c102_device* cam, in pas106b_get_ctrl() 100 static int pas106b_set_ctrl(struct sn9c102_device* cam, in pas106b_set_ctrl() 138 static int pas106b_set_crop(struct sn9c102_device* cam, in pas106b_set_crop() 153 static int pas106b_set_pix_format(struct sn9c102_device* cam, in pas106b_set_pix_format() 275 int sn9c102_probe_pas106b(struct sn9c102_device* cam) in sn9c102_probe_pas106b()
|
D | sn9c102_ov7660.c | 26 static int ov7660_init(struct sn9c102_device* cam) in ov7660_init() 274 static int ov7660_get_ctrl(struct sn9c102_device* cam, in ov7660_get_ctrl() 327 static int ov7660_set_ctrl(struct sn9c102_device* cam, in ov7660_set_ctrl() 366 static int ov7660_set_crop(struct sn9c102_device* cam, in ov7660_set_crop() 381 static int ov7660_set_pix_format(struct sn9c102_device* cam, in ov7660_set_pix_format() 520 int sn9c102_probe_ov7660(struct sn9c102_device* cam) in sn9c102_probe_ov7660()
|
D | sn9c102_hv7131d.c | 26 static int hv7131d_init(struct sn9c102_device* cam) in hv7131d_init() 42 static int hv7131d_get_ctrl(struct sn9c102_device* cam, in hv7131d_get_ctrl() 86 static int hv7131d_set_ctrl(struct sn9c102_device* cam, in hv7131d_set_ctrl() 119 static int hv7131d_set_crop(struct sn9c102_device* cam, in hv7131d_set_crop() 134 static int hv7131d_set_pix_format(struct sn9c102_device* cam, in hv7131d_set_pix_format() 246 int sn9c102_probe_hv7131d(struct sn9c102_device* cam) in sn9c102_probe_hv7131d()
|
D | sn9c102_ov7630.c | 26 static int ov7630_init(struct sn9c102_device* cam) in ov7630_init() 255 static int ov7630_get_ctrl(struct sn9c102_device* cam, in ov7630_get_ctrl() 325 static int ov7630_set_ctrl(struct sn9c102_device* cam, in ov7630_set_ctrl() 380 static int ov7630_set_crop(struct sn9c102_device* cam, in ov7630_set_crop() 408 static int ov7630_set_pix_format(struct sn9c102_device* cam, in ov7630_set_pix_format() 589 int sn9c102_probe_ov7630(struct sn9c102_device* cam) in sn9c102_probe_ov7630()
|
D | sn9c102_pas202bcb.c | 31 static int pas202bcb_init(struct sn9c102_device* cam) in pas202bcb_init() 81 static int pas202bcb_get_ctrl(struct sn9c102_device* cam, in pas202bcb_get_ctrl() 124 static int pas202bcb_set_pix_format(struct sn9c102_device* cam, in pas202bcb_set_pix_format() 138 static int pas202bcb_set_ctrl(struct sn9c102_device* cam, in pas202bcb_set_ctrl() 172 static int pas202bcb_set_crop(struct sn9c102_device* cam, in pas202bcb_set_crop() 297 int sn9c102_probe_pas202bcb(struct sn9c102_device* cam) in sn9c102_probe_pas202bcb()
|
D | sn9c102_mt9v111.c | 26 static int mt9v111_init(struct sn9c102_device *cam) in mt9v111_init() 122 static int mt9v111_get_ctrl(struct sn9c102_device *cam, in mt9v111_get_ctrl() 143 static int mt9v111_set_ctrl(struct sn9c102_device *cam, in mt9v111_set_ctrl() 164 static int mt9v111_set_crop(struct sn9c102_device *cam, in mt9v111_set_crop() 176 static int mt9v111_set_pix_format(struct sn9c102_device *cam, in mt9v111_set_pix_format() 238 int sn9c102_probe_mt9v111(struct sn9c102_device *cam) in sn9c102_probe_mt9v111()
|
D | sn9c102_mi0360.c | 26 static int mi0360_init(struct sn9c102_device* cam) in mi0360_init() 150 static int mi0360_get_ctrl(struct sn9c102_device* cam, in mi0360_get_ctrl() 207 static int mi0360_set_ctrl(struct sn9c102_device* cam, in mi0360_set_ctrl() 262 static int mi0360_set_crop(struct sn9c102_device* cam, in mi0360_set_crop() 288 static int mi0360_set_pix_format(struct sn9c102_device* cam, in mi0360_set_pix_format() 421 int sn9c102_probe_mi0360(struct sn9c102_device* cam) in sn9c102_probe_mi0360()
|
D | sn9c102_mi0343.c | 26 static int mi0343_init(struct sn9c102_device* cam) in mi0343_init() 55 static int mi0343_get_ctrl(struct sn9c102_device* cam, in mi0343_get_ctrl() 122 static int mi0343_set_ctrl(struct sn9c102_device* cam, in mi0343_set_ctrl() 192 static int mi0343_set_crop(struct sn9c102_device* cam, in mi0343_set_crop() 207 static int mi0343_set_pix_format(struct sn9c102_device* cam, in mi0343_set_pix_format() 334 int sn9c102_probe_mi0343(struct sn9c102_device* cam) in sn9c102_probe_mi0343()
|
D | sn9c102_tas5110c1b.c | 26 static int tas5110c1b_init(struct sn9c102_device* cam) in tas5110c1b_init() 41 static int tas5110c1b_set_ctrl(struct sn9c102_device* cam, in tas5110c1b_set_ctrl() 58 static int tas5110c1b_set_crop(struct sn9c102_device* cam, in tas5110c1b_set_crop() 78 static int tas5110c1b_set_pix_format(struct sn9c102_device* cam, in tas5110c1b_set_pix_format() 138 int sn9c102_probe_tas5110c1b(struct sn9c102_device* cam) in sn9c102_probe_tas5110c1b()
|
D | sn9c102_tas5130d1b.c | 26 static int tas5130d1b_init(struct sn9c102_device* cam) in tas5130d1b_init() 39 static int tas5130d1b_set_ctrl(struct sn9c102_device* cam, in tas5130d1b_set_ctrl() 59 static int tas5130d1b_set_crop(struct sn9c102_device* cam, in tas5130d1b_set_crop() 79 static int tas5130d1b_set_pix_format(struct sn9c102_device* cam, in tas5130d1b_set_pix_format() 149 int sn9c102_probe_tas5130d1b(struct sn9c102_device* cam) in sn9c102_probe_tas5130d1b()
|
D | sn9c102_tas5110d.c | 26 static int tas5110d_init(struct sn9c102_device* cam) in tas5110d_init() 40 static int tas5110d_set_crop(struct sn9c102_device* cam, in tas5110d_set_crop() 58 static int tas5110d_set_pix_format(struct sn9c102_device* cam, in tas5110d_set_pix_format() 106 int sn9c102_probe_tas5110d(struct sn9c102_device* cam) in sn9c102_probe_tas5110d()
|
/drivers/media/video/et61x251/ |
D | et61x251_core.c | 121 et61x251_request_buffers(struct et61x251_device* cam, u32 count, in et61x251_request_buffers() 160 static void et61x251_release_buffers(struct et61x251_device* cam) in et61x251_release_buffers() 170 static void et61x251_empty_framequeues(struct et61x251_device* cam) in et61x251_empty_framequeues() 184 static void et61x251_requeue_outqueue(struct et61x251_device* cam) in et61x251_requeue_outqueue() 197 static void et61x251_queue_unusedframes(struct et61x251_device* cam) in et61x251_queue_unusedframes() 213 int et61x251_write_reg(struct et61x251_device* cam, u8 value, u16 index) in et61x251_write_reg() 233 static int et61x251_read_reg(struct et61x251_device* cam, u16 index) in et61x251_read_reg() 250 et61x251_i2c_wait(struct et61x251_device* cam, in et61x251_i2c_wait() 275 et61x251_i2c_raw_write(struct et61x251_device* cam, u8 n, u8 data1, u8 data2, in et61x251_i2c_raw_write() 330 struct et61x251_device* cam = urb->context; in et61x251_urb_complete() local [all …]
|
/drivers/media/video/ |
D | omap24xxcam.c | 71 static void omap24xxcam_clock_put(struct omap24xxcam_device *cam) in omap24xxcam_clock_put() 81 static int omap24xxcam_clock_get(struct omap24xxcam_device *cam) in omap24xxcam_clock_get() 103 static void omap24xxcam_clock_on(struct omap24xxcam_device *cam) in omap24xxcam_clock_on() 109 static void omap24xxcam_clock_off(struct omap24xxcam_device *cam) in omap24xxcam_clock_off() 126 static void omap24xxcam_core_xclk_set(const struct omap24xxcam_device *cam, in omap24xxcam_core_xclk_set() 144 static void omap24xxcam_core_hwinit(const struct omap24xxcam_device *cam) in omap24xxcam_core_hwinit() 170 static void omap24xxcam_core_enable(const struct omap24xxcam_device *cam) in omap24xxcam_core_enable() 185 static void omap24xxcam_core_disable(const struct omap24xxcam_device *cam) in omap24xxcam_core_disable() 192 static void omap24xxcam_core_isr(struct omap24xxcam_device *cam) in omap24xxcam_core_isr() 391 struct omap24xxcam_device *cam = in omap24xxcam_vbq_complete() local [all …]
|
D | via-camera.c | 128 #define sensor_call(cam, optype, func, args...) \ argument 134 #define cam_err(cam, fmt, arg...) \ argument 136 #define cam_warn(cam, fmt, arg...) \ argument 138 #define cam_dbg(cam, fmt, arg...) \ argument 183 static int via_sensor_power_setup(struct via_camera *cam) in via_sensor_power_setup() 212 static void via_sensor_power_up(struct via_camera *cam) in via_sensor_power_up() 221 static void via_sensor_power_down(struct via_camera *cam) in via_sensor_power_down() 228 static void via_sensor_power_release(struct via_camera *cam) in via_sensor_power_release() 241 static int viacam_set_flip(struct via_camera *cam) in viacam_set_flip() 255 static int viacam_configure_sensor(struct via_camera *cam) in viacam_configure_sensor() [all …]
|
D | zr364xx.c | 144 struct zr364xx_camera *cam; member 152 void *cam; /* back pointer to zr364xx_camera struct */ member 370 struct zr364xx_camera *cam = vq->priv_data; in buffer_setup() local 397 struct zr364xx_camera *cam = vq->priv_data; in buffer_prepare() local 436 struct zr364xx_camera *cam = vq->priv_data; in buffer_queue() local 470 struct zr364xx_camera *cam = video_drvdata(file); in zr364xx_read() local 501 static void zr364xx_fillbuff(struct zr364xx_camera *cam, in zr364xx_fillbuff() 542 static int zr364xx_got_frame(struct zr364xx_camera *cam, int jpgsize) in zr364xx_got_frame() 581 static int zr364xx_read_video_callback(struct zr364xx_camera *cam, in zr364xx_read_video_callback() 707 static int res_get(struct zr364xx_camera *cam) in res_get() [all …]
|
D | w9966.c | 157 static inline void w9966_set_state(struct w9966 *cam, int mask, int val) in w9966_set_state() 163 static inline int w9966_get_state(struct w9966 *cam, int mask, int val) in w9966_get_state() 169 static void w9966_pdev_claim(struct w9966 *cam) in w9966_pdev_claim() 178 static void w9966_pdev_release(struct w9966 *cam) in w9966_pdev_release() 189 static int w9966_read_reg(struct w9966 *cam, int reg) in w9966_read_reg() 210 static int w9966_write_reg(struct w9966 *cam, int reg, int data) in w9966_write_reg() 234 static void w9966_i2c_setsda(struct w9966 *cam, int state) in w9966_i2c_setsda() 247 static int w9966_i2c_getscl(struct w9966 *cam) in w9966_i2c_getscl() 255 static int w9966_i2c_setscl(struct w9966 *cam, int state) in w9966_i2c_setscl() 290 static int w9966_i2c_wbyte(struct w9966 *cam, int data) in w9966_i2c_wbyte() [all …]
|
/drivers/media/video/gspca/ |
D | gspca.h | 55 struct cam { struct 56 const struct v4l2_pix_format *cam_mode; /* size nmodes */ argument 63 u8 nmodes; /* size of cam_mode */ argument 73 * code that the cam fills all image buffers to argument 168 struct cam cam; /* device information */ member
|