/linux-6.3-rc2/drivers/media/pci/bt8xx/ |
A D | bttv-driver.c | 824 set_pll_freq(btv, btv->pll.pll_ifreq, btv->pll.pll_ofreq); in set_pll() 1249 set_input(btv, btv->input, btv->tvnorm); in bttv_reinit_bt848() 1696 struct bttv *btv = fh->btv; in bttv_s_std() local 1712 struct bttv *btv = fh->btv; in bttv_g_std() local 1721 struct bttv *btv = fh->btv; in bttv_querystd() local 1734 struct bttv *btv = fh->btv; in bttv_enum_input() local 1767 struct bttv *btv = fh->btv; in bttv_g_input() local 2995 set_input(btv, btv->input, btv->tvnorm); in bttv_open() 3597 btv->c.nr, btv->framedrop, btv->irq_me, btv->irq_total, in bttv_irq_timeout() 3805 audio_mux_gpio(btv, btv->audio_input, btv->mute); in bttv_irq() [all …]
|
A D | bttv-i2c.c | 117 btv->i2c_done = 0; in bttv_i2c_wait_done() 357 btv->i2c_algo.data = btv; in init_bttv_i2c() 358 btv->c.i2c_adap.algo_data = &btv->i2c_algo; in init_bttv_i2c() 362 btv->c.i2c_adap.dev.parent = &btv->c.pci->dev; in init_bttv_i2c() 363 snprintf(btv->c.i2c_adap.name, sizeof(btv->c.i2c_adap.name), in init_bttv_i2c() 364 "bt%d #%d [%s]", btv->id, btv->c.nr, in init_bttv_i2c() 367 i2c_set_adapdata(&btv->c.i2c_adap, &btv->c.v4l2_dev); in init_bttv_i2c() 368 btv->i2c_client.adapter = &btv->c.i2c_adap; in init_bttv_i2c() 372 btv->i2c_rc = i2c_add_adapter(&btv->c.i2c_adap); in init_bttv_i2c() 376 btv->i2c_rc = i2c_bit_add_bus(&btv->c.i2c_adap); in init_bttv_i2c() [all …]
|
A D | bttv-cards.c | 2930 btv->c.nr, bttv_tvcards[btv->c.type].name, btv->c.type, in bttv_idcard() 3758 btv->mbox_ior | btv->mbox_iow | btv->mbox_csel); in bttv_tea575x_set_pins() 3778 btv->mbox_ior | btv->mbox_iow | btv->mbox_csel); in bttv_tea575x_get_pins() 4547 master[btv->c.nr-1] = btv; in kodicom4400r_init() 4548 master[btv->c.nr] = btv; in kodicom4400r_init() 4549 master[btv->c.nr+1] = btv; in kodicom4400r_init() 4550 master[btv->c.nr+2] = btv; in kodicom4400r_init() 4861 master[btv->c.nr] = btv; in gv800s_init() 4862 master[btv->c.nr+1] = btv; in gv800s_init() 4863 master[btv->c.nr+2] = btv; in gv800s_init() [all …]
|
A D | bttv-input.c | 122 bttv_rc5_irq(btv); in bttv_input_irq() 124 ir_handle_key(btv); in bttv_input_irq() 130 struct bttv *btv = ir->btv; in bttv_input_timer() local 135 ir_handle_key(btv); in bttv_input_timer() 375 memset(&btv->init_data, 0, sizeof(btv->init_data)); in init_bttv_i2c_ir() 529 ir->btv = btv; in bttv_input_init() 532 btv->c.type); in bttv_input_init() 551 btv->remote = ir; in bttv_input_init() 562 bttv_ir_stop(btv); in bttv_input_init() 563 btv->remote = NULL; in bttv_input_init() [all …]
|
A D | bttv-risc.c | 337 if (btv->input == btv->dig) { in bttv_calc_geo_old() 387 || btv->input == btv->dig) { in bttv_calc_geo() 459 if (NULL != btv->curr.top) btv->cap_ctl |= 0x02; in bttv_set_dma() 460 if (NULL != btv->curr.bottom) btv->cap_ctl |= 0x01; in bttv_set_dma() 461 if (NULL != btv->cvbi) btv->cap_ctl |= 0x0c; in bttv_set_dma() 469 btv->c.nr,capctl,btv->loop_irq, in bttv_set_dma() 481 if (btv->curr.frame_irq || btv->loop_irq || btv->cvbi) { in bttv_set_dma() 512 btv->c.nr, (unsigned long long)btv->main.dma); in bttv_risc_init_main() 518 btv->main.cpu[3] = cpu_to_le32(btv->main.dma + (4<<2)); in bttv_risc_init_main() 522 btv->main.cpu[5] = cpu_to_le32(btv->main.dma + (6<<2)); in bttv_risc_init_main() [all …]
|
A D | bttv-audio-hook.h | 12 void winview_volume (struct bttv *btv, __u16 volume); 14 void lt9415_audio(struct bttv *btv, struct v4l2_tuner *tuner, int set); 15 void avermedia_tvphone_audio(struct bttv *btv, struct v4l2_tuner *tuner, int set); 17 void terratv_audio(struct bttv *btv, struct v4l2_tuner *tuner, int set); 18 void gvbctv3pci_audio(struct bttv *btv, struct v4l2_tuner *tuner, int set); 19 void gvbctv5pci_audio(struct bttv *btv, struct v4l2_tuner *tuner, int set); 20 void winfast2000_audio(struct bttv *btv, struct v4l2_tuner *tuner, int set); 21 void pvbt878p9b_audio(struct bttv *btv, struct v4l2_tuner *tuner, int set); 22 void fv2000s_audio(struct bttv *btv, struct v4l2_tuner *tuner, int set); 23 void windvr_audio(struct bttv *btv, struct v4l2_tuner *tuner, int set); [all …]
|
A D | bttv-if.c | 47 struct bttv *btv; in bttv_gpio_enable() local 53 btv = bttvs[card]; in bttv_gpio_enable() 54 if (!btv) in bttv_gpio_enable() 59 bttv_gpio_tracking(btv,"extern enable"); in bttv_gpio_enable() 65 struct bttv *btv; in bttv_read_gpio() local 71 btv = bttvs[card]; in bttv_read_gpio() 72 if (!btv) in bttv_read_gpio() 75 if(btv->shutdown) { in bttv_read_gpio() 87 struct bttv *btv; in bttv_write_gpio() local 93 btv = bttvs[card]; in bttv_write_gpio() [all …]
|
A D | bttv-audio-hook.c | 90 if (btv->radio_user) in gvbctv5pci_audio() 109 bttv_gpio_tracking(btv, "gvbctv5pci"); in gvbctv5pci_audio() 184 bttv_gpio_tracking(btv, "avermedia"); in avermedia_tvphone_audio() 216 bttv_gpio_tracking(btv, "avermedia"); in avermedia_tv_stereo_audio() 255 bttv_gpio_tracking(btv, "lt9415"); in lt9415_audio() 288 bttv_gpio_tracking(btv, "terratv"); in terratv_audio() 340 if (btv->radio_user) in pvbt878p9b_audio() 381 if (btv->radio_user) in fv2000s_audio() 409 bttv_gpio_tracking(btv, "fv2000s"); in fv2000s_audio() 444 bttv_gpio_tracking(btv, "windvr"); in windvr_audio() [all …]
|
A D | bttv-vbi.c | 74 struct bttv *btv = fh->btv; in vbi_buffer_setup() local 96 struct bttv *btv = fh->btv; in vbi_buffer_prepare() local 202 struct bttv *btv = fh->btv; in vbi_buffer_queue() local 208 if (NULL == btv->cvbi) { in vbi_buffer_queue() 209 fh->btv->loop_irq |= 4; in vbi_buffer_queue() 210 bttv_set_dma(btv,0x0c); in vbi_buffer_queue() 217 struct bttv *btv = fh->btv; in vbi_buffer_release() local 303 struct bttv *btv = fh->btv; in bttv_try_fmt_vbi_cap() local 307 mutex_lock(&btv->lock); in bttv_try_fmt_vbi_cap() 321 struct bttv *btv = fh->btv; in bttv_s_fmt_vbi_cap() local [all …]
|
A D | bttv.h | 219 void (*volume_gpio)(struct bttv *btv, __u16 volume); 221 void (*muxsel_hook)(struct bttv *btv, unsigned int input); 286 extern void bttv_idcard(struct bttv *btv); 287 extern void bttv_init_card1(struct bttv *btv); 288 extern void bttv_init_card2(struct bttv *btv); 289 extern void bttv_init_tuner(struct bttv *btv); 296 extern int bttv_handle_chipset(struct bttv *btv); 356 #define gpio_read() bttv_gpio_read(&btv->c) 364 #define bttv_call_all(btv, o, f, args...) \ argument 365 v4l2_device_call_all(&btv->c.v4l2_dev, 0, o, f, ##args) [all …]
|
A D | bttvp.h | 112 struct bttv *btv; member 209 struct bttv *btv; member 245 void bttv_set_dma(struct bttv *btv, int override); 246 int bttv_risc_init_main(struct bttv *btv); 252 int bttv_buffer_activate_video(struct bttv *btv, 254 int bttv_buffer_activate_vbi(struct bttv *btv, 289 extern void init_bttv_i2c_ir(struct bttv *btv); 293 extern int init_bttv_i2c(struct bttv *btv); 294 extern int fini_bttv_i2c(struct bttv *btv); 378 void (*volume_gpio)(struct bttv *btv, __u16 volume); [all …]
|
A D | bttv-gpio.c | 130 struct bttv *btv = container_of(core, struct bttv, c); in bttv_gpio_inout() local 134 spin_lock_irqsave(&btv->gpio_lock,flags); in bttv_gpio_inout() 139 spin_unlock_irqrestore(&btv->gpio_lock,flags); in bttv_gpio_inout() 144 struct bttv *btv = container_of(core, struct bttv, c); in bttv_gpio_read() local 153 struct bttv *btv = container_of(core, struct bttv, c); in bttv_gpio_write() local 160 struct bttv *btv = container_of(core, struct bttv, c); in bttv_gpio_bits() local 164 spin_lock_irqsave(&btv->gpio_lock,flags); in bttv_gpio_bits() 169 spin_unlock_irqrestore(&btv->gpio_lock,flags); in bttv_gpio_bits()
|