/openbmc/linux/include/media/drv-intf/ |
H A D | saa7146_vv.h | 64 int (*activate)(struct saa7146_dev *dev, 73 struct saa7146_dev *dev; 125 int (*std_callback)(struct saa7146_dev*, struct saa7146_standard *); 137 void (*init)(struct saa7146_dev *, struct saa7146_vv *); 138 void (*irq_done)(struct saa7146_dev *, unsigned long status); 143 int saa7146_unregister_device(struct video_device *vid, struct saa7146_dev *dev); 149 int saa7146_vv_init(struct saa7146_dev* dev, struct saa7146_ext_vv *ext_vv); 150 int saa7146_vv_release(struct saa7146_dev* dev); 156 void saa7146_set_gpio(struct saa7146_dev *saa, u8 pin, u8 data); 171 int saa7146_res_get(struct saa7146_dev *dev, unsigned int bit); [all …]
|
H A D | saa7146.h | 59 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 161 return container_of(v4l2_dev, struct saa7146_dev, v4l2_dev); in to_saa7146_dev() 176 void saa7146_setgpio(struct saa7146_dev *dev, int port, u32 data); 177 int saa7146_wait_for_debi_done(struct saa7146_dev *dev, int nobusyloop); [all …]
|
/openbmc/linux/drivers/media/common/saa7146/ |
H A D | saa7146_video.c | 182 static int video_begin(struct saa7146_dev *dev) in video_begin() 217 static void video_end(struct saa7146_dev *dev) in video_end() 256 struct saa7146_dev *dev = video_drvdata(file); in vidioc_querycap() 278 struct saa7146_dev, ctrl_handler); in saa7146_s_ctrl() 329 struct saa7146_dev *dev = video_drvdata(file); in vidioc_g_parm() 342 struct saa7146_dev *dev = video_drvdata(file); in vidioc_g_fmt_vid_cap() 351 struct saa7146_dev *dev = video_drvdata(file); in vidioc_g_fmt_vbi_cap() 360 struct saa7146_dev *dev = video_drvdata(file); in vidioc_try_fmt_vid_cap() 422 struct saa7146_dev *dev = video_drvdata(file); in vidioc_s_fmt_vid_cap() 450 struct saa7146_dev *dev = video_drvdata(file); in vidioc_g_std() [all …]
|
H A D | saa7146_vbi.c | 6 static int vbi_workaround(struct saa7146_dev *dev) in vbi_workaround() 205 static int buffer_activate(struct saa7146_dev *dev, in buffer_activate() 238 struct saa7146_dev *dev = vb2_get_drv_priv(vq); in buf_queue() 256 struct saa7146_dev *dev = vb2_get_drv_priv(vq); in buf_init() 285 struct saa7146_dev *dev = vb2_get_drv_priv(vq); in buf_cleanup() 292 struct saa7146_dev *dev = vb2_get_drv_priv(q); in return_buffers() 308 static void vbi_stop(struct saa7146_dev *dev) in vbi_stop() 334 struct saa7146_dev *dev = vv->vbi_dmaq.dev; in vbi_read_timeout() 341 static int vbi_begin(struct saa7146_dev *dev) in vbi_begin() 382 struct saa7146_dev *dev = vb2_get_drv_priv(q); in start_streaming() [all …]
|
H A D | saa7146_fops.c | 10 int saa7146_res_get(struct saa7146_dev *dev, unsigned int bit) in saa7146_res_get() 34 void saa7146_res_free(struct saa7146_dev *dev, unsigned int bits) in saa7146_res_free() 48 int saa7146_buffer_queue(struct saa7146_dev *dev, in saa7146_buffer_queue() 70 void saa7146_buffer_finish(struct saa7146_dev *dev, in saa7146_buffer_finish() 101 void saa7146_buffer_next(struct saa7146_dev *dev, in saa7146_buffer_next() 157 struct saa7146_dev *dev = q->dev; in saa7146_buffer_timeout() 186 struct saa7146_dev *dev = video_drvdata(file); in fops_write() 210 static void vv_callback(struct saa7146_dev *dev, unsigned long status) in vv_callback() 238 int saa7146_vv_init(struct saa7146_dev* dev, struct saa7146_ext_vv *ext_vv) in saa7146_vv_init() 327 int saa7146_vv_release(struct saa7146_dev* dev) in saa7146_vv_release() [all …]
|
H A D | saa7146_hlp.c | 8 static void calculate_output_format_register(struct saa7146_dev* saa, u32 palette, u32* clip_format) in calculate_output_format_register() 16 static void calculate_hps_source_and_sync(struct saa7146_dev *dev, int source, int sync, u32* hps_c… in calculate_hps_source_and_sync() 67 static int calculate_h_scale_registers(struct saa7146_dev *dev, in calculate_h_scale_registers() 213 static int calculate_v_scale_registers(struct saa7146_dev *dev, enum v4l2_field field, in calculate_v_scale_registers() 344 static void saa7146_set_output_format(struct saa7146_dev *dev, unsigned long palette) in saa7146_set_output_format() 357 void saa7146_set_hps_source_and_sync(struct saa7146_dev *dev, int source, int sync) in saa7146_set_hps_source_and_sync() 377 void saa7146_write_out_dma(struct saa7146_dev* dev, int which, struct saa7146_video_dma* vdma) in saa7146_write_out_dma() 407 static int calculate_video_dma_grab_packed(struct saa7146_dev* dev, struct saa7146_buf *buf) in calculate_video_dma_grab_packed() 532 static int calculate_video_dma_grab_planar(struct saa7146_dev* dev, struct saa7146_buf *buf) in calculate_video_dma_grab_planar() 638 static void program_capture_engine(struct saa7146_dev *dev, int planar) in program_capture_engine() [all …]
|
H A D | saa7146_core.c | 22 static void dump_registers(struct saa7146_dev* dev) 36 void saa7146_setgpio(struct saa7146_dev *dev, int port, u32 data) in saa7146_setgpio() 50 static inline int saa7146_wait_for_debi_done_sleep(struct saa7146_dev *dev, in saa7146_wait_for_debi_done_sleep() 88 static inline int saa7146_wait_for_debi_done_busyloop(struct saa7146_dev *dev, in saa7146_wait_for_debi_done_busyloop() 123 int saa7146_wait_for_debi_done(struct saa7146_dev *dev, int nobusyloop) in saa7146_wait_for_debi_done() 271 struct saa7146_dev *dev = dev_id; in interrupt_hw() 333 struct saa7146_dev *dev; in saa7146_init_one() 337 dev = kzalloc(sizeof(struct saa7146_dev), GFP_KERNEL); in saa7146_init_one() 488 struct saa7146_dev *dev = to_saa7146_dev(v4l2_dev); in saa7146_remove_one()
|
H A D | saa7146_i2c.c | 17 static inline u32 saa7146_i2c_status(struct saa7146_dev *dev) in saa7146_i2c_status() 112 static int saa7146_i2c_reset(struct saa7146_dev *dev) in saa7146_i2c_reset() 176 static int saa7146_i2c_writeout(struct saa7146_dev *dev, __le32 *dword, int short_delay) in saa7146_i2c_writeout() 291 static int saa7146_i2c_transfer(struct saa7146_dev *dev, const struct i2c_msg *msgs, int num, int r… in saa7146_i2c_transfer() 385 struct saa7146_dev *dev = to_saa7146_dev(v4l2_dev); in saa7146_i2c_xfer() 401 int saa7146_i2c_adapter_prepare(struct saa7146_dev *dev, struct i2c_adapter *i2c_adapter, u32 bitra… in saa7146_i2c_adapter_prepare()
|
/openbmc/linux/drivers/staging/media/av7110/ |
H A D | av7110_v4l.c | 297 struct saa7146_dev *dev = video_drvdata(file); in vidioc_g_tuner() 341 struct saa7146_dev *dev = video_drvdata(file); in vidioc_s_tuner() 385 struct saa7146_dev *dev = video_drvdata(file); in vidioc_g_frequency() 401 struct saa7146_dev *dev = video_drvdata(file); in vidioc_s_frequency() 431 struct saa7146_dev *dev = video_drvdata(file); in vidioc_enum_input() 451 struct saa7146_dev *dev = video_drvdata(file); in vidioc_g_input() 461 struct saa7146_dev *dev = video_drvdata(file); in vidioc_s_input() 509 struct saa7146_dev *dev = video_drvdata(file); in vidioc_g_audio() 523 struct saa7146_dev *dev = video_drvdata(file); in vidioc_s_audio() 798 struct saa7146_dev* dev = av7110->dev; in av7110_init_v4l() [all …]
|
H A D | budget-patch.c | 49 struct saa7146_dev *dev=budget->dev; in gpio_Set22K() 60 struct saa7146_dev *dev=budget->dev; in DiseqcSendBit() 86 struct saa7146_dev *dev=budget->dev; in SendDiSEqCMsg() 373 static int budget_patch_attach (struct saa7146_dev* dev, struct saa7146_pci_extension_data *info) in budget_patch_attach() 621 static int budget_patch_detach (struct saa7146_dev* dev) in budget_patch_detach()
|
H A D | av7110.h | 100 struct saa7146_dev *dev;
|
H A D | av7110_hw.c | 46 struct saa7146_dev *dev = av7110->dev; in av7110_debiwrite() 68 struct saa7146_dev *dev = av7110->dev; in av7110_debiread() 198 struct saa7146_dev *dev = av7110->dev; in av7110_bootarm()
|
H A D | av7110.c | 120 struct saa7146_dev *dev = av7110->dev; in init_av7110_av() 2349 static int av7110_attach(struct saa7146_dev* dev, in av7110_attach() 2749 static int av7110_detach(struct saa7146_dev* saa) in av7110_detach() 2806 static void av7110_irq(struct saa7146_dev* dev, u32 *isr) in av7110_irq()
|
/openbmc/linux/drivers/media/pci/saa7146/ |
H A D | mxb.c | 200 struct saa7146_dev, ctrl_handler); in mxb_s_ctrl() 220 static int mxb_probe(struct saa7146_dev *dev) in mxb_probe() 460 struct saa7146_dev *dev = video_drvdata(file); in vidioc_g_input() 470 struct saa7146_dev *dev = video_drvdata(file); in vidioc_s_input() 535 struct saa7146_dev *dev = video_drvdata(file); in vidioc_g_tuner() 557 struct saa7146_dev *dev = video_drvdata(file); in vidioc_s_tuner() 572 struct saa7146_dev *dev = video_drvdata(file); in vidioc_querystd() 579 struct saa7146_dev *dev = video_drvdata(file); in vidioc_g_frequency() 592 struct saa7146_dev *dev = video_drvdata(file); in vidioc_s_frequency() 623 struct saa7146_dev *dev = video_drvdata(file); in vidioc_g_audio() [all …]
|
H A D | hexium_orion.c | 199 static int hexium_probe(struct saa7146_dev *dev) in hexium_probe() 277 static int hexium_init_done(struct saa7146_dev *dev) in hexium_init_done() 330 struct saa7146_dev *dev = video_drvdata(file); in vidioc_g_input() 341 struct saa7146_dev *dev = video_drvdata(file); in vidioc_s_input() 356 static int hexium_attach(struct saa7146_dev *dev, struct saa7146_pci_extension_data *info) in hexium_attach() 388 static int hexium_detach(struct saa7146_dev *dev) in hexium_detach() 404 static int std_callback(struct saa7146_dev *dev, struct saa7146_standard *std) in std_callback()
|
H A D | hexium_gemini.c | 151 static int hexium_init_done(struct saa7146_dev *dev) in hexium_init_done() 219 struct saa7146_dev *dev = video_drvdata(file); in vidioc_g_input() 230 struct saa7146_dev *dev = video_drvdata(file); in vidioc_s_input() 246 static int hexium_attach(struct saa7146_dev *dev, struct saa7146_pci_extension_data *info) in hexium_attach() 313 static int hexium_detach(struct saa7146_dev *dev) in hexium_detach() 329 static int std_callback(struct saa7146_dev *dev, struct saa7146_standard *std) in std_callback()
|
/openbmc/linux/drivers/media/pci/ttpci/ |
H A D | budget.h | 44 struct saa7146_dev *dev; 117 extern int ttpci_budget_init(struct budget *budget, struct saa7146_dev *dev, 122 extern void ttpci_budget_irq10_handler(struct saa7146_dev *dev, u32 * isr); 123 extern void ttpci_budget_set_video_port(struct saa7146_dev *dev, int video_port);
|
H A D | budget-core.c | 58 struct saa7146_dev *dev = budget->dev; in start_ts_capture() 222 struct saa7146_dev *saa = budget->dev; in ttpci_budget_debiread_nolock() 266 struct saa7146_dev *saa = budget->dev; in ttpci_budget_debiwrite_nolock() 410 int ttpci_budget_init(struct budget *budget, struct saa7146_dev *dev, in ttpci_budget_init() 424 budget->dev = (struct saa7146_dev *) dev; in ttpci_budget_init() 554 struct saa7146_dev *dev = budget->dev; in ttpci_budget_deinit() 571 void ttpci_budget_irq10_handler(struct saa7146_dev *dev, u32 * isr) in ttpci_budget_irq10_handler() 581 void ttpci_budget_set_video_port(struct saa7146_dev *dev, int video_port) in ttpci_budget_set_video_port()
|
H A D | budget-av.c | 204 struct saa7146_dev *saa = budget_av->budget.dev; in ciintf_slot_reset() 233 struct saa7146_dev *saa = budget_av->budget.dev; in ciintf_slot_shutdown() 249 struct saa7146_dev *saa = budget_av->budget.dev; in ciintf_slot_ts_enable() 264 struct saa7146_dev *saa = budget_av->budget.dev; in ciintf_poll_slot_status() 325 struct saa7146_dev *saa = budget_av->budget.dev; in ciintf_init() 368 struct saa7146_dev *saa = budget_av->budget.dev; in ciintf_deinit() 415 struct saa7146_dev *saa = budget->dev; in saa7113_init() 1199 struct saa7146_dev * saa = budget_av->budget.dev; in frontend_init() 1364 static int budget_av_detach(struct saa7146_dev *dev) in budget_av_detach() 1414 struct saa7146_dev *dev = video_drvdata(file); in vidioc_g_input() [all …]
|
H A D | budget-ci.c | 161 struct saa7146_dev *saa = budget_ci->budget.dev; in msp430_ir_init() 243 struct saa7146_dev *saa = budget_ci->budget.dev; in msp430_ir_deinit() 299 struct saa7146_dev *saa = budget_ci->budget.dev; in ciintf_slot_reset() 322 struct saa7146_dev *saa = budget_ci->budget.dev; in ciintf_slot_shutdown() 335 struct saa7146_dev *saa = budget_ci->budget.dev; in ciintf_slot_ts_enable() 355 struct saa7146_dev *saa = budget_ci->budget.dev; in ciintf_interrupt() 440 struct saa7146_dev *saa = budget_ci->budget.dev; in ciintf_init() 529 struct saa7146_dev *saa = budget_ci->budget.dev; in ciintf_deinit() 554 static void budget_ci_irq(struct saa7146_dev *dev, u32 * isr) in budget_ci_irq() 1495 static int budget_ci_detach(struct saa7146_dev *dev) in budget_ci_detach() [all …]
|
H A D | budget.c | 47 struct saa7146_dev *dev=budget->dev; in Set22K() 58 struct saa7146_dev *dev=budget->dev; in DiseqcSendBit() 84 struct saa7146_dev *dev=budget->dev; in SendDiSEqCMsg() 121 struct saa7146_dev *dev=budget->dev; in SetVoltage_Activy() 772 static int budget_attach (struct saa7146_dev* dev, struct saa7146_pci_extension_data *info) in budget_attach() 801 static int budget_detach (struct saa7146_dev* dev) in budget_detach()
|