Home
last modified time | relevance | path

Searched refs:tun_setup (Results 1 – 12 of 12) sorted by relevance

/drivers/media/usb/au0828/
Dau0828-cards.c219 struct tuner_setup tun_setup; in au0828_card_analog_fe_setup() local
241 tun_setup.mode_mask = mode_mask; in au0828_card_analog_fe_setup()
242 tun_setup.type = dev->board.tuner_type; in au0828_card_analog_fe_setup()
243 tun_setup.addr = dev->board.tuner_addr; in au0828_card_analog_fe_setup()
244 tun_setup.tuner_callback = au0828_tuner_callback; in au0828_card_analog_fe_setup()
246 &tun_setup); in au0828_card_analog_fe_setup()
/drivers/media/v4l2-core/
Dtuner-core.c489 struct tuner_setup *tun_setup) in tuner_s_type_addr() argument
495 tun_setup->type, in tuner_s_type_addr()
496 tun_setup->addr, in tuner_s_type_addr()
497 tun_setup->mode_mask, in tuner_s_type_addr()
498 tun_setup->config); in tuner_s_type_addr()
500 if ((t->type == UNSET && ((tun_setup->addr == ADDR_UNSET) && in tuner_s_type_addr()
501 (t->mode_mask & tun_setup->mode_mask))) || in tuner_s_type_addr()
502 (tun_setup->addr == c->addr)) { in tuner_s_type_addr()
503 set_type(c, tun_setup->type, tun_setup->mode_mask, in tuner_s_type_addr()
504 tun_setup->config, tun_setup->tuner_callback); in tuner_s_type_addr()
[all …]
/drivers/media/usb/usbvision/
Dusbvision-i2c.c235 struct tuner_setup tun_setup; in usbvision_i2c_register() local
251 tun_setup.mode_mask = T_ANALOG_TV | T_RADIO; in usbvision_i2c_register()
252 tun_setup.type = usbvision->tuner_type; in usbvision_i2c_register()
253 tun_setup.addr = v4l2_i2c_subdev_addr(sd); in usbvision_i2c_register()
254 call_all(usbvision, tuner, s_type_addr, &tun_setup); in usbvision_i2c_register()
/drivers/media/usb/tm6000/
Dtm6000-cards.c904 struct tuner_setup tun_setup; in tm6000_config_tuner() local
910 memset(&tun_setup, 0, sizeof(tun_setup)); in tm6000_config_tuner()
911 tun_setup.type = dev->tuner_type; in tm6000_config_tuner()
912 tun_setup.addr = dev->tuner_addr; in tm6000_config_tuner()
914 tun_setup.mode_mask = 0; in tm6000_config_tuner()
916 tun_setup.mode_mask |= (T_ANALOG_TV | T_RADIO); in tm6000_config_tuner()
920 tun_setup.tuner_callback = tm6000_tuner_callback; in tm6000_config_tuner()
923 tun_setup.tuner_callback = tm6000_xc5000_callback; in tm6000_config_tuner()
927 v4l2_device_call_all(&dev->v4l2_dev, 0, tuner, s_type_addr, &tun_setup); in tm6000_config_tuner()
/drivers/media/pci/saa7146/
Dmxb.c351 struct tuner_setup tun_setup; in mxb_init_done() local
368 tun_setup.mode_mask = T_ANALOG_TV; in mxb_init_done()
369 tun_setup.addr = ADDR_UNSET; in mxb_init_done()
370 tun_setup.type = TUNER_PHILIPS_PAL; in mxb_init_done()
371 tuner_call(mxb, tuner, s_type_addr, &tun_setup); in mxb_init_done()
/drivers/media/pci/cx23885/
Dcx23885-video.c1215 struct tuner_setup tun_setup; in cx23885_video_register() local
1217 memset(&tun_setup, 0, sizeof(tun_setup)); in cx23885_video_register()
1218 tun_setup.mode_mask = T_ANALOG_TV; in cx23885_video_register()
1219 tun_setup.type = dev->tuner_type; in cx23885_video_register()
1220 tun_setup.addr = v4l2_i2c_subdev_addr(sd); in cx23885_video_register()
1221 tun_setup.tuner_callback = cx23885_tuner_callback; in cx23885_video_register()
1223 v4l2_subdev_call(sd, tuner, s_type_addr, &tun_setup); in cx23885_video_register()
/drivers/media/pci/cx88/
Dcx88-cards.c3416 struct tuner_setup tun_setup; in cx88_card_setup() local
3419 memset(&tun_setup, 0, sizeof(tun_setup)); in cx88_card_setup()
3559 tun_setup.mode_mask = T_RADIO; in cx88_card_setup()
3560 tun_setup.type = core->board.radio_type; in cx88_card_setup()
3561 tun_setup.addr = core->board.radio_addr; in cx88_card_setup()
3562 tun_setup.tuner_callback = cx88_tuner_callback; in cx88_card_setup()
3563 call_all(core, tuner, s_type_addr, &tun_setup); in cx88_card_setup()
3568 tun_setup.mode_mask = mode_mask; in cx88_card_setup()
3569 tun_setup.type = core->board.tuner_type; in cx88_card_setup()
3570 tun_setup.addr = core->board.tuner_addr; in cx88_card_setup()
[all …]
/drivers/media/usb/em28xx/
Dem28xx-video.c2350 struct tuner_setup tun_setup; in em28xx_tuner_setup() local
2353 memset(&tun_setup, 0, sizeof(tun_setup)); in em28xx_tuner_setup()
2355 tun_setup.mode_mask = T_ANALOG_TV | T_RADIO; in em28xx_tuner_setup()
2356 tun_setup.tuner_callback = em28xx_tuner_callback; in em28xx_tuner_setup()
2359 tun_setup.type = dev->board.radio.type; in em28xx_tuner_setup()
2360 tun_setup.addr = dev->board.radio_addr; in em28xx_tuner_setup()
2363 0, tuner, s_type_addr, &tun_setup); in em28xx_tuner_setup()
2367 tun_setup.type = dev->tuner_type; in em28xx_tuner_setup()
2368 tun_setup.addr = tuner_addr; in em28xx_tuner_setup()
2371 0, tuner, s_type_addr, &tun_setup); in em28xx_tuner_setup()
/drivers/media/usb/cx231xx/
Dcx231xx-cards.c1007 struct tuner_setup tun_setup; in cx231xx_config_tuner() local
1013 tun_setup.mode_mask = T_ANALOG_TV | T_RADIO; in cx231xx_config_tuner()
1014 tun_setup.type = dev->tuner_type; in cx231xx_config_tuner()
1015 tun_setup.addr = dev->tuner_addr; in cx231xx_config_tuner()
1016 tun_setup.tuner_callback = cx231xx_tuner_callback; in cx231xx_config_tuner()
1018 tuner_call(dev, tuner, s_type_addr, &tun_setup); in cx231xx_config_tuner()
1021 if (tun_setup.type == TUNER_XC5000) { in cx231xx_config_tuner()
/drivers/media/pci/saa7134/
Dsaa7134-cards.c7633 struct tuner_setup tun_setup; in saa7134_tuner_setup() local
7636 memset(&tun_setup, 0, sizeof(tun_setup)); in saa7134_tuner_setup()
7637 tun_setup.tuner_callback = saa7134_tuner_callback; in saa7134_tuner_setup()
7640 tun_setup.type = saa7134_boards[dev->board].radio_type; in saa7134_tuner_setup()
7641 tun_setup.addr = saa7134_boards[dev->board].radio_addr; in saa7134_tuner_setup()
7643 tun_setup.mode_mask = T_RADIO; in saa7134_tuner_setup()
7645 saa_call_all(dev, tuner, s_type_addr, &tun_setup); in saa7134_tuner_setup()
7650 tun_setup.type = dev->tuner_type; in saa7134_tuner_setup()
7651 tun_setup.addr = dev->tuner_addr; in saa7134_tuner_setup()
7652 tun_setup.config = &saa7134_boards[dev->board].tda829x_conf; in saa7134_tuner_setup()
[all …]
/drivers/media/pci/bt8xx/
Dbttv-cards.c3663 struct tuner_setup tun_setup; in bttv_init_tuner() local
3677 tun_setup.mode_mask = T_ANALOG_TV; in bttv_init_tuner()
3678 tun_setup.type = btv->tuner_type; in bttv_init_tuner()
3679 tun_setup.addr = addr; in bttv_init_tuner()
3682 tun_setup.mode_mask |= T_RADIO; in bttv_init_tuner()
3684 bttv_call_all(btv, tuner, s_type_addr, &tun_setup); in bttv_init_tuner()
/drivers/net/
Dtun.c1555 static void tun_setup(struct net_device *dev) in tun_setup() function
1579 .setup = tun_setup,
1794 NET_NAME_UNKNOWN, tun_setup, queues, in tun_set_iff()