Searched defs:max_count (Results 1 - 25 of 25) sorted by relevance

/drivers/char/
H A Dramoops.c66 int max_count; member in struct:ramoops_context
112 cxt->count = (cxt->count + 1) % cxt->max_count;
143 cxt->max_count = pdata->mem_size / pdata->record_size;
/drivers/staging/comedi/drivers/
H A D8253.h137 static const unsigned int max_count = 0x10000; local
141 div1 = *d1 ? *d1 : max_count;
142 div2 = *d2 ? *d2 : max_count;
145 div1 > 1 && div1 <= max_count && div2 > 1 && div2 <= max_count &&
161 div2 = max_count;
165 for (div1 = start; div1 <= divider / div1 + 1 && div1 <= max_count;
168 div1 * div2 <= divider + div1 + 1 && div2 <= max_count;
H A Dni_mio_common.c2317 unsigned int max_count = 0x01000000; local
2320 max_count -= num_adc_stages_611x;
2321 if (cmd->stop_arg > max_count) {
2322 cmd->stop_arg = max_count;
/drivers/tty/serial/
H A D21285.c89 unsigned int status, ch, flag, rxs, max_count = 256; local
92 while (!(status & 0x10) && max_count--) {
H A Damba-pl010.c120 unsigned int status, ch, flag, rsr, max_count = 256; local
123 while (UART_RX_DATA(status) && max_count--) {
H A Dar933x_uart.c231 int max_count = 256; local
259 } while (max_count-- > 0);
H A Dbcm63xx_uart.c239 unsigned int max_count; local
244 max_count = 32;
305 } while (--max_count);
317 unsigned int val, max_count; local
337 max_count = port->fifosize - val;
339 while (max_count--) {
H A Dpxa.c103 int max_count = 256; local
170 } while ((*status & UART_LSR_DR) && (max_count-- > 0));
H A Dserial_ks8695.c157 unsigned int status, ch, lsr, flg, max_count = 256; local
160 while ((status & URLS_URDR) && max_count--) {
H A Dvr41xx_siu.c319 int max_count = RX_MAX_COUNT; local
366 } while ((lsr & UART_LSR_DR) && (max_count-- > 0));
395 int max_count = TX_MAX_COUNT; local
417 } while (max_count-- > 0);
H A Dm32r_sio.c324 int max_count = 256; local
388 } while ((*status & UART_LSR_DR) && (max_count-- > 0));
H A Dmfd.c464 unsigned int max_count = 256; local
523 } while ((*status & UART_LSR_DR) && max_count--);
H A Domap-serial.c189 int max_count = 256; local
245 } while ((lsr & (UART_LSR_DR | UART_LSR_BI)) && (max_count-- > 0));
H A Dsamsung.c226 int max_count = 64; local
228 while (max_count-- > 0) {
H A Dsunsu.c317 int max_count = 256; local
383 } while ((*status & UART_LSR_DR) && (max_count-- > 0));
H A Damba-pl011.c184 unsigned int flag, max_count = 256; local
187 while (max_count--) {
H A Dserial_txx9.c283 int max_count = 256; local
347 } while (!(disr & TXX9_SIDISR_UVALID) && (max_count-- > 0));
/drivers/media/video/pvrusb2/
H A Dpvrusb2-io.c93 unsigned int max_count; /* Size of storage area */ member in struct:pvr2_buffer
140 ccnt = bp->max_count;
145 ccnt = bp->max_count;
225 sp->i_bcount += bp->max_count;
250 sp->q_bcount += bp->max_count;
623 for (idx = 0; idx < (bp->max_count) / 4; idx++) {
635 bp->max_count, // int buffer_length
656 bp->stream->i_bcount -= bp->max_count;
657 bp->max_count = cnt;
658 bp->stream->i_bcount += bp->max_count;
[all...]
/drivers/s390/char/
H A Dtape_3590.h162 __u8 max_count; member in struct:tape3592_kekl_query_order
/drivers/mmc/card/
H A Dsdio_uart.c397 int max_count = 256; local
444 } while ((*status & UART_LSR_DR) && (max_count-- > 0));
/drivers/s390/crypto/
H A Dap_bus.c1003 int queue_depth, device_type, count, max_count, best_domain; local
1015 max_count = 0;
1025 if (count > max_count) {
1026 max_count = count;
/drivers/staging/ozwpan/
H A Dozproto.c931 int oz_get_pd_list(struct oz_mac_addr *addr, int max_count) argument
938 if (count >= max_count)
/drivers/s390/block/
H A Ddasd.c3124 int max_count, open_count; local
3141 max_count = device->block->bdev ? 0 : -1;
3143 if (open_count > max_count) {
/drivers/tty/serial/8250/
H A D8250.c1366 int max_count = 256; local
1437 } while ((lsr & (UART_LSR_DR | UART_LSR_BI)) && (max_count-- > 0));
/drivers/scsi/lpfc/
H A Dlpfc.h111 uint32_t max_count; member in struct:lpfc_dma_pool

Completed in 334 milliseconds