Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/media/usb/au0828/
Dau0828-cards.c215 struct tuner_setup tun_setup; in au0828_card_analog_fe_setup() local
237 tun_setup.mode_mask = mode_mask; in au0828_card_analog_fe_setup()
238 tun_setup.type = dev->board.tuner_type; in au0828_card_analog_fe_setup()
239 tun_setup.addr = dev->board.tuner_addr; in au0828_card_analog_fe_setup()
240 tun_setup.tuner_callback = au0828_tuner_callback; in au0828_card_analog_fe_setup()
242 &tun_setup); in au0828_card_analog_fe_setup()
/Linux-v4.19/drivers/media/v4l2-core/
Dtuner-core.c473 struct tuner_setup *tun_setup) in tuner_s_type_addr() argument
479 tun_setup->type, in tuner_s_type_addr()
480 tun_setup->addr, in tuner_s_type_addr()
481 tun_setup->mode_mask, in tuner_s_type_addr()
482 tun_setup->config); in tuner_s_type_addr()
484 if ((t->type == UNSET && ((tun_setup->addr == ADDR_UNSET) && in tuner_s_type_addr()
485 (t->mode_mask & tun_setup->mode_mask))) || in tuner_s_type_addr()
486 (tun_setup->addr == c->addr)) { in tuner_s_type_addr()
487 set_type(c, tun_setup->type, tun_setup->mode_mask, in tuner_s_type_addr()
488 tun_setup->config, tun_setup->tuner_callback); in tuner_s_type_addr()
[all …]
/Linux-v4.19/drivers/media/usb/usbvision/
Dusbvision-i2c.c232 struct tuner_setup tun_setup; in usbvision_i2c_register() local
248 tun_setup.mode_mask = T_ANALOG_TV | T_RADIO; in usbvision_i2c_register()
249 tun_setup.type = usbvision->tuner_type; in usbvision_i2c_register()
250 tun_setup.addr = v4l2_i2c_subdev_addr(sd); in usbvision_i2c_register()
251 call_all(usbvision, tuner, s_type_addr, &tun_setup); in usbvision_i2c_register()
/Linux-v4.19/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()
/Linux-v4.19/drivers/media/pci/saa7146/
Dmxb.c352 struct tuner_setup tun_setup; in mxb_init_done() local
369 tun_setup.mode_mask = T_ANALOG_TV; in mxb_init_done()
370 tun_setup.addr = ADDR_UNSET; in mxb_init_done()
371 tun_setup.type = TUNER_PHILIPS_PAL; in mxb_init_done()
372 tuner_call(mxb, tuner, s_type_addr, &tun_setup); in mxb_init_done()
/Linux-v4.19/drivers/media/pci/cx23885/
Dcx23885-video.c1218 struct tuner_setup tun_setup; in cx23885_video_register() local
1220 memset(&tun_setup, 0, sizeof(tun_setup)); in cx23885_video_register()
1221 tun_setup.mode_mask = T_ANALOG_TV; in cx23885_video_register()
1222 tun_setup.type = dev->tuner_type; in cx23885_video_register()
1223 tun_setup.addr = v4l2_i2c_subdev_addr(sd); in cx23885_video_register()
1224 tun_setup.tuner_callback = cx23885_tuner_callback; in cx23885_video_register()
1226 v4l2_subdev_call(sd, tuner, s_type_addr, &tun_setup); in cx23885_video_register()
/Linux-v4.19/drivers/media/pci/cx88/
Dcx88-cards.c3412 struct tuner_setup tun_setup; in cx88_card_setup() local
3415 memset(&tun_setup, 0, sizeof(tun_setup)); in cx88_card_setup()
3554 tun_setup.mode_mask = T_RADIO; in cx88_card_setup()
3555 tun_setup.type = core->board.radio_type; in cx88_card_setup()
3556 tun_setup.addr = core->board.radio_addr; in cx88_card_setup()
3557 tun_setup.tuner_callback = cx88_tuner_callback; in cx88_card_setup()
3558 call_all(core, tuner, s_type_addr, &tun_setup); in cx88_card_setup()
3563 tun_setup.mode_mask = mode_mask; in cx88_card_setup()
3564 tun_setup.type = core->board.tuner_type; in cx88_card_setup()
3565 tun_setup.addr = core->board.tuner_addr; in cx88_card_setup()
[all …]
/Linux-v4.19/drivers/media/usb/em28xx/
Dem28xx-video.c2414 struct tuner_setup tun_setup; in em28xx_tuner_setup() local
2417 memset(&tun_setup, 0, sizeof(tun_setup)); in em28xx_tuner_setup()
2419 tun_setup.mode_mask = T_ANALOG_TV | T_RADIO; in em28xx_tuner_setup()
2420 tun_setup.tuner_callback = em28xx_tuner_callback; in em28xx_tuner_setup()
2423 tun_setup.type = dev->board.radio.type; in em28xx_tuner_setup()
2424 tun_setup.addr = dev->board.radio_addr; in em28xx_tuner_setup()
2427 0, tuner, s_type_addr, &tun_setup); in em28xx_tuner_setup()
2431 tun_setup.type = dev->tuner_type; in em28xx_tuner_setup()
2432 tun_setup.addr = tuner_addr; in em28xx_tuner_setup()
2435 0, tuner, s_type_addr, &tun_setup); in em28xx_tuner_setup()
/Linux-v4.19/drivers/media/usb/cx231xx/
Dcx231xx-cards.c1185 struct tuner_setup tun_setup; in cx231xx_config_tuner() local
1191 tun_setup.mode_mask = T_ANALOG_TV | T_RADIO; in cx231xx_config_tuner()
1192 tun_setup.type = dev->tuner_type; in cx231xx_config_tuner()
1193 tun_setup.addr = dev->tuner_addr; in cx231xx_config_tuner()
1194 tun_setup.tuner_callback = cx231xx_tuner_callback; in cx231xx_config_tuner()
1196 tuner_call(dev, tuner, s_type_addr, &tun_setup); in cx231xx_config_tuner()
1199 if (tun_setup.type == TUNER_XC5000) { in cx231xx_config_tuner()
/Linux-v4.19/drivers/media/pci/saa7134/
Dsaa7134-cards.c7629 struct tuner_setup tun_setup; in saa7134_tuner_setup() local
7632 memset(&tun_setup, 0, sizeof(tun_setup)); in saa7134_tuner_setup()
7633 tun_setup.tuner_callback = saa7134_tuner_callback; in saa7134_tuner_setup()
7636 tun_setup.type = saa7134_boards[dev->board].radio_type; in saa7134_tuner_setup()
7637 tun_setup.addr = saa7134_boards[dev->board].radio_addr; in saa7134_tuner_setup()
7639 tun_setup.mode_mask = T_RADIO; in saa7134_tuner_setup()
7641 saa_call_all(dev, tuner, s_type_addr, &tun_setup); in saa7134_tuner_setup()
7646 tun_setup.type = dev->tuner_type; in saa7134_tuner_setup()
7647 tun_setup.addr = dev->tuner_addr; in saa7134_tuner_setup()
7648 tun_setup.config = &saa7134_boards[dev->board].tda829x_conf; in saa7134_tuner_setup()
[all …]
/Linux-v4.19/drivers/media/pci/bt8xx/
Dbttv-cards.c3667 struct tuner_setup tun_setup; in bttv_init_tuner() local
3681 tun_setup.mode_mask = T_ANALOG_TV; in bttv_init_tuner()
3682 tun_setup.type = btv->tuner_type; in bttv_init_tuner()
3683 tun_setup.addr = addr; in bttv_init_tuner()
3686 tun_setup.mode_mask |= T_RADIO; in bttv_init_tuner()
3688 bttv_call_all(btv, tuner, s_type_addr, &tun_setup); in bttv_init_tuner()
/Linux-v4.19/drivers/net/
Dtun.c2246 static void tun_setup(struct net_device *dev) in tun_setup() function
2327 .setup = tun_setup,
2584 NET_NAME_UNKNOWN, tun_setup, queues, in tun_set_iff()