Lines Matching refs:temp_int
157 static struct fpga_internal *check_filter(struct fpga_internal *temp_int, in check_filter() argument
160 if (temp_int == NULL) in check_filter()
163 if ((temp_int->pid_filt[filt_nr]) == NULL) in check_filter()
166 if (temp_int->pid_filt[filt_nr]->demux == demux_dev) in check_filter()
167 return temp_int; in check_filter()
176 struct fpga_internal *temp_int; in find_dinode() local
184 temp_int = temp_chip->internal; in find_dinode()
185 if (check_filter(temp_int, demux_dev, 0)) in find_dinode()
187 if (check_filter(temp_int, demux_dev, 1)) in find_dinode()
426 struct fpga_inode *temp_int = NULL; in altera_ci_irq() local
432 temp_int = find_inode(dev); in altera_ci_irq()
433 if (temp_int != NULL) { in altera_ci_irq()
434 inter = temp_int->internal; in altera_ci_irq()
456 struct fpga_inode *temp_int = find_inode(main_dev); in altera_hw_filt_release() local
461 if (temp_int != NULL) { in altera_hw_filt_release()
462 pid_filt = temp_int->internal->pid_filt[filt_nr - 1]; in altera_hw_filt_release()
467 if (((--(temp_int->internal->filts_used)) <= 0) && in altera_hw_filt_release()
468 ((temp_int->internal->cis_used) <= 0)) { in altera_hw_filt_release()
472 remove_inode(temp_int->internal); in altera_hw_filt_release()
484 struct fpga_inode *temp_int = find_inode(dev); in altera_ci_release() local
489 if (temp_int != NULL) { in altera_ci_release()
490 state = temp_int->internal->state[ci_nr - 1]; in altera_ci_release()
494 if (((temp_int->internal->filts_used) <= 0) && in altera_ci_release()
495 ((--(temp_int->internal->cis_used)) <= 0)) { in altera_ci_release()
499 remove_inode(temp_int->internal); in altera_ci_release()
578 struct fpga_inode *temp_int = find_dinode(demux_dev); in altera_pid_feed_control() local
579 struct fpga_internal *inter = temp_int->internal; in altera_pid_feed_control()
633 struct fpga_inode *temp_int = find_inode(config->dev); in altera_hw_filt_init() local
646 if (temp_int != NULL) { in altera_hw_filt_init()
647 inter = temp_int->internal; in altera_hw_filt_init()
657 temp_int = append_internal(inter); in altera_hw_filt_init()
658 if (!temp_int) { 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()
731 if (!temp_int) { 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()