Lines Matching refs:temp_int

167 static struct fpga_internal *check_filter(struct fpga_internal *temp_int,  in check_filter()  argument
170 if (temp_int == NULL) in check_filter()
173 if ((temp_int->pid_filt[filt_nr]) == NULL) in check_filter()
176 if (temp_int->pid_filt[filt_nr]->demux == demux_dev) in check_filter()
177 return temp_int; in check_filter()
186 struct fpga_internal *temp_int; in find_dinode() local
194 temp_int = temp_chip->internal; in find_dinode()
195 if (check_filter(temp_int, demux_dev, 0)) in find_dinode()
197 if (check_filter(temp_int, demux_dev, 1)) in find_dinode()
436 struct fpga_inode *temp_int = NULL; in altera_ci_irq() local
442 temp_int = find_inode(dev); in altera_ci_irq()
443 if (temp_int != NULL) { in altera_ci_irq()
444 inter = temp_int->internal; in altera_ci_irq()
466 struct fpga_inode *temp_int = find_inode(main_dev); in altera_hw_filt_release() local
471 if (temp_int != NULL) { in altera_hw_filt_release()
472 pid_filt = temp_int->internal->pid_filt[filt_nr - 1]; in altera_hw_filt_release()
477 if (((--(temp_int->internal->filts_used)) <= 0) && in altera_hw_filt_release()
478 ((temp_int->internal->cis_used) <= 0)) { in altera_hw_filt_release()
482 remove_inode(temp_int->internal); in altera_hw_filt_release()
494 struct fpga_inode *temp_int = find_inode(dev); in altera_ci_release() local
499 if (temp_int != NULL) { in altera_ci_release()
500 state = temp_int->internal->state[ci_nr - 1]; in altera_ci_release()
504 if (((temp_int->internal->filts_used) <= 0) && in altera_ci_release()
505 ((--(temp_int->internal->cis_used)) <= 0)) { in altera_ci_release()
509 remove_inode(temp_int->internal); in altera_ci_release()
588 struct fpga_inode *temp_int = find_dinode(demux_dev); in altera_pid_feed_control() local
589 struct fpga_internal *inter = temp_int->internal; in altera_pid_feed_control()
643 struct fpga_inode *temp_int = find_inode(config->dev); in altera_hw_filt_init() local
656 if (temp_int != NULL) { in altera_hw_filt_init()
657 inter = temp_int->internal; in altera_hw_filt_init()
667 temp_int = append_internal(inter); in altera_hw_filt_init()
709 struct fpga_inode *temp_int = find_inode(config->dev); in altera_ci_init() local
723 if (temp_int != NULL) { in altera_ci_init()
724 inter = temp_int->internal; in altera_ci_init()
735 temp_int = append_internal(inter); in altera_ci_init()
811 struct fpga_inode *temp_int = find_inode(dev); in altera_ci_tuner_reset() local
817 if (temp_int == NULL) in altera_ci_tuner_reset()
820 if (temp_int->internal == NULL) in altera_ci_tuner_reset()
823 inter = temp_int->internal; in altera_ci_tuner_reset()