Home
last modified time | relevance | path

Searched full:go7007 (Results 1 – 18 of 18) sorted by relevance

/linux/drivers/media/usb/go7007/
H A Dgo7007-priv.h7 * This is the private include file for the go7007 driver. It should not
17 struct go7007;
116 int (*interface_reset)(struct go7007 *go);
117 int (*write_interrupt)(struct go7007 *go, int addr, int data);
118 int (*read_interrupt)(struct go7007 *go);
119 int (*stream_start)(struct go7007 *go);
120 int (*stream_stop)(struct go7007 *go);
121 int (*send_firmware)(struct go7007 *go, u8 *data, int len);
122 int (*send_command)(struct go7007 *go, unsigned int cmd, void *arg);
123 void (*release)(struct go7007 *go);
[all …]
H A DKconfig3 tristate "WIS GO7007 MPEG encoder support"
18 This is a video4linux driver for the WIS GO7007 MPEG
22 module will be called go7007.
25 tristate "WIS GO7007 USB support"
28 This is a video4linux driver for the WIS GO7007 MPEG
32 module will be called go7007-usb.
35 tristate "WIS GO7007 Loader support"
39 This is a go7007 firmware loader driver for the WIS GO7007
43 module will be called go7007-loader.
H A DMakefile2 obj-$(CONFIG_VIDEO_GO7007) += go7007.o
3 obj-$(CONFIG_VIDEO_GO7007_USB) += go7007-usb.o
4 obj-$(CONFIG_VIDEO_GO7007_LOADER) += go7007-loader.o
7 go7007-y := go7007-v4l2.o go7007-driver.o go7007-i2c.o go7007-fw.o \
8 snd-go7007.o
H A Dgo7007-i2c.c17 #include "go7007-priv.h"
34 /* There is only one I2C port on the TW2804 that feeds all four GO7007 VIPs
38 static inline void adlink_mpg24_i2c_lock(struct go7007 *go) in adlink_mpg24_i2c_lock()
40 /* Bridge the I2C port on this GO7007 to the shared bus */ in adlink_mpg24_i2c_lock()
45 static inline void adlink_mpg24_i2c_unlock(struct go7007 *go) in adlink_mpg24_i2c_unlock()
47 /* Isolate the I2C port on this GO7007 from the shared bus */ in adlink_mpg24_i2c_unlock()
52 static int go7007_i2c_xfer(struct go7007 *go, u16 addr, int read, in go7007_i2c_xfer()
63 dev_dbg(go->dev, "go7007-i2c: reading 0x%02x on 0x%02x\n", in go7007_i2c_xfer()
67 "go7007-i2c: writing 0x%02x to 0x%02x on 0x%02x\n", in go7007_i2c_xfer()
85 dev_err(go->dev, "go7007-i2c: I2C adapter is hung\n"); in go7007_i2c_xfer()
[all …]
H A Dsnd-go7007.c22 #include "go7007-priv.h"
31 MODULE_PARM_DESC(index, "Index value for the go7007 audio driver");
32 MODULE_PARM_DESC(id, "ID string for the go7007 audio driver");
33 MODULE_PARM_DESC(enable, "Enable for the go7007 audio driver");
64 static void parse_audio_stream_data(struct go7007 *go, u8 *buf, int length) in parse_audio_stream_data()
101 struct go7007 *go = snd_pcm_substream_chip(substream); in go7007_snd_hw_params()
109 struct go7007 *go = snd_pcm_substream_chip(substream); in go7007_snd_hw_free()
117 struct go7007 *go = snd_pcm_substream_chip(substream); in go7007_snd_capture_open()
135 struct go7007 *go = snd_pcm_substream_chip(substream); in go7007_snd_capture_close()
149 struct go7007 *go = snd_pcm_substream_chip(substream); in go7007_snd_pcm_trigger()
[all …]
H A Dgo7007-driver.c25 #include "go7007-priv.h"
33 int go7007_read_interrupt(struct go7007 *go, u16 *value, u16 *data) in go7007_read_interrupt()
56 int go7007_read_addr(struct go7007 *go, u16 addr, u16 *data) in go7007_read_addr()
78 static int go7007_load_encoder(struct go7007 *go) in go7007_load_encoder()
81 char fw_name[] = "go7007/go7007fw.bin"; in go7007_load_encoder()
92 v4l2_err(go, "file \"%s\" does not appear to be go7007 firmware\n", fw_name); in go7007_load_encoder()
119 MODULE_FIRMWARE("go7007/go7007fw.bin");
128 int go7007_boot_encoder(struct go7007 *go, int init_i2c) in go7007_boot_encoder()
147 * Configure any hardware-related registers in the GO7007, such as GPIO
153 static int go7007_init_encoder(struct go7007 *go) in go7007_init_encoder()
[all …]
H A Dgo7007-usb.c22 #include "go7007-priv.h"
622 static int go7007_usb_vendor_request(struct go7007 *go, int request, in go7007_usb_vendor_request()
641 static int go7007_usb_interface_reset(struct go7007 *go) in go7007_usb_interface_reset()
675 static int go7007_usb_ezusb_write_interrupt(struct go7007 *go, in go7007_usb_ezusb_write_interrupt()
721 static int go7007_usb_onboard_write_interrupt(struct go7007 *go, in go7007_usb_onboard_write_interrupt()
747 struct go7007 *go = (struct go7007 *)urb->context; in go7007_usb_readinterrupt_complete()
772 static int go7007_usb_read_interrupt(struct go7007 *go) in go7007_usb_read_interrupt()
787 struct go7007 *go = (struct go7007 *)urb->context; in go7007_usb_read_video_pipe_complete()
810 struct go7007 *go = (struct go7007 *)urb->context; in go7007_usb_read_audio_pipe_complete()
831 static int go7007_usb_stream_start(struct go7007 *go) in go7007_usb_stream_start()
[all …]
H A Ds2250-board.c14 #include "go7007-priv.h"
130 /* from go7007-usb.c which is Copyright (C) 2005-2006 Micronas USA Inc.*/
131 static int go7007_usb_vendor_request(struct go7007 *go, u16 request, in go7007_usb_vendor_request()
149 /* end from go7007-usb.c which is Copyright (C) 2005-2006 Micronas USA Inc.*/
153 struct go7007 *go = i2c_get_adapdata(client->adapter); in write_reg()
187 struct go7007 *go = i2c_get_adapdata(client->adapter); in write_reg_fp()
251 struct go7007 *go = i2c_get_adapdata(client->adapter); in read_reg_fp()
504 struct go7007 *go = i2c_get_adapdata(adapter); in s2250_probe()
H A Dgo7007-fw.c24 #include "go7007-priv.h"
26 #define GO7007_FW_NAME "go7007/go7007tv.bin"
290 static int mjpeg_frame_header(struct go7007 *go, unsigned char *buf, int q) in mjpeg_frame_header()
365 static int gen_mjpeghdr_to_package(struct go7007 *go, __le16 *code, int space) in gen_mjpeghdr_to_package()
416 static int mpeg1_frame_header(struct go7007 *go, unsigned char *buf, in mpeg1_frame_header()
524 static int mpeg1_sequence_header(struct go7007 *go, unsigned char *buf, int ext) in mpeg1_sequence_header()
631 static int gen_mpeg1hdr_to_package(struct go7007 *go, in gen_mpeg1hdr_to_package()
708 static int vti_bitlen(struct go7007 *go) in vti_bitlen()
717 static int mpeg4_frame_header(struct go7007 *go, unsigned char *buf, in mpeg4_frame_header()
771 static int mpeg4_sequence_header(struct go7007 *go, unsigned char *buf, int ext) in mpeg4_sequence_header()
[all …]
/linux/drivers/media/pci/saa7134/
H A Dsaa7134-go7007.c25 #include "go7007-priv.h"
131 static int saa7134_go7007_interface_reset(struct go7007 *go) in saa7134_go7007_interface_reset()
169 pr_err("saa7134-go7007: unable to reset the GO7007\n"); in saa7134_go7007_interface_reset()
175 static int saa7134_go7007_write_interrupt(struct go7007 *go, int addr, int data) in saa7134_go7007_write_interrupt()
183 pr_debug("saa7134-go7007: WriteInterrupt: %04x %04x\n", addr, data); in saa7134_go7007_write_interrupt()
193 pr_err("saa7134-go7007: device is hung, status reg = 0x%04x\n", in saa7134_go7007_write_interrupt()
203 static int saa7134_go7007_read_interrupt(struct go7007 *go) in saa7134_go7007_read_interrupt()
213 pr_debug("saa7134-go7007: ReadInterrupt: %04x %04x\n", in saa7134_go7007_read_interrupt()
222 struct go7007 *go = video_get_drvdata(dev->empress_dev); in saa7134_go7007_irq_ts_done()
228 pr_debug("saa7134-go7007: irq: lost %ld\n", in saa7134_go7007_irq_ts_done()
[all …]
H A DMakefile9 obj-$(CONFIG_VIDEO_SAA7134_GO7007) += saa7134-go7007.o
17 ccflags-y += -I$(srctree)/drivers/media/usb/go7007
H A DKconfig69 tristate "go7007 support for saa7134 based TV cards"
73 Enables saa7134 driver support for boards with go7007
H A Dsaa7134-core.c153 request_module("saa7134-go7007"); in request_module_async()
/linux/Documentation/admin-guide/media/
H A Dother-usb-cardlist.rst17 go7007 WIS GO7007 MPEG encoder 1943:a250, 093b:a002,
H A Dusb-cardlist.rst84 go7007 WIS GO7007 MPEG encoder
/linux/drivers/media/usb/
H A DMakefile28 obj-$(CONFIG_VIDEO_GO7007) += go7007/
H A DKconfig27 source "drivers/media/usb/go7007/Kconfig"
/linux/
H A DMAINTAINERS10917 GO7007 MPEG CODEC
10921 F: drivers/media/usb/go7007/