Searched refs:unit_number (Results 1 – 4 of 4) sorted by relevance
1340 return hdw->unit_number; in pvr2_hdw_get_unit_number()1761 int unit_number = hdw->unit_number; in get_default_tuner_type() local1763 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() local1777 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() local1789 if ((unit_number >= 0) && (unit_number < PVR_NUM)) { in get_default_error_tolerance()1790 tp = tolerance[unit_number]; in get_default_error_tolerance()[all …]
1189 int unit_number; in pvr2_v4l2_dev_init() local1243 unit_number = pvr2_hdw_get_unit_number(hdw); in pvr2_v4l2_dev_init()1244 if (nr_ptr && (unit_number >= 0) && (unit_number < PVR_NUM)) { in pvr2_v4l2_dev_init()1245 mindevnum = nr_ptr[unit_number]; in pvr2_v4l2_dev_init()
602 if (ir_mode[hdw->unit_number] == 0) { in pvr2_i2c_core_init()605 } else if (ir_mode[hdw->unit_number] == 1) { in pvr2_i2c_core_init()
316 int unit_number; /* ID for driver instance */ member