| /bsp/rockchip/common/rk_hal/lib/hal/src/cru/ |
| A D | hal_cru.c | 86 #define PLL_GET_PLLMODE(val, shift, mask) (((uint32_t)(val) & mask) >> shift) argument 634 uint32_t shift = CLK_GATE_GET_BITS_SHIFT(clk); in HAL_CRU_ClkIsEnabled() local 662 uint32_t shift = CLK_GATE_GET_BITS_SHIFT(clk); in HAL_CRU_ClkEnable() local 689 uint32_t shift = CLK_GATE_GET_BITS_SHIFT(clk); in HAL_CRU_ClkDisable() local 716 uint32_t shift = CLK_GATE_GET_BITS_SHIFT(clk); in HAL_CRU_ClkIsReset() local 740 uint32_t shift = CLK_RESET_GET_BITS_SHIFT(clk); in HAL_CRU_ClkResetAssert() local 764 uint32_t shift = CLK_RESET_GET_BITS_SHIFT(clk); in HAL_CRU_ClkResetDeassert() local 788 uint32_t shift, mask, index; in HAL_CRU_ClkSetDiv() local 822 uint32_t shift, mask, index, divValue; in HAL_CRU_ClkGetDiv() local 855 uint32_t shift, mask, index; in HAL_CRU_ClkSetMux() local [all …]
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/sound/component/aw-alsa-lib/external_resample/speexrate/ |
| A D | arch.h | 157 #define SHR16(a,shift) (a) argument 158 #define SHL16(a,shift) (a) argument 159 #define SHR32(a,shift) (a) argument 160 #define SHL32(a,shift) (a) argument 161 #define PSHR16(a,shift) (a) argument 162 #define PSHR32(a,shift) (a) argument 163 #define VSHR32(a,shift) (a) argument 166 #define SATURATE32PSHR(x,shift,a) (x) argument 168 #define PSHR(a,shift) (a) argument 169 #define SHR(a,shift) (a) argument [all …]
|
| /bsp/core-v-mcu/Libraries/core_v_hal_libraries/core_v_hal/include/ |
| A D | hal_soc_eu_periph.h | 139 int shift = evt % 32; in hal_soc_eu_set_fc_mask() local 148 int shift = evt % 32; in hal_soc_eu_set_pr_mask() local 157 int shift = evt % 32; in hal_soc_eu_set_cl_mask() local 166 int shift = evt % 32; in hal_soc_eu_clear_fc_mask() local 175 int shift = evt % 32; in hal_soc_eu_clear_pr_mask() local 184 int shift = evt % 32; in hal_soc_eu_clear_cl_mask() local
|
| /bsp/allwinner/libraries/sunxi-hal/include/hal/ |
| A D | sunxi_hal_pwm.h | 66 #define SETMASK(width, shift) ((width?((-1U) >> (32-width)):0) << (shift)) argument 67 #define CLRMASK(width, shift) (~(SETMASK(width, shift))) argument 68 #define GET_BITS(shift, width, reg) \ argument 70 #define SET_BITS(shift, width, reg, val) \ argument
|
| A D | sunxi_hal_rtc.h | 52 #define SUNXI_GET(x, mask, shift) (((x) & ((mask) << (shift))) \ argument 55 #define SUNXI_SET(x, mask, shift) (((x) & (mask)) << (shift)) argument 84 #define SUNXI_LEAP_SET_VALUE(x, shift) SUNXI_SET(x, SUNXI_MASK_LY, shift) argument
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/tpadc/ |
| A D | common_tpadc.h | 41 #define SETMASK(width, shift) ((width?((-1U) >> (32-width)):0) << (shift)) argument 42 #define CLRMASK(width, shift) (~(SETMASK(width, shift))) argument 43 #define GET_BITS(shift, width, reg) \ argument 45 #define SET_BITS(shift, width, reg, val) \ argument
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/ccmu/sunxi/ |
| A D | clk.h | 80 #define SETMASK(width, shift) ((width?((-1U) >> (32-width)):0) << (shift)) argument 81 #define CLRMASK(width, shift) (~(SETMASK(width, shift))) argument 83 #define SET_BITS(shift, width, reg, val) \ argument 86 #define GET_BITS(shift, width, reg) \ argument
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/ledc/ |
| A D | hal_ledc.c | 103 unsigned int shift = 21; in ledc_set_t1h_ns() local 123 unsigned int shift = 16; in ledc_set_t1l_ns() local 143 unsigned int shift = 6; in ledc_set_t0h_ns() local 215 unsigned int shift = 16; in ledc_set_wait_data_time_ns() local 256 unsigned int shift = 6; in ledc_set_output_mode() local
|
| /bsp/essemi/es32f369x/libraries/ES32F36xx_ALD_StdPeriph_Driver/Source/ |
| A D | ald_rtchw.c | 74 uint8_t shift[8] = {0, 2, 4, 6, 8, 8, 8, 8}; in rtc_hw_auto_check() local 143 uint8_t shift[8] = {0, 2, 4, 6, 8, 8, 8, 8}; in ald_rtc_hw_auto_cali() local
|
| /bsp/gd32/risc-v/libraries/GD32VF103_Firmware_Library/GD32VF103_usbfs_library/host/class/hid/Source/ |
| A D | usbh_hid_parser.c | 49 uint8_t shift = ri->shift; in hid_item_read() local 112 uint8_t shift = ri->shift; in hid_item_write() local
|
| /bsp/raspberry-pi/raspi3-32/driver/ |
| A D | drv_gpio.c | 24 rt_uint8_t shift = pin % 32; in gpio_set_pud() local 55 rt_uint8_t shift = pin % 32; in gpio_irq_disable() local 166 rt_uint8_t shift = pin % 32; in raspi_pin_attach_irq() local
|
| /bsp/raspberry-pi/raspi3-64/driver/ |
| A D | drv_gpio.c | 25 rt_uint8_t shift = pin % 32; in gpio_set_pud() local 56 rt_uint8_t shift = pin % 32; in gpio_irq_disable() local 167 rt_uint8_t shift = pin % 32; in raspi_pin_attach_irq() local
|
| /bsp/rockchip/common/rk_hal/lib/hal/src/ |
| A D | hal_pwr.c | 42 #define WM_SET_BITS(msk, shift, bits) ((msk <<(shift + 16)) | (bits << shift)) argument 43 #define WM_SET_BIT(shift) ((1 << (16 + shift) ) | (1 << shift)) argument 44 #define WM_CLR_BIT(shift) (1 << (16 + shift) ) argument
|
| /bsp/rockchip/rk3500/driver/clk/ |
| A D | clk-mmc-phase.c | 31 static rt_err_t rk_clk_mmc_set_phase(rt_ubase_t rate, void *reg, int shift, in rk_clk_mmc_set_phase() 97 static rt_base_t rk_clk_mmc_get_phase(rt_ubase_t rate, void *reg, int shift) in rk_clk_mmc_get_phase()
|
| /bsp/mm32f327x/Libraries/MM32F327x/HAL_Lib/Src/ |
| A D | hal_gpio.c | 300 u8 shift = (pin & 0x07) * 4; in GPIO_PinAFConfig() local 320 u8 shift; in exGPIO_PinAFConfig() local
|
| /bsp/apm32/libraries/APM32E10x_Library/APM32E10x_StdPeriphDriver/src/ |
| A D | apm32e10x_gpio.c | 116 uint32_t shift; in GPIO_Config() local 513 uint32_t shift; in GPIO_ConfigEINTLine() local
|
| /bsp/apm32/libraries/APM32F10x_Library/APM32F10x_StdPeriphDriver/src/ |
| A D | apm32f10x_gpio.c | 116 uint32_t shift; in GPIO_Config() local 531 uint32_t shift; in GPIO_ConfigEINTLine() local
|
| /bsp/apm32/libraries/APM32S10x_Library/APM32S10x_StdPeriphDriver/src/ |
| A D | apm32s10x_gpio.c | 108 uint32_t shift; in GPIO_Config() local 485 uint32_t shift; in GPIO_ConfigEINTLine() local
|
| /bsp/renesas/rzn2l_etherkit/rzn/fsp/src/bsp/mcu/all/cr/ |
| A D | bsp_irq_core.h | 136 uint32_t shift = (_irq % BSP_PRV_GIC_REG_STRIDE32); in r_bsp_irq_pending_get() local 142 uint32_t shift = _irq; in r_bsp_irq_pending_get() local
|
| /bsp/renesas/rzn2l_rsk/rzn/fsp/src/bsp/mcu/all/cr/ |
| A D | bsp_irq_core.h | 136 uint32_t shift = (_irq % BSP_PRV_GIC_REG_STRIDE32); in r_bsp_irq_pending_get() local 142 uint32_t shift = _irq; in r_bsp_irq_pending_get() local
|
| /bsp/renesas/rzt2m_rsk/rzt/fsp/src/bsp/mcu/all/cr/ |
| A D | bsp_irq_core.h | 144 uint32_t shift = (_irq % BSP_PRV_GIC_REG_STRIDE32); in r_bsp_irq_pending_get() local 150 uint32_t shift = _irq; in r_bsp_irq_pending_get() local
|
| /bsp/renesas/ra4e2-eco/ra/fsp/src/bsp/mcu/all/ |
| A D | bsp_macl.c | 94 void R_BSP_MaclScaleQ31 (const q31_t * p_src, q31_t scale_fract, int8_t shift, q31_t * p_dst, uint3… in R_BSP_MaclScaleQ31() 161 int32_t shift, in R_BSP_MaclMatScaleQ31() 193 …uint32_t shift = ((uint32_t) p_biquad_csd_df1_inst->postShift + 1U); /* Shift… in R_BSP_MaclBiquadCsdDf1Q31() local 1720 static void r_macl_scale_q31 (const q31_t * p_src, q31_t scale_fract, int8_t shift, q31_t * p_dst, … in r_macl_scale_q31() 1884 int32_t shift, in r_macl_mat_scale_q31()
|
| /bsp/renesas/ra6e2-fpb/ra/fsp/src/bsp/mcu/all/ |
| A D | bsp_macl.c | 94 void R_BSP_MaclScaleQ31 (const q31_t * p_src, q31_t scale_fract, int8_t shift, q31_t * p_dst, uint3… in R_BSP_MaclScaleQ31() 161 int32_t shift, in R_BSP_MaclMatScaleQ31() 193 …uint32_t shift = ((uint32_t) p_biquad_csd_df1_inst->postShift + 1U); // Shift… in R_BSP_MaclBiquadCsdDf1Q31() local 1720 static void r_macl_scale_q31 (const q31_t * p_src, q31_t scale_fract, int8_t shift, q31_t * p_dst, … in r_macl_scale_q31() 1884 int32_t shift, in r_macl_mat_scale_q31()
|
| /bsp/hpmicro/libraries/hpm_sdk/drivers/inc/ |
| A D | hpm_trgm_drv.h | 100 uint8_t shift; in trgm_input_filter_set_filter_length() local 128 static inline void trgm_input_filter_set_filter_shift(TRGM_Type *ptr, uint8_t input, uint8_t shift) in trgm_input_filter_set_filter_shift()
|
| /bsp/nuvoton/libraries/nuc980/rtt_port/ |
| A D | drv_sys.c | 64 rt_uint32_t shift; in rt_hw_interrupt_set_priority() local 172 rt_uint32_t shift; in rt_hw_interrupt_set_type() local
|