Searched refs:p_PortsBandwidth (Results 1 - 2 of 2) sorted by last modified time

/freebsd-11-stable/sys/contrib/ncsw/Peripherals/FM/
H A Dfm.c3723 t_Error FM_SetPortsBandwidth(t_Handle h_Fm, t_FmPortsBandwidthParams *p_PortsBandwidth) argument
3737 for (i=0;i<p_PortsBandwidth->numOfPorts;i++)
3738 sum +=p_PortsBandwidth->portsBandwidths[i].bandwidth;
3743 for (i=0;i<p_PortsBandwidth->numOfPorts;i++)
3745 if (p_PortsBandwidth->portsBandwidths[i].bandwidth > maxPercent)
3746 maxPercent = p_PortsBandwidth->portsBandwidths[i].bandwidth;
3750 for (i=0;i<p_PortsBandwidth->numOfPorts;i++)
3752 weight = (uint8_t)((p_PortsBandwidth->portsBandwidths[i].bandwidth * PORT_MAX_WEIGHT )/maxPercent);
3759 if ((uint8_t)((p_PortsBandwidth->portsBandwidths[i].bandwidth * PORT_MAX_WEIGHT ) % maxPercent))
3764 p_PortsBandwidth
[all...]
/freebsd-11-stable/sys/contrib/ncsw/inc/Peripherals/
H A Dfm_ext.h1112 @Param[in] p_PortsBandwidth A structure of ports bandwidths in percentage, i.e.
1119 t_Error FM_SetPortsBandwidth(t_Handle h_Fm, t_FmPortsBandwidthParams *p_PortsBandwidth);

Completed in 64 milliseconds