Home
last modified time | relevance | path

Searched refs:q (Results 1 – 7 of 7) sorted by relevance

/hal_infineon-3.5.0/mtb-pdl-cat1/device-info/personalities/platform/
Dpll_solver-3.0.tcl93 for {set q $::REF_MIN} {$q <= $::REF_MAX} {incr q} {
95 set fvco [expr {($srcFreqMHz * $p)/ $q}]
102 … set tempFeedBackDivLeftShifted [expr { ((($tempVco) * pow (2, 24)) * $q) / $srcFreqMHz }]
104 … set fout [expr {($srcFreqMHz * ( ($p << 24) + $feedBackFracDiv) / ($q * $o)) / pow (2, 24)}]
110 set divRef $q
Dpll_solver-2.0.tcl105 for {set q $::REF_MIN} {$q <= $::REF_MAX} {incr q} {
106 set pfdRefFreq [expr {$srcFreqMHz / $q}]
113 set error [expr {abs(1 - (($freqRatio * $p) / ($q * $o)))}]
120 set divRef $q
/hal_infineon-3.5.0/mtb-pdl-cat1/drivers/source/
Dcy_sysclk_v2.c3400 uint32_t p, q, out; in Cy_SysClk_Pll400MConfigure() local
3404 for (q = CY_SYSCLK_PLL400M_MIN_REF_DIV; q <= CY_SYSCLK_PLL400M_MAX_REF_DIV; q++) in Cy_SysClk_Pll400MConfigure()
3410 … uint32_t fvco = (uint32_t)(((uint64_t)(config->inputFreq) * (uint64_t)p) / (uint64_t)q); in Cy_SysClk_Pll400MConfigure()
3417 …ftShifted = ((tempVco << (uint64_t)SRSS_PLL400M_FRAC_BIT_COUNT) * (uint64_t)q) / (uint64_t)config-… in Cy_SysClk_Pll400MConfigure()
3421 … << SRSS_PLL400M_FRAC_BIT_COUNT) + (uint64_t)feedBackFracDiv)) / ((uint64_t)q * (uint64_t)out)) >>… in Cy_SysClk_Pll400MConfigure()
3433 manualConfig.referenceDiv = (uint8_t)q; in Cy_SysClk_Pll400MConfigure()
3705 uint32_t p, q, out; in Cy_SysClk_Pll200MConfigure() local
3709 for (q = CY_SYSCLK_PLL_MIN_REF_DIV; q <= CY_SYSCLK_PLL_MAX_REF_DIV; q++) in Cy_SysClk_Pll200MConfigure()
3715 … uint32_t fvco = (uint32_t)(((uint64_t)(config->inputFreq) * (uint64_t)p) / (uint64_t)q); in Cy_SysClk_Pll200MConfigure()
3723 uint32_t fout = ((p * config->inputFreq) / q) / out; in Cy_SysClk_Pll200MConfigure()
[all …]
Dcy_sysclk.c1848 uint32_t p, q, out; in Cy_SysClk_PllConfigure() local
1852 for (q = CY_SYSCLK_PLL_MIN_REF_DIV; q <= CY_SYSCLK_PLL_MAX_REF_DIV; q++) in Cy_SysClk_PllConfigure()
1858 … uint32_t fvco = (uint32_t)(((uint64_t)(config->inputFreq) * (uint64_t)p) / (uint64_t)q); in Cy_SysClk_PllConfigure()
1866 uint32_t fout = ((p * config->inputFreq) / q) / out; in Cy_SysClk_PllConfigure()
1877 manualConfig.referenceDiv = (uint8_t)q; in Cy_SysClk_PllConfigure()
/hal_infineon-3.5.0/mtb-pdl-cat1/drivers/third_party/ethernet/src/
Dedd_tx.c708 uint16_t q, i; in emacResetTxQ() local
718 q = 0; in emacResetTxQ()
722 while (q<queueNum) { in emacResetTxQ()
726 q++; in emacResetTxQ()
751 switch (q) { in emacResetTxQ()
Dedd.c126 uint8_t q; in initTxDescLists() local
132 for (q=0; q<CEDI_PdVar(cfg).txQs; q++) in initTxDescLists()
133 if (0!=emacResetTxQ(pD, q)) in initTxDescLists()
142 uint8_t q; in initRxDescLists() local
153 for (q=0; q<CEDI_PdVar(cfg).rxQs; q++) { in initRxDescLists()
155 rxQ = &(CEDI_PdVar(rxQueue[q])); in initRxDescLists()
156 rxQ->numRxDesc = CEDI_PdVar(cfg).rxQLen[q] + CEDI_MIN_RXBD; in initRxDescLists()
158 emacFindQBaseAddr(pD, q, rxQ, &pAddr, &vAddr); in initRxDescLists()
172 if (0!=emacResetRxQ(pD, q, 0)) in initRxDescLists()
759 uint32_t reg, q; in setRxQBufferSizes() local
[all …]
Dedd_rx.c648 uint8_t q = 0; in emacFindQBaseAddr() local
655 while (q<queueNum) { in emacFindQBaseAddr()
659 q++; in emacFindQBaseAddr()