Home
last modified time | relevance | path

Searched refs:max_count (Results 1 – 25 of 125) sorted by relevance

12345

/OK3568_Linux_fs/external/mpp/mpp/codec/rc/
H A Drc_impl.cpp149 MPP_RET RcImplApiService::api_get_all(RcApiBrief *brief, RK_S32 *count, RK_S32 max_count) in api_get_all() argument
157 if (cnt >= max_count) in api_get_all()
169 RK_S32 max_count, MppCodingType type) in api_get_by_type() argument
177 if (cnt >= max_count) in api_get_by_type()
205 RK_S32 max_count = query->max_count; in rc_brief_get_all() local
207 if (NULL == brief || max_count <= 0) { in rc_brief_get_all()
208 mpp_err_f("invalide brief buffer %p max count %d\n", brief, max_count); in rc_brief_get_all()
212 return RcImplApiService::get_instance()->api_get_all(brief, count, max_count); in rc_brief_get_all()
224 RK_S32 max_count = query->max_count; in rc_brief_get_by_type() local
227 if (NULL == brief || max_count <= 0) { in rc_brief_get_by_type()
[all …]
H A Drc_impl.h54 MPP_RET api_get_all(RcApiBrief *brief, RK_S32 *count, RK_S32 max_count);
56 RK_S32 max_count, MppCodingType type);
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/sections/
H A Dsectionalize.hpp399 std::size_t max_count) in apply()
408 ring_id, max_count); in apply()
423 std::size_t max_count) in apply()
505 || section.count > max_count) in apply()
599 std::size_t max_count) in apply()
626 robust_policy, strategy, ring_id, max_count); in apply()
649 std::size_t max_count) in apply()
659 … per_range::apply(exterior_ring(poly), robust_policy, sections, strategy, ring_id, max_count); in apply()
667 per_range::apply(*it, robust_policy, sections, strategy, ring_id, max_count); in apply()
686 ring_identifier const& ring_id, std::size_t max_count) in apply()
[all …]
/OK3568_Linux_fs/kernel/drivers/bus/fsl-mc/
H A Dfsl-mc-allocator.c57 if (res_pool->max_count < 0) in fsl_mc_resource_pool_add_device()
60 res_pool->free_count > res_pool->max_count) in fsl_mc_resource_pool_add_device()
80 res_pool->max_count++; in fsl_mc_resource_pool_add_device()
121 if (res_pool->max_count <= 0) in fsl_mc_resource_pool_remove_device()
124 res_pool->free_count > res_pool->max_count) in fsl_mc_resource_pool_remove_device()
141 res_pool->max_count--; in fsl_mc_resource_pool_remove_device()
212 res_pool->free_count > res_pool->max_count) in fsl_mc_resource_allocate()
237 res_pool->free_count >= res_pool->max_count) in fsl_mc_resource_free()
401 res_pool->max_count = irq_count; in fsl_mc_populate_irq_pool()
425 if (res_pool->max_count == 0) in fsl_mc_cleanup_irq_pool()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/cavium/liquidio/
H A Docteon_droq.c127 droq->max_empty_descs = droq->max_count - droq->max_empty_descs; in octeon_droq_compute_max_packet_bufs()
146 for (i = 0; i < droq->max_count; i++) { in octeon_droq_destroy_ring_buffers()
174 for (i = 0; i < droq->max_count; i++) { in octeon_droq_setup_ring_buffers()
208 lio_dma_free(oct, (droq->max_count * OCT_DROQ_DESC_SIZE), in octeon_delete_droq()
265 droq->max_count = c_num_descs; in octeon_init_droq()
268 desc_ring_size = droq->max_count * OCT_DROQ_DESC_SIZE; in octeon_init_droq()
281 droq->max_count); in octeon_init_droq()
283 droq->recv_buf_list = vzalloc_node(array_size(droq->max_count, OCT_DROQ_RECVBUF_SIZE), in octeon_init_droq()
286 droq->recv_buf_list = vzalloc(array_size(droq->max_count, OCT_DROQ_RECVBUF_SIZE)); in octeon_init_droq()
376 idx = incr_index(idx, 1, droq->max_count); in octeon_create_recv_info()
[all …]
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/common/
H A Dshared_item_pool.cpp22 SharedItemPool<T>::SharedItemPool(const char* name, uint32_t max_count) in SharedItemPool() argument
25 , _max_count(max_count) in SharedItemPool()
37 int8_t SharedItemPool<T>::init(uint32_t max_count) in init() argument
41 if (!reserve (max_count)) in init()
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/xcore/
H A Dbuffer_pool.cpp100 BufferPool::reserve (uint32_t max_count) in reserve() argument
104 XCAM_ASSERT (max_count); in reserve()
108 for (i = _allocated_num; i < max_count; ++i) { in reserve()
121 if (i != max_count) { in reserve()
122 … XCAM_LOG_WARNING ("BufferPool expect to reserve %d data but only reserved %d", max_count, i); in reserve()
/OK3568_Linux_fs/kernel/lib/
H A Dtest_strscpy.c34 int max_count; in tc() local
49 max_count = sizeof(buf) - 2; /* Space for null and to verify overflow */ in tc()
51 if (count > max_count) { in tc()
52 pr_err("count (%d) is too big (%d) ... aborting", count, max_count); in tc()
/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Dstats.c28 off_t num_samples, tc_samples, min_count, max_count; member
88 p->max = d, p->max_count = 1, p->max_run = 1, p->max_runs = 0; in flow()
90 ++p->max_count; in flow()
163 …double min_runs = 0, max_count = 0, min = 2, max = -2, max_sigma_x = 0, sigma_x = 0, sigma_x2 = 0,… in stop() local
184 max_count += q->max_count; in stop()
262 …rintf(stderr, "\nFlat factor%9.2f", linear_to_dB((min_runs + max_runs) / (min_count + max_count))); in stop()
265 …rintf(stderr, " %9.2f", linear_to_dB((q->min_runs + q->max_runs) / (q->min_count + q->max_count))); in stop()
268 fprintf(stderr, "\nPk count %9s", lsx_sigfigs3((min_count + max_count) / effp->flows)); in stop()
271 fprintf(stderr, " %9s", lsx_sigfigs3((double)(q->min_count + q->max_count))); in stop()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/include/c++/10.3.1/ext/pb_ds/
H A Dlist_update_policy.hpp102 max_count = Max_Count enumerator
119 { return base_type::operator()(max_count); } in operator ()()
125 { return base_type::operator()(r_data, max_count); } in operator ()()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/include/c++/10.3.1/ext/pb_ds/
H A Dlist_update_policy.hpp102 max_count = Max_Count enumerator
119 { return base_type::operator()(max_count); } in operator ()()
125 { return base_type::operator()(r_data, max_count); } in operator ()()
/OK3568_Linux_fs/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8723com/
H A Dfw_common.c118 int max_count) in rtl8723_fw_free_to_go() argument
127 } while ((counter++ < max_count) && in rtl8723_fw_free_to_go()
130 if (counter >= max_count) { in rtl8723_fw_free_to_go()
155 } while (counter++ < max_count); in rtl8723_fw_free_to_go()
166 bool is_8723be, int max_count) in rtl8723_download_fw() argument
211 err = rtl8723_fw_free_to_go(hw, is_8723be, max_count); in rtl8723_download_fw()
/OK3568_Linux_fs/external/mpp/osal/
H A Dmpp_time.cpp452 RK_S32 max_count; member
482 impl->max_count = 8; in mpp_stopwatch_get()
515 if (impl->filled_count >= impl->max_count) { in mpp_stopwatch_record()
516 RK_S32 max_count = impl->max_count * 2; in mpp_stopwatch_record() local
518 max_count); in mpp_stopwatch_record()
521 impl->max_count = max_count; in mpp_stopwatch_record()
525 if (impl->filled_count < impl->max_count) { in mpp_stopwatch_record()
/OK3568_Linux_fs/kernel/drivers/media/usb/pvrusb2/
H A Dpvrusb2-io.c79 unsigned int max_count; /* Size of storage area */ member
125 ccnt = bp->max_count; in pvr2_buffer_remove()
130 ccnt = bp->max_count; in pvr2_buffer_remove()
208 sp->i_bcount += bp->max_count; in pvr2_buffer_set_idle()
232 sp->q_bcount += bp->max_count; in pvr2_buffer_set_queued()
609 for (idx = 0; idx < (bp->max_count) / 4; idx++) { in pvr2_buffer_queue()
621 bp->max_count, // int buffer_length in pvr2_buffer_queue()
644 bp->stream->i_bcount -= bp->max_count; in pvr2_buffer_set_buffer()
645 bp->max_count = cnt; in pvr2_buffer_set_buffer()
646 bp->stream->i_bcount += bp->max_count; in pvr2_buffer_set_buffer()
/OK3568_Linux_fs/kernel/scripts/dtc/libfdt/
H A Dlibfdt_env.h85 static inline size_t fdt_strnlen(const char *string, size_t max_count) in fdt_strnlen() argument
87 const char *p = memchr(string, 0, max_count); in fdt_strnlen()
88 return p ? p - string : max_count; in fdt_strnlen()
/OK3568_Linux_fs/kernel/lib/zlib_deflate/
H A Ddeftree.c583 int max_count = 7; /* max repeat count */ in scan_tree() local
586 if (nextlen == 0) max_count = 138, min_count = 3; in scan_tree()
591 if (++count < max_count && curlen == nextlen) { in scan_tree()
605 max_count = 138, min_count = 3; in scan_tree()
607 max_count = 6, min_count = 3; in scan_tree()
609 max_count = 7, min_count = 4; in scan_tree()
629 int max_count = 7; /* max repeat count */ in send_tree() local
633 if (nextlen == 0) max_count = 138, min_count = 3; in send_tree()
637 if (++count < max_count && curlen == nextlen) { in send_tree()
657 max_count = 138, min_count = 3; in send_tree()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/index/detail/rtree/visitors/
H A Ddistance_query.hpp354 BOOST_GEOMETRY_INDEX_ASSERT(0 < max_count(), "k must be greather than 0"); in distance_query_incremental()
409 … BOOST_GEOMETRY_INDEX_ASSERT(neighbors.size() <= max_count(), "unexpected neighbours count"); in increment()
410 if ( max_count() <= neighbors.size() && in increment()
471 if ( max_count() <= neighbors.size() && in operator ()()
498 bool not_enough_neighbors = neighbors.size() < max_count(); in operator ()()
524 if ( max_count() < neighbors.size() ) in operator ()()
525 neighbors.resize(max_count()); in operator ()()
564 inline unsigned max_count() const in max_count() function in boost::geometry::index::detail::rtree::visitors::distance_query_incremental
/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/
H A Ddfs_pri_detector.c220 if (pde->count >= pde->max_count) in pulse_queue_enqueue()
307 u32 max_count = 0; in pseq_handler_add_to_existing_seqs() local
327 if (max_count < ps->count) in pseq_handler_add_to_existing_seqs()
328 max_count = ps->count; in pseq_handler_add_to_existing_seqs()
333 return max_count; in pseq_handler_add_to_existing_seqs()
432 de->max_count = rs->ppb * 2; in pri_detector_init()
/OK3568_Linux_fs/kernel/fs/nfs/
H A Ddirect.c82 max_count, /* max expected count */ member
123 if (dreq->max_count >= dreq_len) { in nfs_direct_handle_truncated()
124 dreq->max_count = dreq_len; in nfs_direct_handle_truncated()
147 if (dreq_len > dreq->max_count) in nfs_direct_count_bytes()
148 dreq_len = dreq->max_count; in nfs_direct_count_bytes()
470 dreq->bytes_left = dreq->max_count = count; in nfs_file_direct_read()
555 dreq->max_count = 0; in nfs_direct_write_reschedule()
557 dreq->max_count += req->wb_bytes; in nfs_direct_write_reschedule()
603 dreq->max_count = 0; in nfs_direct_commit_complete()
935 dreq->bytes_left = dreq->max_count = count; in nfs_file_direct_write()
/OK3568_Linux_fs/u-boot/lib/zlib/
H A Dtrees.c721 int max_count = 7; /* max repeat count */ local
724 if (nextlen == 0) max_count = 138, min_count = 3;
729 if (++count < max_count && curlen == nextlen) {
743 max_count = 138, min_count = 3;
745 max_count = 6, min_count = 3;
747 max_count = 7, min_count = 4;
766 int max_count = 7; /* max repeat count */ local
770 if (nextlen == 0) max_count = 138, min_count = 3;
774 if (++count < max_count && curlen == nextlen) {
794 max_count = 138, min_count = 3;
[all …]
/OK3568_Linux_fs/external/mpp/mpp/base/
H A Dmpp_buffer_impl.cpp132 static MppBufLogs *buf_logs_init(RK_U32 max_count) in buf_logs_init() argument
137 if (!max_count) in buf_logs_init()
140 logs = mpp_malloc_size(MppBufLogs, sizeof(MppBufLogs) + max_count * sizeof(MppBufLog)); in buf_logs_init()
142 mpp_err_f("failed to create %d buf logs\n", max_count); in buf_logs_init()
151 logs->max_count = max_count; in buf_logs_init()
181 if (logs->log_write >= logs->max_count) in buf_logs_write()
184 if (logs->log_count < logs->max_count) in buf_logs_write()
188 if (logs->log_read >= logs->max_count) in buf_logs_write()
208 if (logs->log_read >= logs->max_count) in buf_logs_dump()
H A Dmpp_buf_slot.cpp182 RK_U16 max_count; member
388 static MppBufSlotLogs *buf_slot_logs_init(RK_U32 max_count) in buf_slot_logs_init() argument
392 if (!max_count) in buf_slot_logs_init()
396 max_count * sizeof(MppBufSlotLog)); in buf_slot_logs_init()
398 mpp_err_f("failed to create %d buf slot logs\n", max_count); in buf_slot_logs_init()
402 logs->max_count = max_count; in buf_slot_logs_init()
426 if (logs->log_write >= logs->max_count) in buf_slot_logs_write()
429 if (logs->log_count < logs->max_count) in buf_slot_logs_write()
433 if (logs->log_read >= logs->max_count) in buf_slot_logs_write()
447 if (logs->log_read >= logs->max_count) in buf_slot_logs_dump()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qed/
H A Dqed_rdma.c38 struct qed_bmap *bmap, u32 max_count, char *name) in qed_rdma_bmap_alloc() argument
40 DP_VERBOSE(p_hwfn, QED_MSG_RDMA, "max_count = %08x\n", max_count); in qed_rdma_bmap_alloc()
42 bmap->max_count = max_count; in qed_rdma_bmap_alloc()
44 bmap->bitmap = kcalloc(BITS_TO_LONGS(max_count), sizeof(long), in qed_rdma_bmap_alloc()
58 *id_num = find_first_zero_bit(bmap->bitmap, bmap->max_count); in qed_rdma_bmap_alloc_id()
59 if (*id_num >= bmap->max_count) in qed_rdma_bmap_alloc_id()
73 if (id_num >= bmap->max_count) in qed_bmap_set_id()
84 if (id_num >= bmap->max_count) in qed_bmap_release_id()
101 if (id_num >= bmap->max_count) in qed_bmap_test_id()
109 return bmap->max_count == find_first_bit(bmap->bitmap, bmap->max_count); in qed_bmap_is_empty()
[all …]
/OK3568_Linux_fs/kernel/drivers/iio/imu/inv_icm42600/
H A Dinv_icm42600_buffer.c449 size_t max_count; in inv_icm42600_buffer_fifo_read() local
465 max_count = sizeof(st->fifo.data); in inv_icm42600_buffer_fifo_read()
467 max_count = max * inv_icm42600_get_packet_size(st->fifo.en); in inv_icm42600_buffer_fifo_read()
480 if (st->fifo.count > max_count) in inv_icm42600_buffer_fifo_read()
481 st->fifo.count = max_count; in inv_icm42600_buffer_fifo_read()
/OK3568_Linux_fs/kernel/drivers/tty/serial/
H A Dbcm63xx_uart.c230 unsigned int max_count; in bcm_uart_do_rx() local
235 max_count = 32; in bcm_uart_do_rx()
295 } while (--max_count); in bcm_uart_do_rx()
309 unsigned int val, max_count; in bcm_uart_do_tx() local
329 max_count = port->fifosize - val; in bcm_uart_do_tx()
331 while (max_count--) { in bcm_uart_do_tx()

12345