Home
last modified time | relevance | path

Searched defs:shift (Results 1 – 25 of 82) sorted by relevance

1234

/bsp/rockchip/common/rk_hal/lib/hal/src/cru/
A Dhal_cru.c86 #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 Darch.h157 #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 Dhal_soc_eu_periph.h139 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 Dsunxi_hal_pwm.h66 #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 Dsunxi_hal_rtc.h52 #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 Dcommon_tpadc.h41 #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 Dclk.h80 #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 Dhal_ledc.c103 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 Dald_rtchw.c74 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 Dusbh_hid_parser.c49 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 Ddrv_gpio.c24 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 Ddrv_gpio.c25 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 Dhal_pwr.c42 #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 Dclk-mmc-phase.c31 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 Dhal_gpio.c300 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 Dapm32e10x_gpio.c116 uint32_t shift; in GPIO_Config() local
513 uint32_t shift; in GPIO_ConfigEINTLine() local
/bsp/apm32/libraries/APM32F10x_Library/APM32F10x_StdPeriphDriver/src/
A Dapm32f10x_gpio.c116 uint32_t shift; in GPIO_Config() local
531 uint32_t shift; in GPIO_ConfigEINTLine() local
/bsp/apm32/libraries/APM32S10x_Library/APM32S10x_StdPeriphDriver/src/
A Dapm32s10x_gpio.c108 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 Dbsp_irq_core.h136 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 Dbsp_irq_core.h136 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 Dbsp_irq_core.h144 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 Dbsp_macl.c94 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 Dbsp_macl.c94 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 Dhpm_trgm_drv.h100 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 Ddrv_sys.c64 rt_uint32_t shift; in rt_hw_interrupt_set_priority() local
172 rt_uint32_t shift; in rt_hw_interrupt_set_type() local

Completed in 62 milliseconds

1234