Searched refs:max_count (Results 76 - 100 of 112) sorted by relevance

12345

/linux-master/drivers/tty/serial/
H A Dma35d1_serial.c234 int max_count = 256; local
277 } while (!(fsr & MA35_FSR_RX_EMPTY) && (max_count-- > 0));
H A Dserial_txx9.c251 int max_count = 256; local
315 } while (!(disr & TXX9_SIDISR_UVALID) && (max_count-- > 0));
H A Dpxa.c94 int max_count = 256; local
161 } while ((*status & UART_LSR_DR) && (max_count-- > 0));
H A Dar933x_uart.c364 int max_count = 256; local
386 } while (max_count-- > 0);
H A Dsprd_serial.c597 unsigned int lsr, max_count = SPRD_TIMEOUT; local
606 max_count--) {
H A Dsunsu.c325 int max_count = 256; local
391 } while ((*status & UART_LSR_DR) && (max_count-- > 0));
H A Domap-serial.c528 int max_count = 256; local
564 } while (max_count--);
H A Dsamsung_tty.c762 unsigned int max_count = port->fifosize; local
767 while (max_count-- > 0) {
/linux-master/drivers/mmc/core/
H A Dsdio_uart.c357 int max_count = 256; local
402 } while ((*status & UART_LSR_DR) && (max_count-- > 0));
/linux-master/drivers/scsi/pm8001/
H A Dpm8001_ctl.c539 u32 max_count = (read_size * 1024) / (max_read_times * 4); local
542 if ((count % max_count) == 0) {
/linux-master/arch/sparc/kernel/
H A Dperf_event.c1345 static int collect_events(struct perf_event *group, int max_count, argument
1353 if (n >= max_count)
1362 if (n >= max_count)
/linux-master/arch/powerpc/perf/
H A Dcore-book3s.c1593 static int collect_events(struct perf_event *group, int max_count, argument
1601 if (n >= max_count)
1610 if (n >= max_count)
/linux-master/sound/oss/dmasound/
H A Ddmasound_q40.c417 write_sq.front = (write_sq.front+1) % write_sq.max_count;
H A Ddmasound_paula.c515 write_sq.front = (write_sq.front+1) % write_sq.max_count;
H A Ddmasound_atari.c1184 write_sq.front = (write_sq.front+1) % write_sq.max_count;
/linux-master/kernel/bpf/
H A Dhashtab.c1692 u32 batch, max_count, size, bucket_size, map_id; local
1712 max_count = attr->batch.count;
1713 if (!max_count)
1776 if (bucket_cnt > (max_count - total)) {
/linux-master/drivers/net/ethernet/cavium/liquidio/
H A Dlio_ethtool.c974 rx_pending = oct->droq[0]->max_count;
975 tx_pending = oct->instr_queue[0]->max_count;
1218 writel(oct->droq[i]->max_count,
1281 rx_count_old = oct->droq[0]->max_count;
1282 tx_count_old = oct->instr_queue[0]->max_count;
/linux-master/drivers/net/ethernet/sfc/
H A Def10.c264 unsigned int max_count; local
274 max_count = MCDI_DWORD(data,
276 efx->timer_max_ns = max_count * efx->timer_quantum_ns;
280 max_count = MCDI_DWORD(data,
282 efx->timer_max_ns = max_count * efx->timer_quantum_ns;
/linux-master/drivers/hid/
H A Dhid-logitech-hidpp.c414 int ret, max_count; local
423 max_count = HIDPP_REPORT_SHORT_LENGTH - 4;
426 max_count = HIDPP_REPORT_LONG_LENGTH - 4;
429 max_count = hidpp_dev->very_long_report_length - 4;
435 if (param_count > max_count)
/linux-master/drivers/net/wireless/ath/wil6210/
H A Ddebugfs.c617 enum { max_count = 4096 }; enumerator in enum:__anon2008
634 if (count > max_count)
635 count = max_count;
/linux-master/drivers/comedi/drivers/
H A Dni_mio_common.c1981 unsigned int max_count)
1984 unsigned int nbytes = max_count;
1986 if (cmd->stop_arg > 0 && cmd->stop_arg < max_count)
2117 unsigned int max_count = 0x01000000; local
2120 max_count -= num_adc_stages_611x;
2121 err |= comedi_check_trigger_arg_max(&cmd->stop_arg, max_count);
1978 ni_cmd_set_mite_transfer(struct mite_ring *ring, struct comedi_subdevice *sdev, const struct comedi_cmd *cmd, unsigned int max_count) argument
/linux-master/net/ceph/
H A Dmessenger.c1316 int max_count, int *count, char delim)
1322 for (i = 0; i < max_count; i++) {
1314 ceph_parse_ips(const char *c, const char *end, struct ceph_entity_addr *addr, int max_count, int *count, char delim) argument
/linux-master/fs/nfs/
H A Dinternal.h936 max_count, /* max expected count */ member in struct:nfs_direct_req
/linux-master/drivers/md/
H A Ddm-bufio.c2718 int list_mode, unsigned long max_count)
2724 for (count = 0; count < max_count; count++) {
2716 __evict_many(struct dm_bufio_client *c, struct evict_params *params, int list_mode, unsigned long max_count) argument
/linux-master/drivers/tty/serial/8250/
H A D8250_port.c1764 int max_count = 256; local
1768 if (--max_count == 0)

Completed in 454 milliseconds

12345