period1 13793 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int val, period, period1, period2, dif, dif1, dif2; period1 13822 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c period1 = val * 1000000 / ppb; period1 13823 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c period2 = period1 + 1; period1 13824 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c if (period1 != 0) period1 13825 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c dif1 = ppb - (val * 1000000 / period1); period1 13834 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c period = (dif1 < dif2) ? period1 : period2;