/kernel/linux/linux-6.6/drivers/media/pci/bt8xx/ |
H A D | bttv-driver.c | 177 struct bttv *btv = video_get_drvdata(vfd); in card_show() local 178 return sprintf(buf, "%d\n", btv ? btv->c.type : UNSET); in card_show() 644 int check_alloc_btres_lock(struct bttv *btv, int bit) in check_alloc_btres_lock() argument 653 if (btv->resources & xbits) { in check_alloc_btres_lock() 659 && 0 == (btv->resources & VIDEO_RESOURCES)) { in check_alloc_btres_lock() 661 __s32 top = btv->crop[!!btv->do_crop].rect.top; in check_alloc_btres_lock() 663 if (btv->vbi_end > top) in check_alloc_btres_lock() 668 btv in check_alloc_btres_lock() 688 check_btres(struct bttv *btv, int bit) check_btres() argument 694 locked_btres(struct bttv *btv, int bit) locked_btres() argument 701 disclaim_vbi_lines(struct bttv *btv) disclaim_vbi_lines() argument 708 disclaim_video_lines(struct bttv *btv) disclaim_video_lines() argument 728 free_btres_lock(struct bttv *btv, int bits) free_btres_lock() argument 758 set_pll_freq(struct bttv *btv, unsigned int fin, unsigned int fout) set_pll_freq() argument 780 set_pll(struct bttv *btv) set_pll() argument 832 bt848A_set_timing(struct bttv *btv) bt848A_set_timing() argument 864 bt848_bright(struct bttv *btv, int bright) bt848_bright() argument 876 bt848_hue(struct bttv *btv, int hue) bt848_hue() argument 887 bt848_contrast(struct bttv *btv, int cont) bt848_contrast() argument 901 bt848_sat(struct bttv *btv, int color) bt848_sat() argument 921 video_mux(struct bttv *btv, unsigned int input) video_mux() argument 956 audio_mux_gpio(struct bttv *btv, int input, int mute) audio_mux_gpio() argument 988 audio_mute(struct bttv *btv, int mute) audio_mute() argument 1013 audio_input(struct bttv *btv, int input) audio_input() argument 1101 set_tvnorm(struct bttv *btv, unsigned int norm) set_tvnorm() argument 1146 set_input(struct bttv *btv, unsigned int input, unsigned int norm) set_input() argument 1169 init_irqreg(struct bttv *btv) init_irqreg() argument 1191 init_bt848(struct bttv *btv) init_bt848() argument 1221 bttv_reinit_bt848(struct bttv *btv) bttv_reinit_bt848() argument 1239 struct bttv *btv = container_of(c->handler, struct bttv, ctrl_handler); bttv_s_ctrl() local 1439 bttv_gpio_tracking(struct bttv *btv, char *comment) bttv_gpio_tracking() argument 1469 struct bttv *btv = vb2_get_drv_priv(q); queue_setup() local 1484 struct bttv *btv = vb2_get_drv_priv(vq); buf_queue() local 1503 struct bttv *btv = vb2_get_drv_priv(vq); buf_prepare() local 1529 struct bttv *btv = vb2_get_drv_priv(vq); buf_cleanup() local 1541 struct bttv *btv = vb2_get_drv_priv(q); start_streaming() local 1568 struct bttv *btv = vb2_get_drv_priv(q); stop_streaming() local 1591 radio_enable(struct bttv *btv) radio_enable() argument 1604 struct bttv *btv = video_drvdata(file); bttv_s_std() local 1619 struct bttv *btv = video_drvdata(file); bttv_g_std() local 1627 struct bttv *btv = video_drvdata(file); bttv_querystd() local 1639 struct bttv *btv = video_drvdata(file); bttv_enum_input() local 1671 struct bttv *btv = video_drvdata(file); bttv_g_input() local 1680 struct bttv *btv = video_drvdata(file); bttv_s_input() local 1692 struct bttv *btv = video_drvdata(file); bttv_s_tuner() local 1710 struct bttv *btv = video_drvdata(file); bttv_g_frequency() local 1723 bttv_set_frequency(struct bttv *btv, const struct v4l2_frequency *f) bttv_set_frequency() argument 1746 struct bttv *btv = video_drvdata(file); bttv_s_frequency() local 1758 struct bttv *btv = video_drvdata(file); bttv_log_status() local 1769 struct bttv *btv = video_drvdata(file); bttv_g_register() local 1782 struct bttv *btv = video_drvdata(file); bttv_s_register() local 1842 limit_scaled_size_lock(struct bttv *btv, __s32 *width, __s32 *height, enum v4l2_field field, unsigned int width_mask, unsigned int width_bias, int adjust_size, int adjust_crop) limit_scaled_size_lock() argument 1940 bttv_switch_type(struct bttv *btv, enum v4l2_buf_type type) bttv_switch_type() argument 1989 struct bttv *btv = video_drvdata(file); bttv_g_fmt_vid_cap() local 2016 struct bttv *btv = video_drvdata(file); bttv_try_fmt_vid_cap() local 2072 struct bttv *btv = video_drvdata(file); bttv_s_fmt_vid_cap() local 2117 struct bttv *btv = video_drvdata(file); bttv_querycap() local 2167 struct bttv *btv = video_drvdata(file); bttv_g_parm() local 2181 struct bttv *btv = video_drvdata(file); bttv_g_tuner() local 2203 struct bttv *btv = video_drvdata(file); bttv_g_pixelaspect() local 2215 struct bttv *btv = video_drvdata(file); bttv_g_selection() local 2239 struct bttv *btv = video_drvdata(file); bttv_s_selection() local 2371 struct bttv *btv = video_drvdata(file); radio_open() local 2388 struct bttv *btv = video_drvdata(file); radio_release() local 2405 struct bttv *btv = video_drvdata(file); radio_g_tuner() local 2427 struct bttv *btv = video_drvdata(file); radio_s_tuner() local 2440 struct bttv *btv = video_drvdata(file); radio_s_hw_freq_seek() local 2451 struct bttv *btv = video_drvdata(file); radio_enum_freq_bands() local 2462 struct bttv *btv = video_drvdata(file); radio_read() local 2479 struct bttv *btv = video_drvdata(file); radio_poll() local 2560 bttv_risc_disasm(struct bttv *btv, struct btcx_riscmem *risc) bttv_risc_disasm() argument 2582 bttv_print_riscaddr(struct bttv *btv) bttv_print_riscaddr() argument 2634 bttv_irq_debug_low_latency(struct bttv *btv, u32 rc) bttv_irq_debug_low_latency() argument 2656 bttv_irq_next_video(struct bttv *btv, struct bttv_buffer_set *set) bttv_irq_next_video() argument 2727 bttv_irq_wakeup_video(struct bttv *btv, struct bttv_buffer_set *wakeup, struct bttv_buffer_set *curr, unsigned int state) bttv_irq_wakeup_video() argument 2768 bttv_irq_wakeup_vbi(struct bttv *btv, struct bttv_buffer *wakeup, unsigned int state) bttv_irq_wakeup_vbi() argument 2803 struct bttv *btv = from_timer(btv, t, timeout); bttv_irq_timeout() local 2858 bttv_irq_wakeup_top(struct bttv *btv) bttv_irq_wakeup_top() argument 2887 bttv_irq_switch_video(struct bttv *btv) bttv_irq_switch_video() argument 2926 bttv_irq_switch_vbi(struct bttv *btv) bttv_irq_switch_vbi() argument 2963 struct bttv *btv; bttv_irq() local 3075 vdev_init(struct bttv *btv, struct video_device *vfd, const struct video_device *template, const char *type_name) vdev_init() argument 3126 bttv_unregister_video(struct bttv *btv) bttv_unregister_video() argument 3134 bttv_register_video(struct bttv *btv) bttv_register_video() argument 3215 struct bttv *btv; bttv_probe() local 3462 struct bttv *btv = to_bttv(v4l2_dev); bttv_remove() local 3512 struct bttv *btv = to_bttv(v4l2_dev); bttv_suspend() local 3543 struct bttv *btv = to_bttv(v4l2_dev); bttv_resume() local [all...] |
H A D | bttv-i2c.c | 48 struct bttv *btv = (struct bttv*)data; in bttv_bit_setscl() local 51 btv->i2c_state |= 0x02; in bttv_bit_setscl() 53 btv->i2c_state &= ~0x02; in bttv_bit_setscl() 54 btwrite(btv->i2c_state, BT848_I2C); in bttv_bit_setscl() 60 struct bttv *btv = (struct bttv*)data; in bttv_bit_setsda() local 63 btv->i2c_state |= 0x01; in bttv_bit_setsda() 65 btv->i2c_state &= ~0x01; in bttv_bit_setsda() 66 btwrite(btv->i2c_state, BT848_I2C); in bttv_bit_setsda() 72 struct bttv *btv = (struct bttv*)data; in bttv_bit_getscl() local 81 struct bttv *btv in bttv_bit_getsda() local 106 bttv_i2c_wait_done(struct bttv *btv) bttv_i2c_wait_done() argument 125 bttv_i2c_sendbytes(struct bttv *btv, const struct i2c_msg *msg, int last) bttv_i2c_sendbytes() argument 175 bttv_i2c_readbytes(struct bttv *btv, const struct i2c_msg *msg, int last) bttv_i2c_readbytes() argument 223 struct bttv *btv = to_bttv(v4l2_dev); bttv_i2c_xfer() local 259 bttv_I2CRead(struct bttv *btv, unsigned char addr, char *probe_for) bttv_I2CRead() argument 284 bttv_I2CWrite(struct bttv *btv, unsigned char addr, unsigned char b1, unsigned char b2, int both) bttv_I2CWrite() argument 301 bttv_readee(struct bttv *btv, unsigned char *eedata, int addr) bttv_readee() argument 336 init_bttv_i2c(struct bttv *btv) init_bttv_i2c() argument 384 fini_bttv_i2c(struct bttv *btv) fini_bttv_i2c() argument [all...] |
H A D | bttv-risc.c | 35 bttv_risc_packed(struct bttv *btv, struct btcx_riscmem *risc, in bttv_risc_packed() argument 54 if ((rc = btcx_riscmem_alloc(btv->c.pci,risc,instructions)) < 0) in bttv_risc_packed() 71 btv->opt_vcr_hack) in bttv_risc_packed() 114 bttv_risc_planar(struct bttv *btv, struct btcx_riscmem *risc, in bttv_risc_planar() argument 137 if ((rc = btcx_riscmem_alloc(btv->c.pci,risc,instructions*4*5)) < 0) in bttv_risc_planar() 150 if ((btv->opt_vcr_hack) && in bttv_risc_planar() 237 bttv_calc_geo_old(struct bttv *btv, struct bttv_geometry *geo, in bttv_calc_geo_old() argument 248 if (btv->input == btv->dig) { in bttv_calc_geo_old() 271 if (btv in bttv_calc_geo_old() 281 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) bttv_calc_geo() argument 337 bttv_apply_geo(struct bttv *btv, struct bttv_geometry *geo, int odd) bttv_apply_geo() argument 363 bttv_set_risc_status(struct bttv *btv) bttv_set_risc_status() argument 374 bttv_set_irq_timer(struct bttv *btv) bttv_set_irq_timer() argument 382 bttv_set_capture_control(struct bttv *btv, int start_capture) bttv_set_capture_control() argument 401 bttv_start_dma(struct bttv *btv) bttv_start_dma() argument 411 bttv_stop_dma(struct bttv *btv) bttv_stop_dma() argument 420 bttv_set_dma(struct bttv *btv, int start_capture) bttv_set_dma() argument 442 bttv_risc_init_main(struct bttv *btv) bttv_risc_init_main() argument 481 bttv_risc_hook(struct bttv *btv, int slot, struct btcx_riscmem *risc, int irqflags) bttv_risc_hook() argument 507 bttv_buffer_risc_vbi(struct bttv *btv, struct bttv_buffer *buf) bttv_buffer_risc_vbi() argument 554 bttv_buffer_activate_vbi(struct bttv *btv, struct bttv_buffer *vbi) bttv_buffer_activate_vbi() argument 605 bttv_buffer_activate_video(struct bttv *btv, struct bttv_buffer_set *set) bttv_buffer_activate_video() argument 660 bttv_buffer_risc(struct bttv *btv, struct bttv_buffer *buf) bttv_buffer_risc() argument [all...] |
H A D | bttv-cards.c | 36 static void boot_msp34xx(struct bttv *btv, int pin); 37 static void hauppauge_eeprom(struct bttv *btv); 38 static void avermedia_eeprom(struct bttv *btv); 39 static void osprey_eeprom(struct bttv *btv, const u8 ee[256]); 40 static void modtec_eeprom(struct bttv *btv); 41 static void init_PXC200(struct bttv *btv); 42 static void init_RTV24(struct bttv *btv); 43 static void init_PCI8604PW(struct bttv *btv); 45 static void rv605_muxsel(struct bttv *btv, unsigned int input); 46 static void eagle_muxsel(struct bttv *btv, unsigne 2890 bttv_idcard(struct bttv *btv) bttv_idcard() argument 2962 identify_by_eeprom(struct bttv *btv, unsigned char eeprom_data[256]) identify_by_eeprom() argument 2980 flyvideo_gpio(struct bttv *btv) flyvideo_gpio() argument 3062 miro_pinnacle_gpio(struct bttv *btv) miro_pinnacle_gpio() argument 3147 init_ids_eagle(struct bttv *btv) init_ids_eagle() argument 3165 eagle_muxsel(struct bttv *btv, unsigned int input) eagle_muxsel() argument 3180 gvc1100_muxsel(struct bttv *btv, unsigned int input) gvc1100_muxsel() argument 3199 init_lmlbt4x(struct bttv *btv) init_lmlbt4x() argument 3207 sigmaSQ_muxsel(struct bttv *btv, unsigned int input) sigmaSQ_muxsel() argument 3214 sigmaSLC_muxsel(struct bttv *btv, unsigned int input) sigmaSLC_muxsel() argument 3221 geovision_muxsel(struct bttv *btv, unsigned int input) geovision_muxsel() argument 3238 td3116_latch_value(struct bttv *btv, u32 value) td3116_latch_value() argument 3246 td3116_muxsel(struct bttv *btv, unsigned int input) td3116_muxsel() argument 3266 bttv_reset_audio(struct bttv *btv) bttv_reset_audio() argument 3288 bttv_init_card1(struct bttv *btv) bttv_init_card1() argument 3323 bttv_init_card2(struct bttv *btv) bttv_init_card2() argument 3644 bttv_init_tuner(struct bttv *btv) bttv_init_tuner() argument 3688 modtec_eeprom(struct bttv *btv) modtec_eeprom() argument 3708 hauppauge_eeprom(struct bttv *btv) hauppauge_eeprom() argument 3740 struct bttv *btv = tea->private_data; bttv_tea575x_set_pins() local 3761 struct bttv *btv = tea->private_data; bttv_tea575x_get_pins() local 3788 struct bttv *btv = tea->private_data; bttv_tea575x_set_direction() local 3806 tea575x_init(struct bttv *btv) tea575x_init() argument 3824 terratec_active_radio_upgrade(struct bttv *btv) terratec_active_radio_upgrade() argument 3861 pvr_altera_load(struct bttv *btv, const u8 *micro, u32 microlen) pvr_altera_load() argument 3898 pvr_boot(struct bttv *btv) pvr_boot() argument 3918 osprey_eeprom(struct bttv *btv, const u8 ee[256]) osprey_eeprom() argument 4051 avermedia_eeprom(struct bttv *btv) avermedia_eeprom() argument 4091 bttv_tda9880_setnorm(struct bttv *btv, u32 gpiobits) bttv_tda9880_setnorm() argument 4113 boot_msp34xx(struct bttv *btv, int pin) boot_msp34xx() argument 4136 init_PXC200(struct bttv *btv) init_PXC200() argument 4233 init_RTV24(struct bttv *btv) init_RTV24() argument 4298 init_PCI8604PW(struct bttv *btv) init_PCI8604PW() argument 4388 rv605_muxsel(struct bttv *btv, unsigned int input) rv605_muxsel() argument 4436 tibetCS16_muxsel(struct bttv *btv, unsigned int input) tibetCS16_muxsel() argument 4442 tibetCS16_init(struct bttv *btv) tibetCS16_init() argument 4476 kodicom4400r_write(struct bttv *btv, unsigned char xaddr, unsigned char yaddr, unsigned char data) kodicom4400r_write() argument 4496 kodicom4400r_muxsel(struct bttv *btv, unsigned int input) kodicom4400r_muxsel() argument 4525 kodicom4400r_init(struct bttv *btv) kodicom4400r_init() argument 4568 xguard_muxsel(struct bttv *btv, unsigned int input) xguard_muxsel() argument 4578 picolo_tetra_init(struct bttv *btv) picolo_tetra_init() argument 4584 picolo_tetra_muxsel(struct bttv* btv, unsigned int input) picolo_tetra_muxsel() argument 4626 ivc120_muxsel(struct bttv *btv, unsigned int input) ivc120_muxsel() argument 4676 PXC200_muxsel(struct bttv *btv, unsigned int input) PXC200_muxsel() argument 4741 phytec_muxsel(struct bttv *btv, unsigned int input) phytec_muxsel() argument 4766 gv800s_write(struct bttv *btv, unsigned char xaddr, unsigned char yaddr, unsigned char data) gv800s_write() argument 4808 gv800s_muxsel(struct bttv *btv, unsigned int input) gv800s_muxsel() argument 4835 gv800s_init(struct bttv *btv) gv800s_init() argument 4898 bttv_handle_chipset(struct bttv *btv) bttv_handle_chipset() argument [all...] |
H A D | bttv-input.c | 40 static void ir_handle_key(struct bttv *btv) in ir_handle_key() argument 42 struct bttv_ir *ir = btv->remote; in ir_handle_key() 46 gpio = bttv_gpio_read(&btv->c); in ir_handle_key() 67 if (btv->c.type == BTTV_BOARD_WINFAST2000) in ir_handle_key() 75 static void ir_enltv_handle_key(struct bttv *btv) in ir_enltv_handle_key() argument 77 struct bttv_ir *ir = btv->remote; in ir_enltv_handle_key() 81 gpio = bttv_gpio_read(&btv->c); in ir_enltv_handle_key() 115 static int bttv_rc5_irq(struct bttv *btv); 117 void bttv_input_irq(struct bttv *btv) in bttv_input_irq() argument 119 struct bttv_ir *ir = btv in bttv_input_irq() 130 struct bttv *btv = ir->btv; bttv_input_timer() local 235 bttv_rc5_irq(struct bttv *btv) bttv_rc5_irq() argument 304 bttv_ir_stop(struct bttv *btv) bttv_ir_stop() argument 362 init_bttv_i2c_ir(struct bttv *btv) init_bttv_i2c_ir() argument 409 bttv_input_init(struct bttv *btv) bttv_input_init() argument 570 bttv_input_fini(struct bttv *btv) bttv_input_fini() argument [all...] |
H A D | bttv-vbi.c | 51 pr_debug("%d: " fmt, btv->c.nr, ##__VA_ARGS__); \ 64 struct bttv *btv = vb2_get_drv_priv(q); in queue_setup_vbi() local 65 unsigned int size = IMAGE_SIZE(&btv->vbi_fmt.fmt); in queue_setup_vbi() 79 struct bttv *btv = vb2_get_drv_priv(vq); in buf_queue_vbi() local 83 spin_lock_irqsave(&btv->s_lock, flags); in buf_queue_vbi() 84 if (list_empty(&btv->vcapture)) { in buf_queue_vbi() 85 btv->loop_irq = BT848_RISC_VBI; in buf_queue_vbi() 86 if (vb2_is_streaming(&btv->capq)) in buf_queue_vbi() 87 btv->loop_irq |= BT848_RISC_VIDEO; in buf_queue_vbi() 88 bttv_set_dma(btv, BT848_CAP_CTL_CAPTURE_VBI_OD in buf_queue_vbi() 99 struct bttv *btv = vb2_get_drv_priv(vq); buf_prepare_vbi() local 118 struct bttv *btv = vb2_get_drv_priv(vq); buf_cleanup_vbi() local 128 struct bttv *btv = vb2_get_drv_priv(q); start_streaming_vbi() local 153 struct bttv *btv = vb2_get_drv_priv(q); stop_streaming_vbi() local 248 struct bttv *btv = video_drvdata(file); bttv_try_fmt_vbi_cap() local 265 struct bttv *btv = video_drvdata(file); bttv_s_fmt_vbi_cap() local 309 struct bttv *btv = video_drvdata(file); bttv_g_fmt_vbi_cap() local [all...] |
H 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 in bttv_write_gpio() [all...] |
H A D | bttv-audio-hook.c | 15 void winview_volume(struct bttv *btv, __u16 volume) in winview_volume() argument 55 void gvbctv3pci_audio(struct bttv *btv, struct v4l2_tuner *t, int set) in gvbctv3pci_audio() argument 86 void gvbctv5pci_audio(struct bttv *btv, struct v4l2_tuner *t, int set) in gvbctv5pci_audio() argument 90 if (btv->radio_user) in gvbctv5pci_audio() 109 bttv_gpio_tracking(btv, "gvbctv5pci"); in gvbctv5pci_audio() 157 void avermedia_tvphone_audio(struct bttv *btv, struct v4l2_tuner *t, int set) in avermedia_tvphone_audio() argument 184 bttv_gpio_tracking(btv, "avermedia"); in avermedia_tvphone_audio() 188 void avermedia_tv_stereo_audio(struct bttv *btv, struct v4l2_tuner *t, int set) in avermedia_tv_stereo_audio() argument 216 bttv_gpio_tracking(btv, "avermedia"); in avermedia_tv_stereo_audio() 221 void lt9415_audio(struct bttv *btv, struc argument 259 terratv_audio(struct bttv *btv, struct v4l2_tuner *t, int set) terratv_audio() argument 292 winfast2000_audio(struct bttv *btv, struct v4l2_tuner *t, int set) winfast2000_audio() argument 328 pvbt878p9b_audio(struct bttv *btv, struct v4l2_tuner *t, int set) pvbt878p9b_audio() argument 369 fv2000s_audio(struct bttv *btv, struct v4l2_tuner *t, int set) fv2000s_audio() argument 408 windvr_audio(struct bttv *btv, struct v4l2_tuner *t, int set) windvr_audio() argument 443 adtvk503_audio(struct bttv *btv, struct v4l2_tuner *t, int set) adtvk503_audio() argument [all...] |
H A D | bttvp.h | 111 struct bttv *btv; member 197 int bttv_risc_packed(struct bttv *btv, struct btcx_riscmem *risc, 204 void bttv_set_dma(struct bttv *btv, int override); 205 int bttv_risc_init_main(struct bttv *btv); 206 int bttv_risc_hook(struct bttv *btv, int slot, struct btcx_riscmem *risc, 210 int bttv_buffer_risc(struct bttv *btv, struct bttv_buffer *buf); 211 int bttv_buffer_activate_video(struct bttv *btv, 213 int bttv_buffer_risc_vbi(struct bttv *btv, struct bttv_buffer *buf); 214 int bttv_buffer_activate_vbi(struct bttv *btv, 244 extern void init_bttv_i2c_ir(struct bttv *btv); 481 bttv_muxsel(const struct bttv *btv, unsigned int input) bttv_muxsel() argument [all...] |
H A D | bttv.h | 219 void (*volume_gpio)(struct bttv *btv, __u16 volume); 220 void (*audio_mode_gpio)(struct bttv *btv, struct v4l2_tuner *tuner, int set); 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); 292 extern u32 bttv_tda9880_setnorm(struct bttv *btv, u32 gpiobits); 296 extern int bttv_handle_chipset(struct bttv *btv); 355 #define gpio_inout(mask,bits) bttv_gpio_inout(&btv [all...] |
H 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()
|
/kernel/linux/linux-5.10/drivers/media/pci/bt8xx/ |
H A D | bttv-i2c.c | 48 struct bttv *btv = (struct bttv*)data; in bttv_bit_setscl() local 51 btv->i2c_state |= 0x02; in bttv_bit_setscl() 53 btv->i2c_state &= ~0x02; in bttv_bit_setscl() 54 btwrite(btv->i2c_state, BT848_I2C); in bttv_bit_setscl() 60 struct bttv *btv = (struct bttv*)data; in bttv_bit_setsda() local 63 btv->i2c_state |= 0x01; in bttv_bit_setsda() 65 btv->i2c_state &= ~0x01; in bttv_bit_setsda() 66 btwrite(btv->i2c_state, BT848_I2C); in bttv_bit_setsda() 72 struct bttv *btv = (struct bttv*)data; in bttv_bit_getscl() local 81 struct bttv *btv in bttv_bit_getsda() local 106 bttv_i2c_wait_done(struct bttv *btv) bttv_i2c_wait_done() argument 125 bttv_i2c_sendbytes(struct bttv *btv, const struct i2c_msg *msg, int last) bttv_i2c_sendbytes() argument 175 bttv_i2c_readbytes(struct bttv *btv, const struct i2c_msg *msg, int last) bttv_i2c_readbytes() argument 223 struct bttv *btv = to_bttv(v4l2_dev); bttv_i2c_xfer() local 259 bttv_I2CRead(struct bttv *btv, unsigned char addr, char *probe_for) bttv_I2CRead() argument 284 bttv_I2CWrite(struct bttv *btv, unsigned char addr, unsigned char b1, unsigned char b2, int both) bttv_I2CWrite() argument 301 bttv_readee(struct bttv *btv, unsigned char *eedata, int addr) bttv_readee() argument 336 init_bttv_i2c(struct bttv *btv) init_bttv_i2c() argument 384 fini_bttv_i2c(struct bttv *btv) fini_bttv_i2c() argument [all...] |
H A D | bttv-driver.c | 177 struct bttv *btv = video_get_drvdata(vfd); in show_card() local 178 return sprintf(buf, "%d\n", btv ? btv->c.type : UNSET); in show_card() 652 int check_alloc_btres_lock(struct bttv *btv, struct bttv_fh *fh, int bit) in check_alloc_btres_lock() argument 665 if (btv->resources & xbits) { in check_alloc_btres_lock() 671 && 0 == (btv->resources & VIDEO_RESOURCES)) { in check_alloc_btres_lock() 673 __s32 top = btv->crop[!!fh->do_crop].rect.top; in check_alloc_btres_lock() 675 if (btv->vbi_end > top) in check_alloc_btres_lock() 680 btv->crop_start = top; in check_alloc_btres_lock() 684 if (end > btv in check_alloc_btres_lock() 707 locked_btres(struct bttv *btv, int bit) locked_btres() argument 714 disclaim_vbi_lines(struct bttv *btv) disclaim_vbi_lines() argument 721 disclaim_video_lines(struct bttv *btv) disclaim_video_lines() argument 742 free_btres_lock(struct bttv *btv, struct bttv_fh *fh, int bits) free_btres_lock() argument 773 set_pll_freq(struct bttv *btv, unsigned int fin, unsigned int fout) set_pll_freq() argument 795 set_pll(struct bttv *btv) set_pll() argument 847 bt848A_set_timing(struct bttv *btv) bt848A_set_timing() argument 879 bt848_bright(struct bttv *btv, int bright) bt848_bright() argument 891 bt848_hue(struct bttv *btv, int hue) bt848_hue() argument 902 bt848_contrast(struct bttv *btv, int cont) bt848_contrast() argument 916 bt848_sat(struct bttv *btv, int color) bt848_sat() argument 936 video_mux(struct bttv *btv, unsigned int input) video_mux() argument 971 audio_mux_gpio(struct bttv *btv, int input, int mute) audio_mux_gpio() argument 1003 audio_mute(struct bttv *btv, int mute) audio_mute() argument 1028 audio_input(struct bttv *btv, int input) audio_input() argument 1116 set_tvnorm(struct bttv *btv, unsigned int norm) set_tvnorm() argument 1161 set_input(struct bttv *btv, unsigned int input, unsigned int norm) set_input() argument 1184 init_irqreg(struct bttv *btv) init_irqreg() argument 1206 init_bt848(struct bttv *btv) init_bt848() argument 1236 bttv_reinit_bt848(struct bttv *btv) bttv_reinit_bt848() argument 1254 struct bttv *btv = container_of(c->handler, struct bttv, ctrl_handler); bttv_s_ctrl() local 1454 bttv_gpio_tracking(struct bttv *btv, char *comment) bttv_gpio_tracking() argument 1463 bttv_field_count(struct bttv *btv) bttv_field_count() argument 1498 bttv_switch_overlay(struct bttv *btv, struct bttv_fh *fh, struct bttv_buffer *new) bttv_switch_overlay() argument 1528 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) bttv_prepare_buffer() argument 1657 struct bttv *btv = fh->btv; buffer_queue() local 1682 radio_enable(struct bttv *btv) radio_enable() argument 1696 struct bttv *btv = fh->btv; bttv_s_std() local 1712 struct bttv *btv = fh->btv; bttv_g_std() local 1721 struct bttv *btv = fh->btv; bttv_querystd() local 1734 struct bttv *btv = fh->btv; bttv_enum_input() local 1767 struct bttv *btv = fh->btv; bttv_g_input() local 1777 struct bttv *btv = fh->btv; bttv_s_input() local 1790 struct bttv *btv = fh->btv; bttv_s_tuner() local 1809 struct bttv *btv = fh->btv; bttv_g_frequency() local 1822 bttv_set_frequency(struct bttv *btv, const struct v4l2_frequency *f) bttv_set_frequency() argument 1846 struct bttv *btv = fh->btv; bttv_s_frequency() local 1859 struct bttv *btv = fh->btv; bttv_log_status() local 1871 struct bttv *btv = fh->btv; bttv_g_register() local 1885 struct bttv *btv = fh->btv; bttv_s_register() local 1954 struct bttv *btv = fh->btv; limit_scaled_size_lock() local 2123 setup_window_lock(struct bttv_fh *fh, struct bttv *btv, struct v4l2_window *win, int fixup) setup_window_lock() argument 2310 struct bttv *btv = fh->btv; bttv_try_fmt_vid_cap() local 2380 struct bttv *btv = fh->btv; bttv_s_fmt_vid_cap() local 2425 struct bttv *btv = fh->btv; bttv_s_fmt_vid_overlay() local 2439 struct bttv *btv = fh->btv; bttv_querycap() local 2525 struct bttv *btv = fh->btv; bttv_g_fbuf() local 2538 struct bttv *btv = fh->btv; bttv_overlay() local 2576 struct bttv *btv = fh->btv; bttv_s_fbuf() local 2659 struct bttv *btv = fh->btv; bttv_qbuf() local 2679 struct bttv *btv = fh->btv; bttv_streamon() local 2692 struct bttv *btv = fh->btv; bttv_streamoff() local 2708 struct bttv *btv = fh->btv; bttv_g_parm() local 2723 struct bttv *btv = fh->btv; bttv_g_tuner() local 2746 struct bttv *btv = fh->btv; bttv_g_pixelaspect() local 2759 struct bttv *btv = fh->btv; bttv_g_selection() local 2790 struct bttv *btv = fh->btv; bttv_s_selection() local 2961 struct bttv *btv = video_drvdata(file); bttv_open() local 3032 struct bttv *btv = fh->btv; bttv_release() local 3154 struct bttv *btv = video_drvdata(file); radio_open() local 3180 struct bttv *btv = fh->btv; radio_release() local 3200 struct bttv *btv = fh->btv; radio_g_tuner() local 3223 struct bttv *btv = fh->btv; radio_s_tuner() local 3237 struct bttv *btv = fh->btv; radio_s_hw_freq_seek() local 3249 struct bttv *btv = fh->btv; radio_enum_freq_bands() local 3261 struct bttv *btv = fh->btv; radio_read() local 3279 struct bttv *btv = fh->btv; radio_poll() local 3365 bttv_risc_disasm(struct bttv *btv, struct btcx_riscmem *risc) bttv_risc_disasm() argument 3387 bttv_print_riscaddr(struct bttv *btv) bttv_print_riscaddr() argument 3442 bttv_irq_debug_low_latency(struct bttv *btv, u32 rc) bttv_irq_debug_low_latency() argument 3464 bttv_irq_next_video(struct bttv *btv, struct bttv_buffer_set *set) bttv_irq_next_video() argument 3547 bttv_irq_wakeup_video(struct bttv *btv, struct bttv_buffer_set *wakeup, struct bttv_buffer_set *curr, unsigned int state) bttv_irq_wakeup_video() argument 3585 bttv_irq_wakeup_vbi(struct bttv *btv, struct bttv_buffer *wakeup, unsigned int state) bttv_irq_wakeup_vbi() argument 3599 struct bttv *btv = from_timer(btv, t, timeout); bttv_irq_timeout() local 3649 bttv_irq_wakeup_top(struct bttv *btv) bttv_irq_wakeup_top() argument 3678 bttv_irq_switch_video(struct bttv *btv) bttv_irq_switch_video() argument 3717 bttv_irq_switch_vbi(struct bttv *btv) bttv_irq_switch_vbi() argument 3754 struct bttv *btv; bttv_irq() local 3866 vdev_init(struct bttv *btv, struct video_device *vfd, const struct video_device *template, const char *type_name) vdev_init() argument 3886 bttv_unregister_video(struct bttv *btv) bttv_unregister_video() argument 3894 bttv_register_video(struct bttv *btv) bttv_register_video() argument 3980 struct bttv *btv; bttv_probe() local 4227 struct bttv *btv = to_bttv(v4l2_dev); bttv_remove() local 4278 struct bttv *btv = to_bttv(v4l2_dev); bttv_suspend() local 4314 struct bttv *btv = to_bttv(v4l2_dev); bttv_resume() local [all...] |
H A D | bttv-cards.c | 36 static void boot_msp34xx(struct bttv *btv, int pin); 37 static void hauppauge_eeprom(struct bttv *btv); 38 static void avermedia_eeprom(struct bttv *btv); 39 static void osprey_eeprom(struct bttv *btv, const u8 ee[256]); 40 static void modtec_eeprom(struct bttv *btv); 41 static void init_PXC200(struct bttv *btv); 42 static void init_RTV24(struct bttv *btv); 43 static void init_PCI8604PW(struct bttv *btv); 45 static void rv605_muxsel(struct bttv *btv, unsigned int input); 46 static void eagle_muxsel(struct bttv *btv, unsigne 2893 bttv_idcard(struct bttv *btv) bttv_idcard() argument 2965 identify_by_eeprom(struct bttv *btv, unsigned char eeprom_data[256]) identify_by_eeprom() argument 2983 flyvideo_gpio(struct bttv *btv) flyvideo_gpio() argument 3065 miro_pinnacle_gpio(struct bttv *btv) miro_pinnacle_gpio() argument 3150 init_ids_eagle(struct bttv *btv) init_ids_eagle() argument 3168 eagle_muxsel(struct bttv *btv, unsigned int input) eagle_muxsel() argument 3183 gvc1100_muxsel(struct bttv *btv, unsigned int input) gvc1100_muxsel() argument 3202 init_lmlbt4x(struct bttv *btv) init_lmlbt4x() argument 3210 sigmaSQ_muxsel(struct bttv *btv, unsigned int input) sigmaSQ_muxsel() argument 3217 sigmaSLC_muxsel(struct bttv *btv, unsigned int input) sigmaSLC_muxsel() argument 3224 geovision_muxsel(struct bttv *btv, unsigned int input) geovision_muxsel() argument 3241 td3116_latch_value(struct bttv *btv, u32 value) td3116_latch_value() argument 3249 td3116_muxsel(struct bttv *btv, unsigned int input) td3116_muxsel() argument 3269 bttv_reset_audio(struct bttv *btv) bttv_reset_audio() argument 3291 bttv_init_card1(struct bttv *btv) bttv_init_card1() argument 3326 bttv_init_card2(struct bttv *btv) bttv_init_card2() argument 3647 bttv_init_tuner(struct bttv *btv) bttv_init_tuner() argument 3691 modtec_eeprom(struct bttv *btv) modtec_eeprom() argument 3711 hauppauge_eeprom(struct bttv *btv) hauppauge_eeprom() argument 3743 struct bttv *btv = tea->private_data; bttv_tea575x_set_pins() local 3764 struct bttv *btv = tea->private_data; bttv_tea575x_get_pins() local 3791 struct bttv *btv = tea->private_data; bttv_tea575x_set_direction() local 3809 tea575x_init(struct bttv *btv) tea575x_init() argument 3827 terratec_active_radio_upgrade(struct bttv *btv) terratec_active_radio_upgrade() argument 3864 pvr_altera_load(struct bttv *btv, const u8 *micro, u32 microlen) pvr_altera_load() argument 3901 pvr_boot(struct bttv *btv) pvr_boot() argument 3921 osprey_eeprom(struct bttv *btv, const u8 ee[256]) osprey_eeprom() argument 4052 avermedia_eeprom(struct bttv *btv) avermedia_eeprom() argument 4092 bttv_tda9880_setnorm(struct bttv *btv, u32 gpiobits) bttv_tda9880_setnorm() argument 4114 boot_msp34xx(struct bttv *btv, int pin) boot_msp34xx() argument 4137 init_PXC200(struct bttv *btv) init_PXC200() argument 4234 init_RTV24(struct bttv *btv) init_RTV24() argument 4299 init_PCI8604PW(struct bttv *btv) init_PCI8604PW() argument 4389 rv605_muxsel(struct bttv *btv, unsigned int input) rv605_muxsel() argument 4437 tibetCS16_muxsel(struct bttv *btv, unsigned int input) tibetCS16_muxsel() argument 4443 tibetCS16_init(struct bttv *btv) tibetCS16_init() argument 4477 kodicom4400r_write(struct bttv *btv, unsigned char xaddr, unsigned char yaddr, unsigned char data) kodicom4400r_write() argument 4497 kodicom4400r_muxsel(struct bttv *btv, unsigned int input) kodicom4400r_muxsel() argument 4526 kodicom4400r_init(struct bttv *btv) kodicom4400r_init() argument 4569 xguard_muxsel(struct bttv *btv, unsigned int input) xguard_muxsel() argument 4579 picolo_tetra_init(struct bttv *btv) picolo_tetra_init() argument 4585 picolo_tetra_muxsel(struct bttv* btv, unsigned int input) picolo_tetra_muxsel() argument 4627 ivc120_muxsel(struct bttv *btv, unsigned int input) ivc120_muxsel() argument 4677 PXC200_muxsel(struct bttv *btv, unsigned int input) PXC200_muxsel() argument 4742 phytec_muxsel(struct bttv *btv, unsigned int input) phytec_muxsel() argument 4767 gv800s_write(struct bttv *btv, unsigned char xaddr, unsigned char yaddr, unsigned char data) gv800s_write() argument 4809 gv800s_muxsel(struct bttv *btv, unsigned int input) gv800s_muxsel() argument 4836 gv800s_init(struct bttv *btv) gv800s_init() argument 4911 bttv_handle_chipset(struct bttv *btv) bttv_handle_chipset() argument [all...] |
H A D | bttv-input.c | 40 static void ir_handle_key(struct bttv *btv) in ir_handle_key() argument 42 struct bttv_ir *ir = btv->remote; in ir_handle_key() 46 gpio = bttv_gpio_read(&btv->c); in ir_handle_key() 67 if (btv->c.type == BTTV_BOARD_WINFAST2000) in ir_handle_key() 75 static void ir_enltv_handle_key(struct bttv *btv) in ir_enltv_handle_key() argument 77 struct bttv_ir *ir = btv->remote; in ir_enltv_handle_key() 81 gpio = bttv_gpio_read(&btv->c); in ir_enltv_handle_key() 115 static int bttv_rc5_irq(struct bttv *btv); 117 void bttv_input_irq(struct bttv *btv) in bttv_input_irq() argument 119 struct bttv_ir *ir = btv in bttv_input_irq() 130 struct bttv *btv = ir->btv; bttv_input_timer() local 235 bttv_rc5_irq(struct bttv *btv) bttv_rc5_irq() argument 304 bttv_ir_stop(struct bttv *btv) bttv_ir_stop() argument 362 init_bttv_i2c_ir(struct bttv *btv) init_bttv_i2c_ir() argument 409 bttv_input_init(struct bttv *btv) bttv_input_init() argument 570 bttv_input_fini(struct bttv *btv) bttv_input_fini() argument [all...] |
H A D | bttv-risc.c | 35 bttv_risc_packed(struct bttv *btv, struct btcx_riscmem *risc, in bttv_risc_packed() argument 54 if ((rc = btcx_riscmem_alloc(btv->c.pci,risc,instructions)) < 0) in bttv_risc_packed() 70 if ((btv->opt_vcr_hack) && in bttv_risc_packed() 114 bttv_risc_planar(struct bttv *btv, struct btcx_riscmem *risc, in bttv_risc_planar() argument 137 if ((rc = btcx_riscmem_alloc(btv->c.pci,risc,instructions*4*5)) < 0) in bttv_risc_planar() 150 if ((btv->opt_vcr_hack) && in bttv_risc_planar() 235 bttv_risc_overlay(struct bttv *btv, struct btcx_riscmem *risc, in bttv_risc_overlay() argument 256 if ((rc = btcx_riscmem_alloc(btv->c.pci,risc,dwords*4)) < 0) { in bttv_risc_overlay() 266 addr = (unsigned long)btv->fbuf.base; in bttv_risc_overlay() 267 addr += btv in bttv_risc_overlay() 326 bttv_calc_geo_old(struct bttv *btv, struct bttv_geometry *geo, int width, int height, int interleaved, const struct bttv_tvnorm *tvnorm) bttv_calc_geo_old() argument 370 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) bttv_calc_geo() argument 426 bttv_apply_geo(struct bttv *btv, struct bttv_geometry *geo, int odd) bttv_apply_geo() argument 453 bttv_set_dma(struct bttv *btv, int override) bttv_set_dma() argument 505 bttv_risc_init_main(struct bttv *btv) bttv_risc_init_main() argument 544 bttv_risc_hook(struct bttv *btv, int slot, struct btcx_riscmem *risc, int irqflags) bttv_risc_hook() argument 571 bttv_dma_free(struct videobuf_queue *q,struct bttv *btv, struct bttv_buffer *buf) bttv_dma_free() argument 585 bttv_buffer_activate_vbi(struct bttv *btv, struct bttv_buffer *vbi) bttv_buffer_activate_vbi() argument 637 bttv_buffer_activate_video(struct bttv *btv, struct bttv_buffer_set *set) bttv_buffer_activate_video() argument 697 bttv_buffer_risc(struct bttv *btv, struct bttv_buffer *buf) bttv_buffer_risc() argument 857 bttv_overlay_risc(struct bttv *btv, struct bttv_overlay *ov, const struct bttv_format *fmt, struct bttv_buffer *buf) bttv_overlay_risc() argument [all...] |
H 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 in bttv_write_gpio() [all...] |
H A D | bttv-audio-hook.c | 15 void winview_volume(struct bttv *btv, __u16 volume) in winview_volume() argument 55 void gvbctv3pci_audio(struct bttv *btv, struct v4l2_tuner *t, int set) in gvbctv3pci_audio() argument 86 void gvbctv5pci_audio(struct bttv *btv, struct v4l2_tuner *t, int set) in gvbctv5pci_audio() argument 90 if (btv->radio_user) in gvbctv5pci_audio() 109 bttv_gpio_tracking(btv, "gvbctv5pci"); in gvbctv5pci_audio() 157 void avermedia_tvphone_audio(struct bttv *btv, struct v4l2_tuner *t, int set) in avermedia_tvphone_audio() argument 184 bttv_gpio_tracking(btv, "avermedia"); in avermedia_tvphone_audio() 188 void avermedia_tv_stereo_audio(struct bttv *btv, struct v4l2_tuner *t, int set) in avermedia_tv_stereo_audio() argument 216 bttv_gpio_tracking(btv, "avermedia"); in avermedia_tv_stereo_audio() 221 void lt9415_audio(struct bttv *btv, struc argument 259 terratv_audio(struct bttv *btv, struct v4l2_tuner *t, int set) terratv_audio() argument 292 winfast2000_audio(struct bttv *btv, struct v4l2_tuner *t, int set) winfast2000_audio() argument 336 pvbt878p9b_audio(struct bttv *btv, struct v4l2_tuner *t, int set) pvbt878p9b_audio() argument 377 fv2000s_audio(struct bttv *btv, struct v4l2_tuner *t, int set) fv2000s_audio() argument 416 windvr_audio(struct bttv *btv, struct v4l2_tuner *t, int set) windvr_audio() argument 451 adtvk503_audio(struct bttv *btv, struct v4l2_tuner *t, int set) adtvk503_audio() argument [all...] |
H A D | bttv-vbi.c | 61 pr_debug("%d: " fmt, btv->c.nr, ##__VA_ARGS__); \ 74 struct bttv *btv = fh->btv; in vbi_buffer_setup() local 96 struct bttv *btv = fh->btv; in vbi_buffer_prepare() local 113 instead of btv->tvnorm to skip zero lines after video in vbi_buffer_prepare() 153 rc = bttv_risc_packed(btv, &buf->top, in vbi_buffer_prepare() 165 rc = bttv_risc_packed(btv, &buf->bottom, in vbi_buffer_prepare() 194 bttv_dma_free(q,btv,buf); in vbi_buffer_prepare() 202 struct bttv *btv in vbi_buffer_queue() local 217 struct bttv *btv = fh->btv; vbi_buffer_release() local 303 struct bttv *btv = fh->btv; bttv_try_fmt_vbi_cap() local 321 struct bttv *btv = fh->btv; bttv_s_fmt_vbi_cap() local [all...] |
H A D | bttvp.h | 112 struct bttv *btv; member 209 struct bttv *btv; member 238 int bttv_risc_packed(struct bttv *btv, struct btcx_riscmem *risc, 245 void bttv_set_dma(struct bttv *btv, int override); 246 int bttv_risc_init_main(struct bttv *btv); 247 int bttv_risc_hook(struct bttv *btv, int slot, struct btcx_riscmem *risc, 251 int bttv_buffer_risc(struct bttv *btv, struct bttv_buffer *buf); 252 int bttv_buffer_activate_video(struct bttv *btv, 254 int bttv_buffer_activate_vbi(struct bttv *btv, 256 void bttv_dma_free(struct videobuf_queue *q, struct bttv *btv, 508 bttv_muxsel(const struct bttv *btv, unsigned int input) bttv_muxsel() argument [all...] |
H A D | bttv.h | 219 void (*volume_gpio)(struct bttv *btv, __u16 volume); 220 void (*audio_mode_gpio)(struct bttv *btv, struct v4l2_tuner *tuner, int set); 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); 292 extern void tea5757_set_freq(struct bttv *btv, unsigned short freq); 293 extern u32 bttv_tda9880_setnorm(struct bttv *btv, u32 gpiobits); 297 extern int bttv_handle_chipset(struct bttv *btv); [all...] |
H A D | bttv-gpio.c | 131 struct bttv *btv = container_of(core, struct bttv, c); in bttv_gpio_inout() local 135 spin_lock_irqsave(&btv->gpio_lock,flags); in bttv_gpio_inout() 140 spin_unlock_irqrestore(&btv->gpio_lock,flags); in bttv_gpio_inout() 145 struct bttv *btv = container_of(core, struct bttv, c); in bttv_gpio_read() local 154 struct bttv *btv = container_of(core, struct bttv, c); in bttv_gpio_write() local 161 struct bttv *btv = container_of(core, struct bttv, c); in bttv_gpio_bits() local 165 spin_lock_irqsave(&btv->gpio_lock,flags); in bttv_gpio_bits() 170 spin_unlock_irqrestore(&btv->gpio_lock,flags); in bttv_gpio_bits()
|