Home
last modified time | relevance | path

Searched refs:pSetup (Results 1 – 4 of 4) sorted by relevance

/bsp/rockchip/common/rk_hal/lib/hal/src/cru/
A Dhal_cru.c307 mode = PLL_GET_PLLMODE(READ_REG(*(pSetup->modeOffset)), pSetup->modeShift, in HAL_CRU_GetPllFreq()
374 … WRITE_REG_MASK_WE(*(pSetup->modeOffset), pSetup->modeMask, RK_PLL_MODE_SLOW << pSetup->modeShift); in HAL_CRU_SetPllFreq()
394 if (READ_REG(*(pSetup->conOffset2)) & (1 << pSetup->lockShift)) { in HAL_CRU_SetPllFreq()
405 …WRITE_REG_MASK_WE(*(pSetup->modeOffset), pSetup->modeMask, RK_PLL_MODE_NORMAL << pSetup->modeShift… in HAL_CRU_SetPllFreq()
424 if (READ_REG(*(pSetup->conOffset2)) & (1 << pSetup->lockShift)) { in HAL_CRU_SetPllPowerUp()
536 … WRITE_REG_MASK_WE(*(pSetup->modeOffset), pSetup->modeMask, RK_PLL_MODE_SLOW << pSetup->modeShift); in HAL_CRU_SetPllFreq()
558 if (READ_REG(*(pSetup->stat0)) & (1 << pSetup->lockShift)) { in HAL_CRU_SetPllFreq()
562 if (READ_REG(*(pSetup->conOffset1)) & (1 << pSetup->lockShift)) { in HAL_CRU_SetPllFreq()
574 …WRITE_REG_MASK_WE(*(pSetup->modeOffset), pSetup->modeMask, RK_PLL_MODE_NORMAL << pSetup->modeShift… in HAL_CRU_SetPllFreq()
594 if (READ_REG(*(pSetup->stat0)) & (1 << pSetup->lockShift)) { in HAL_CRU_SetPllPowerUp()
[all …]
/bsp/synwit/libraries/SWM341_CSL/SWM341_StdPeriph_Driver/
A DSWM341_usbd.c176 void USBD_StandardRequest(USB_Setup_Packet_t * pSetup);
177 void USBD_GetDescriptor(USB_Setup_Packet_t * pSetup);
227 void USBD_StandardRequest(USB_Setup_Packet_t * pSetup) in USBD_StandardRequest() argument
231 switch(pSetup->bRequest) in USBD_StandardRequest()
234 USBD_GetDescriptor(pSetup); in USBD_StandardRequest()
248 switch(pSetup->bRequest) in USBD_StandardRequest()
265 void USBD_GetDescriptor(USB_Setup_Packet_t * pSetup) in USBD_GetDescriptor() argument
269 switch(pSetup->wValue >> 8) in USBD_GetDescriptor()
284 uint8_t index = pSetup->wValue & 0xFF; in USBD_GetDescriptor()
310 uint8_t index = pSetup->wIndex & 0xFF; in USBD_GetDescriptor()
[all …]
A DSWM341_usbd.h7 typedef void (*USBD_ClassRequest_Callback)(USB_Setup_Packet_t * pSetup);
8 typedef void (*USBD_VendorRequest_Callback)(USB_Setup_Packet_t * pSetup);
/bsp/rockchip/common/rk_hal/lib/hal/inc/
A Dhal_cru.h128 uint32_t HAL_CRU_GetPllFreq(struct PLL_SETUP *pSetup);
129 HAL_Status HAL_CRU_SetPllFreq(struct PLL_SETUP *pSetup, uint32_t rate);
130 HAL_Status HAL_CRU_SetPllPowerUp(struct PLL_SETUP *pSetup);
131 HAL_Status HAL_CRU_SetPllPowerDown(struct PLL_SETUP *pSetup);

Completed in 11 milliseconds