Searched refs:btv (Results 1 - 10 of 10) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/bt8xx/
H A Dbttv-if.c56 struct bttv *btv; local
62 btv = &bttvs[card];
65 bttv_gpio_tracking(btv,"extern enable");
71 struct bttv *btv; local
77 btv = &bttvs[card];
79 if(btv->shutdown) {
91 struct bttv *btv; local
97 btv = &bttvs[card];
103 bttv_gpio_tracking(btv,"extern write");
H A Dbttv-i2c.c68 struct bttv *btv = (struct bttv*)data; local
71 btv->i2c_state |= 0x02;
73 btv->i2c_state &= ~0x02;
74 btwrite(btv->i2c_state, BT848_I2C);
80 struct bttv *btv = (struct bttv*)data; local
83 btv->i2c_state |= 0x01;
85 btv->i2c_state &= ~0x01;
86 btwrite(btv->i2c_state, BT848_I2C);
92 struct bttv *btv = (struct bttv*)data; local
101 struct bttv *btv local
140 bttv_i2c_wait_done(struct bttv *btv) argument
160 bttv_i2c_sendbytes(struct bttv *btv, const struct i2c_msg *msg, int last) argument
213 bttv_i2c_readbytes(struct bttv *btv, const struct i2c_msg *msg, int last) argument
254 struct bttv *btv = i2c_get_adapdata(i2c_adap); local
300 struct bttv *btv = i2c_get_adapdata(client->adapter); local
336 bttv_call_i2c_clients(struct bttv *btv, unsigned int cmd, void *arg) argument
349 bttv_I2CRead(struct bttv *btv, unsigned char addr, char *probe_for) argument
374 bttv_I2CWrite(struct bttv *btv, unsigned char addr, unsigned char b1, unsigned char b2, int both) argument
391 bttv_readee(struct bttv *btv, unsigned char *eedata, int addr) argument
426 init_bttv_i2c(struct bttv *btv) argument
477 fini_bttv_i2c(struct bttv *btv) argument
[all...]
H A Dbttv-driver.c161 struct bttv *btv = dev_get_drvdata(vfd->dev); local
162 return sprintf(buf, "%d\n", btv ? btv->c.type : UNSET);
840 int check_alloc_btres(struct bttv *btv, struct bttv_fh *fh, int bit) argument
853 mutex_lock(&btv->lock);
854 if (btv->resources & xbits) {
860 && 0 == (btv->resources & VIDEO_RESOURCES)) {
862 __s32 top = btv->crop[!!fh->do_crop].rect.top;
864 if (btv->vbi_end > top)
869 btv
898 locked_btres(struct bttv *btv, int bit) argument
905 disclaim_vbi_lines(struct bttv *btv) argument
912 disclaim_video_lines(struct bttv *btv) argument
933 free_btres(struct bttv *btv, struct bttv_fh *fh, int bits) argument
967 set_pll_freq(struct bttv *btv, unsigned int fin, unsigned int fout) argument
989 set_pll(struct bttv *btv) argument
1037 bt848A_set_timing(struct bttv *btv) argument
1069 bt848_bright(struct bttv *btv, int bright) argument
1081 bt848_hue(struct bttv *btv, int hue) argument
1092 bt848_contrast(struct bttv *btv, int cont) argument
1106 bt848_sat(struct bttv *btv, int color) argument
1126 video_mux(struct bttv *btv, unsigned int input) argument
1162 audio_mux(struct bttv *btv, int input, int mute) argument
1239 audio_mute(struct bttv *btv, int mute) argument
1245 audio_input(struct bttv *btv, int input) argument
1251 i2c_vidiocschan(struct bttv *btv) argument
1291 set_tvnorm(struct bttv *btv, unsigned int norm) argument
1334 set_input(struct bttv *btv, unsigned int input, unsigned int norm) argument
1357 init_irqreg(struct bttv *btv) argument
1379 init_bt848(struct bttv *btv) argument
1431 bttv_reinit_bt848(struct bttv *btv) argument
1447 get_control(struct bttv *btv, struct v4l2_control *c) argument
1540 set_control(struct bttv *btv, struct v4l2_control *c) argument
1661 bttv_gpio_tracking(struct bttv *btv, char *comment) argument
1670 bttv_field_count(struct bttv *btv) argument
1719 bttv_switch_overlay(struct bttv *btv, struct bttv_fh *fh, struct bttv_buffer *new) argument
1749 bttv_prepare_buffer(struct videobuf_queue *q,struct bttv *btv, struct bttv_buffer *buf, const struct bttv_format *fmt, unsigned int width, unsigned int height, enum v4l2_field field) argument
1886 struct bttv *btv = fh->btv; local
1911 bttv_common_ioctls(struct bttv *btv, unsigned int cmd, void *arg) argument
2321 struct bttv *btv = fh->btv; local
2491 setup_window(struct bttv_fh *fh, struct bttv *btv, struct v4l2_window *win, int fixup) argument
2658 bttv_try_fmt(struct bttv_fh *fh, struct bttv *btv, struct v4l2_format *f, int adjust_crop) argument
2726 bttv_s_fmt(struct bttv_fh *fh, struct bttv *btv, struct v4l2_format *f) argument
2778 struct bttv *btv = fh->btv; local
3701 struct bttv *btv = NULL; local
3777 struct bttv *btv = fh->btv; local
3866 struct bttv *btv = NULL; local
3896 struct bttv *btv = file->private_data; local
3909 struct bttv *btv = file->private_data; local
3962 struct bttv *btv = file->private_data; local
3976 struct bttv *btv = file->private_data; local
4046 bttv_risc_disasm(struct bttv *btv, struct btcx_riscmem *risc) argument
4066 bttv_print_riscaddr(struct bttv *btv) argument
4120 bttv_irq_debug_low_latency(struct bttv *btv, u32 rc) argument
4143 bttv_irq_next_video(struct bttv *btv, struct bttv_buffer_set *set) argument
4203 bttv_irq_wakeup_video(struct bttv *btv, struct bttv_buffer_set *wakeup, struct bttv_buffer_set *curr, unsigned int state) argument
4240 bttv_irq_wakeup_vbi(struct bttv *btv, struct bttv_buffer *wakeup, unsigned int state) argument
4257 struct bttv *btv = (struct bttv *)data; local
4307 bttv_irq_wakeup_top(struct bttv *btv) argument
4336 bttv_irq_switch_video(struct bttv *btv) argument
4375 bttv_irq_switch_vbi(struct bttv *btv) argument
4412 struct bttv *btv; local
4524 vdev_init(struct bttv *btv, struct video_device *template, char *type) argument
4543 bttv_unregister_video(struct bttv *btv) argument
4569 bttv_register_video(struct bttv *btv) argument
4639 struct bttv *btv; local
4814 struct bttv *btv = pci_get_drvdata(pci_dev); local
4855 struct bttv *btv = pci_get_drvdata(pci_dev); local
4890 struct bttv *btv = pci_get_drvdata(pci_dev); local
[all...]
H A Dbttv-input.c48 static void ir_handle_key(struct bttv *btv) argument
50 struct card_ir *ir = btv->remote;
54 gpio = bttv_gpio_read(&btv->c);
78 void bttv_input_irq(struct bttv *btv) argument
80 struct card_ir *ir = btv->remote;
83 ir_handle_key(btv);
88 struct bttv *btv = (struct bttv*)data; local
89 struct card_ir *ir = btv->remote;
91 ir_handle_key(btv);
97 static int bttv_rc5_irq(struct bttv *btv) argument
152 bttv_ir_start(struct bttv *btv, struct card_ir *ir) argument
175 bttv_ir_stop(struct bttv *btv) argument
193 bttv_input_init(struct bttv *btv) argument
341 bttv_input_fini(struct bttv *btv) argument
[all...]
H A Dbttv-cards.c44 static void boot_msp34xx(struct bttv *btv, int pin);
45 static void boot_bt832(struct bttv *btv);
46 static void hauppauge_eeprom(struct bttv *btv);
47 static void avermedia_eeprom(struct bttv *btv);
48 static void osprey_eeprom(struct bttv *btv);
49 static void modtec_eeprom(struct bttv *btv);
50 static void init_PXC200(struct bttv *btv);
51 static void init_RTV24(struct bttv *btv);
53 static void winview_audio(struct bttv *btv, struct video_audio *v, int set);
54 static void lt9415_audio(struct bttv *btv, struc
2940 bttv_idcard(struct bttv *btv) argument
3016 identify_by_eeprom(struct bttv *btv, unsigned char eeprom_data[256]) argument
3034 flyvideo_gpio(struct bttv *btv) argument
3105 miro_pinnacle_gpio(struct bttv *btv) argument
3192 init_ids_eagle(struct bttv *btv) argument
3210 eagle_muxsel(struct bttv *btv, unsigned int input) argument
3226 gvc1100_muxsel(struct bttv *btv, unsigned int input) argument
3245 init_lmlbt4x(struct bttv *btv) argument
3253 sigmaSQ_muxsel(struct bttv *btv, unsigned int input) argument
3260 sigmaSLC_muxsel(struct bttv *btv, unsigned int input) argument
3269 bttv_reset_audio(struct bttv *btv) argument
3291 bttv_init_card1(struct bttv *btv) argument
3322 bttv_init_card2(struct bttv *btv) argument
3554 modtec_eeprom(struct bttv *btv) argument
3574 hauppauge_eeprom(struct bttv *btv) argument
3598 terratec_active_radio_upgrade(struct bttv *btv) argument
3644 pvr_altera_load(struct bttv *btv, u8 *micro, u32 microlen) argument
3681 pvr_boot(struct bttv *btv) argument
3702 osprey_eeprom(struct bttv *btv) argument
3822 avermedia_eeprom(struct bttv *btv) argument
3855 bttv_tda9880_setnorm(struct bttv *btv, int norm) argument
3881 boot_msp34xx(struct bttv *btv, int pin) argument
3897 boot_bt832(struct bttv *btv) argument
3907 init_PXC200(struct bttv *btv) argument
4006 init_RTV24(struct bttv *btv) argument
4062 bus_low(struct bttv *btv, int bit) argument
4079 bus_high(struct bttv *btv, int bit) argument
4096 bus_in(struct bttv *btv, int bit) argument
4137 tea5757_read(struct bttv *btv) argument
4184 tea5757_write(struct bttv *btv, int value) argument
4217 tea5757_set_freq(struct bttv *btv, unsigned short freq) argument
4227 winview_audio(struct bttv *btv, struct video_audio *v, int set) argument
4274 gvbctv3pci_audio(struct bttv *btv, struct video_audio *v, int set) argument
4296 gvbctv5pci_audio(struct bttv *btv, struct video_audio *v, int set) argument
4359 avermedia_tvphone_audio(struct bttv *btv, struct video_audio *v, int set) argument
4381 avermedia_tv_stereo_audio(struct bttv *btv, struct video_audio *v, int set) argument
4402 lt9415_audio(struct bttv *btv, struct video_audio *v, int set) argument
4432 terratv_audio(struct bttv *btv, struct video_audio *v, int set) argument
4452 winfast2000_audio(struct bttv *btv, struct video_audio *v, int set) argument
4486 pvbt878p9b_audio(struct bttv *btv, struct video_audio *v, int set) argument
4518 fv2000s_audio(struct bttv *btv, struct video_audio *v, int set) argument
4548 windvr_audio(struct bttv *btv, struct video_audio *v, int set) argument
4577 adtvk503_audio(struct bttv *btv, struct video_audio *v, int set) argument
4628 rv605_muxsel(struct bttv *btv, unsigned int input) argument
4672 tibetCS16_muxsel(struct bttv *btv, unsigned int input) argument
4678 tibetCS16_init(struct bttv *btv) argument
4714 kodicom4400r_write(struct bttv *btv, unsigned char xaddr, unsigned char yaddr, unsigned char data) argument
4734 kodicom4400r_muxsel(struct bttv *btv, unsigned int input) argument
4765 kodicom4400r_init(struct bttv *btv) argument
4801 xguard_muxsel(struct bttv *btv, unsigned int input) argument
4811 picolo_tetra_init(struct bttv *btv) argument
4817 picolo_tetra_muxsel(struct bttv* btv, unsigned int input) argument
4859 ivc120_muxsel(struct bttv *btv, unsigned int input) argument
4910 PXC200_muxsel(struct bttv *btv, unsigned int input) argument
5021 bttv_handle_chipset(struct bttv *btv) argument
[all...]
H A Dbttv-risc.c43 bttv_risc_packed(struct bttv *btv, struct btcx_riscmem *risc, argument
62 if ((rc = btcx_riscmem_alloc(btv->c.pci,risc,instructions)) < 0)
78 if ((btv->opt_vcr_hack) &&
122 bttv_risc_planar(struct bttv *btv, struct btcx_riscmem *risc, argument
144 if ((rc = btcx_riscmem_alloc(btv->c.pci,risc,instructions*4*5)) < 0)
157 if ((btv->opt_vcr_hack) &&
241 bttv_risc_overlay(struct bttv *btv, struct btcx_riscmem *risc, argument
259 if ((rc = btcx_riscmem_alloc(btv->c.pci,risc,dwords*4)) < 0) {
269 addr = (unsigned long)btv->fbuf.base;
270 addr += btv
329 bttv_calc_geo_old(struct bttv *btv, struct bttv_geometry *geo, int width, int height, int interleaved, const struct bttv_tvnorm *tvnorm) argument
373 bttv_calc_geo(struct bttv * btv, struct bttv_geometry * geo, unsigned int width, unsigned int height, int both_fields, const struct bttv_tvnorm * tvnorm, const struct v4l2_rect * crop) argument
429 bttv_apply_geo(struct bttv *btv, struct bttv_geometry *geo, int odd) argument
456 bttv_set_dma(struct bttv *btv, int override) argument
509 bttv_risc_init_main(struct bttv *btv) argument
548 bttv_risc_hook(struct bttv *btv, int slot, struct btcx_riscmem *risc, int irqflags) argument
575 bttv_dma_free(struct videobuf_queue *q,struct bttv *btv, struct bttv_buffer *buf) argument
587 bttv_buffer_activate_vbi(struct bttv *btv, struct bttv_buffer *vbi) argument
639 bttv_buffer_activate_video(struct bttv *btv, struct bttv_buffer_set *set) argument
699 bttv_buffer_risc(struct bttv *btv, struct bttv_buffer *buf) argument
859 bttv_overlay_risc(struct bttv *btv, struct bttv_overlay *ov, const struct bttv_format *fmt, struct bttv_buffer *buf) argument
[all...]
H A Dbttv-vbi.c69 printk(KERN_DEBUG "bttv%d/vbi: " fmt, btv->c.nr , ## arg)
81 struct bttv *btv = fh->btv; local
103 struct bttv *btv = fh->btv; local
120 instead of btv->tvnorm to skip zero lines after video
159 rc = bttv_risc_packed(btv, &buf->top,
171 rc = bttv_risc_packed(btv, &buf->bottom,
200 bttv_dma_free(q,btv,buf);
208 struct bttv *btv local
223 struct bttv *btv = fh->btv; local
312 struct bttv *btv = fh->btv; local
330 struct bttv *btv = fh->btv; local
[all...]
H A Dbttvp.h194 struct bttv *btv; member in struct:bttv_fh
226 int bttv_risc_packed(struct bttv *btv, struct btcx_riscmem *risc,
233 void bttv_set_dma(struct bttv *btv, int override);
234 int bttv_risc_init_main(struct bttv *btv);
235 int bttv_risc_hook(struct bttv *btv, int slot, struct btcx_riscmem *risc,
239 int bttv_buffer_risc(struct bttv *btv, struct bttv_buffer *buf);
240 int bttv_buffer_activate_video(struct bttv *btv,
242 int bttv_buffer_activate_vbi(struct bttv *btv,
244 void bttv_dma_free(struct videobuf_queue *q, struct bttv *btv,
248 int bttv_overlay_risc(struct bttv *btv, struc
[all...]
H A Dbttv-gpio.c143 struct bttv *btv = container_of(core, struct bttv, c); local
147 spin_lock_irqsave(&btv->gpio_lock,flags);
152 spin_unlock_irqrestore(&btv->gpio_lock,flags);
157 struct bttv *btv = container_of(core, struct bttv, c); local
166 struct bttv *btv = container_of(core, struct bttv, c); local
173 struct bttv *btv = container_of(core, struct bttv, c); local
177 spin_lock_irqsave(&btv->gpio_lock,flags);
182 spin_unlock_irqrestore(&btv->gpio_lock,flags);
H A Dbttv.h240 void (*audio_hook)(struct bttv *btv, struct video_audio *v, int set);
241 void (*muxsel_hook)(struct bttv *btv, unsigned int input);
247 extern void bttv_idcard(struct bttv *btv);
248 extern void bttv_init_card1(struct bttv *btv);
249 extern void bttv_init_card2(struct bttv *btv);
252 extern void tea5757_set_freq(struct bttv *btv, unsigned short freq);
253 extern void bttv_tda9880_setnorm(struct bttv *btv, int norm);
257 extern int bttv_handle_chipset(struct bttv *btv);
317 #define gpio_inout(mask,bits) bttv_gpio_inout(&btv->c, mask, bits)
318 #define gpio_read() bttv_gpio_read(&btv
[all...]

Completed in 192 milliseconds