Home
last modified time | relevance | path

Searched refs:range (Results 1 – 25 of 129) sorted by relevance

123456

/device/board/isoftstone/yangfan/common/seetafaceengine/opencv2/3rdparty/carotene/hal/
Dtegra_hal.hpp51 …const_cast<char *>(reinterpret_cast<const char *>(base)) + static_cast<size_t>(range.start) * step)
97 virtual void operator()(const cv::Range& range) const \
99 CAROTENE_NS::func(CAROTENE_NS::Size2D(width, range.end-range.start), __VA_ARGS__); \
875 virtual void operator()(const cv::Range& range) const \
877 CAROTENE_NS::func(CAROTENE_NS::Size2D(range.end-range.start, 1), __VA_ARGS__); \
915 …Op_Invoker(split2, split2, 1, 2, 0, RANGE_DATA(ST, src1_data, 2*sizeof(ST)), range.end-range.start,
916 … RANGE_DATA(DT, dst1_data, sizeof(DT)), range.end-range.start,
917 … RANGE_DATA(DT, dst2_data, sizeof(DT)), range.end-range.start)
918 …Op_Invoker(split3, split3, 1, 3, 0, RANGE_DATA(ST, src1_data, 3*sizeof(ST)), range.end-range.start,
919 … RANGE_DATA(DT, dst1_data, sizeof(DT)), range.end-range.start,
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/vin/modules/actuator/
Dad5820_act.c58 unsigned short range = act_ctrl->active_max - act_ctrl->active_min; in subdev_set_code() local
79 new_code, range, sr); in subdev_set_code()
89 && (new_code <= (act_ctrl->active_min + range / 8)) in subdev_set_code()
90 && (last_code >= (act_ctrl->active_min + range / 6))) { in subdev_set_code()
93 if (target_code >= act_ctrl->active_max - range / 5) in subdev_set_code()
96 (act_ctrl->active_min + range / 6)) in subdev_set_code()
102 target_code = range / 8 + act_ctrl->active_min; in subdev_set_code()
113 } else if (diff > (range / 6) in subdev_set_code()
114 && new_code < act_ctrl->active_min + (range / 6)) { in subdev_set_code()
118 if (diff > (range / 3)) in subdev_set_code()
[all …]
Ddw9714_act.c60 unsigned short range; in subdev_set_code() local
65 range = act_ctrl->active_max - act_ctrl->active_min; in subdev_set_code()
82 new_code, range, sr); in subdev_set_code()
93 && (new_code <= (act_ctrl->active_min + range / 8)) in subdev_set_code()
94 && (last_code >= (act_ctrl->active_min + range / 6))) { in subdev_set_code()
97 if (target_code >= act_ctrl->active_max - range / 5) in subdev_set_code()
100 (act_ctrl->active_min + range / 6)) in subdev_set_code()
106 target_code = range / 8 + act_ctrl->active_min; in subdev_set_code()
117 } else if (diff > (range / 6) in subdev_set_code()
118 && new_code < act_ctrl->active_min + (range / 6)) { in subdev_set_code()
[all …]
/device/soc/esp/esp32/components/esp32/
Desp_himem.c304 esp_err_t esp_himem_map(esp_himem_handle_t handle, esp_himem_rangehandle_t range, size_t ram_offset… in esp_himem_map() argument
316 …HIMEM_CHECK(range_block + blockcount > range->block_ct, "args not in range of range handle", ESP_E… in esp_himem_map()
321 …HIMEM_CHECK(s_range_descriptor[range->block_start + i + range_block].is_mapped, "range already map… in esp_himem_map()
329 s_range_descriptor[range->block_start + i + range_block].is_mapped = 1; in esp_himem_map()
330 … s_range_descriptor[range->block_start + i + range_block].ram_block = handle->block[i + ram_block]; in esp_himem_map()
334 …set_bank(VIRT_HIMEM_RANGE_BLOCKSTART + range->block_start + i + range_block, handle->block[i + ram… in esp_himem_map()
338 …*out_ptr = (void *)(VIRT_HIMEM_RANGE_START + (range->block_start + range_offset) * CACHE_BLOCKSIZE… in esp_himem_map()
342 esp_err_t esp_himem_unmap(esp_himem_rangehandle_t range, void *ptr, size_t len) in esp_himem_unmap() argument
348 int range_block = (range_offset / CACHE_BLOCKSIZE) - range->block_start; in esp_himem_unmap()
352 …HIMEM_CHECK(range_block + blockcount > range->block_ct, "range out of bounds for handle", ESP_ERR_… in esp_himem_unmap()
[all …]
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/platform/hal/
Dhal_psram_v2.c425 uint32_t range; in hal_psram_phy_dll_config() local
433 range = 3; in hal_psram_phy_dll_config()
435 range = 2; in hal_psram_phy_dll_config()
437 range = 1; in hal_psram_phy_dll_config()
439 range = 1; in hal_psram_phy_dll_config()
441 val = SET_BITFIELD(val, PSRAM_ULP_PHY_REG_DLL_RANGE, range); in hal_psram_phy_dll_config()
893 static void hal_psram_phy_restore_range(uint32_t range) in hal_psram_phy_restore_range() argument
900 val = SET_BITFIELD(val, PSRAM_ULP_PHY_REG_DLL_RANGE, range); in hal_psram_phy_restore_range()
906 static void psram_mc_reset(uint32_t range) in psram_mc_reset() argument
922 hal_psram_phy_restore_range(range); in psram_mc_reset()
[all …]
/device/soc/hisilicon/hi3861v100/sdk_liteos/tools/packet_tool/
Dpacket_tool.py30 self._tab = [self._initial(i) for i in range(256)]
35 for j in range(8):
149 for index in range(0, imageNum):
166 for index in range(0, imageNum):
170 for index in range(0, len(pathNameListNew)):
177 for index2 in range(0, imageNum):
254 for index in range(0, imageNum):
271 for index in range(0, imageNum):
281 for index2 in range(0, imageNum):
350 for index in range(0, imageNum):
[all …]
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/
Dwl_iw.c767 struct iw_range *range = (struct iw_range *) extra; in wl_iw_get_range() local
790 memset(range, 0, sizeof(*range)); in wl_iw_get_range()
793 range->min_nwid = range->max_nwid = 0; in wl_iw_get_range()
800 range->freq[i].i = dtoh32(list->element[i]); in wl_iw_get_range()
808 range->freq[i].m = wf_channel2mhz(ch, sf); in wl_iw_get_range()
809 range->freq[i].e = 6; in wl_iw_get_range()
811 range->num_frequency = range->num_channels = i; in wl_iw_get_range()
814 range->max_qual.qual = 5; in wl_iw_get_range()
816 range->max_qual.level = 0x100 - 200; /* -200 dBm */ in wl_iw_get_range()
818 range->max_qual.noise = 0x100 - 200; /* -200 dBm */ in wl_iw_get_range()
[all …]
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/
Dwl_iw.c708 struct iw_range *range = (struct iw_range *)extra; in wl_iw_get_range() local
733 memset(range, 0, sizeof(*range)); in wl_iw_get_range()
736 range->min_nwid = range->max_nwid = 0; in wl_iw_get_range()
745 range->freq[i].i = dtoh32(list->element[i]); in wl_iw_get_range()
754 range->freq[i].m = wf_channel2mhz(ch, sf); in wl_iw_get_range()
755 range->freq[i].e = 0x6; in wl_iw_get_range()
757 range->num_frequency = range->num_channels = i; in wl_iw_get_range()
760 range->max_qual.qual = 0x5; in wl_iw_get_range()
762 range->max_qual.level = 0x100 - 200; /* -200 dBm */ in wl_iw_get_range()
764 range->max_qual.noise = 0x100 - 200; /* -200 dBm */ in wl_iw_get_range()
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/
Dwl_iw.c846 struct iw_range *range = (struct iw_range *) extra; in wl_iw_get_range() local
869 memset(range, 0, sizeof(*range)); in wl_iw_get_range()
872 range->min_nwid = range->max_nwid = 0; in wl_iw_get_range()
879 range->freq[i].i = dtoh32(list->element[i]); in wl_iw_get_range()
887 range->freq[i].m = wf_channel2mhz(ch, sf); in wl_iw_get_range()
888 range->freq[i].e = 6; in wl_iw_get_range()
890 range->num_frequency = range->num_channels = i; in wl_iw_get_range()
893 range->max_qual.qual = 5; in wl_iw_get_range()
895 range->max_qual.level = 0x100 - 200; /* -200 dBm */ in wl_iw_get_range()
897 range->max_qual.noise = 0x100 - 200; /* -200 dBm */ in wl_iw_get_range()
[all …]
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
Dwl_iw.c798 struct iw_range *range = (struct iw_range *) extra; in wl_iw_get_range() local
821 memset(range, 0, sizeof(*range)); in wl_iw_get_range()
824 range->min_nwid = range->max_nwid = 0; in wl_iw_get_range()
831 range->freq[i].i = dtoh32(list->element[i]); in wl_iw_get_range()
839 range->freq[i].m = wf_channel2mhz(ch, sf); in wl_iw_get_range()
840 range->freq[i].e = 6; in wl_iw_get_range()
842 range->num_frequency = range->num_channels = i; in wl_iw_get_range()
845 range->max_qual.qual = 5; in wl_iw_get_range()
847 range->max_qual.level = 0x100 - 200; /* -200 dBm */ in wl_iw_get_range()
849 range->max_qual.noise = 0x100 - 200; /* -200 dBm */ in wl_iw_get_range()
[all …]
/device/soc/goodix/gr551x/tools/
Dbin_create.py126 self.CP = [0 for x in range(60)]
131 self.key_bin = [0 for x in range(168)]
177 for i in range(add_size):
185 for i in range(len):
325 for i in range(len(self.img_info.comments)):
328 for i in range(MaxCommentsLen - len(self.img_info.comments)):
331 for i in range(8):
345 for i in range(16 - ori_app_bin_size % 16):
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/input/ctp/gslx680new/
Dgsl_point_id.c803 unsigned int range; in CoordinateCorrect() member
835 multi_x[i].range = multi_x_array[i] & 0xffff; in CoordinateCorrect()
837 multi_y[i].range = multi_y_array[i] & 0xffff; in CoordinateCorrect()
842 if (multi_x[i].range && multi_x[i].group < LINE_SIZE) in CoordinateCorrect()
846 if (multi_y[i].range && multi_y[i].group < LINE_SIZE) in CoordinateCorrect()
863 multi_x[j].range == 0 || in CoordinateCorrect()
864 point_now[i].x < multi_x[j].range)) in CoordinateCorrect()
880 multi_y[j].range == 0 || in CoordinateCorrect()
881 point_now[i].y < multi_y[j].range)) in CoordinateCorrect()
1506 int range; in PointEdge() member
[all …]
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/components/bk_wifi/
DKconfig26 range 1 1500
31 range 1 1500
37 range 1 10
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/amvdec_ports/utils/
Dgolomb.h146 static inline int get_te0_golomb(struct get_bits_context *gb, int range) in get_te0_golomb() argument
148 if (range == 1) in get_te0_golomb()
150 else if (range == 2) in get_te0_golomb()
159 static inline int get_te_golomb(struct get_bits_context *gb, int range) in get_te_golomb() argument
161 if (range == 2) in get_te_golomb()
426 static inline void set_te_golomb(struct put_bits_context *pb, int i, int range) in set_te_golomb() argument
428 if (range == 2) in set_te_golomb()
/device/soc/esp/esp32/components/esp32/include/esp32/
Dhimem.h81 esp_err_t esp_himem_map(esp_himem_handle_t handle, esp_himem_rangehandle_t range, size_t ram_offset…
120 esp_err_t esp_himem_unmap(esp_himem_rangehandle_t range, void *ptr, size_t len);
/device/qemu/drivers/char/mmz/
Dmmz.c95 vaddr = vmRegion->range.base; in MmzAlloc()
116 mmzm->vaddr = (void *)vmRegion->range.base; in MmzAlloc()
152 mmzm->vaddr = (void *)vmRegion->range.base; in MmzMap()
153 vaddr = vmRegion->range.base; in MmzMap()
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/components/bk_cli/
DKconfig14 range 0 65535
142 range 0 4194304
148 range 0 1
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/middleware/driver/
DKconfig82 range 0 2
89 range 1 4096
101 range 1 4096
329 range 0 48
453 range 1 255
490 range 0 255
506 bool "Enable saradc measure range divide"
/device/soc/asrmicro/asr582x/liteos_m/sdk/tools/factory_gen/
Dgen_factory_bin.py89 for i in range(0,len(head_data)):
90 for j in range(0,len(head_data[i])):
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/middleware/driver/include/bk_private/legacy/
Dble_api_5_x.h631 ATT_HANDLE_RANGE range; member
657 ATT_HANDLE_RANGE range; member
695 ATT_HANDLE_RANGE range; member
/device/soc/amlogic/a311d/soc/arch/arm64/boot/dts/amlogic/
Dmeson-g12b-unionpi-tiger.dtsi21 pwm-dutycycle-range = <100 0>;
38 pwm-dutycycle-range = <100 0>;
/device/soc/hisilicon/hi3861v100/sdk_liteos/build/scripts/
Dpacket_create.py29 self._tab = [self._initial(i) for i in range(256)]
34 for j in range(8):
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/u-boot-v2019.07/hisilicon_patch/
Dhisilicon-u-boot-v2019.07.patch392 -#define NORMALIZE_CHECK if (range < kTopValue) { if (buf >= bufLimit) return DUMMY_ERROR; range <<…
393 +#define NORMALIZE_CHECK if (range < kTopValue) { if (buf >= bufLimit) return DUMMY_ERROR;}
394 +#define NORMALIZE_CHECK_MODIFY if (range < kTopValue) { if (buf >= bufLimit) return DUMMY_ERROR; r…
396 -#define IF_BIT_0_CHECK(p) ttt = *(p); NORMALIZE_CHECK; bound = (range >> kNumBitModelTotalBits) * …
397 +#define IF_BIT_0_CHECK(p) ttt = *(p); NORMALIZE_CHECK_MODIFY; bound = (range >> kNumBitModelTotalB…
398 #define UPDATE_0_CHECK range = bound;
399 #define UPDATE_1_CHECK range -= bound; code -= bound;
411 UInt32 range = p->range;
560 UInt32 range = p->range;
586 range >>= 1;
[all …]
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/
Ddrm_color_mgmt.c412 const char *drm_get_color_range_name(enum drm_color_range range) in drm_get_color_range_name() argument
414 if (WARN_ON(range >= ARRAY_SIZE(color_range_name))) { in drm_get_color_range_name()
418 return color_range_name[range]; in drm_get_color_range_name()
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/components/bk_startup/
DKconfig4 range 1 10

123456