Searched refs:sd_clock_khz (Results 1 – 2 of 2) sorted by relevance
336 void SDH_Set_clock(SDH_T *sdh, uint32_t sd_clock_khz) in SDH_Set_clock() argument348 if (sd_clock_khz <= 400ul) in SDH_Set_clock()414 if(sd_clock_khz >= 50000ul) in SDH_Set_clock()416 sd_clock_khz = 50000ul; in SDH_Set_clock()421 rate = _SDH0_ReferenceClock / sd_clock_khz; in SDH_Set_clock()424 if ((_SDH0_ReferenceClock % sd_clock_khz) != 0ul) in SDH_Set_clock()431 rate = _SDH1_ReferenceClock / sd_clock_khz; in SDH_Set_clock()434 if ((_SDH1_ReferenceClock % sd_clock_khz) != 0ul) in SDH_Set_clock()
285 void SDH_Set_clock(SDH_T *sdh, uint32_t sd_clock_khz) in SDH_Set_clock() argument293 if (sd_clock_khz <= 400ul) in SDH_Set_clock()358 if(sd_clock_khz >= 50000ul) in SDH_Set_clock()360 sd_clock_khz = 50000ul; in SDH_Set_clock()363 rate = _SDH_ReferenceClock / sd_clock_khz; in SDH_Set_clock()366 if ((_SDH_ReferenceClock % sd_clock_khz) != 0ul) in SDH_Set_clock()