Home
last modified time | relevance | path

Searched refs:MIN (Results 1 – 25 of 111) sorted by relevance

12345

/hal_nxp-latest/mcux/mcux-sdk/CMSIS/NN/Source/ConvolutionFunctions/
Darm_depthwise_conv_u8_basic_ver1.c84 … for (int32_t ker_h = ker_h_start; ker_h < MIN(kernel_y, input_y - in_h); ++ker_h) in depthwise_conv_u8_mult_4()
89 for (int32_t ker_w = ker_w_start; ker_w < MIN(kernel_x, input_x - in_w); in depthwise_conv_u8_mult_4()
117 … out_buff[0] = MIN(MAX(out_buff[0], output_activation_min), output_activation_max); in depthwise_conv_u8_mult_4()
118 … out_buff[1] = MIN(MAX(out_buff[1], output_activation_min), output_activation_max); in depthwise_conv_u8_mult_4()
119 … out_buff[2] = MIN(MAX(out_buff[2], output_activation_min), output_activation_max); in depthwise_conv_u8_mult_4()
120 … out_buff[3] = MIN(MAX(out_buff[3], output_activation_min), output_activation_max); in depthwise_conv_u8_mult_4()
175 const int ker_y_end = MIN(kernel_y, input_y - base_idx_y); in depthwise_conv_u8_generic()
176 const int ker_x_end = MIN(kernel_x, input_x - base_idx_x); in depthwise_conv_u8_generic()
200 acc_0 = MIN(acc_0, output_activation_max); in depthwise_conv_u8_generic()
Darm_depthwise_conv_s8.c83 … for (int32_t ker_h = ker_h_start; ker_h < MIN(kernel_y, input_y - in_h); ++ker_h) in depthwise_conv_s8_mult_4()
88 for (int32_t ker_w = ker_w_start; ker_w < MIN(kernel_x, input_x - in_w); in depthwise_conv_s8_mult_4()
125 … out_buff[0] = MIN(MAX(out_buff[0], output_activation_min), output_activation_max); in depthwise_conv_s8_mult_4()
126 … out_buff[1] = MIN(MAX(out_buff[1], output_activation_min), output_activation_max); in depthwise_conv_s8_mult_4()
127 … out_buff[2] = MIN(MAX(out_buff[2], output_activation_min), output_activation_max); in depthwise_conv_s8_mult_4()
128 … out_buff[3] = MIN(MAX(out_buff[3], output_activation_min), output_activation_max); in depthwise_conv_s8_mult_4()
189 const int ker_y_end = MIN(kernel_y, input_y - base_idx_y); in depthwise_conv_s8_generic()
190 const int ker_x_end = MIN(kernel_x, input_x - base_idx_x); in depthwise_conv_s8_generic()
210 acc_0 = MIN(acc_0, output_activation_max); in depthwise_conv_s8_generic()
Darm_depthwise_conv_3x3_s8.c112 for (int32_t ker_h = ker_h_start; ker_h < MIN(3, input_y - in_h); ++ker_h) in arm_depthwise_conv_3x3_s8()
161 out_buff0 = MIN(MAX(out_buff0, output_activation_min), output_activation_max); in arm_depthwise_conv_3x3_s8()
162 out_buff1 = MIN(MAX(out_buff1, output_activation_min), output_activation_max); in arm_depthwise_conv_3x3_s8()
163 out_buff2 = MIN(MAX(out_buff2, output_activation_min), output_activation_max); in arm_depthwise_conv_3x3_s8()
164 out_buff3 = MIN(MAX(out_buff3, output_activation_min), output_activation_max); in arm_depthwise_conv_3x3_s8()
180 for (int32_t ker_h = ker_h_start; ker_h < MIN(3, input_y - in_h); ++ker_h) in arm_depthwise_conv_3x3_s8()
200 out_buff = MIN(MAX(out_buff, output_activation_min), output_activation_max); in arm_depthwise_conv_3x3_s8()
Darm_nn_mat_mult_kernel_s8_s16_reordered.c108 ch_0_out_0 = MIN(ch_0_out_0, activation_max); in arm_nn_mat_mult_kernel_s8_s16_reordered()
114 ch_0_out_1 = MIN(ch_0_out_1, activation_max); in arm_nn_mat_mult_kernel_s8_s16_reordered()
122 ch_1_out_0 = MIN(ch_1_out_0, activation_max); in arm_nn_mat_mult_kernel_s8_s16_reordered()
128 ch_1_out_1 = MIN(ch_1_out_1, activation_max); in arm_nn_mat_mult_kernel_s8_s16_reordered()
172 ch_0_out_0 = MIN(ch_0_out_0, activation_max); in arm_nn_mat_mult_kernel_s8_s16_reordered()
178 ch_0_out_1 = MIN(ch_0_out_1, activation_max); in arm_nn_mat_mult_kernel_s8_s16_reordered()
Darm_depthwise_conv_s8_opt.c230 const int ker_y_end = MIN(kernel_y, input_y - base_idx_y); in arm_depthwise_conv_s8_opt()
343 sum = MIN(sum, output_activation_max); in arm_depthwise_conv_s8_opt()
349 sum_2 = MIN(sum_2, output_activation_max); in arm_depthwise_conv_s8_opt()
354 sum_3 = MIN(sum_3, output_activation_max); in arm_depthwise_conv_s8_opt()
360 sum_4 = MIN(sum_4, output_activation_max); in arm_depthwise_conv_s8_opt()
382 sum = MIN(sum, output_activation_max); in arm_depthwise_conv_s8_opt()
Darm_nn_mat_mult_kernel_s8_s16.c286 ch_0_out_0 = MIN(ch_0_out_0, activation_max); in arm_nn_mat_mult_kernel_s8_s16()
292 ch_0_out_1 = MIN(ch_0_out_1, activation_max); in arm_nn_mat_mult_kernel_s8_s16()
300 ch_1_out_0 = MIN(ch_1_out_0, activation_max); in arm_nn_mat_mult_kernel_s8_s16()
306 ch_1_out_1 = MIN(ch_1_out_1, activation_max); in arm_nn_mat_mult_kernel_s8_s16()
360 ch_0_out_0 = MIN(ch_0_out_0, activation_max); in arm_nn_mat_mult_kernel_s8_s16()
366 ch_0_out_1 = MIN(ch_0_out_1, activation_max); in arm_nn_mat_mult_kernel_s8_s16()
Darm_convolve_s8.c303 sum = MIN(sum, out_activation_max); in arm_convolve_s8()
327 const int32_t ker_y_end = MIN(kernel_y, input_y - base_idx_y); in arm_convolve_s8()
328 const int32_t ker_x_end = MIN(kernel_x, input_x - base_idx_x); in arm_convolve_s8()
352 conv_out = MIN(conv_out, out_activation_max); in arm_convolve_s8()
/hal_nxp-latest/mcux/mcux-sdk/CMSIS/NN/Source/NNSupportFunctions/
Darm_nn_mat_mult_nt_t_s8.c236 res00 = MIN(res00, activation_max); in arm_nn_mat_mult_nt_t_s8()
238 res01 = MIN(res01, activation_max); in arm_nn_mat_mult_nt_t_s8()
240 res10 = MIN(res10, activation_max); in arm_nn_mat_mult_nt_t_s8()
242 res11 = MIN(res11, activation_max); in arm_nn_mat_mult_nt_t_s8()
358 res00 = MIN(res00, activation_max); in arm_nn_mat_mult_nt_t_s8()
360 res01 = MIN(res01, activation_max); in arm_nn_mat_mult_nt_t_s8()
403 res00 = MIN(res00, activation_max); in arm_nn_mat_mult_nt_t_s8()
474 res00 = MIN(res00, activation_max); in arm_nn_mat_mult_nt_t_s8()
476 res01 = MIN(res01, activation_max); in arm_nn_mat_mult_nt_t_s8()
478 res10 = MIN(res10, activation_max); in arm_nn_mat_mult_nt_t_s8()
[all …]
Darm_nn_vec_mat_mult_t_svdf_s8.c161 *dst = (q15_t)MIN(acc_0, activation_max); in arm_nn_vec_mat_mult_t_svdf_s8()
213 acc_0 = MIN(acc_0, activation_max); in arm_nn_vec_mat_mult_t_svdf_s8()
215 acc_1 = MIN(acc_1, activation_max); in arm_nn_vec_mat_mult_t_svdf_s8()
248 acc_0 = MIN(acc_0, activation_max); in arm_nn_vec_mat_mult_t_svdf_s8()
290 res00 = MIN(res00, activation_max); in arm_nn_vec_mat_mult_t_svdf_s8()
292 res01 = MIN(res01, activation_max); in arm_nn_vec_mat_mult_t_svdf_s8()
294 res02 = MIN(res02, activation_max); in arm_nn_vec_mat_mult_t_svdf_s8()
328 res00 = MIN(res00, activation_max); in arm_nn_vec_mat_mult_t_svdf_s8()
Darm_nn_vec_mat_mult_t_s8.c167 *dst = MIN(acc_0, activation_max); in arm_nn_vec_mat_mult_t_s8()
235 acc_0 = MIN(acc_0, activation_max); in arm_nn_vec_mat_mult_t_s8()
237 acc_1 = MIN(acc_1, activation_max); in arm_nn_vec_mat_mult_t_s8()
283 acc_0 = MIN(acc_0, activation_max); in arm_nn_vec_mat_mult_t_s8()
336 res00 = MIN(res00, activation_max); in arm_nn_vec_mat_mult_t_s8()
338 res01 = MIN(res01, activation_max); in arm_nn_vec_mat_mult_t_s8()
340 res02 = MIN(res02, activation_max); in arm_nn_vec_mat_mult_t_s8()
381 res00 = MIN(res00, activation_max); in arm_nn_vec_mat_mult_t_s8()
/hal_nxp-latest/mcux/mcux-sdk/CMSIS/NN/Source/PoolingFunctions/
Darm_max_pool_s8.c122 in.bytes[0] = MIN(in.bytes[0], act_max); in clamp_output()
124 in.bytes[1] = MIN(in.bytes[1], act_max); in clamp_output()
126 in.bytes[2] = MIN(in.bytes[2], act_max); in clamp_output()
128 in.bytes[3] = MIN(in.bytes[3], act_max); in clamp_output()
139 comp = MIN(comp, act_max); in clamp_output()
195 const int32_t kernel_y_end = MIN(kernel_y, input_y - base_idx_y); in arm_max_pool_s8()
196 const int32_t kernel_x_end = MIN(kernel_x, input_x - base_idx_x); in arm_max_pool_s8()
Darm_avgpool_s8.c49 sum = MIN(sum, act_max); in scale_q31_to_q7_and_clamp()
112 k_y_end = MIN(i_y * stride_y - pad_y + kernel_y, input_y); in arm_avgpool_s8()
115 k_x_end = MIN(i_x * stride_x - pad_x + kernel_x, input_x); in arm_avgpool_s8()
230 sum = MIN(sum, act_max); in arm_avgpool_s8()
281 const int32_t kernel_y_end = MIN(kernel_y, input_y - idx_y); in arm_avgpool_s8()
282 const int32_t kernel_x_end = MIN(kernel_x, input_x - idx_x); in arm_avgpool_s8()
356 sum = MIN(sum, act_max); in arm_avgpool_s8()
/hal_nxp-latest/mcux/middleware/wifi_nxp/wifidriver/
Dmlan_11ac.c283 SET_VHTCAP_MAXMPDULEN(usr_vht_cap_info, MIN(cfg_value, hw_value)); in wlan_11ac_ioctl_vhtcfg()
287 SET_VHTCAP_CHWDSET(usr_vht_cap_info, MIN(cfg_value, hw_value)); in wlan_11ac_ioctl_vhtcfg()
291 SET_VHTCAP_RXSTBC(usr_vht_cap_info, MIN(cfg_value, hw_value)); in wlan_11ac_ioctl_vhtcfg()
295 SET_VHTCAP_SNBFERANT(usr_vht_cap_info, MIN(cfg_value, hw_value)); in wlan_11ac_ioctl_vhtcfg()
299 SET_VHTCAP_NUMSNDDM(usr_vht_cap_info, MIN(cfg_value, hw_value)); in wlan_11ac_ioctl_vhtcfg()
303 SET_VHTCAP_MAXAMPDULENEXP(usr_vht_cap_info, MIN(cfg_value, hw_value)); in wlan_11ac_ioctl_vhtcfg()
307 SET_VHTCAP_LINKADPCAP(usr_vht_cap_info, MIN(cfg_value, hw_value)); in wlan_11ac_ioctl_vhtcfg()
330 SET_VHTNSSMCS(vht_cfg->vht_rx_mcs, nss, MIN(cfg_value, hw_value)); in wlan_11ac_ioctl_vhtcfg()
349 SET_VHTNSSMCS(vht_cfg->vht_tx_mcs, nss, MIN(cfg_value, hw_value)); in wlan_11ac_ioctl_vhtcfg()
806 SET_VHTNSSMCS(mcs_map_result, nss, MIN(mcs_user, mcs_resp)); in wlan_fill_vht_cap_tlv()
[all …]
Dmlan_scan.c1090 MIN(MLAN_MAX_SSID_LENGTH, ssid_len)); in wlan_scan_setup_scan_config()
1104 MIN(MLAN_MAX_SSID_LENGTH, ssid_len)); in wlan_scan_setup_scan_config()
1663 MIN(total_ie_len, sizeof(IEEEtypes_FhParamSet_t))); in wlan_interpret_bss_desc_with_ie()
1665 MIN(element_len, (sizeof(IEEEtypes_FhParamSet_t) - sizeof(IEEEtypes_Header_t))); in wlan_interpret_bss_desc_with_ie()
1677 MIN(total_ie_len, sizeof(IEEEtypes_DsParamSet_t))); in wlan_interpret_bss_desc_with_ie()
1679 MIN(element_len, (sizeof(IEEEtypes_DsParamSet_t) - sizeof(IEEEtypes_Header_t))); in wlan_interpret_bss_desc_with_ie()
1685 MIN(total_ie_len, sizeof(IEEEtypes_CfParamSet_t))); in wlan_interpret_bss_desc_with_ie()
1687 MIN(element_len, (sizeof(IEEEtypes_CfParamSet_t) - sizeof(IEEEtypes_Header_t))); in wlan_interpret_bss_desc_with_ie()
1700 MIN(total_ie_len, sizeof(IEEEtypes_IbssParamSet_t))); in wlan_interpret_bss_desc_with_ie()
1702MIN(element_len, (sizeof(IEEEtypes_IbssParamSet_t) - sizeof(IEEEtypes_Header_t))); in wlan_interpret_bss_desc_with_ie()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/CMSIS/NN/Source/BasicMathFunctions/
Darm_elementwise_mul_s8.c133 mul_res = MIN(mul_res, out_activation_max); in arm_elementwise_mul_s8()
143 mul_res = MIN(mul_res, out_activation_max); in arm_elementwise_mul_s8()
153 mul_res = MIN(mul_res, out_activation_max); in arm_elementwise_mul_s8()
163 mul_res = MIN(mul_res, out_activation_max); in arm_elementwise_mul_s8()
187 mul_res = MIN(mul_res, out_activation_max); in arm_elementwise_mul_s8()
Darm_elementwise_add_s8.c167 sum = MIN(sum, out_activation_max); in arm_elementwise_add_s8()
181 sum = MIN(sum, out_activation_max); in arm_elementwise_add_s8()
195 sum = MIN(sum, out_activation_max); in arm_elementwise_add_s8()
209 sum = MIN(sum, out_activation_max); in arm_elementwise_add_s8()
240 sum = MIN(sum, out_activation_max); in arm_elementwise_add_s8()
/hal_nxp-latest/mcux/mcux-sdk/drivers/imu/
Dfsl_imu.c112 curSent = MIN(msgCount, fifoEmptySpace); in IMU_SendMsgsBlocking()
207 curSent = MIN(msgCount, fifoEmptySpace); in IMU_TrySendMsgs()
277 countToRead = MIN(desiredMsgCount, rxFifoMsgCount); in IMU_TryReceiveMsgs()
342 countToRead = MIN(desiredMsgCount, rxFifoMsgCount); in IMU_ReceiveMsgsBlocking()
/hal_nxp-latest/mcux/mcux-sdk/components/rtt/RTT/
DSEGGER_RTT.c180 #ifndef MIN
181 #define MIN(a, b) (((a) < (b)) ? (a) : (b)) macro
404 NumBytesToWrite = MIN(NumBytesToWrite, (pRing->SizeOfBuffer - in _WriteBlocking()
406 NumBytesToWrite = MIN(NumBytesToWrite, NumBytes); in _WriteBlocking()
630 NumBytesRem = MIN(NumBytesRem, BufferSize); in SEGGER_RTT_ReadUpBufferNoLock()
659 NumBytesRem = MIN(NumBytesRem, BufferSize); in SEGGER_RTT_ReadUpBufferNoLock()
732 NumBytesRem = MIN(NumBytesRem, BufferSize); in SEGGER_RTT_ReadNoLock()
761 NumBytesRem = MIN(NumBytesRem, BufferSize); in SEGGER_RTT_ReadNoLock()
/hal_nxp-latest/mcux/middleware/wireless/framework_5.3.3/Common/
DEmbeddedTypes.h92 #if !defined(MIN)
93 #define MIN(a,b) (((a) < (b))?(a):(b)) macro
/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-connectivity-framework/Common/
DEmbeddedTypes.h88 #if !defined(MIN)
89 #define MIN(a, b) (((a) <= (b)) ? (a) : (b)) macro
/hal_nxp-latest/mcux/mcux-sdk/drivers/common/
Dfsl_common.h241 #if !defined(MIN)
243 #define MIN(a, b) (((a) < (b)) ? (a) : (b)) macro
/hal_nxp-latest/mcux/mcux-sdk/components/video/display/dbi/lpc_spi/
Dfsl_dbi_spi_dma.c59 xfer.dataSize = MIN(prvData->leftTxDataLen, DMA_MAX_TRANSFER_COUNT); in DBI_SPI_DMA_TransferCompletedCallback()
206 xfer.dataSize = MIN(len_byte, DMA_MAX_TRANSFER_COUNT); in DBI_SPI_DMA_WriteMemory()
/hal_nxp-latest/mcux/middleware/wireless/framework_5.3.3/XCVR/MKW41Z4/
Dfsl_xcvr_trim.c857 if (ABS(dc_meas_i) != MIN(ABS(dc_meas_i), ABS(dc_meas_i_p))) in DCOC_DAC_INIT_Cal()
884 if (ABS(dc_meas_i) != MIN(ABS(dc_meas_i), ABS(dc_meas_i_p))) in DCOC_DAC_INIT_Cal()
911 if (ABS(dc_meas_q) != MIN(ABS(dc_meas_q), ABS(dc_meas_q_p))) in DCOC_DAC_INIT_Cal()
936 if (ABS(dc_meas_q) != MIN(ABS(dc_meas_q), ABS(dc_meas_q_p))) in DCOC_DAC_INIT_Cal()
/hal_nxp-latest/mcux/mcux-sdk/components/codec/tfa9896/
Dfsl_tfa9896.h100 #ifndef MIN
101 #define MIN(A, B) (A < B ? A : B) macro
/hal_nxp-latest/mcux/mcux-sdk/drivers/lpsci/
Dfsl_lpsci.c755 bytesToCopy = MIN(bytesToReceive, bytesToCopy); in LPSCI_TransferReceiveNonBlocking()
926 tempCount = MIN(handle->rxDataSize, count); in LPSCI_TransferHandleIRQ()
1034 tempCount = MIN(handle->txDataSize, count); in LPSCI_TransferHandleIRQ()

12345