Lines Matching defs:percent
1984 * @percent: Broadcast storm threshold in percent of transmit rate.
1988 static void sw_cfg_broad_storm(struct ksz_hw *hw, u8 percent)
1991 u32 value = ((u32) BROADCAST_STORM_VALUE * (u32) percent / 100);
2005 * @percent: Buffer to store the broadcast storm threshold percentage.
2009 static void sw_get_broad_storm(struct ksz_hw *hw, u8 *percent)
2019 *percent = (u8) num;
2067 * @percent: Broadcast storm threshold in percent of transmit rate.
2072 static void hw_cfg_broad_storm(struct ksz_hw *hw, u8 percent)
2074 if (percent > 100)
2075 percent = 100;
2077 sw_cfg_broad_storm(hw, percent);
2078 sw_get_broad_storm(hw, &percent);
2079 hw->ksz_switch->broad_per = percent;
3905 /* Enable switch broadcast storm protection at 10% percent rate. */