Home
last modified time | relevance | path

Searched refs:std_cnt (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/media/usb/pvrusb2/
H A Dpvrusb2-std.c308 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()
[all …]