Home
last modified time | relevance | path

Searched refs:max (Results 1 – 25 of 76) sorted by relevance

1234

/hal_nxp-3.6.0/mcux/mcux-sdk/CMSIS/NN/Source/SoftmaxFunctions/
Darm_softmax_s8.c103 int8_t max = ACT_MIN; in arm_softmax_s8() local
111 max = vmaxvq_p_s8(max, ip, p); in arm_softmax_s8()
122 ip = vsubq_n_s32(ip, max); in arm_softmax_s8()
143 const int32_t diff = input[tail_idx + i] - max; in arm_softmax_s8()
160 ip = vsubq_n_s32(ip, max); in arm_softmax_s8()
191 int32_t diff = input[tail_idx + i] - max; in arm_softmax_s8()
216 int8_t max = *input; in arm_softmax_s8()
220 max = MAX(max, input[col]); in arm_softmax_s8()
228 diff = input[col] - max; in arm_softmax_s8()
241 diff = input[col] - max; in arm_softmax_s8()
Darm_softmax_u8.c60 uint8_t max = *input; in arm_softmax_u8() local
64 max = MAX(max, input[col]); in arm_softmax_u8()
72 diff = input[col] - max; in arm_softmax_u8()
85 diff = input[col] - max; in arm_softmax_u8()
/hal_nxp-3.6.0/mcux/mcux-sdk/components/lists/
Dfsl_component_generic_list.c38 if ((list->max != 0U) && (list->max == list->size)) in LIST_Error_Check()
80 void LIST_Init(list_handle_t list, uint32_t max) in LIST_Init() argument
84 list->max = max; in LIST_Init()
492 return (list->max - list->size); /*Gets the number of free places in the list*/ in LIST_GetAvailableSize()
Dfsl_component_generic_list.h73 uint32_t max; /*!< list max number of elements */ member
109 void LIST_Init(list_handle_t list, uint32_t max);
/hal_nxp-3.6.0/mcux/mcux-sdk/CMSIS/Include/
Dcmsis_armcc.h769 const int32_t max = (int32_t)((1U << (sat - 1U)) - 1U); in __SSAT() local
770 const int32_t min = -1 - max ; in __SSAT()
771 if (val > max) in __SSAT()
773 return max; in __SSAT()
794 const uint32_t max = ((1U << sat) - 1U); in __USAT() local
795 if (val > (int32_t)max) in __USAT()
797 return max; in __USAT()
Dcmsis_armclang.h1167 const int32_t max = (int32_t)((1U << (sat - 1U)) - 1U); in __SSAT() local
1168 const int32_t min = -1 - max ; in __SSAT()
1169 if (val > max) in __SSAT()
1171 return max; in __SSAT()
1192 const uint32_t max = ((1U << sat) - 1U); in __USAT() local
1193 if (val > (int32_t)max) in __USAT()
1195 return max; in __USAT()
Dcmsis_iccarm.h801 const int32_t max = (int32_t)((1U << (sat - 1U)) - 1U); in __SSAT() local
802 const int32_t min = -1 - max ; in __SSAT()
803 if (val > max) in __SSAT()
805 return max; in __SSAT()
819 const uint32_t max = ((1U << sat) - 1U); in __USAT() local
820 if (val > (int32_t)max) in __USAT()
822 return max; in __USAT()
Dcmsis_armclang_ltm.h1166 const int32_t max = (int32_t)((1U << (sat - 1U)) - 1U); in __SSAT() local
1167 const int32_t min = -1 - max ; in __SSAT()
1168 if (val > max) in __SSAT()
1170 return max; in __SSAT()
1191 const uint32_t max = ((1U << sat) - 1U); in __USAT() local
1192 if (val > (int32_t)max) in __USAT()
1194 return max; in __USAT()
Dcmsis_gcc.h1386 const int32_t max = (int32_t)((1U << (sat - 1U)) - 1U); in __SSAT() local
1387 const int32_t min = -1 - max ; in __SSAT()
1388 if (val > max) in __SSAT()
1390 return max; in __SSAT()
1411 const uint32_t max = ((1U << sat) - 1U); in __USAT() local
1412 if (val > (int32_t)max) in __USAT()
1414 return max; in __USAT()
/hal_nxp-3.6.0/mcux/mcux-sdk/CMSIS/DSP/Include/dsp/
Dnone.h82 const int32_t max = (int32_t)((1U << (sat - 1U)) - 1U); in __SSAT() local
83 const int32_t min = -1 - max ; in __SSAT()
84 if (val > max) in __SSAT()
86 return max; in __SSAT()
100 const uint32_t max = ((1U << sat) - 1U); in __USAT() local
101 if (val > (int32_t)max) in __USAT()
103 return max; in __USAT()
/hal_nxp-3.6.0/mcux/mcux-sdk/CMSIS/Core/Include/
Dcmsis_armcc.h485 const int32_t max = (int32_t)((1U << (sat - 1U)) - 1U); in __SSAT() local
486 const int32_t min = -1 - max ; in __SSAT()
487 if (val > max) in __SSAT()
489 return max; in __SSAT()
510 const uint32_t max = ((1U << sat) - 1U); in __USAT() local
511 if (val > (int32_t)max) in __USAT()
513 return max; in __USAT()
Dcmsis_armclang.h530 const int32_t max = (int32_t)((1U << (sat - 1U)) - 1U); in __SSAT() local
531 const int32_t min = -1 - max ; in __SSAT()
532 if (val > max) in __SSAT()
534 return max; in __SSAT()
555 const uint32_t max = ((1U << sat) - 1U); in __USAT() local
556 if (val > (int32_t)max) in __USAT()
558 return max; in __USAT()
Dcmsis_iccarm.h835 const int32_t max = (int32_t)((1U << (sat - 1U)) - 1U); in __SSAT() local
836 const int32_t min = -1 - max ; in __SSAT()
837 if (val > max) in __SSAT()
839 return max; in __SSAT()
853 const uint32_t max = ((1U << sat) - 1U); in __USAT() local
854 if (val > (int32_t)max) in __USAT()
856 return max; in __USAT()
Dcmsis_armclang_ltm.h523 const int32_t max = (int32_t)((1U << (sat - 1U)) - 1U); in __SSAT() local
524 const int32_t min = -1 - max ; in __SSAT()
525 if (val > max) in __SSAT()
527 return max; in __SSAT()
548 const uint32_t max = ((1U << sat) - 1U); in __USAT() local
549 if (val > (int32_t)max) in __USAT()
551 return max; in __USAT()
Dcmsis_gcc.h711 const int32_t max = (int32_t)((1U << (sat - 1U)) - 1U); in __SSAT() local
712 const int32_t min = -1 - max ; in __SSAT()
713 if (val > max) in __SSAT()
715 return max; in __SSAT()
736 const uint32_t max = ((1U << sat) - 1U); in __USAT() local
737 if (val > (int32_t)max) in __USAT()
739 return max; in __USAT()
/hal_nxp-3.6.0/mcux/mcux-sdk/scripts/kconfig/
Dmenuconfig.py371 return tuple(0 if x < 48 else int(round(max(1, (x - 55)/40))) for x in rgb)
395 return max(0, min(index, 23))
1214 _menu_scroll = max(_sel_node_i - screen_row, 0)
1255 _menu_scroll = max(_menu_scroll - 1, 0)
1321 _menu_scroll = max(_sel_node_i - old_row, 0)
1329 _menu_scroll = min(max(_sel_node_i - _height(_menu_win)//2, 0),
1355 0, max((term_width - len(_kconf.mainmenu_text))//2, 0),
1408 _safe_addstr(_bot_sep_win, 0, max(term_width - len(s) - 2, 0), s)
1698 _menu_scroll = max(_sel_node_i - old_row, 0)
1734 hscroll = max(i - edit_width() + 1, 0)
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/CMSIS/NN/Source/PoolingFunctions/
Darm_pool_q7_HWC.c278 int max = -129; in arm_maxpool_q7_HWC() local
285 if (Im_in[i_ch_in + ch_im_in * (k_x + k_y * dim_im_in)] > max) in arm_maxpool_q7_HWC()
287 max = Im_in[i_ch_in + ch_im_in * (k_x + k_y * dim_im_in)]; in arm_maxpool_q7_HWC()
292 Im_out[i_ch_in + ch_im_in * (i_x + i_y * dim_im_out)] = max; in arm_maxpool_q7_HWC()
Darm_max_pool_s8.c43 const int8x16_t max = vmaxq_m_s8(vuninitializedq_s8(), op_1, op_2, p); in compare_and_replace_if_larger_q7() local
44 vstrbq_p_s8(base, max, p); in compare_and_replace_if_larger_q7()
181 const int32_t act_max = pool_params->activation.max; in arm_max_pool_s8()
/hal_nxp-3.6.0/s32/drivers/s32k3/BaseNXP/src/
DOsIf_Timer_System_Internal_Systick.c100 #define SYSTICK_DELTA_OUTER(high, low, max) ((max) - ((high) - (low))) argument
/hal_nxp-3.6.0/s32/drivers/s32k1/BaseNXP/src/
DOsIf_Timer_System_Internal_Systick.c106 #define SYSTICK_DELTA_OUTER(high, low, max) ((max) - ((high) - (low))) argument
/hal_nxp-3.6.0/s32/drivers/s32ze/BaseNXP/src/
DOsIf_Timer_System_Internal_Systick.c106 #define SYSTICK_DELTA_OUTER(high, low, max) ((max) - ((high) - (low))) argument
DOsIf_Timer_System_Internal_GenericTimer.c120 #define GENERICTIMER_DELTA_OUTER(high, low, max) ((max) - ((high) - (low))) argument
/hal_nxp-3.6.0/imx/drivers/
Duart_imx.c143 uint32_t max = m > n ? m : n; in UART_SetBaudRate() local
144 numerator /= max; in UART_SetBaudRate()
145 denominator /= max; in UART_SetBaudRate()
/hal_nxp-3.6.0/mcux/mcux-sdk/CMSIS/NN/Source/ConvolutionFunctions/
Darm_convolve_1x1_s8_fast.c83 const int32_t out_activation_max = conv_params->activation.max; in arm_convolve_1x1_s8_fast()
165 conv_params->activation.max); in arm_convolve_1x1_s8_fast()
/hal_nxp-3.6.0/mcux/mcux-sdk/components/osa/
Dfsl_os_abstraction_bm.c130 uint16_t max; /*!< The max number of queue messages */ member
1114 pMsgQStruct->max = (uint16_t)msgNo; in OSA_MsgQCreate()
1147 if (pQueue->number >= pQueue->max) in OSA_MsgQPut()
1162 if (pQueue->tail >= (pQueue->max * pQueue->size)) in OSA_MsgQPut()
1226 if (pQueue->head >= (pQueue->max * pQueue->size)) in OSA_MsgQGet()

1234