FreeBSD/sys/dev/usb/serial/uftdi.c
/*
 * Return true if the given speed is within operational tolerance of the target
 * speed.  FTDI recommends that the hardware speed be within 3% of nominal.
 */
Return true if the given speed is within operational tolerance of the target
speed.  FTDI recommends that the hardware speed be within 3% of nominal.
Return true if the given speed is within operational tolerance of the target speed . FTDI recommends that the hardware speed be within 3% of nominal .
static inline boolean_t
uftdi_baud_within_tolerance(uint64_t speed, uint64_t target)
{
	return ((speed >= (target * 100) / 103) &&
	    (speed <= (target * 100) / 97));
}
static inline boolean_t uftdi_baud_within_tolerance ( uint64_t speed , uint64_t target ) { return ( ( speed >= ( target * 100 ) / 103 ) && ( speed <= ( target * 100 ) / 97 ) ) ; }
Return true if the given speed is within operational tolerance of the target
 speed.
Return true if the given speed is within operational tolerance of the target speed .