Lines Matching refs:std_cnt
308 unsigned int std_cnt = 0; in pvr2_std_create_enum() local
322 std_cnt = 0; in pvr2_std_create_enum()
328 std_cnt++; in pvr2_std_create_enum()
335 if ((id & std_mixes[idx2]) == std_mixes[idx2]) std_cnt++; in pvr2_std_create_enum()
351 std_cnt); in pvr2_std_create_enum()
352 if (!std_cnt) return NULL; // paranoia in pvr2_std_create_enum()
354 stddefs = kcalloc(std_cnt, sizeof(struct v4l2_standard), in pvr2_std_create_enum()
359 for (idx = 0; idx < std_cnt; idx++) in pvr2_std_create_enum()
365 for (idx2 = 0; (idx2 < ARRAY_SIZE(std_mixes)) && (idx < std_cnt); in pvr2_std_create_enum()
371 for (idmsk = 1, cmsk = id; cmsk && (idx < std_cnt); idmsk <<= 1) { in pvr2_std_create_enum()
378 *countptr = std_cnt; in pvr2_std_create_enum()