• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/video/em28xx/

Lines Matching refs:em28xx

2    em28xx.h - driver for Empia EM2800/EM2820/2840 USB video capture devices
40 #include "em28xx-reg.h"
134 /* maximum number of em28xx boards */
193 struct em28xx;
227 int (*isoc_copy) (struct em28xx *dev, struct urb *urb);
301 /* em28xx has two audio inputs: tuner and line in.
308 /* This is the only entry for em28xx tuner input */
309 EM28XX_AMUX_VIDEO, /* em28xx tuner, AC97 mixer Video */
314 EM28XX_AMUX_VIDEO2, /* em28xx Line in, AC97 mixer Video */
446 /* em28xx extensions */
450 /* em28xx resource types (used for res_get/res_lock etc */
470 struct em28xx;
473 struct em28xx *dev;
484 struct em28xx {
512 /* Some older em28xx chips needs a waiting time after writing */
596 int (*em28xx_write_regs) (struct em28xx *dev, u16 reg,
598 int (*em28xx_read_reg) (struct em28xx *dev, u16 reg);
599 int (*em28xx_read_reg_req_len) (struct em28xx *dev, u8 req, u16 reg,
601 int (*em28xx_write_regs_req) (struct em28xx *dev, u8 req, u16 reg,
603 int (*em28xx_read_reg_req) (struct em28xx *dev, u8 req, u16 reg);
628 int (*init)(struct em28xx *);
629 int (*fini)(struct em28xx *);
632 /* Provided by em28xx-i2c.c */
633 void em28xx_do_i2c_scan(struct em28xx *dev);
634 int em28xx_i2c_register(struct em28xx *dev);
635 int em28xx_i2c_unregister(struct em28xx *dev);
637 /* Provided by em28xx-core.c */
639 u32 em28xx_request_buffers(struct em28xx *dev, u32 count);
640 void em28xx_queue_unusedframes(struct em28xx *dev);
641 void em28xx_release_buffers(struct em28xx *dev);
643 int em28xx_read_reg_req_len(struct em28xx *dev, u8 req, u16 reg,
645 int em28xx_read_reg_req(struct em28xx *dev, u8 req, u16 reg);
646 int em28xx_read_reg(struct em28xx *dev, u16 reg);
647 int em28xx_write_regs_req(struct em28xx *dev, u8 req, u16 reg, char *buf,
649 int em28xx_write_regs(struct em28xx *dev, u16 reg, char *buf, int len);
650 int em28xx_write_reg(struct em28xx *dev, u16 reg, u8 val);
651 int em28xx_write_reg_bits(struct em28xx *dev, u16 reg, u8 val,
654 int em28xx_read_ac97(struct em28xx *dev, u8 reg);
655 int em28xx_write_ac97(struct em28xx *dev, u8 reg, u16 val);
657 int em28xx_audio_analog_set(struct em28xx *dev);
658 int em28xx_audio_setup(struct em28xx *dev);
660 int em28xx_colorlevels_set_default(struct em28xx *dev);
661 int em28xx_capture_start(struct em28xx *dev, int start);
662 int em28xx_vbi_supported(struct em28xx *dev);
663 int em28xx_set_outfmt(struct em28xx *dev);
664 int em28xx_resolution_set(struct em28xx *dev);
665 int em28xx_set_alternate(struct em28xx *dev);
666 int em28xx_init_isoc(struct em28xx *dev, int max_packets,
668 int (*isoc_copy) (struct em28xx *dev, struct urb *urb));
669 void em28xx_uninit_isoc(struct em28xx *dev);
670 int em28xx_isoc_dvb_max_packetsize(struct em28xx *dev);
671 int em28xx_set_mode(struct em28xx *dev, enum em28xx_mode set_mode);
672 int em28xx_gpio_set(struct em28xx *dev, struct em28xx_reg_seq *gpio);
673 void em28xx_wake_i2c(struct em28xx *dev);
674 void em28xx_remove_from_devlist(struct em28xx *dev);
675 void em28xx_add_into_devlist(struct em28xx *dev);
678 void em28xx_init_extension(struct em28xx *dev);
679 void em28xx_close_extension(struct em28xx *dev);
681 /* Provided by em28xx-video.c */
682 int em28xx_register_analog_devices(struct em28xx *dev);
683 void em28xx_release_analog_resources(struct em28xx *dev);
685 /* Provided by em28xx-cards.c */
687 extern void em28xx_pre_card_setup(struct em28xx *dev);
688 extern void em28xx_card_setup(struct em28xx *dev);
692 void em28xx_register_i2c_ir(struct em28xx *dev);
694 void em28xx_release_resources(struct em28xx *dev);
696 /* Provided by em28xx-input.c */
703 void em28xx_register_snapshot_button(struct em28xx *dev);
704 void em28xx_deregister_snapshot_button(struct em28xx *dev);
706 int em28xx_ir_init(struct em28xx *dev);
707 int em28xx_ir_fini(struct em28xx *dev);
709 /* Provided by em28xx-vbi.c */
728 static inline int em28xx_compression_disable(struct em28xx *dev)
734 static inline int em28xx_contrast_get(struct em28xx *dev)
739 static inline int em28xx_brightness_get(struct em28xx *dev)
744 static inline int em28xx_saturation_get(struct em28xx *dev)
749 static inline int em28xx_u_balance_get(struct em28xx *dev)
754 static inline int em28xx_v_balance_get(struct em28xx *dev)
759 static inline int em28xx_gamma_get(struct em28xx *dev)
764 static inline int em28xx_contrast_set(struct em28xx *dev, s32 val)
770 static inline int em28xx_brightness_set(struct em28xx *dev, s32 val)
776 static inline int em28xx_saturation_set(struct em28xx *dev, s32 val)
782 static inline int em28xx_u_balance_set(struct em28xx *dev, s32 val)
788 static inline int em28xx_v_balance_set(struct em28xx *dev, s32 val)
794 static inline int em28xx_gamma_set(struct em28xx *dev, s32 val)
800 static inline unsigned int norm_maxw(struct em28xx *dev)
811 static inline unsigned int norm_maxh(struct em28xx *dev)