Lines Matching refs:temp_int
162 static struct fpga_internal *check_filter(struct fpga_internal *temp_int, in check_filter() argument
165 if (temp_int == NULL) in check_filter()
168 if ((temp_int->pid_filt[filt_nr]) == NULL) in check_filter()
171 if (temp_int->pid_filt[filt_nr]->demux == demux_dev) in check_filter()
172 return temp_int; in check_filter()
181 struct fpga_internal *temp_int; in find_dinode() local
189 temp_int = temp_chip->internal; in find_dinode()
190 if (check_filter(temp_int, demux_dev, 0)) in find_dinode()
192 if (check_filter(temp_int, demux_dev, 1)) in find_dinode()
431 struct fpga_inode *temp_int = NULL; in altera_ci_irq() local
437 temp_int = find_inode(dev); in altera_ci_irq()
438 if (temp_int != NULL) { in altera_ci_irq()
439 inter = temp_int->internal; in altera_ci_irq()
461 struct fpga_inode *temp_int = find_inode(main_dev); in altera_hw_filt_release() local
466 if (temp_int != NULL) { in altera_hw_filt_release()
467 pid_filt = temp_int->internal->pid_filt[filt_nr - 1]; in altera_hw_filt_release()
472 if (((--(temp_int->internal->filts_used)) <= 0) && in altera_hw_filt_release()
473 ((temp_int->internal->cis_used) <= 0)) { in altera_hw_filt_release()
477 remove_inode(temp_int->internal); in altera_hw_filt_release()
489 struct fpga_inode *temp_int = find_inode(dev); in altera_ci_release() local
494 if (temp_int != NULL) { in altera_ci_release()
495 state = temp_int->internal->state[ci_nr - 1]; in altera_ci_release()
499 if (((temp_int->internal->filts_used) <= 0) && in altera_ci_release()
500 ((--(temp_int->internal->cis_used)) <= 0)) { in altera_ci_release()
504 remove_inode(temp_int->internal); in altera_ci_release()
583 struct fpga_inode *temp_int = find_dinode(demux_dev); in altera_pid_feed_control() local
584 struct fpga_internal *inter = temp_int->internal; in altera_pid_feed_control()
638 struct fpga_inode *temp_int = find_inode(config->dev); in altera_hw_filt_init() local
651 if (temp_int != NULL) { in altera_hw_filt_init()
652 inter = temp_int->internal; in altera_hw_filt_init()
662 temp_int = append_internal(inter); in altera_hw_filt_init()
704 struct fpga_inode *temp_int = find_inode(config->dev); in altera_ci_init() local
718 if (temp_int != NULL) { in altera_ci_init()
719 inter = temp_int->internal; in altera_ci_init()
730 temp_int = append_internal(inter); in altera_ci_init()
806 struct fpga_inode *temp_int = find_inode(dev); in altera_ci_tuner_reset() local
812 if (temp_int == NULL) in altera_ci_tuner_reset()
815 if (temp_int->internal == NULL) in altera_ci_tuner_reset()
818 inter = temp_int->internal; in altera_ci_tuner_reset()