Lines Matching +full:100 +full:bt
44 struct bt878 *bt = from_work(bt, t, bh_work); in dvb_bt8xx_work() local
45 struct dvb_bt8xx_card *card = dev_get_drvdata(&bt->adapter->dev); in dvb_bt8xx_work()
47 dprintk("%d\n", card->bt->finished_block); in dvb_bt8xx_work()
49 while (card->bt->last_block != card->bt->finished_block) { in dvb_bt8xx_work()
50 (card->bt->TS_Size ? dvb_dmx_swfilter_204 : dvb_dmx_swfilter) in dvb_bt8xx_work()
52 &card->bt->buf_cpu[card->bt->last_block * in dvb_bt8xx_work()
53 card->bt->block_bytes], in dvb_bt8xx_work()
54 card->bt->block_bytes); in dvb_bt8xx_work()
55 card->bt->last_block = (card->bt->last_block + 1) % in dvb_bt8xx_work()
56 card->bt->block_count; in dvb_bt8xx_work()
75 bt878_start(card->bt, card->gpio_mode, in dvb_bt8xx_start_feed()
94 bt878_stop(card->bt); in dvb_bt8xx_stop_feed()
222 n=((i<=2?2:1)*freq*10L)/(XTAL/100); in cx24108_tuner_set_params()
309 struct dvb_bt8xx_card* bt = (struct dvb_bt8xx_card*) fe->dvb->priv; in microtune_mt7202dtf_request_firmware() local
311 return request_firmware(fw, name, &bt->bt->dev->dev); in microtune_mt7202dtf_request_firmware()
407 struct dvb_bt8xx_card* bt = (struct dvb_bt8xx_card*) fe->dvb->priv; in or51211_request_firmware() local
409 return request_firmware(fw, name, &bt->bt->dev->dev); in or51211_request_firmware()
414 struct dvb_bt8xx_card *bt = fe->dvb->priv; in or51211_setmode() local
415 bttv_write_gpio(bt->bttv_nr, 0x0002, mode); /* Reset */ in or51211_setmode()
421 struct dvb_bt8xx_card *bt = fe->dvb->priv; in or51211_reset() local
433 int ret = bttv_gpio_enable(bt->bttv_nr, 0x001F, 0x001F); in or51211_reset()
436 bttv_write_gpio(bt->bttv_nr, 0x001F, 0x0000); /* Reset */ in or51211_reset()
439 bttv_write_gpio(bt->bttv_nr, 0x0001F, 0x0001); in or51211_reset()
446 struct dvb_bt8xx_card *bt = fe->dvb->priv; in or51211_sleep() local
447 bttv_write_gpio(bt->bttv_nr, 0x0001, 0x0000); in or51211_sleep()
541 static void digitv_alps_tded4_reset(struct dvb_bt8xx_card *bt) in digitv_alps_tded4_reset() argument
550 int ret = bttv_gpio_enable(bt->bttv_nr, 0x08, 0x08); in digitv_alps_tded4_reset()
556 bttv_write_gpio(bt->bttv_nr, 0x08, 0x08); /* High */ in digitv_alps_tded4_reset()
557 bttv_write_gpio(bt->bttv_nr, 0x08, 0x00); /* Low */ in digitv_alps_tded4_reset()
558 msleep(100); in digitv_alps_tded4_reset()
560 bttv_write_gpio(bt->bttv_nr, 0x08, 0x08); /* High */ in digitv_alps_tded4_reset()
573 static void lgdt330x_reset(struct dvb_bt8xx_card *bt) in lgdt330x_reset() argument
578 bttv_write_gpio(bt->bttv_nr, 0x00e00007, 0x00000001); /* High */ in lgdt330x_reset()
579 bttv_write_gpio(bt->bttv_nr, 0x00e00007, 0x00000000); /* Low */ in lgdt330x_reset()
580 msleep(100); in lgdt330x_reset()
582 bttv_write_gpio(bt->bttv_nr, 0x00e00007, 0x00000001); /* High */ in lgdt330x_reset()
583 msleep(100); in lgdt330x_reset()
668 state->bt = card->bt; in frontend_init()
703 card->bt->dev->vendor, in frontend_init()
704 card->bt->dev->device, in frontend_init()
705 card->bt->dev->subsystem_vendor, in frontend_init()
706 card->bt->dev->subsystem_device); in frontend_init()
720 THIS_MODULE, &card->bt->dev->dev, in dvb_bt8xx_load_card()
728 card->bt->adapter = card->i2c_adapter; in dvb_bt8xx_load_card()
785 INIT_WORK(&card->bt->bh_work, dvb_bt8xx_work); in dvb_bt8xx_load_card()
898 if (!(card->bt = dvb_bt8xx_878_match(card->bttv_nr, bttv_pci_dev))) { in dvb_bt8xx_probe()
906 mutex_init(&card->bt->gpio_lock); in dvb_bt8xx_probe()
907 card->bt->bttv_nr = sub->core->nr; in dvb_bt8xx_probe()
924 bt878_stop(card->bt); in dvb_bt8xx_remove()
925 cancel_work_sync(&card->bt->bh_work); in dvb_bt8xx_remove()