Home
last modified time | relevance | path

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

/drivers/media/usb/au0828/
Dau0828-cards.c205 struct tuner_setup tun_setup; in au0828_card_analog_fe_setup() local
227 tun_setup.mode_mask = mode_mask; in au0828_card_analog_fe_setup()
228 tun_setup.type = dev->board.tuner_type; in au0828_card_analog_fe_setup()
229 tun_setup.addr = dev->board.tuner_addr; in au0828_card_analog_fe_setup()
230 tun_setup.tuner_callback = au0828_tuner_callback; in au0828_card_analog_fe_setup()
232 &tun_setup); in au0828_card_analog_fe_setup()
/drivers/media/v4l2-core/
Dtuner-core.c521 struct tuner_setup *tun_setup) in tuner_s_type_addr() argument
527 tun_setup->type, in tuner_s_type_addr()
528 tun_setup->addr, in tuner_s_type_addr()
529 tun_setup->mode_mask, in tuner_s_type_addr()
530 tun_setup->config); in tuner_s_type_addr()
532 if ((t->type == UNSET && ((tun_setup->addr == ADDR_UNSET) && in tuner_s_type_addr()
533 (t->mode_mask & tun_setup->mode_mask))) || in tuner_s_type_addr()
534 (tun_setup->addr == c->addr)) { in tuner_s_type_addr()
535 set_type(c, tun_setup->type, tun_setup->mode_mask, in tuner_s_type_addr()
536 tun_setup->config, tun_setup->tuner_callback); in tuner_s_type_addr()
[all …]
/drivers/media/usb/tm6000/
Dtm6000-cards.c889 struct tuner_setup tun_setup; in tm6000_config_tuner() local
895 memset(&tun_setup, 0, sizeof(tun_setup)); in tm6000_config_tuner()
896 tun_setup.type = dev->tuner_type; in tm6000_config_tuner()
897 tun_setup.addr = dev->tuner_addr; in tm6000_config_tuner()
899 tun_setup.mode_mask = 0; in tm6000_config_tuner()
901 tun_setup.mode_mask |= (T_ANALOG_TV | T_RADIO); in tm6000_config_tuner()
905 tun_setup.tuner_callback = tm6000_tuner_callback; in tm6000_config_tuner()
908 tun_setup.tuner_callback = tm6000_xc5000_callback; in tm6000_config_tuner()
912 v4l2_device_call_all(&dev->v4l2_dev, 0, tuner, s_type_addr, &tun_setup); in tm6000_config_tuner()
/drivers/media/pci/saa7146/
Dmxb.c340 struct tuner_setup tun_setup; in mxb_init_done() local
357 tun_setup.mode_mask = T_ANALOG_TV; in mxb_init_done()
358 tun_setup.addr = ADDR_UNSET; in mxb_init_done()
359 tun_setup.type = TUNER_PHILIPS_PAL; in mxb_init_done()
360 tuner_call(mxb, tuner, s_type_addr, &tun_setup); in mxb_init_done()
/drivers/media/pci/cx23885/
Dcx23885-video.c1275 struct tuner_setup tun_setup; in cx23885_video_register() local
1277 memset(&tun_setup, 0, sizeof(tun_setup)); in cx23885_video_register()
1278 tun_setup.mode_mask = T_ANALOG_TV; in cx23885_video_register()
1279 tun_setup.type = dev->tuner_type; in cx23885_video_register()
1280 tun_setup.addr = v4l2_i2c_subdev_addr(sd); in cx23885_video_register()
1281 tun_setup.tuner_callback = cx23885_tuner_callback; in cx23885_video_register()
1283 v4l2_subdev_call(sd, tuner, s_type_addr, &tun_setup); in cx23885_video_register()
/drivers/media/pci/cx88/
Dcx88-cards.c3446 struct tuner_setup tun_setup; in cx88_card_setup() local
3449 memset(&tun_setup, 0, sizeof(tun_setup)); in cx88_card_setup()
3588 tun_setup.mode_mask = T_RADIO; in cx88_card_setup()
3589 tun_setup.type = core->board.radio_type; in cx88_card_setup()
3590 tun_setup.addr = core->board.radio_addr; in cx88_card_setup()
3591 tun_setup.tuner_callback = cx88_tuner_callback; in cx88_card_setup()
3592 call_all(core, tuner, s_type_addr, &tun_setup); in cx88_card_setup()
3597 tun_setup.mode_mask = mode_mask; in cx88_card_setup()
3598 tun_setup.type = core->board.tuner_type; in cx88_card_setup()
3599 tun_setup.addr = core->board.tuner_addr; in cx88_card_setup()
[all …]
/drivers/media/usb/cx231xx/
Dcx231xx-cards.c1175 struct tuner_setup tun_setup; in cx231xx_config_tuner() local
1181 tun_setup.mode_mask = T_ANALOG_TV | T_RADIO; in cx231xx_config_tuner()
1182 tun_setup.type = dev->tuner_type; in cx231xx_config_tuner()
1183 tun_setup.addr = dev->tuner_addr; in cx231xx_config_tuner()
1184 tun_setup.tuner_callback = cx231xx_tuner_callback; in cx231xx_config_tuner()
1186 tuner_call(dev, tuner, s_type_addr, &tun_setup); in cx231xx_config_tuner()
1189 if (tun_setup.type == TUNER_XC5000) { in cx231xx_config_tuner()
/drivers/media/usb/dvb-usb/
Dcxusb-analog.c1713 struct tuner_setup tun_setup; in cxusb_medion_register_analog_subdevs() local
1758 memset(&tun_setup, 0, sizeof(tun_setup)); in cxusb_medion_register_analog_subdevs()
1759 tun_setup.addr = 0x61; in cxusb_medion_register_analog_subdevs()
1760 tun_setup.type = TUNER_PHILIPS_FMD1216ME_MK3; in cxusb_medion_register_analog_subdevs()
1761 tun_setup.mode_mask = T_RADIO | T_ANALOG_TV; in cxusb_medion_register_analog_subdevs()
1762 v4l2_subdev_call(cxdev->tuner, tuner, s_type_addr, &tun_setup); in cxusb_medion_register_analog_subdevs()
/drivers/media/usb/em28xx/
Dem28xx-video.c2463 struct tuner_setup tun_setup; in em28xx_tuner_setup() local
2466 memset(&tun_setup, 0, sizeof(tun_setup)); in em28xx_tuner_setup()
2468 tun_setup.mode_mask = T_ANALOG_TV | T_RADIO; in em28xx_tuner_setup()
2469 tun_setup.tuner_callback = em28xx_tuner_callback; in em28xx_tuner_setup()
2472 tun_setup.type = dev->board.radio.type; in em28xx_tuner_setup()
2473 tun_setup.addr = dev->board.radio_addr; in em28xx_tuner_setup()
2476 0, tuner, s_type_addr, &tun_setup); in em28xx_tuner_setup()
2480 tun_setup.type = dev->tuner_type; in em28xx_tuner_setup()
2481 tun_setup.addr = tuner_addr; in em28xx_tuner_setup()
2484 0, tuner, s_type_addr, &tun_setup); in em28xx_tuner_setup()
/drivers/media/pci/saa7134/
Dsaa7134-cards.c7635 struct tuner_setup tun_setup; in saa7134_tuner_setup() local
7638 memset(&tun_setup, 0, sizeof(tun_setup)); in saa7134_tuner_setup()
7639 tun_setup.tuner_callback = saa7134_tuner_callback; in saa7134_tuner_setup()
7642 tun_setup.type = saa7134_boards[dev->board].radio_type; in saa7134_tuner_setup()
7643 tun_setup.addr = saa7134_boards[dev->board].radio_addr; in saa7134_tuner_setup()
7645 tun_setup.mode_mask = T_RADIO; in saa7134_tuner_setup()
7647 saa_call_all(dev, tuner, s_type_addr, &tun_setup); in saa7134_tuner_setup()
7652 tun_setup.type = dev->tuner_type; in saa7134_tuner_setup()
7653 tun_setup.addr = dev->tuner_addr; in saa7134_tuner_setup()
7654 tun_setup.config = &saa7134_boards[dev->board].tda829x_conf; in saa7134_tuner_setup()
[all …]
/drivers/media/pci/bt8xx/
Dbttv-cards.c3655 struct tuner_setup tun_setup; in bttv_init_tuner() local
3669 tun_setup.mode_mask = T_ANALOG_TV; in bttv_init_tuner()
3670 tun_setup.type = btv->tuner_type; in bttv_init_tuner()
3671 tun_setup.addr = addr; in bttv_init_tuner()
3674 tun_setup.mode_mask |= T_RADIO; in bttv_init_tuner()
3676 bttv_call_all(btv, tuner, s_type_addr, &tun_setup); in bttv_init_tuner()
/drivers/net/
Dtun.c2341 static void tun_setup(struct net_device *dev) in tun_setup() function
2424 .setup = tun_setup,
2823 NET_NAME_UNKNOWN, tun_setup, queues, in tun_set_iff()