Searched refs:dtsec_freq (Results 1 - 3 of 3) sorted by relevance
/freebsd-12-stable/sys/contrib/ncsw/Peripherals/FM/MAC/ |
H A D | fman_dtsec_mii_acc.c | 40 * @dtsec_freq: dtsec clock frequency (in Mhz) 50 * shows the relations among dtsec_freq, MgmtClk, actual divider 66 static uint8_t dtsec_mii_get_div(uint16_t dtsec_freq) argument 70 if (dtsec_freq < 80) mgmt_clk = 1; 71 else if (dtsec_freq < 120) mgmt_clk = 2; 72 else if (dtsec_freq < 160) mgmt_clk = 3; 73 else if (dtsec_freq < 200) mgmt_clk = 4; 74 else if (dtsec_freq < 280) mgmt_clk = 5; 75 else if (dtsec_freq < 400) mgmt_clk = 6; 92 uint8_t reg, uint16_t data, uint16_t dtsec_freq) 91 fman_dtsec_mii_write_reg(struct dtsec_mii_reg *regs, uint8_t addr, uint8_t reg, uint16_t data, uint16_t dtsec_freq) argument 125 fman_dtsec_mii_read_reg(struct dtsec_mii_reg *regs, uint8_t addr, uint8_t reg, uint16_t *data, uint16_t dtsec_freq) argument [all...] |
H A D | dtsec_mii_acc.c | 55 uint16_t dtsec_freq; local 61 dtsec_freq = (uint16_t)(p_Dtsec->fmMacControllerDriver.clkFreq >> 1); 64 err = (t_Error)fman_dtsec_mii_write_reg(miiregs, phyAddr, reg, data, dtsec_freq); 77 uint16_t dtsec_freq; local 83 dtsec_freq = (uint16_t)(p_Dtsec->fmMacControllerDriver.clkFreq >> 1); 86 err = fman_dtsec_mii_read_reg(miiregs, phyAddr, reg, p_Data, dtsec_freq);
|
/freebsd-12-stable/sys/contrib/ncsw/inc/flib/ |
H A D | fsl_fman_dtsec_mii_acc.h | 94 void fman_dtsec_mii_init(struct dtsec_mii_reg *regs, uint16_t dtsec_freq); 99 uint16_t dtsec_freq); 105 uint16_t dtsec_freq);
|
Completed in 50 milliseconds