Home
last modified time | relevance | path

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

/drivers/mtd/
Dmtdoops.c254 u32 count[2], maxcount = 0xffffffff; in find_next_position() local
276 if (maxcount == 0xffffffff) { in find_next_position()
277 maxcount = count[0]; in find_next_position()
279 } else if (count[0] < 0x40000000 && maxcount > 0xc0000000) { in find_next_position()
280 maxcount = count[0]; in find_next_position()
282 } else if (count[0] > maxcount && count[0] < 0xc0000000) { in find_next_position()
283 maxcount = count[0]; in find_next_position()
285 } else if (count[0] > maxcount && count[0] > 0xc0000000 in find_next_position()
286 && maxcount > 0x80000000) { in find_next_position()
287 maxcount = count[0]; in find_next_position()
[all …]
/drivers/media/pci/tw68/
Dtw68-video.c368 unsigned int maxcount; in tw68_buffer_count() local
370 maxcount = (4 * 1024 * 1024) / roundup(size, PAGE_SIZE); in tw68_buffer_count()
371 if (count > maxcount) in tw68_buffer_count()
372 count = maxcount; in tw68_buffer_count()
/drivers/media/pci/saa7134/
Dsaa7134-core.c209 unsigned int maxcount; in saa7134_buffer_count() local
211 maxcount = 1024 / saa7134_buffer_pages(size); in saa7134_buffer_count()
212 if (count > maxcount) in saa7134_buffer_count()
213 count = maxcount; in saa7134_buffer_count()
/drivers/net/ethernet/sis/
Dsis900.c1239 int i, maxcount=10; in sis630_set_eq() local
1249 for (i=0; i < maxcount; i++) { in sis630_set_eq()