/drivers/staging/comedi/drivers/ |
H A D | 8253.h | 137 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 D | ni_mio_common.c | 2317 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/media/video/pvrusb2/ |
H A D | pvrusb2-io.c | 93 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/char/ |
H A D | ramoops.c | 67 int max_count; member in struct:ramoops_context 113 cxt->count = (cxt->count + 1) % cxt->max_count; 144 cxt->max_count = pdata->mem_size / pdata->record_size;
|
/drivers/tty/serial/ |
H A D | bcm63xx_uart.c | 239 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 D | 21285.c | 88 unsigned int status, ch, flag, rxs, max_count = 256; local 91 while (!(status & 0x10) && max_count--) {
|
H A D | vr41xx_siu.c | 319 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 D | ar933x_uart.c | 231 int max_count = 256; local 259 } while (max_count-- > 0);
|
H A D | serial_ks8695.c | 157 unsigned int status, ch, lsr, flg, max_count = 256; local 160 while ((status & URLS_URDR) && max_count--) {
|
H A D | amba-pl010.c | 120 unsigned int status, ch, flag, rsr, max_count = 256; local 123 while (UART_RX_DATA(status) && max_count--) {
|
H A D | m32r_sio.c | 332 int max_count = 256; local 396 } while ((*status & UART_LSR_DR) && (max_count-- > 0));
|
H A D | pxa.c | 100 int max_count = 256; local 167 } while ((*status & UART_LSR_DR) && (max_count-- > 0));
|
H A D | mfd.c | 469 unsigned int max_count = 256; local 528 } while ((*status & UART_LSR_DR) && max_count--);
|
H A D | samsung.c | 226 int max_count = 64; local 228 while (max_count-- > 0) {
|
H A D | serial_txx9.c | 283 int max_count = 256; local 347 } while (!(disr & TXX9_SIDISR_UVALID) && (max_count-- > 0));
|
H A D | sunsu.c | 317 int max_count = 256; local 383 } while ((*status & UART_LSR_DR) && (max_count-- > 0));
|
H A D | amba-pl011.c | 183 unsigned int flag, max_count = 256; local 186 while (max_count--) {
|
H A D | omap-serial.c | 189 int max_count = 256; local 245 } while ((lsr & (UART_LSR_DR | UART_LSR_BI)) && (max_count-- > 0));
|
/drivers/s390/char/ |
H A D | tape_3590.h | 162 __u8 max_count; member in struct:tape3592_kekl_query_order
|
/drivers/scsi/lpfc/ |
H A D | lpfc_mem.c | 93 pool->max_count = 0; 100 pool->max_count++; 328 * it is below its max_count, frees the mbuf otherwise. 340 if (pool->current_count < pool->max_count) { 357 * it is below its max_count, frees the mbuf otherwise.
|
H A D | lpfc.h | 111 uint32_t max_count; member in struct:lpfc_dma_pool
|
/drivers/s390/crypto/ |
H A D | ap_bus.c | 1003 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/mmc/card/ |
H A D | sdio_uart.c | 397 int max_count = 256; local 444 } while ((*status & UART_LSR_DR) && (max_count-- > 0));
|
/drivers/staging/vt6655/ |
H A D | device_main.c | 2674 int max_count=0; 2917 max_count += device_rx_srv(pDevice, TYPE_RXDMA0); 2920 max_count += device_rx_srv(pDevice, TYPE_RXDMA1); 2923 max_count += device_tx_srv(pDevice, TYPE_TXDMA0); 2926 max_count += device_tx_srv(pDevice, TYPE_AC0DMA); 2947 if (max_count>pDevice->sOpts.int_works)
|
/drivers/s390/block/ |
H A D | dasd.c | 3120 int max_count, open_count; local 3137 max_count = device->block->bdev ? 0 : -1; 3139 if (open_count > max_count) {
|