Lines Matching refs:unit_number
1340 return hdw->unit_number; in pvr2_hdw_get_unit_number()
1761 int unit_number = hdw->unit_number; in get_default_tuner_type() local
1763 if ((unit_number >= 0) && (unit_number < PVR_NUM)) { in get_default_tuner_type()
1764 tp = tuner[unit_number]; in get_default_tuner_type()
1775 int unit_number = hdw->unit_number; in get_default_standard() local
1777 if ((unit_number >= 0) && (unit_number < PVR_NUM)) { in get_default_standard()
1778 tp = video_std[unit_number]; in get_default_standard()
1787 int unit_number = hdw->unit_number; in get_default_error_tolerance() local
1789 if ((unit_number >= 0) && (unit_number < PVR_NUM)) { in get_default_error_tolerance()
1790 tp = tolerance[unit_number]; in get_default_error_tolerance()
2201 } else if (hdw->unit_number >= 0) { in pvr2_hdw_setup_low()
2204 hdw->unit_number + 'a'); in pvr2_hdw_setup_low()
2543 hdw->unit_number = -1; in pvr2_hdw_create()
2565 hdw->unit_number = idx; in pvr2_hdw_create()
2574 if (hdw->unit_number == -1) in pvr2_hdw_create()
2580 if (hdw->unit_number >= 0) { in pvr2_hdw_create()
2582 ('a' + hdw->unit_number)); in pvr2_hdw_create()
2589 hdw->unit_number,hdw->name); in pvr2_hdw_create()
2687 if ((hdw->unit_number >= 0) && in pvr2_hdw_destroy()
2688 (hdw->unit_number < PVR_NUM) && in pvr2_hdw_destroy()
2689 (unit_pointers[hdw->unit_number] == hdw)) { in pvr2_hdw_destroy()
2690 unit_pointers[hdw->unit_number] = NULL; in pvr2_hdw_destroy()