Home
last modified time | relevance | path

Searched refs:limit (Results 1 – 25 of 95) sorted by relevance

1234

/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/amvdec_ports/utils/
Dgolomb.h258 int k, int limit, int esc_len) in get_ur_golomb() argument
269 if (log > 31 - limit) { in get_ur_golomb()
277 LAST_SKIP_BITS(re, gb, limit); in get_ur_golomb()
285 return buf + limit - 1; in get_ur_golomb()
293 int k, int limit, int esc_len) in get_ur_golomb_jpegls() argument
305 32 - log < limit) { in get_ur_golomb_jpegls()
314 …for (i = 0; i + MIN_CACHE_BITS <= limit && SHOW_UBITS(re, gb, MIN_CACHE_BITS) == 0; i += MIN_CACHE… in get_ur_golomb_jpegls()
322 for (; i < limit && SHOW_UBITS(re, gb, 1) == 0; i++) { in get_ur_golomb_jpegls()
328 if (i < limit - 1) { in get_ur_golomb_jpegls()
344 } else if (i == limit - 1) { in get_ur_golomb_jpegls()
[all …]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/backend/gpu/
Dmali_kbase_l2_mmu_config.c78 struct l2_mmu_config_limit limit = {0, /* Any GPU not in the limits array defined above */ in kbase_set_mmu_quirks() local
91 limit = limits[i]; in kbase_set_mmu_quirks()
102 mmu_config &= ~(limit.read.mask | limit.write.mask); in kbase_set_mmu_quirks()
104 mmu_config |= (limit.read.value << limit.read.shift) | (limit.write.value << limit.write.shift); in kbase_set_mmu_quirks()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/backend/gpu/
Dmali_kbase_l2_mmu_config.c90 struct l2_mmu_config_limit limit = { in kbase_set_mmu_quirks() local
105 limit = limits[i]; in kbase_set_mmu_quirks()
115 mmu_config &= ~(limit.read.mask | limit.write.mask); in kbase_set_mmu_quirks()
117 mmu_config |= (limit.read.value << limit.read.shift) | in kbase_set_mmu_quirks()
118 (limit.write.value << limit.write.shift); in kbase_set_mmu_quirks()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/
Dmali_profiling_internal.c61 u32 limit = MALI_PROFILING_MAX_BUFFER_ENTRIES; /* Use maximum buffer size */ in _mali_internal_profiling_init() local
64 if (_MALI_OSK_ERR_OK != _mali_internal_profiling_start(&limit)) { in _mali_internal_profiling_init()
92 _mali_osk_errcode_t _mali_internal_profiling_start(u32 *limit) in _mali_internal_profiling_start() argument
104 new_profile_entries = _mali_osk_valloc(*limit * sizeof(mali_profiling_entry)); in _mali_internal_profiling_start()
112 if (MALI_PROFILING_MAX_BUFFER_ENTRIES < *limit) { in _mali_internal_profiling_start()
113 *limit = MALI_PROFILING_MAX_BUFFER_ENTRIES; in _mali_internal_profiling_start()
117 while (profile_mask <= *limit) { in _mali_internal_profiling_start()
122 *limit = profile_mask; in _mali_internal_profiling_start()
Dmali_profiling_internal.h29 int _mali_internal_profiling_start(u32 *limit);
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/
Dmali_profiling_internal.c62 u32 limit = MALI_PROFILING_MAX_BUFFER_ENTRIES; /* Use maximum buffer size */ in _mali_internal_profiling_init() local
65 if (MALI_OSK_ERR_OK != _mali_internal_profiling_start(&limit)) { in _mali_internal_profiling_init()
93 mali_osk_errcode_t _mali_internal_profiling_start(u32 *limit) in _mali_internal_profiling_start() argument
105 new_profile_entries = _mali_osk_valloc(*limit * sizeof(mali_profiling_entry)); in _mali_internal_profiling_start()
112 if (MALI_PROFILING_MAX_BUFFER_ENTRIES < *limit) { in _mali_internal_profiling_start()
113 *limit = MALI_PROFILING_MAX_BUFFER_ENTRIES; in _mali_internal_profiling_start()
117 while (profile_mask <= *limit) { in _mali_internal_profiling_start()
122 *limit = profile_mask; in _mali_internal_profiling_start()
Dmali_profiling_internal.h29 int _mali_internal_profiling_start(u32 *limit);
/device/soc/rockchip/common/sdk_linux/include/linux/sched/
Dsignal.h706 static inline unsigned long task_rlimit(const struct task_struct *task, unsigned int limit) in task_rlimit() argument
708 return READ_ONCE(task->signal->rlim[limit].rlim_cur); in task_rlimit()
711 static inline unsigned long task_rlimit_max(const struct task_struct *task, unsigned int limit) in task_rlimit_max() argument
713 return READ_ONCE(task->signal->rlim[limit].rlim_max); in task_rlimit_max()
716 static inline unsigned long rlimit(unsigned int limit) in rlimit() argument
718 return task_rlimit(current, limit); in rlimit()
721 static inline unsigned long rlimit_max(unsigned int limit) in rlimit_max() argument
723 return task_rlimit_max(current, limit); in rlimit_max()
/device/soc/esp/esp32/components/spi_flash/sim/
DSpiFlash.cpp241 void SpiFlash::set_erase_cycles_limit(uint32_t limit) in set_erase_cycles_limit() argument
243 this->erase_cycles_limit = limit; in set_erase_cycles_limit()
246 void SpiFlash::set_total_erase_cycles_limit(uint32_t limit) in set_total_erase_cycles_limit() argument
248 this->total_erase_cycles_limit = limit; in set_total_erase_cycles_limit()
DSpiFlash.h51 void set_erase_cycles_limit(uint32_t limit);
52 void set_total_erase_cycles_limit(uint32_t limit);
/device/soc/rockchip/rk3568/hardware/wifi/ap6xxx/
Dnvram_ap6275s.txt291 ## ULOFDMA Board limit PPRs for 2G20 ##
304 ## ULOFDMA Board limit PPRs for 5G20 ##
317 ## ULOFDMA Board limit PPRs for 5G40 ##
330 ## ULOFDMA Board limit PPRs for 5G80 ##
/device/soc/rockchip/rk3588/hardware/wifi/ap6xxx/
Dnvram_ap6275s.txt292 ## ULOFDMA Board limit PPRs for 2G20 ##
305 ## ULOFDMA Board limit PPRs for 5G20 ##
318 ## ULOFDMA Board limit PPRs for 5G40 ##
331 ## ULOFDMA Board limit PPRs for 5G80 ##
/device/board/isoftstone/yangfan/kernel/drivers/wifi/ap6xxx/
Dnvram_ap6275s.txt292 ## ULOFDMA Board limit PPRs for 2G20 ##
305 ## ULOFDMA Board limit PPRs for 5G20 ##
318 ## ULOFDMA Board limit PPRs for 5G40 ##
331 ## ULOFDMA Board limit PPRs for 5G80 ##
/device/soc/hpmicro/sdk/hpm_sdk/soc/HPM6360/
Dhpm_sysctl_drv.h504 …ne hpm_stat_t sysctl_monitor_set_limit_low(SYSCTL_Type *ptr, uint8_t monitor_index, uint32_t limit) in sysctl_monitor_set_limit_low() argument
509 ptr->MONITOR[monitor_index].LOW_LIMIT = SYSCTL_MONITOR_LOW_LIMIT_FREQUENCY_SET(limit); in sysctl_monitor_set_limit_low()
520 …e hpm_stat_t sysctl_monitor_set_limit_high(SYSCTL_Type *ptr, uint8_t monitor_index, uint32_t limit) in sysctl_monitor_set_limit_high() argument
525 ptr->MONITOR[monitor_index].HIGH_LIMIT = SYSCTL_MONITOR_HIGH_LIMIT_FREQUENCY_SET(limit); in sysctl_monitor_set_limit_high()
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/core/
Drtw_mbo.c72 static u8 *rtw_mbo_ie_get(u8 *pie, u32 *plen, u32 limit) in rtw_mbo_ie_get() argument
77 if (limit <= 1) in rtw_mbo_ie_get()
94 if (i >= limit) in rtw_mbo_ie_get()
101 static u8 *rtw_mbo_attrs_get(u8 *pie, u32 limit, u8 attr_id, u32 *attr_len) in rtw_mbo_attrs_get() argument
106 if ((pie == NULL) || (limit <= 1)) in rtw_mbo_attrs_get()
109 if ((p = rtw_mbo_ie_get(pie, &plen, limit)) == NULL) in rtw_mbo_attrs_get()
Drtw_rson.c196 sint limit = 0; in rtw_get_rson_struct() local
218 limit = bssid->IELength - _BEACON_IE_OFFSET_; in rtw_get_rson_struct()
221 p = rtw_get_ie(p, _VENDOR_SPECIFIC_IE_, &len, limit); in rtw_get_rson_struct()
222 limit -= len; in rtw_get_rson_struct()
/device/soc/hpmicro/sdk/hpm_sdk/drivers/inc/
Dhpm_pcfg_drv.h242 static inline void pcfg_dcdc_set_lp_current_limit(PCFG_Type *ptr, uint8_t limit, bool under_limit) in pcfg_dcdc_set_lp_current_limit() argument
245 | PCFG_DCDC_PROT_ILIMIT_LP_SET(limit) | PCFG_DCDC_PROT_OVERLOAD_LP_SET(!under_limit); in pcfg_dcdc_set_lp_current_limit()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/common/
Dmali_osk_profiling.h53 mali_osk_errcode_t _mali_osk_profiling_start(u32 *limit);
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/common/
Dmali_osk_profiling.h52 _mali_osk_errcode_t _mali_osk_profiling_start(u32 *limit);
/device/soc/rockchip/common/sdk_linux/include/linux/
Ddma-map-ops.h117 phys_addr_t limit, struct cma **res_cma,
133 static inline void dma_contiguous_reserve(phys_addr_t limit) in dma_contiguous_reserve() argument
138 phys_addr_t limit, in dma_contiguous_reserve_area() argument
/device/soc/rockchip/common/sdk_linux/ipc/
Dutil.c276 int ipc_addid(struct ipc_ids *ids, struct kern_ipc_perm *new, int limit) in ipc_addid() argument
285 if (limit > ipc_mni) { in ipc_addid()
286 limit = ipc_mni; in ipc_addid()
289 if (ids->in_use >= limit) { in ipc_addid()
/device/soc/hpmicro/sdk/hpm_sdk/soc/HPM6750/
Dhpm_sysctl_drv.h595 uint32_t limit) in sysctl_monitor_set_limit_low() argument
600 ptr->MONITOR[monitor_index].LOW_LIMIT = SYSCTL_MONITOR_LOW_LIMIT_FREQUENCY_SET(limit); in sysctl_monitor_set_limit_low()
613 uint32_t limit) in sysctl_monitor_set_limit_high() argument
618 ptr->MONITOR[monitor_index].HIGH_LIMIT = SYSCTL_MONITOR_HIGH_LIMIT_FREQUENCY_SET(limit); in sysctl_monitor_set_limit_high()
/device/soc/esp/esp32/components/hal/esp32/include/hal/
Drmt_ll.h219 static inline void rmt_ll_tx_set_limit(rmt_dev_t *dev, uint32_t channel, uint32_t limit) in rmt_ll_tx_set_limit() argument
221 dev->tx_lim_ch[channel].limit = limit; in rmt_ll_tx_set_limit()
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/u-boot-v2019.07/hisilicon_patch/
Dhisilicon-u-boot-v2019.07.patch405 -static int MY_FAST_CALL LzmaDec_DecodeReal(CLzmaDec *p, SizeT limit, const Byte *bufLimit)
406 +unsigned int MY_FAST_CALL LzmaDec_DecodeReal(CLzmaDec* p, SizeT limit, const Byte* bufLimit)
445 - unsigned limit, offset;
453 - limit = (1 << kLenNumLowBits);
462 - limit = (1 << kLenNumMidBits);
470 - limit = (1 << kLenNumHighBits);
474 - TREE_DECODE(probLen, limit, len);
528 while (dicPos < limit && buf < bufLimit);
539 -static void MY_FAST_CALL LzmaDec_WriteRem(CLzmaDec *p, SizeT limit)
540 +void MY_FAST_CALL LzmaDec_WriteRem(CLzmaDec* p, SizeT limit)
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/wlan/
Dtxrx.c319 unsigned limit = hw_priv->short_frame_max_tx_count; local
334 if (rates[i].idx < 0 || i >= limit) {
354 if (rates[i].idx < 0 || i >= limit) {
393 rates[0].count = limit;
394 total = limit;
397 if (limit > HIGH_RATE_MAX_RETRY) {
398 end_retry = limit - HIGH_RATE_MAX_RETRY;
399 limit = HIGH_RATE_MAX_RETRY;
402 for (i = 0; (limit != total) && (i < 100); ++i) {
404 if (limit < total) {
[all …]

1234