Home
last modified time | relevance | path

Searched refs:saa7146_dev (Results 1 – 8 of 8) sorted by relevance

/linux-4.19.296/include/media/drv-intf/
Dsaa7146_vv.h65 int (*activate)(struct saa7146_dev *dev,
74 struct saa7146_dev *dev;
91 struct saa7146_dev *dev;
163 int (*std_callback)(struct saa7146_dev*, struct saa7146_standard *);
175 void (*init)(struct saa7146_dev *, struct saa7146_vv *);
176 int(*open)(struct saa7146_dev *, struct file *);
177 void (*release)(struct saa7146_dev *, struct file *);
178 void (*irq_done)(struct saa7146_dev *, unsigned long status);
183 int saa7146_register_device(struct video_device *vid, struct saa7146_dev *dev, char *name, int type…
184 int saa7146_unregister_device(struct video_device *vid, struct saa7146_dev *dev);
[all …]
Dsaa7146.h59 struct saa7146_dev;
103 int (*probe)(struct saa7146_dev *);
104 int (*attach)(struct saa7146_dev *, struct saa7146_pci_extension_data *);
105 int (*detach)(struct saa7146_dev*);
108 void (*irq_func)(struct saa7146_dev*, u32* irq_mask);
117 struct saa7146_dev struct
144 void (*vv_callback)(struct saa7146_dev *dev, unsigned long status); argument
159 static inline struct saa7146_dev *to_saa7146_dev(struct v4l2_device *v4l2_dev) in to_saa7146_dev() argument
161 return container_of(v4l2_dev, struct saa7146_dev, v4l2_dev); in to_saa7146_dev()
165 int saa7146_i2c_adapter_prepare(struct saa7146_dev *dev, struct i2c_adapter *i2c_adapter, u32 bitra…
[all …]
/linux-4.19.296/drivers/media/common/saa7146/
Dsaa7146_vbi.c6 static int vbi_workaround(struct saa7146_dev *dev) in vbi_workaround()
135 static void saa7146_set_vbi_capture(struct saa7146_dev *dev, struct saa7146_buf *buf, struct saa714… in saa7146_set_vbi_capture()
205 static int buffer_activate(struct saa7146_dev *dev, in buffer_activate()
223 struct saa7146_dev *dev = fh->dev; in buffer_prepare()
293 struct saa7146_dev *dev = fh->dev; in buffer_queue()
305 struct saa7146_dev *dev = fh->dev; in buffer_release()
323 struct saa7146_dev *dev = fh->dev; in vbi_stop()
357 struct saa7146_dev *dev = fh->dev; in vbi_read_timeout()
364 static void vbi_init(struct saa7146_dev *dev, struct saa7146_vv *vv) in vbi_init()
376 static int vbi_open(struct saa7146_dev *dev, struct file *file) in vbi_open()
[all …]
Dsaa7146_video.c90 struct saa7146_format* saa7146_format_by_fourcc(struct saa7146_dev *dev, int fourcc) in saa7146_format_by_fourcc()
108 struct saa7146_dev *dev = fh->dev; in saa7146_start_preview()
170 struct saa7146_dev *dev = fh->dev; in saa7146_stop_preview()
206 static int saa7146_pgtable_build(struct saa7146_dev *dev, struct saa7146_buf *buf) in saa7146_pgtable_build()
329 struct saa7146_dev *dev = fh->dev; in video_begin()
390 struct saa7146_dev *dev = fh->dev; in video_end()
452 struct saa7146_dev *dev = ((struct saa7146_fh *)fh)->dev; in vidioc_querycap()
475 struct saa7146_dev *dev = ((struct saa7146_fh *)fh)->dev; in vidioc_g_fbuf()
486 struct saa7146_dev *dev = ((struct saa7146_fh *)fh)->dev; in vidioc_s_fbuf()
536 struct saa7146_dev *dev = container_of(ctrl->handler, in saa7146_s_ctrl()
[all …]
Dsaa7146_fops.c11 struct saa7146_dev *dev = fh->dev; in saa7146_res_get()
37 struct saa7146_dev *dev = fh->dev; in saa7146_res_free()
51 void saa7146_dma_free(struct saa7146_dev *dev,struct videobuf_queue *q, in saa7146_dma_free()
69 int saa7146_buffer_queue(struct saa7146_dev *dev, in saa7146_buffer_queue()
91 void saa7146_buffer_finish(struct saa7146_dev *dev, in saa7146_buffer_finish()
114 void saa7146_buffer_next(struct saa7146_dev *dev, in saa7146_buffer_next()
169 struct saa7146_dev *dev = q->dev; in saa7146_buffer_timeout()
198 struct saa7146_dev *dev = video_drvdata(file); in fops_open()
264 struct saa7146_dev *dev = fh->dev; in fops_release()
439 static void vv_callback(struct saa7146_dev *dev, unsigned long status) in vv_callback()
[all …]
Dsaa7146_core.c34 static void dump_registers(struct saa7146_dev* dev)
48 void saa7146_setgpio(struct saa7146_dev *dev, int port, u32 data) in saa7146_setgpio()
61 static inline int saa7146_wait_for_debi_done_sleep(struct saa7146_dev *dev, in saa7146_wait_for_debi_done_sleep()
99 static inline int saa7146_wait_for_debi_done_busyloop(struct saa7146_dev *dev, in saa7146_wait_for_debi_done_busyloop()
134 int saa7146_wait_for_debi_done(struct saa7146_dev *dev, int nobusyloop) in saa7146_wait_for_debi_done()
295 struct saa7146_dev *dev = dev_id; in interrupt_hw()
357 struct saa7146_dev *dev; in saa7146_init_one()
361 dev = kzalloc(sizeof(struct saa7146_dev), GFP_KERNEL); in saa7146_init_one()
510 struct saa7146_dev *dev = to_saa7146_dev(v4l2_dev); in saa7146_remove_one()
Dsaa7146_hlp.c7 static void calculate_output_format_register(struct saa7146_dev* saa, u32 palette, u32* clip_format) in calculate_output_format_register()
15 static void calculate_hps_source_and_sync(struct saa7146_dev *dev, int source, int sync, u32* hps_c… in calculate_hps_source_and_sync()
66 static int calculate_h_scale_registers(struct saa7146_dev *dev, in calculate_h_scale_registers()
212 static int calculate_v_scale_registers(struct saa7146_dev *dev, enum v4l2_field field, in calculate_v_scale_registers()
337 static void calculate_clipping_registers_rect(struct saa7146_dev *dev, struct saa7146_fh *fh, in calculate_clipping_registers_rect()
467 static void saa7146_disable_clipping(struct saa7146_dev *dev) in saa7146_disable_clipping()
484 struct saa7146_dev *dev = fh->dev; in saa7146_set_clipping_rect()
523 static void saa7146_set_window(struct saa7146_dev *dev, int width, int height, enum v4l2_field fiel… in saa7146_set_window()
559 static void saa7146_set_position(struct saa7146_dev *dev, int w_x, int w_y, int w_height, enum v4l2… in saa7146_set_position()
614 static void saa7146_set_output_format(struct saa7146_dev *dev, unsigned long palette) in saa7146_set_output_format()
[all …]
Dsaa7146_i2c.c17 static inline u32 saa7146_i2c_status(struct saa7146_dev *dev) in saa7146_i2c_status()
115 static int saa7146_i2c_reset(struct saa7146_dev *dev) in saa7146_i2c_reset()
179 static int saa7146_i2c_writeout(struct saa7146_dev *dev, __le32 *dword, int short_delay) in saa7146_i2c_writeout()
294 static int saa7146_i2c_transfer(struct saa7146_dev *dev, const struct i2c_msg *msgs, int num, int r… in saa7146_i2c_transfer()
388 struct saa7146_dev *dev = to_saa7146_dev(v4l2_dev); in saa7146_i2c_xfer()
404 int saa7146_i2c_adapter_prepare(struct saa7146_dev *dev, struct i2c_adapter *i2c_adapter, u32 bitra… in saa7146_i2c_adapter_prepare()