/linux/drivers/media/usb/em28xx/ |
H A D | Makefile | 2 em28xx-y += em28xx-core.o em28xx-i2c.o em28xx-cards.o em28xx-camera.o 4 em28xx-v4l-objs := em28xx-video.o em28xx-vbi.o 5 em28xx-alsa-objs := em28xx [all...] |
H A D | em28xx.h | 3 * em28xx.h - driver for Empia EM2800/EM2820/2840 USB video capture devices 19 #define DRIVER_DESC "Empia em28xx device driver" 36 #include "em28xx-reg.h" 163 /* maximum number of em28xx boards */ 164 #define EM28XX_MAXBOARDS DVB_MAX_ADAPTERS /* All adapters could be em28xx */ 175 /* max number of I2C buses on em28xx devices */ 210 struct em28xx; 243 int (*urb_data_copy)(struct em28xx *dev, struct urb *urb); 251 * @reg: em28xx register value to set it 329 * enum em28xx_amux - describes the type of audio input used by em28xx 636 struct em28xx { global() struct 640 v4l2em28xx global() argument 641 dvbem28xx global() argument 642 adevem28xx global() argument 643 irem28xx global() argument 648 chip_idem28xx global() argument 657 int_audio_typeem28xx global() argument 658 usb_audio_typeem28xx global() argument 661 boardem28xx global() argument 663 em28xx_sensorem28xx global() argument 665 nameem28xx global() argument 672 audio_modeem28xx global() argument 679 i2c_busem28xx global() argument 690 amux_mapem28xx global() argument 702 lockem28xx global() argument 713 vidqem28xx global() argument 714 vbiqem28xx global() argument 715 usb_ctlem28xx global() argument 717 slockem28xx global() argument 720 intfem28xx global() argument 721 ifnumem28xx global() argument 722 analog_ep_isocem28xx global() argument 746 em28xx_write_regsem28xx global() argument 748 em28xx_read_regem28xx global() argument 749 em28xx_read_reg_req_lenem28xx global() argument 751 em28xx_write_regs_reqem28xx global() argument 753 em28xx_read_reg_reqem28xx global() argument 755 modeem28xx global() argument 773 dev_nextem28xx global() argument 777 tsem28xx global() argument [all...] |
H A D | em28xx-core.c | 3 // em28xx-core.c - driver for Empia EM2800/EM2820/2840 USB video capture devices 11 #include "em28xx.h" 66 int em28xx_read_reg_req_len(struct em28xx *dev, u8 req, u16 reg, in em28xx_read_reg_req_len() 112 int em28xx_read_reg_req(struct em28xx *dev, u8 req, u16 reg) in em28xx_read_reg_req() 124 int em28xx_read_reg(struct em28xx *dev, u16 reg) in em28xx_read_reg() 134 int em28xx_write_regs_req(struct em28xx *dev, u8 req, u16 reg, char *buf, in em28xx_write_regs_req() 177 int em28xx_write_regs(struct em28xx *dev, u16 reg, char *buf, int len) in em28xx_write_regs() 184 int em28xx_write_reg(struct em28xx *dev, u16 reg, u8 val) in em28xx_write_reg() 195 int em28xx_write_reg_bits(struct em28xx *dev, u16 reg, u8 val, in em28xx_write_reg_bits() 215 int em28xx_toggle_reg_bits(struct em28xx *de [all...] |
H A D | em28xx-video.c | 3 // em28xx-video.c - driver for Empia EM2800/EM2820/2840 USB 15 #include "em28xx.h" 28 #include "em28xx-v4l.h" 126 static inline unsigned int norm_maxw(struct em28xx *dev) in norm_maxw() 139 static inline unsigned int norm_maxh(struct em28xx *dev) in norm_maxh() 152 static int em28xx_vbi_supported(struct em28xx *dev) in em28xx_vbi_supported() 167 /* Version of em28xx that does not support VBI */ in em28xx_vbi_supported() 175 static void em28xx_wake_i2c(struct em28xx *dev) in em28xx_wake_i2c() 184 static int em28xx_colorlevels_set_default(struct em28xx *dev) in em28xx_colorlevels_set_default() 202 static int em28xx_set_outfmt(struct em28xx *de [all...] |
H A D | em28xx-audio.c | 14 #include "em28xx.h" 49 static int em28xx_deinit_isoc_audio(struct em28xx *dev) in em28xx_deinit_isoc_audio() 68 struct em28xx *dev = urb->context; in em28xx_audio_isocirq() 159 static int em28xx_init_audio_isoc(struct em28xx *dev) in em28xx_init_audio_isoc() 218 struct em28xx *dev = snd_pcm_substream_chip(substream); in snd_em28xx_capture_open() 223 pr_err("em28xx-audio: BUG: em28xx can't find device struct. Can't proceed with open\n"); in snd_em28xx_capture_open() 292 "Error while configuring em28xx mixer\n"); in snd_em28xx_capture_open() 298 struct em28xx *dev = snd_pcm_substream_chip(substream); in snd_em28xx_pcm_close() 319 struct em28xx *de in snd_em28xx_prepare() [all...] |
H A D | em28xx-i2c.c | 3 // em28xx-i2c.c - driver for Empia EM2800/EM2820/2840 USB video capture devices 11 #include "em28xx.h" 50 static int em28xx_i2c_timeout(struct em28xx *dev) in em28xx_i2c_timeout() 73 static int em2800_i2c_send_bytes(struct em28xx *dev, u8 addr, u8 *buf, u16 len) in em2800_i2c_send_bytes() 125 static int em2800_i2c_recv_bytes(struct em28xx *dev, u8 addr, u8 *buf, u16 len) in em2800_i2c_recv_bytes() 185 static int em2800_i2c_check_for_device(struct em28xx *dev, u8 addr) in em2800_i2c_check_for_device() 199 static int em28xx_i2c_send_bytes(struct em28xx *dev, u16 addr, u8 *buf, in em28xx_i2c_send_bytes() 269 static int em28xx_i2c_recv_bytes(struct em28xx *dev, u16 addr, u8 *buf, u16 len) in em28xx_i2c_recv_bytes() 335 static int em28xx_i2c_check_for_device(struct em28xx *dev, u16 addr) in em28xx_i2c_check_for_device() 350 static int em25xx_bus_B_send_bytes(struct em28xx *de [all...] |
H A D | em28xx-input.c | 3 // handle em28xx IR remotes via linux kernel input layer. 10 #include "em28xx.h" 29 #define MODULE_NAME "em28xx" 38 * Polling structure used by em28xx IR's 50 struct em28xx *dev; 197 struct em28xx *dev = ir->dev; in default_polling_getkey() 240 struct em28xx *dev = ir->dev; in em2874_polling_getkey() 290 * Polling code for em28xx 387 struct em28xx *dev = ir->dev; in em2860_ir_change_protocol() 415 struct em28xx *de in em2874_ir_change_protocol() [all...] |
H A D | Kconfig | 21 module will be called em28xx 31 newer em28xx devices uses Vendor Class for audio, instead of 36 module will be called em28xx-alsa 39 tristate "DVB/ATSC Support for em28xx based TV cards" 73 Empiatech em28xx chips. 83 Enables Remote Controller support on em28xx driver.
|
H A D | em28xx-camera.c | 3 // em28xx-camera.c - driver for Empia EM25xx/27xx/28xx USB video capture devices 8 #include "em28xx.h" 31 static int em28xx_initialize_mt9m111(struct em28xx *dev) in em28xx_initialize_mt9m111() 51 static int em28xx_initialize_mt9m001(struct em28xx *dev) in em28xx_initialize_mt9m001() 82 static int em28xx_probe_sensor_micron(struct em28xx *dev) in em28xx_probe_sensor_micron() 167 static int em28xx_probe_sensor_omnivision(struct em28xx *dev) in em28xx_probe_sensor_omnivision() 277 int em28xx_detect_sensor(struct em28xx *dev) in em28xx_detect_sensor() 300 int em28xx_init_camera(struct em28xx *dev) in em28xx_init_camera()
|
H A D | em28xx-vbi.c | 3 // em28xx-vbi.c - VBI driver for em28xx 9 #include "em28xx.h" 17 #include "em28xx-v4l.h" 25 struct em28xx *dev = vb2_get_drv_priv(vq); in vbi_queue_setup() 46 struct em28xx *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_buffer_prepare() 67 struct em28xx *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_buffer_queue()
|
H A D | em28xx-dvb.c | 3 // DVB device driver for em28xx 20 #include "em28xx.h" 105 static inline void print_err_status(struct em28xx *dev, in print_err_status() 144 static inline int em28xx_dvb_urb_data_copy(struct em28xx *dev, struct urb *urb) in em28xx_dvb_urb_data_copy() 198 struct em28xx *dev = i2c_bus->dev; in em28xx_start_streaming() 241 struct em28xx *dev = i2c_bus->dev; in em28xx_stop_streaming() 291 struct em28xx *dev = i2c_bus->dev; in em28xx_dvb_bus_ctrl() 467 static void hauppauge_hvr930c_init(struct em28xx *dev) in hauppauge_hvr930c_init() 534 static void terratec_h5_init(struct em28xx *dev) in terratec_h5_init() 583 static void terratec_htc_stick_init(struct em28xx *de [all...] |
/linux/drivers/media/usb/ |
H A D | Makefile | 27 obj-$(CONFIG_VIDEO_EM28XX) += em28xx/
|
H A D | Kconfig | 58 source "drivers/media/usb/em28xx/Kconfig"
|
/linux/Documentation/admin-guide/media/ |
H A D | usb-cardlist.rst | 83 em28xx Empia EM28xx USB devices 106 em28xx-cardlist
|
/linux/drivers/media/i2c/ |
H A D | Kconfig | 316 em28xx driver.
|
/linux/ |
H A D | MAINTAINERS | 8937 F: Documentation/admin-guide/media/em28xx* 8938 F: drivers/media/usb/em28xx/
|