/openbmc/linux/drivers/tty/serial/ |
H A D | ma35d1_serial.c | 234 int max_count = 256; in receive_chars() local 277 } while (!(fsr & MA35_FSR_RX_EMPTY) && (max_count-- > 0)); in receive_chars()
|
H A D | pxa.c | 94 int max_count = 256; in receive_chars() local 161 } while ((*status & UART_LSR_DR) && (max_count-- > 0)); in receive_chars()
|
H A D | serial_txx9.c | 250 int max_count = 256; in receive_chars() local 314 } while (!(disr & TXX9_SIDISR_UVALID) && (max_count-- > 0)); in receive_chars()
|
H A D | sprd_serial.c | 597 unsigned int lsr, max_count = SPRD_TIMEOUT; in sprd_rx() local 606 max_count--) { in sprd_rx()
|
H A D | sunsu.c | 325 int max_count = 256; in receive_chars() local 391 } while ((*status & UART_LSR_DR) && (max_count-- > 0)); in receive_chars()
|
H A D | omap-serial.c | 528 int max_count = 256; in serial_omap_irq() local 564 } while (max_count--); in serial_omap_irq()
|
/openbmc/linux/drivers/scsi/pm8001/ |
H A D | pm8001_ctl.c | 539 u32 max_count = (read_size * 1024) / (max_read_times * 4); in pm8001_ctl_iop_log_show() local 542 if ((count % max_count) == 0) { in pm8001_ctl_iop_log_show()
|
/openbmc/linux/drivers/bus/fsl-mc/ |
H A D | fsl-mc-private.h | 571 int max_count; member
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | perf_event.c | 1345 static int collect_events(struct perf_event *group, int max_count, in collect_events() argument 1353 if (n >= max_count) in collect_events() 1362 if (n >= max_count) in collect_events()
|
/openbmc/linux/drivers/net/ethernet/cavium/liquidio/ |
H A D | cn23xx_pf_device.c | 597 octeon_write_csr(oct, CN23XX_SLI_IQ_SIZE(iq_no), iq->max_count); in cn23xx_setup_iq_regs() 640 octeon_write_csr(oct, CN23XX_SLI_OQ_SIZE(oq_no), droq->max_count); in cn23xx_setup_oq_regs() 1096 iq->max_count; in cn23xx_update_read_index()
|
H A D | octeon_device.c | 1286 return oct->instr_queue[q_no]->max_count; in octeon_get_tx_qsize() 1296 return oct->droq[q_no]->max_count; in octeon_get_rx_qsize()
|
H A D | lio_ethtool.c | 972 rx_pending = oct->droq[0]->max_count; in lio_ethtool_get_ringparam() 973 tx_pending = oct->instr_queue[0]->max_count; in lio_ethtool_get_ringparam() 1216 writel(oct->droq[i]->max_count, in lio_reset_queues() 1279 rx_count_old = oct->droq[0]->max_count; in lio_ethtool_set_ringparam() 1280 tx_count_old = oct->instr_queue[0]->max_count; in lio_ethtool_set_ringparam()
|
/openbmc/linux/drivers/mmc/core/ |
H A D | sdio_uart.c | 361 int max_count = 256; in sdio_uart_receive_chars() local 406 } while ((*status & UART_LSR_DR) && (max_count-- > 0)); in sdio_uart_receive_chars()
|
/openbmc/linux/include/linux/ceph/ |
H A D | messenger.h | 576 int max_count, int *count, char delim);
|
/openbmc/linux/kernel/bpf/ |
H A D | hashtab.c | 1691 u32 batch, max_count, size, bucket_size, map_id; in __htab_map_lookup_and_delete_batch() local 1711 max_count = attr->batch.count; in __htab_map_lookup_and_delete_batch() 1712 if (!max_count) in __htab_map_lookup_and_delete_batch() 1775 if (bucket_cnt > (max_count - total)) { in __htab_map_lookup_and_delete_batch()
|
/openbmc/linux/arch/powerpc/perf/ |
H A D | core-book3s.c | 1593 static int collect_events(struct perf_event *group, int max_count, in collect_events() argument 1601 if (n >= max_count) in collect_events() 1610 if (n >= max_count) in collect_events()
|
/openbmc/linux/sound/oss/dmasound/ |
H A D | dmasound_q40.c | 417 write_sq.front = (write_sq.front+1) % write_sq.max_count; in Q40PlayNextFrame()
|
H A D | dmasound_paula.c | 515 write_sq.front = (write_sq.front+1) % write_sq.max_count; in AmiPlayNextFrame()
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | ef10.c | 264 unsigned int max_count; in efx_ef10_process_timer_config() local 274 max_count = MCDI_DWORD(data, in efx_ef10_process_timer_config() 276 efx->timer_max_ns = max_count * efx->timer_quantum_ns; in efx_ef10_process_timer_config() 280 max_count = MCDI_DWORD(data, in efx_ef10_process_timer_config() 282 efx->timer_max_ns = max_count * efx->timer_quantum_ns; in efx_ef10_process_timer_config()
|
/openbmc/linux/drivers/gpu/drm/tests/ |
H A D | drm_mm_test.c | 1056 const unsigned int max_count = min(8192u, max_prime); in drm_test_mm_align() local 1066 nodes = vzalloc(array_size(max_count, sizeof(*nodes))); in drm_test_mm_align() 1074 for_each_prime_number_from(prime, 1, max_count) { in drm_test_mm_align()
|
/openbmc/linux/drivers/hid/ |
H A D | hid-logitech-hidpp.c | 416 int ret, max_count; in hidpp_send_rap_command_sync() local 425 max_count = HIDPP_REPORT_SHORT_LENGTH - 4; in hidpp_send_rap_command_sync() 428 max_count = HIDPP_REPORT_LONG_LENGTH - 4; in hidpp_send_rap_command_sync() 431 max_count = hidpp_dev->very_long_report_length - 4; in hidpp_send_rap_command_sync() 437 if (param_count > max_count) in hidpp_send_rap_command_sync()
|
/openbmc/linux/drivers/comedi/drivers/ |
H A D | ni_mio_common.c | 1957 unsigned int max_count) in ni_cmd_set_mite_transfer() argument 1960 unsigned int nbytes = max_count; in ni_cmd_set_mite_transfer() 1962 if (cmd->stop_arg > 0 && cmd->stop_arg < max_count) in ni_cmd_set_mite_transfer() 2093 unsigned int max_count = 0x01000000; in ni_ai_cmdtest() local 2096 max_count -= num_adc_stages_611x; in ni_ai_cmdtest() 2097 err |= comedi_check_trigger_arg_max(&cmd->stop_arg, max_count); in ni_ai_cmdtest()
|
/openbmc/linux/drivers/net/wireless/ath/wil6210/ |
H A D | debugfs.c | 617 enum { max_count = 4096 }; in wil_read_file_ioblob() enumerator 634 if (count > max_count) in wil_read_file_ioblob() 635 count = max_count; in wil_read_file_ioblob()
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_ras.c | 2260 uint32_t max_count) in amdgpu_ras_validate_threshold() argument 2289 max_count); in amdgpu_ras_validate_threshold() 2291 con->bad_page_cnt_threshold = min_t(int, max_count, in amdgpu_ras_validate_threshold()
|
/openbmc/linux/fs/nfs/ |
H A D | internal.h | 936 max_count, /* max expected count */ member
|