Home
last modified time | relevance | path

Searched refs:Value (Results 1 – 25 of 66) sorted by relevance

123

/bsp/zynqmp-r5-axu4ev/drivers/Zynq_HAL_Driver/
A Dxil_io.h132 static INLINE void Xil_Out8(UINTPTR Addr, u8 Value) in Xil_Out8() argument
135 *LocalAddr = Value; in Xil_Out8()
150 static INLINE void Xil_Out16(UINTPTR Addr, u16 Value) in Xil_Out16() argument
153 *LocalAddr = Value; in Xil_Out16()
169 static INLINE void Xil_Out32(UINTPTR Addr, u32 Value) in Xil_Out32() argument
173 *LocalAddr = Value; in Xil_Out32()
175 XStl_RegUpdate(Addr, Value); in Xil_Out32()
191 static INLINE void Xil_Out64(UINTPTR Addr, u64 Value) in Xil_Out64() argument
194 *LocalAddr = Value; in Xil_Out64()
/bsp/ft2004/libraries/bsp/standlone/
A Dft_io.h82 static INLINE void Ft_out8(FT_IN UINTPTR Addr, FT_IN u8 Value) in Ft_out8() argument
85 *LocalAddr = Value; in Ft_out8()
95 static INLINE void Ft_out16(FT_IN UINTPTR Addr, FT_IN u16 Value) in Ft_out16() argument
98 *LocalAddr = Value; in Ft_out16()
108 static INLINE void Ft_out32(FT_IN UINTPTR Addr, FT_IN u32 Value) in Ft_out32() argument
111 *LocalAddr = Value; in Ft_out32()
121 static INLINE void Ft_out64(FT_IN UINTPTR Addr, FT_IN u64 Value) in Ft_out64() argument
124 *LocalAddr = Value; in Ft_out64()
/bsp/raspberry-pico/RP2040/board/ports/lcd/
A Ddrv_lcd.h44 void DEV_Digital_Write(UWORD Pin, UBYTE Value);
49 void DEV_Digital_Write(UWORD Pin, UBYTE Value);
52 void DEV_SPI_WriteByte(UBYTE Value);
55 void DEV_SET_PWM(UBYTE Value);
A Ddrv_lcd.c302 void DEV_Digital_Write(UWORD Pin, UBYTE Value) in DEV_Digital_Write() argument
304 gpio_put(Pin, Value); in DEV_Digital_Write()
331 void DEV_SPI_WriteByte(UBYTE Value) in DEV_SPI_WriteByte() argument
333 spi_write_blocking(SPI_PORT, &Value, 1); in DEV_SPI_WriteByte()
381 void DEV_SET_PWM(UBYTE Value) in DEV_SET_PWM() argument
383 if (Value < 0 || Value > 100) in DEV_SET_PWM()
389 pwm_set_chan_level(slice_num, PWM_CHAN_B, Value); in DEV_SET_PWM()
/bsp/allwinner/libraries/sunxi-hal/osal/src/
A Dhal_cfg.c21 int32_t esCFG_GetKeyValue(char *SecName, char *KeyName, int32_t Value[], int32_t Count);
83 int32_t Hal_Cfg_GetKeyValue(char *SecName, char *KeyName, int32_t Value[], int32_t Count) in Hal_Cfg_GetKeyValue() argument
85 return esCFG_GetKeyValue(SecName, KeyName, Value, Count); in Hal_Cfg_GetKeyValue()
/bsp/allwinner/libraries/libos/src/
A Dos.c323 int32_t esCFG_GetKeyValue(char *SecName, char *KeyName, int32_t Value[], int32_t Count) in esCFG_GetKeyValue() argument
336 *Value = 1; in esCFG_GetKeyValue()
344 *Value = 1008; in esCFG_GetKeyValue()
360 *Value = 1; in esCFG_GetKeyValue()
367 *Value = 3; in esCFG_GetKeyValue()
387 *Value = 0x01; in esCFG_GetKeyValue()
391 *Value = 0x03; in esCFG_GetKeyValue()
/bsp/hc32l196/Libraries/HC32L196_StdPeriph_Driver/src/
A Dhc32l196_pca.c392 void Pca_SetCcap(en_pca_module_t Modulex, uint16_t Value) in Pca_SetCcap() argument
397 M0P_PCA->CCAP0_f.CCAP0 = Value; in Pca_SetCcap()
400 M0P_PCA->CCAP1_f.CCAP1 = Value; in Pca_SetCcap()
403 M0P_PCA->CCAP2_f.CCAP2 = Value; in Pca_SetCcap()
406 M0P_PCA->CCAP3_f.CCAP3 = Value; in Pca_SetCcap()
409 M0P_PCA->CCAP4_f.CCAP4 = Value; in Pca_SetCcap()
456 void Pca_SetCarr(uint16_t Value) in Pca_SetCarr() argument
458 M0P_PCA->CARR_f.CARR = Value; in Pca_SetCarr()
/bsp/apollo2/libraries/drivers/hal/
A Dam_hal_pdm.h509 #define am_hal_pdm_pcfg_set(Value) (AM_REG(PDM, PCFG) = Value) argument
523 #define am_hal_pdm_vcfg_set(Value) (AM_REG(PDM, VCFG) = Value) argument
/bsp/ht32/libraries/HT32_STD_5xxxx_FWLib/library/HT32F5xxxx_Driver/src/
A Dht32f5xxxx_tkey.c566 void TKM_SetRefOSCCapacitor(TKM_Enum TKMn, u32 Value) in TKM_SetRefOSCCapacitor() argument
573 TKMx->ROCPR = Value; in TKM_SetRefOSCCapacitor()
598 void TKM_SetKeyCapacitor(TKM_Enum TKMn, TKM_KEY_Enum Key, u32 Value) in TKM_SetKeyCapacitor() argument
606 *(vu32*)((u32)&TKMx->K3CPR + ((3 - Key) * 4)) = Value; in TKM_SetKeyCapacitor()
665 void TKM_SetKeyThreshold(TKM_Enum TKMn, TKM_KEY_Enum Key, u32 Value) in TKM_SetKeyThreshold() argument
673 *(vu32*)((u32)&TKMx->K3THR + ((3 - Key) * 4)) = Value; in TKM_SetKeyThreshold()
/bsp/hc32l196/Libraries/HC32L196_StdPeriph_Driver/inc/
A Dhc32l196_pca.h246 extern void Pca_SetCcap(en_pca_module_t Modulex, uint16_t Value);
248 extern void Pca_SetCarr(uint16_t Value);
/bsp/zynqmp-r5-axu4ev/drivers/Zynq_HAL_Driver/sdps_v3_9/
A Dxsdps_core.h62 s32 XSdPs_CheckResetDone(XSdPs *InstancePtr, u8 Value);
80 s32 XSdPs_Reset(XSdPs *InstancePtr, u8 Value);
83 s32 XSdPs_CheckBusIdle(XSdPs *InstancePtr, u32 Value);
/bsp/ht32/libraries/HT32_STD_5xxxx_FWLib/library/HT32F5xxxx_Driver/inc/
A Dht32f5xxxx_tkey.h286 void TKM_SetRefOSCCapacitor(TKM_Enum TKMn, u32 Value);
288 void TKM_SetKeyCapacitor(TKM_Enum TKMn, TKM_KEY_Enum Key, u32 Value);
292 void TKM_SetKeyThreshold(TKM_Enum TKMn, TKM_KEY_Enum Key, u32 Value);
/bsp/ft32/libraries/FT32F0xx/FT32F0xx_Driver/Src/
A Dft32f0xx_rtc.c45 static uint8_t RTC_ByteToBcd2(uint8_t Value);
46 static uint8_t RTC_Bcd2ToByte(uint8_t Value);
1865 static uint8_t RTC_ByteToBcd2(uint8_t Value) in RTC_ByteToBcd2() argument
1869 while (Value >= 10) in RTC_ByteToBcd2()
1872 Value -= 10; in RTC_ByteToBcd2()
1875 return ((uint8_t)(bcdhigh << 4) | Value); in RTC_ByteToBcd2()
1883 static uint8_t RTC_Bcd2ToByte(uint8_t Value) in RTC_Bcd2ToByte() argument
1886 tmp = ((uint8_t)(Value & (uint8_t)0xF0) >> (uint8_t)0x4) * 10; in RTC_Bcd2ToByte()
1887 return (tmp + (Value & (uint8_t)0x0F)); in RTC_Bcd2ToByte()
/bsp/n32/libraries/N32G45x_Firmware_Library/n32g45x_std_periph_driver/src/
A Dn32g45x_rtc.c62 static uint8_t RTC_ByteToBcd2(uint8_t Value);
63 static uint8_t RTC_Bcd2ToByte(uint8_t Value);
1950 static uint8_t RTC_ByteToBcd2(uint8_t Value) in RTC_ByteToBcd2() argument
1954 while (Value >= 10) in RTC_ByteToBcd2()
1957 Value -= 10; in RTC_ByteToBcd2()
1960 return ((uint8_t)(bcdhigh << 4) | Value); in RTC_ByteToBcd2()
1968 static uint8_t RTC_Bcd2ToByte(uint8_t Value) in RTC_Bcd2ToByte() argument
1971 tmp = ((uint8_t)(Value & (uint8_t)0xF0) >> (uint8_t)0x4) * 10; in RTC_Bcd2ToByte()
1972 return (tmp + (Value & (uint8_t)0x0F)); in RTC_Bcd2ToByte()
/bsp/n32/libraries/N32G4FR_Firmware_Library/n32g4fr_std_periph_driver/src/
A Dn32g4fr_rtc.c62 static uint8_t RTC_ByteToBcd2(uint8_t Value);
63 static uint8_t RTC_Bcd2ToByte(uint8_t Value);
1950 static uint8_t RTC_ByteToBcd2(uint8_t Value) in RTC_ByteToBcd2() argument
1954 while (Value >= 10) in RTC_ByteToBcd2()
1957 Value -= 10; in RTC_ByteToBcd2()
1960 return ((uint8_t)(bcdhigh << 4) | Value); in RTC_ByteToBcd2()
1968 static uint8_t RTC_Bcd2ToByte(uint8_t Value) in RTC_Bcd2ToByte() argument
1971 tmp = ((uint8_t)(Value & (uint8_t)0xF0) >> (uint8_t)0x4) * 10; in RTC_Bcd2ToByte()
1972 return (tmp + (Value & (uint8_t)0x0F)); in RTC_Bcd2ToByte()
/bsp/n32/libraries/N32WB452_Firmware_Library/n32wb452_std_periph_driver/src/
A Dn32wb452_rtc.c62 static uint8_t RTC_ByteToBcd2(uint8_t Value);
63 static uint8_t RTC_Bcd2ToByte(uint8_t Value);
1951 static uint8_t RTC_ByteToBcd2(uint8_t Value) in RTC_ByteToBcd2() argument
1955 while (Value >= 10) in RTC_ByteToBcd2()
1958 Value -= 10; in RTC_ByteToBcd2()
1961 return ((uint8_t)(bcdhigh << 4) | Value); in RTC_ByteToBcd2()
1969 static uint8_t RTC_Bcd2ToByte(uint8_t Value) in RTC_Bcd2ToByte() argument
1972 tmp = ((uint8_t)(Value & (uint8_t)0xF0) >> (uint8_t)0x4) * 10; in RTC_Bcd2ToByte()
1973 return (tmp + (Value & (uint8_t)0x0F)); in RTC_Bcd2ToByte()
/bsp/n32g452xx/Libraries/N32_Std_Driver/n32g45x_std_periph_driver/src/
A Dn32g45x_rtc.c62 static uint8_t RTC_ByteToBcd2(uint8_t Value);
63 static uint8_t RTC_Bcd2ToByte(uint8_t Value);
1954 static uint8_t RTC_ByteToBcd2(uint8_t Value) in RTC_ByteToBcd2() argument
1958 while (Value >= 10) in RTC_ByteToBcd2()
1961 Value -= 10; in RTC_ByteToBcd2()
1964 return ((uint8_t)(bcdhigh << 4) | Value); in RTC_ByteToBcd2()
1972 static uint8_t RTC_Bcd2ToByte(uint8_t Value) in RTC_Bcd2ToByte() argument
1975 tmp = ((uint8_t)(Value & (uint8_t)0xF0) >> (uint8_t)0x4) * 10; in RTC_Bcd2ToByte()
1976 return (tmp + (Value & (uint8_t)0x0F)); in RTC_Bcd2ToByte()
/bsp/allwinner/libraries/libos/include/
A Dos.h16 int32_t esCFG_GetKeyValue(char *SecName, char *KeyName, int32_t Value[], int32_t Count);
/bsp/hk32/libraries/HK32F0xx_StdPeriph_Driver/src/
A Dhk32f0xx_rtc.c232 static uint8_t RTC_ByteToBcd2(uint8_t Value);
233 static uint8_t RTC_Bcd2ToByte(uint8_t Value);
2410 static uint8_t RTC_ByteToBcd2(uint8_t Value) in RTC_ByteToBcd2() argument
2414 while (Value >= 10) in RTC_ByteToBcd2()
2417 Value -= 10; in RTC_ByteToBcd2()
2420 return ((uint8_t)(bcdhigh << 4) | Value); in RTC_ByteToBcd2()
2428 static uint8_t RTC_Bcd2ToByte(uint8_t Value) in RTC_Bcd2ToByte() argument
2431 tmp = ((uint8_t)(Value & (uint8_t)0xF0) >> (uint8_t)0x4) * 10; in RTC_Bcd2ToByte()
2432 return (tmp + (Value & (uint8_t)0x0F)); in RTC_Bcd2ToByte()
/bsp/allwinner/libraries/sunxi-hal/include/osal/
A Dhal_cfg.h16 int32_t Hal_Cfg_GetKeyValue(char *SecName, char *KeyName, int32_t Value[], int32_t Count);
/bsp/stm32/stm32mp157a-st-ev1/board/ports/
A Ddrv_mfx.c114 void MFX_IO_Write(rt_uint16_t Addr, rt_uint8_t Reg, rt_uint8_t Value) in MFX_IO_Write() argument
116 write_reg(rt_mfx.i2c_bus, Reg, Value); in MFX_IO_Write()
/bsp/n32/libraries/N32L40x_Firmware_Library/n32l40x_std_periph_driver/src/
A Dn32l40x_rtc.c61 static uint8_t RTC_ByteToBcd2(uint8_t Value);
62 static uint8_t RTC_Bcd2ToByte(uint8_t Value);
2023 static uint8_t RTC_ByteToBcd2(uint8_t Value) in RTC_ByteToBcd2() argument
2027 while (Value >= 10) in RTC_ByteToBcd2()
2030 Value -= 10; in RTC_ByteToBcd2()
2033 return ((uint8_t)(bcdhigh << 4) | Value); in RTC_ByteToBcd2()
2041 static uint8_t RTC_Bcd2ToByte(uint8_t Value) in RTC_Bcd2ToByte() argument
2044 tmp = ((uint8_t)(Value & (uint8_t)0xF0) >> (uint8_t)0x4) * 10; in RTC_Bcd2ToByte()
2045 return (tmp + (Value & (uint8_t)0x0F)); in RTC_Bcd2ToByte()
/bsp/n32/libraries/N32L43x_Firmware_Library/n32l43x_std_periph_driver/src/
A Dn32l43x_rtc.c61 static uint8_t RTC_ByteToBcd2(uint8_t Value);
62 static uint8_t RTC_Bcd2ToByte(uint8_t Value);
1851 static uint8_t RTC_ByteToBcd2(uint8_t Value) in RTC_ByteToBcd2() argument
1854 while (Value >= 10) in RTC_ByteToBcd2()
1857 Value -= 10; in RTC_ByteToBcd2()
1859 return ((uint8_t)(bcdhigh << 4) | Value); in RTC_ByteToBcd2()
1867 static uint8_t RTC_Bcd2ToByte(uint8_t Value) in RTC_Bcd2ToByte() argument
1870 tmp = ((uint8_t)(Value & (uint8_t)0xF0) >> (uint8_t)0x4) * 10; in RTC_Bcd2ToByte()
1871 return (tmp + (Value & (uint8_t)0x0F)); in RTC_Bcd2ToByte()
/bsp/n32/libraries/N32G43x_Firmware_Library/n32g43x_std_periph_driver/src/
A Dn32g43x_rtc.c61 static uint8_t RTC_ByteToBcd2(uint8_t Value);
62 static uint8_t RTC_Bcd2ToByte(uint8_t Value);
2011 static uint8_t RTC_ByteToBcd2(uint8_t Value) in RTC_ByteToBcd2() argument
2015 while (Value >= 10) in RTC_ByteToBcd2()
2018 Value -= 10; in RTC_ByteToBcd2()
2021 return ((uint8_t)(bcdhigh << 4) | Value); in RTC_ByteToBcd2()
2029 static uint8_t RTC_Bcd2ToByte(uint8_t Value) in RTC_Bcd2ToByte() argument
2032 tmp = ((uint8_t)(Value & (uint8_t)0xF0) >> (uint8_t)0x4) * 10; in RTC_Bcd2ToByte()
2033 return (tmp + (Value & (uint8_t)0x0F)); in RTC_Bcd2ToByte()
/bsp/airm2m/air105/libraries/HAL_Driver/Src/
A Dbsp_common.c282 int32_t BSP_SetBit(uint8_t *Data, uint32_t Sn, uint8_t Value) in BSP_SetBit() argument
290 if (Value) in BSP_SetBit()
292 Value = (1 << Pos2); in BSP_SetBit()
294 Data[Pos1] = (Data[Pos1] & Mask) | Value; in BSP_SetBit()
299 int32_t BSP_GetBit(uint8_t *Data, uint32_t Sn, uint8_t *Value) in BSP_GetBit() argument
308 *Value = 1; in BSP_GetBit()
312 *Value = 0; in BSP_GetBit()

Completed in 133 milliseconds

123