Lines Matching refs:em28xx

209 struct em28xx;
242 int (*urb_data_copy)(struct em28xx *dev, struct urb *urb);
543 struct em28xx *dev;
628 struct em28xx *dev;
635 struct em28xx { struct
745 int (*em28xx_write_regs)(struct em28xx *dev, u16 reg, argument
747 int (*em28xx_read_reg)(struct em28xx *dev, u16 reg); argument
748 int (*em28xx_read_reg_req_len)(struct em28xx *dev, u8 req, u16 reg, argument
750 int (*em28xx_write_regs_req)(struct em28xx *dev, u8 req, u16 reg, argument
752 int (*em28xx_read_reg_req)(struct em28xx *dev, u8 req, u16 reg); argument
772 struct em28xx *dev_next; argument
776 #define kref_to_dev(d) container_of(d, struct em28xx, ref) argument
782 int (*init)(struct em28xx *dev);
783 int (*fini)(struct em28xx *dev);
784 int (*suspend)(struct em28xx *dev);
785 int (*resume)(struct em28xx *dev);
789 void em28xx_do_i2c_scan(struct em28xx *dev, unsigned int bus);
790 int em28xx_i2c_register(struct em28xx *dev, unsigned int bus,
792 int em28xx_i2c_unregister(struct em28xx *dev, unsigned int bus);
795 int em28xx_read_reg_req_len(struct em28xx *dev, u8 req, u16 reg,
797 int em28xx_read_reg_req(struct em28xx *dev, u8 req, u16 reg);
798 int em28xx_read_reg(struct em28xx *dev, u16 reg);
799 int em28xx_write_regs_req(struct em28xx *dev, u8 req, u16 reg, char *buf,
801 int em28xx_write_regs(struct em28xx *dev, u16 reg, char *buf, int len);
802 int em28xx_write_reg(struct em28xx *dev, u16 reg, u8 val);
803 int em28xx_write_reg_bits(struct em28xx *dev, u16 reg, u8 val,
805 int em28xx_toggle_reg_bits(struct em28xx *dev, u16 reg, u8 bitmask);
807 int em28xx_read_ac97(struct em28xx *dev, u8 reg);
808 int em28xx_write_ac97(struct em28xx *dev, u8 reg, u16 val);
810 int em28xx_audio_analog_set(struct em28xx *dev);
811 int em28xx_audio_setup(struct em28xx *dev);
813 const struct em28xx_led *em28xx_find_led(struct em28xx *dev,
815 int em28xx_capture_start(struct em28xx *dev, int start);
816 int em28xx_alloc_urbs(struct em28xx *dev, enum em28xx_mode mode, int xfer_bulk,
818 int em28xx_init_usb_xfer(struct em28xx *dev, enum em28xx_mode mode,
822 (struct em28xx *dev, struct urb *urb));
823 void em28xx_uninit_usb_xfer(struct em28xx *dev, enum em28xx_mode mode);
824 void em28xx_stop_urbs(struct em28xx *dev);
825 int em28xx_set_mode(struct em28xx *dev, enum em28xx_mode set_mode);
826 int em28xx_gpio_set(struct em28xx *dev, const struct em28xx_reg_seq *gpio);
829 void em28xx_init_extension(struct em28xx *dev);
830 void em28xx_close_extension(struct em28xx *dev);
831 int em28xx_suspend_extension(struct em28xx *dev);
832 int em28xx_resume_extension(struct em28xx *dev);
838 void em28xx_setup_xc3028(struct em28xx *dev, struct xc2028_ctrl *ctl);
842 int em28xx_detect_sensor(struct em28xx *dev);
843 int em28xx_init_camera(struct em28xx *dev);