Searched refs:fw_max (Results 1 – 2 of 2) sorted by relevance
275 const u8 *fw_ptr, *fw_max; in mrvl_load_firmware() local285 fw_max = fw->data + fw->size; in mrvl_load_firmware()291 while (fw_ptr <= fw_max) { in mrvl_load_firmware()313 if (fw_ptr == fw_max) { in mrvl_load_firmware()327 if (fw_ptr + mrvl->tx_len > fw_max) { in mrvl_load_firmware()328 mrvl->tx_len = fw_max - fw_ptr; in mrvl_load_firmware()
126 static u32 esw_qos_calc_bw_share(u32 min_rate, u32 divider, u32 fw_max) in esw_qos_calc_bw_share() argument129 return MLX5_RATE_TO_BW_SHARE(min_rate, divider, fw_max); in esw_qos_calc_bw_share()